{"version":3,"sources":["webpack/bootstrap","./src/$_lazy_route_resource lazy namespace object","./src/app/base/assets/images/resource-300x300.png","./node_modules/moment/locale sync ^\\.\\/.*$","./src/app/base/assets/images/hooray.png","./src/branding/standaard-icon-90x60.png","./src/branding/standaard-logo-220x60.png","./src/branding/standaard-workslip-220x60.png","./src/branding/vanmeeuwen-workslip-220x60.png","./src/app/social/assets/images/thumb-up.png","./src/app/social/assets/images/thumb-down.png","./src/app/social/assets/images/laugh.png","./src/app/social/assets/images/hooray.png","./src/app/social/assets/images/confused.png","./src/app/social/assets/images/heart.png","./src/app/social/assets/images/rocket.png","./src/app/social/assets/images/eyes.png","./src/app/timeline/assets/images/resource-60x60-mind.png","./src/app/core/helpers/sort-direction.ts","./src/app/settings.service.ts","./src/app/core/helpers/subscription-pool.ts","./src/app/core/helpers/abstract-base.ts","./src/app/authentication.service.ts","./src/app/core/helpers/data-context.ts","./src/app/domain/helpers/repeat-validation.ts","./src/app/core/breeze.service.ts","./src/app/core/alerts.service.ts","./src/app/core/helpers/data-set.ts","./src/app/domain/helpers/user.ts","./src/app/domain/helpers/repeat.ts","./src/app/domain/helpers/spend-time.ts","./src/app/domain/helpers/appointment.ts","./src/app/domain/helpers/assignment.ts","./src/app/domain/helpers/attendant.ts","./src/app/domain/helpers/deployment.ts","./src/app/domain/helpers/demand.ts","./src/app/domain/helpers/task.ts","./src/app/domain/helpers/service.ts","./src/app/domain/helpers/shift.ts","./src/app/domain/helpers/project.ts","./src/app/domain/helpers/deployment-template.ts","./src/app/domain/helpers/demand-template.ts","./src/app/domain/helpers/service-template.ts","./src/app/domain/helpers/task-template.ts","./src/app/domain/helpers/attendant-template.ts","./src/app/domain/helpers/shift-template.ts","./src/app/domain/helpers/plan-item.ts","./src/app/domain/helpers/resource.ts","./src/app/domain/helpers/plan-macro.ts","./src/app/core/error.service.ts","./src/app/entity-manager.service.ts","./src/app/backend-settings.service.ts","./src/app/core/validators/range.validator.ts","./src/app/core/validators/currency.validator.ts","./src/app/domain.service.ts","./src/app/user.service.ts","./src/app/configurations.service.ts","./src/app/core/component-registry.ts","./src/app/core/not-found/not-found.component.ts","./src/app/core/guards/can-deactivate.guard.ts","./src/app/core/guards/needs-user-resource.guard.ts","./src/app/routes.service.ts","./src/app/resource.service.ts","./src/app/core/localisation.service.ts","./src/app/base/helpers/version-compare.ts","./src/app/test.service.ts","./src/app/app.module.ts","./src/app/app.component.ts","./src/app/core/empty/empty.component.ts","./src/app/core/empty/empty.component.ngfactory.js","./src/app/core/error-page/error-page.component.ts","./src/app/core/error-page/error-page.component.ngfactory.js","./src/app/core/error-page/error-page.component.scss.shim.ngstyle.js","./src/app/core/not-found/not-found.component.ngfactory.js","./src/app/core/not-found/not-found.component.scss.shim.ngstyle.js","./src/app/base/columns/column-base/column-base.scss.shim.ngstyle.js","./src/app/base/column-provider.ts","./src/app/base/columns/column-base/column-base.ts","./src/app/base/columns/column-phone/column-phone.component.ts","./src/app/base/columns/column-phone/column-phone.component.ngfactory.js","./src/app/base/columns/column-number/column-number.component.ts","./src/app/base/columns/column-number/column-number.component.ngfactory.js","./src/app/base/columns/column-url/column-url.component.ts","./src/app/base/columns/column-url/column-url.component.ngfactory.js","./src/app/base/columns/column-datetime/column-datetime.component.ts","./src/app/base/columns/column-datetime/column-datetime.component.ngfactory.js","./src/app/base/columns/column-contact/column-contact.component.ts","./src/app/base/columns/column-contact/column-contact.component.ngfactory.js","./src/app/base/helpers/addZero.ts","./src/app/core/helpers/durationToText.ts","./src/app/base/pipes/duration-to-text.pipe.ts","./src/app/base/columns/column-spendtime/column-spendtime.component.ts","./src/app/base/columns/column-spendtime/column-spendtime.component.ngfactory.js","./src/app/base/columns/column-spendtime-context/column-spendtime-context.component.ts","./src/app/base/columns/column-spendtime-context/column-spendtime-context.component.ngfactory.js","./src/app/base/columns/column-string/column-string.component.ts","./src/app/base/columns/column-string/column-string.component.ngfactory.js","./src/app/base/columns/column-notes/column-notes.component.ts","./src/app/base/columns/column-notes/column-notes.component.ngfactory.js","./src/app/base/columns/column-time/column-time.component.ts","./src/app/base/columns/column-time/column-time.component.ngfactory.js","./src/app/base/columns/column-date/column-date.component.ts","./src/app/base/columns/column-date/column-date.component.ngfactory.js","./src/app/base/columns/column-start-active/column-start-active.component.ts","./src/app/base/columns/column-start-active/column-start-active.component.ngfactory.js","./src/app/base/columns/column-duration/column-duration.component.ts","./src/app/base/columns/column-duration/column-duration.component.ngfactory.js","./src/app/base/columns/column-period/column-period.component.ts","./src/app/base/columns/column-period/column-period.component.ngfactory.js","./src/app/base/columns/column-open-slot/column-open-slot.component.ts","./src/app/base/columns/column-open-slot/column-open-slot.component.ngfactory.js","./src/app/base/columns/column-twitter/column-twitter.component.ts","./src/app/base/columns/column-twitter/column-twitter.component.ngfactory.js","./src/app/base/columns/column-select/column-select.component.ts","./src/app/base/columns/column-select/column-select.component.ngfactory.js","./src/app/base/columns/column-skype/column-skype.component.ts","./src/app/base/columns/column-skype/column-skype.component.ngfactory.js","./src/app/base/columns/column-google/column-google.component.ts","./src/app/base/columns/column-google/column-google.component.ngfactory.js","./src/app/base/columns/column-xing/column-xing.component.ts","./src/app/base/columns/column-xing/column-xing.component.ngfactory.js","./src/app/base/columns/column-linkedin/column-linkedin.component.ts","./src/app/base/columns/column-linkedin/column-linkedin.component.ngfactory.js","./src/app/base/columns/column-facebook/column-facebook.component.ts","./src/app/base/columns/column-facebook/column-facebook.component.ngfactory.js","./src/app/base/columns/column-text/column-text.component.ts","./src/app/base/columns/column-text/column-text.component.ngfactory.js","./src/app/base/columns/column-image/column-image.component.ts","./src/app/base/columns/column-image/column-image.component.ngfactory.js","./src/app/base/columns/column-email/column-email.component.ts","./src/app/base/columns/column-email/column-email.component.ngfactory.js","./src/app/base/columns/column-emotions/column-emotions.component.ts","./src/app/base/columns/column-emotions/column-emotions.component.ngfactory.js","./src/app/base/columns/column-task/column-task.component.ts","./src/app/base/columns/column-task/column-task.component.ngfactory.js","./src/app/base/columns/column-service/column-service.component.ts","./src/app/base/columns/column-service/column-service.component.ngfactory.js","./src/app/base/columns/column-datetime-relative/column-datetime-relative.component.ts","./src/app/base/columns/column-datetime-relative/column-datetime-relative.component.ngfactory.js","./src/app/base/columns/column-date-relative/column-date-relative.component.ts","./src/app/base/columns/column-date-relative/column-date-relative.component.ngfactory.js","./src/app/base/columns/column-time-relative/column-time-relative.component.ts","./src/app/base/columns/column-time-relative/column-time-relative.component.ngfactory.js","./src/app/base/columns/column-boolean/column-boolean.component.ts","./src/app/base/columns/column-boolean/column-boolean.component.ngfactory.js","./src/app/base/columns/column-weight/column-weight.component.ts","./src/app/base/columns/column-weight/column-weight.component.ngfactory.js","./src/app/base/columns/column-label/column-label.component.ts","./src/app/base/columns/column-label/column-label.component.ngfactory.js","./src/app/core/overlay.service.ts","./src/app/base/columns/column-entity/column-entity.component.ts","./src/app/base/columns/column-entity/column-entity.component.ngfactory.js","./src/app/base/columns/column-name/column-name.component.ts","./src/app/base/columns/column-name/column-name.component.ngfactory.js","./src/app/base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle.js","./src/app/base/fieldsets/help/help.component.ts","./src/app/base/fieldsets/help/help.component.ngfactory.js","./src/app/base/fieldsets/help/help.component.scss.shim.ngstyle.js","./src/app/base/inputs/input-base/input-base.scss.shim.ngstyle.js","./src/app/base/inputs/input-base/input-base.ts","./src/app/base/helpers/input-string-base.ts","./src/app/base/inputs/input-text/input-text.component.ts","./src/app/base/inputs/input-text/input-text.component.ngfactory.js","./src/app/base/inputs/input-text/input-text.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-base/fieldset-base.ts","./src/app/base/fieldsets/fieldset-provider.ts","./src/app/base/fieldsets/fieldset-message/fieldset-message.component.ts","./src/app/base/fieldsets/fieldset-message/fieldset-message.component.ngfactory.js","./src/app/base/directives/file-icon.directive.ts","./src/app/base/inputs/input-upload/input-upload.component.ts","./src/app/base/upload.service.ts","./src/app/base/files.service.ts","./src/app/base/inputs/input-file/input-file.component.ts","./src/app/base/inputs/input-file/input-file.component.ngfactory.js","./src/app/base/inputs/input-file/input-file.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-file/fieldset-file.component.ts","./src/app/base/fieldsets/fieldset-file/fieldset-file.component.ngfactory.js","./src/app/base/image.service.ts","./src/app/base/inputs/input-image/input-image.component.ts","./src/app/base/inputs/input-image/input-image.component.ngfactory.js","./src/app/base/inputs/input-image/input-image.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-image/fieldset-image.component.ts","./src/app/base/fieldsets/fieldset-image/fieldset-image.component.ngfactory.js","./src/app/base/pipes/create-datetime.pipe.ts","./src/app/base/inputs/input-duration/input-duration.component.ts","./src/app/base/inputs/input-duration/input-duration.component.ngfactory.js","./src/app/base/fieldsets/fieldset-duration/fieldset-duration.component.ts","./src/app/base/fieldsets/fieldset-duration/fieldset-duration.component.ngfactory.js","./src/app/base/inputs/input-datetime/input-datetime.component.scss.shim.ngstyle.js","./src/app/base/inputs/input-dropdown/input-dropdown.component.ts","./src/app/base/inputs/input-datetime/input-datetime.component.ts","./src/app/base/inputs/input-date/input-date.component.ts","./src/app/base/inputs/input-birthday/input-birthday.component.ts","./src/app/base/inputs/input-birthday/input-birthday.component.ngfactory.js","./src/app/base/fieldsets/fieldset-birthday/fieldset-birthday.component.ts","./src/app/base/fieldsets/fieldset-birthday/fieldset-birthday.component.ngfactory.js","./src/app/base/inputs/input-boolean/input-boolean.component.ts","./src/app/base/inputs/input-boolean/input-boolean.component.ngfactory.js","./src/app/base/inputs/input-boolean/input-boolean.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-boolean/fieldset-boolean.component.ts","./src/app/base/fieldsets/fieldset-boolean/fieldset-boolean.component.ngfactory.js","./src/app/base/directives/checklist.directive.ts","./src/app/base/inputs/input-checkboxes/input-checkboxes.component.ts","./src/app/base/inputs/input-checkboxes/input-checkboxes.component.ngfactory.js","./src/app/base/inputs/input-checkboxes/input-checkboxes.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-checkboxes/fieldset-checkboxes.component.ts","./src/app/base/fieldsets/fieldset-checkboxes/fieldset-checkboxes.component.ngfactory.js","./src/app/base/inputs/input-date/input-date.component.ngfactory.js","./src/app/base/fieldsets/fieldset-date/fieldset-date.component.ts","./src/app/base/fieldsets/fieldset-date/fieldset-date.component.ngfactory.js","./src/app/base/pipes/capitalize.pipe.ts","./src/app/base/inputs/input-label/input-label.component.ts","./src/app/base/inputs/input-label/input-label.component.ngfactory.js","./src/app/base/fieldsets/fieldset-label/fieldset-label.component.ts","./src/app/base/fieldsets/fieldset-label/fieldset-label.component.ngfactory.js","./src/app/base/inputs/input-datetime/input-datetime.component.ngfactory.js","./src/app/base/fieldsets/fieldset-datetime/fieldset-datetime.component.ts","./src/app/base/fieldsets/fieldset-datetime/fieldset-datetime.component.ngfactory.js","./src/app/base/inputs/input-email/input-email.component.ts","./src/app/base/inputs/input-email/input-email.component.ngfactory.js","./src/app/base/fieldsets/fieldset-email/fieldset-email.component.ts","./src/app/base/fieldsets/fieldset-email/fieldset-email.component.ngfactory.js","./src/app/base/inputs/input-number/input-number.component.ts","./src/app/base/inputs/input-number/input-number.component.ngfactory.js","./src/app/base/fieldsets/fieldset-number/fieldset-number.component.ts","./src/app/base/fieldsets/fieldset-number/fieldset-number.component.ngfactory.js","./src/app/base/inputs/input-currency/input-currency.component.ts","./src/app/base/inputs/input-currency/input-currency.component.ngfactory.js","./src/app/base/fieldsets/fieldset-currency/fieldset-currency.component.ts","./src/app/base/fieldsets/fieldset-currency/fieldset-currency.component.ngfactory.js","./src/app/base/inputs/input-signature/input-signature.component.ts","./src/app/base/inputs/input-signature/input-signature.component.ngfactory.js","./src/app/base/inputs/input-signature/input-signature.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-signature/fieldset-signature.component.ts","./src/app/base/fieldsets/fieldset-signature/fieldset-signature.component.ngfactory.js","./src/app/base/inputs/input-password/input-password.component.ts","./src/app/base/inputs/input-password/input-password.component.ngfactory.js","./src/app/base/fieldsets/fieldset-password/fieldset-password.component.ts","./src/app/base/fieldsets/fieldset-password/fieldset-password.component.ngfactory.js","./src/app/base/fieldsets/fieldset-passwordlink/fieldset-passwordlink.component.ts","./src/app/base/fieldsets/fieldset-passwordlink/fieldset-passwordlink.component.ngfactory.js","./src/app/base/inputs/input-phone/input-phone.component.ts","./src/app/base/inputs/input-phone/input-phone.component.ngfactory.js","./src/app/base/fieldsets/fieldset-phone/fieldset-phone.component.ts","./src/app/base/fieldsets/fieldset-phone/fieldset-phone.component.ngfactory.js","./src/app/base/inputs/input-radio/input-radio.component.ts","./src/app/base/inputs/input-radio/input-radio.component.ngfactory.js","./src/app/base/inputs/input-radio/input-radio.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-radio/fieldset-radio.component.ts","./src/app/base/fieldsets/fieldset-radio/fieldset-radio.component.ngfactory.js","./src/app/base/directives/toggle-required.directive.ts","./src/app/base/inputs/input-select/input-select.component.ts","./src/app/base/inputs/input-select/input-select.component.ngfactory.js","./src/app/base/fieldsets/fieldset-select/fieldset-select.component.ts","./src/app/base/fieldsets/fieldset-select/fieldset-select.component.ngfactory.js","./src/app/base/inputs/input-string/input-string.component.ts","./src/app/base/inputs/input-string/input-string.component.ngfactory.js","./src/app/base/fieldsets/fieldset-string/fieldset-string.component.ts","./src/app/base/fieldsets/fieldset-string/fieldset-string.component.ngfactory.js","./src/app/base/fieldsets/fieldset-text/fieldset-text.component.ts","./src/app/base/fieldsets/fieldset-text/fieldset-text.component.ngfactory.js","./src/app/base/fieldsets/fieldset-text/fieldset-text.component.scss.shim.ngstyle.js","./src/app/base/inputs/input-time/input-time.component.ts","./src/app/base/inputs/input-time/input-time.component.ngfactory.js","./src/app/base/fieldsets/fieldset-time/fieldset-time.component.ts","./src/app/base/fieldsets/fieldset-time/fieldset-time.component.ngfactory.js","./src/app/base/inputs/input-url/input-url.component.ts","./src/app/base/inputs/input-url/input-url.component.ngfactory.js","./src/app/base/fieldsets/fieldset-url/fieldset-url.component.ts","./src/app/base/fieldsets/fieldset-url/fieldset-url.component.ngfactory.js","./src/app/core/validators/google.validator.ts","./src/app/base/inputs/input-google/input-google.component.ts","./src/app/base/inputs/input-google/input-google.component.ngfactory.js","./src/app/base/fieldsets/fieldset-google/fieldset-google.component.ts","./src/app/base/fieldsets/fieldset-google/fieldset-google.component.ngfactory.js","./src/app/core/validators/twitter.validator.ts","./src/app/base/inputs/input-twitter/input-twitter.component.ts","./src/app/base/inputs/input-twitter/input-twitter.component.ngfactory.js","./src/app/base/fieldsets/fieldset-twitter/fieldset-twitter.component.ts","./src/app/base/fieldsets/fieldset-twitter/fieldset-twitter.component.ngfactory.js","./src/app/core/validators/xing.validator.ts","./src/app/base/inputs/input-xing/input-xing.component.ts","./src/app/base/inputs/input-xing/input-xing.component.ngfactory.js","./src/app/base/fieldsets/fieldset-xing/fieldset-xing.component.ts","./src/app/base/fieldsets/fieldset-xing/fieldset-xing.component.ngfactory.js","./src/app/core/validators/facebook.validator.ts","./src/app/base/inputs/input-facebook/input-facebook.component.ts","./src/app/base/inputs/input-facebook/input-facebook.component.ngfactory.js","./src/app/base/fieldsets/fieldset-facebook/fieldset-facebook.component.ts","./src/app/base/fieldsets/fieldset-facebook/fieldset-facebook.component.ngfactory.js","./src/app/core/validators/linkedin.validator.ts","./src/app/base/inputs/input-linkedin/input-linkedin.component.ts","./src/app/base/inputs/input-linkedin/input-linkedin.component.ngfactory.js","./src/app/base/fieldsets/fieldset-linkedin/fieldset-linkedin.component.ts","./src/app/base/fieldsets/fieldset-linkedin/fieldset-linkedin.component.ngfactory.js","./src/app/core/validators/skype.validator.ts","./src/app/base/inputs/input-skype/input-skype.component.ts","./src/app/base/inputs/input-skype/input-skype.component.ngfactory.js","./src/app/base/fieldsets/fieldset-skype/fieldset-skype.component.ts","./src/app/base/fieldsets/fieldset-skype/fieldset-skype.component.ngfactory.js","./src/app/base/inputs/input-emotions/input-emotions.component.ts","./src/app/base/inputs/input-emotions/input-emotions.component.ngfactory.js","./src/app/base/inputs/input-emotions/input-emotions.component.scss.shim.ngstyle.js","./src/app/base/fieldsets/fieldset-emotions/fieldset-emotions.component.ts","./src/app/base/fieldsets/fieldset-emotions/fieldset-emotions.component.ngfactory.js","./src/app/base/inputs/input-readby/input-readby.component.ts","./src/app/base/inputs/input-readby/input-readby.component.ngfactory.js","./src/app/base/fieldsets/fieldset-readby/fieldset-readby.component.ts","./src/app/base/fieldsets/fieldset-readby/fieldset-readby.component.ngfactory.js","./src/app/base/fieldsets/fieldset-region/fieldset-region.component.ts","./src/app/base/fieldsets/fieldset-region/fieldset-region.component.ngfactory.js","./src/app/base/inputs/input-seconds/input-seconds.component.ts","./src/app/base/inputs/input-seconds/input-seconds.component.ngfactory.js","./src/app/base/fieldsets/fieldset-seconds/fieldset-seconds.component.ts","./src/app/base/fieldsets/fieldset-seconds/fieldset-seconds.component.ngfactory.js","./src/app/core/helpers/filter-operators.ts","./src/app/base/inputs/input-lookup/input-lookup.scss.shim.ngstyle.js","./src/app/core/helpers/group-filter.ts","./src/app/core/helpers/property-filter.ts","./src/app/core/helpers/sort-descriptor.ts","./src/app/base/helpers/key-codes.ts","./src/app/base/inputs/input-lookup/input-lookup.ts","./src/app/base/inputs/input-entity/input-entity.component.ts","./src/app/base/inputs/input-entity/input-entity.component.ngfactory.js","./src/app/base/fieldsets/fieldset-entity/fieldset-entity.component.ts","./src/app/base/fieldsets/fieldset-entity/fieldset-entity.component.ngfactory.js","./src/app/base/fieldsets/fieldset-container/fieldset-container.component.ts","./src/app/base/fieldsets/fieldset-container/fieldset-container.component.ngfactory.js","./src/app/base/fieldsets/fieldsets-all/fieldsets-all.component.ts","./src/app/base/fieldsets/fieldsets-all/fieldsets-all.component.ngfactory.js","./src/app/core/helpers/data-rights.enum.ts","./src/app/insights/insight-base/insight-base.scss.shim.ngstyle.js","./src/app/insights/helpers/svg-ellipsis.directive.ts","./src/app/core/helpers/abstract-component.ts","./src/app/insights/insight-provider.ts","./src/app/insights/insight.service.ts","./src/app/insights/helpers/entity-changed-subscription.ts","./src/app/insights/insight-base/insight-base.ts","./src/app/core/event.service.ts","./src/app/insights/insight-base/insight-breeze.ts","./src/app/insights/insight-example-trend/insight-example-trend.component.ts","./src/app/insights/insight-trend/insight-trend.component.ts","./src/app/insights/insight-example-trend/insight-example-trend.component.ngfactory.js","./src/app/insights/insight-trend/insight-trend.component.scss.shim.ngstyle.js","./src/app/insights/insight-example-gauge/insight-example-gauge.component.ts","./src/app/insights/insight-gauge/insight-gauge.component.ts","./src/app/insights/insight-example-gauge/insight-example-gauge.component.ngfactory.js","./src/app/insights/insight-gauge/insight-gauge.component.scss.shim.ngstyle.js","./src/app/insights/insight-example-bar/insight-example-bar.component.ts","./src/app/insights/insight-bar/insight-bar.component.ts","./src/app/insights/insight-example-bar/insight-example-bar.component.ngfactory.js","./src/app/insights/insight-bar/insight-bar.component.scss.shim.ngstyle.js","./src/app/insights/insight-line/insight-line.component.scss.shim.ngstyle.js","./src/app/insights/insight-line/insight-line.component.ts","./src/app/insights/insight-example-line/insight-example-line.component.ts","./src/app/insights/insight-example-line/insight-example-line.component.ngfactory.js","./src/app/insights/insight-list/insight-list.component.scss.shim.ngstyle.js","./src/app/insights/insight-list/insight-list.component.ts","./src/app/insights/insight-example-list/insight-example-list.component.ts","./src/app/insights/insight-example-list/insight-example-list.component.ngfactory.js","./src/app/insights/insight-example-pie/insight-example-pie.component.ts","./src/app/insights/insight-pie/insight-pie.component.ts","./src/app/insights/insight-example-pie/insight-example-pie.component.ngfactory.js","./src/app/insights/insight-pie/insight-pie.component.scss.shim.ngstyle.js","./src/app/insights/insight-table/insight-table.component.scss.shim.ngstyle.js","./src/app/insights/insight-table/insight-table.component.ts","./src/app/insights/insight-example-table/insight-example-table.component.ts","./src/app/insights/insight-example-table/insight-example-table.component.ngfactory.js","./src/app/insights/insight-text/insight-text.component.scss.shim.ngstyle.js","./src/app/insights/insight-text/insight-text.component.ts","./src/app/insights/insight-example-text/insight-example-text.component.ts","./src/app/insights/insight-example-text/insight-example-text.component.ngfactory.js","./src/app/insights/insight-working-hours/insight-working-hours.component.ts","./src/app/insights/insight-working-hours/insight-working-hours.component.ngfactory.js","./src/app/insights/insight-planned-hours/insight-planned-hours.component.ts","./src/app/insights/insight-planned-hours/insight-planned-hours.component.ngfactory.js","./src/app/insights/insight-booked-hours/insight-booked-hours.component.ts","./src/app/insights/insight-booked-hours/insight-booked-hours.component.ngfactory.js","./src/app/insights/insight-available-hours/insight-available-hours.component.ts","./src/app/insights/insight-available-hours/insight-available-hours.component.ngfactory.js","./src/app/insights/insight-contract-planned/insight-contract-planned.component.ts","./src/app/insights/insight-contract-planned/insight-contract-planned.component.ngfactory.js","./src/app/insights/insight-realization/insight-realization.component.ts","./src/app/insights/insight-realization/insight-realization.component.ngfactory.js","./src/app/insights/insight-leave/insight-leave.component.ts","./src/app/insights/insight-leave/insight-leave.component.ngfactory.js","./src/app/insights/insight-billable-hours/insight-billable-hours.component.ts","./src/app/insights/insight-billable-hours/insight-billable-hours.component.ngfactory.js","./src/app/ui/overlay-provider.ts","./src/app/domain/copy-shift/copy-shift.component.ts","./src/app/domain/copy-shift/copy-shift.component.ngfactory.js","./src/app/domain/copy-task/deployment-copy-options.ts","./src/app/domain/copy-task/copy-task.component.ts","./src/app/domain/copy-task/copy-task.component.ngfactory.js","./src/app/domain/copy-task/copy-task.component.scss.shim.ngstyle.js","./src/app/domain/batch-planmacro/batch-planmacro.component.ts","./src/app/domain/batch-planmacro/batch-planmacro.component.ngfactory.js","./src/app/insights/insight-container/insight-container.component.ts","./src/app/insights/insight-container/insight-container.component.ngfactory.js","./src/app/core/local-storage.service.ts","./src/app/insights/insights/insights.component.ts","./src/app/insights/insights/insights.component.ngfactory.js","./src/app/insights/insights/insights.component.scss.shim.ngstyle.js","./src/app/base/list-container/list-container.component.ts","./src/app/base/list-container/list-container.component.ngfactory.js","./src/app/base/sidebar-right/sidebar-right.component.ts","./src/app/base/sidebar-right/sidebar-right.component.ngfactory.js","./src/app/base/helpers/abstract-view.ts","./src/app/base/data-view/data-view.base.ts","./src/app/core/dialog.service.ts","./src/app/domain/data-view/data-view.component.ts","./src/app/domain/data-view/data-view.component.ngfactory.js","./src/app/base/relation-container/relation-container.component.ts","./src/app/base/relation-container/relation-container.component.ngfactory.js","./src/app/base/instruction/instruction.component.ts","./src/app/base/instruction/instruction.component.ngfactory.js","./src/app/base/instruction/instruction.component.scss.shim.ngstyle.js","./src/app/base/file-reader.service.ts","./src/app/core/action/action.ts","./src/app/core/action/actions/upload-import-tasks.action.ts","./src/app/core/action/actions/upload-import-users.action.ts","./src/app/core/action/actions/realize-selection.action.ts","./src/app/core/action/actions/change-marketplace-value.action.ts","./src/app/core/action/actions/change-workstatus-value.action.ts","./src/app/core/action/actions/open-overlay.action.ts","./src/app/core/action/actions/do-method-action.ts","./src/app/core/action/actions/can-clone-action.ts","./src/app/core/action/actions/open-overlay-shrinkage.action.ts","./src/app/core/action/actions/cancel-planmacro.action.ts","./src/app/core/action/actions/enable-user-selection.action.ts","./src/app/core/action.service.ts","./src/app/social/actions/actions.component.ts","./src/app/social/actions/actions.component.ngfactory.js","./src/app/social/actions/actions.component.scss.shim.ngstyle.js","./src/app/base/profile-picture/profile-picture.component.ts","./src/app/base/profile-picture/profile-picture.component.ngfactory.js","./src/app/base/profile-picture/profile-picture.component.scss.shim.ngstyle.js","./src/app/base/directives/openProfile.directive.ts","./src/app/base/pipes/oid-to-key.pipe.ts","./src/app/social/comment.service.ts","./src/app/social/comments/comments.component.ts","./src/app/social/comments/comments.component.ngfactory.js","./src/app/social/comments/comments.component.scss.shim.ngstyle.js","./src/app/social/pipes/bytes-readable.pipe.ts","./src/app/social/files/files.component.ts","./src/app/social/files/files.component.ngfactory.js","./src/app/social/files/files.component.scss.shim.ngstyle.js","./src/app/domain/helpers/repeat-adapter.ts","./src/app/social/audit-trail/audit-trail.component.ts","./src/app/social/audit-trail/audit-trail.component.ngfactory.js","./src/app/social/audit-trail/audit-trail.component.scss.shim.ngstyle.js","./src/app/base/helpers/control-base.ts","./src/app/base/form/form.base.ts","./src/app/domain/form/form.component.ts","./src/app/domain/form/form.component.ngfactory.js","./src/app/base/detail/detail.base.ts","./src/app/domain/detail/detail.component.ts","./src/app/domain/detail/detail.component.ngfactory.js","./src/app/base/list/list.base.scss.shim.ngstyle.js","./src/app/base/columns/column-container/column-container.component.ts","./src/app/base/columns/column-container/column-container.component.ngfactory.js","./src/app/base/pagination/pagination.component.ts","./src/app/base/pagination/pagination.component.ngfactory.js","./src/app/base/pagination/pagination.component.scss.shim.ngstyle.js","./src/app/base/list/list.base.ts","./src/app/domain/list/list.component.ts","./src/app/domain/list/list.component.ngfactory.js","./src/app/base/relation/relation.base.scss.shim.ngstyle.js","./src/app/base/relation/relation.base.ts","./src/app/grids/helpers/detail-level.ts","./src/app/base/helpers/momentos.ts","./src/app/grids/helpers/timeslot.ts","./src/app/base/helpers/remove-keyed-collection.ts","./src/app/base/helpers/color-tools.ts","./src/app/grids/helpers/plan-item-wrapper.ts","./src/app/grids/helpers/agenda-assignment.ts","./src/app/grids/helpers/agenda-appointment.ts","./src/app/grids/helpers/agenda-availability.ts","./src/app/grids/helpers/agenda-workpattern.ts","./src/app/grids/helpers/agenda-attendant.ts","./src/app/grids/processors/processor.ts","./src/app/grids/helpers/timeslot-decorations.ts","./src/app/grids/processors/day-processor.ts","./src/app/grids/processors/week-processor.ts","./src/app/grids/processors/month-processor.ts","./src/app/grids/helpers/detail-levels.ts","./src/app/grids/processors/quarter-processor.ts","./src/app/grids/grid.service.ts","./src/app/domain/relation/relation.component.ts","./src/app/base/form-child/form-child.base.ts","./src/app/domain/form-child/form-child.component.ts","./src/app/domain/form-child/form-child.component.ngfactory.js","./src/app/base/pipes/entity-translate.pipe.ts","./src/app/domain/relation/relation.component.ngfactory.js","./src/app/domain/repeat-split-form/repeat-split-form.component.ts","./src/app/domain/repeat-split-form/repeat-split-form.component.ngfactory.js","./src/app/domain/repeat-split-form/repeat-split-form.component.scss.shim.ngstyle.js","./src/app/domain/input-assignee/input-assignee.component.ts","./src/app/domain/input-assignee/input-assignee.component.ngfactory.js","./src/app/domain/fieldset-assignee/fieldset-assignee.component.ts","./src/app/domain/fieldset-assignee/fieldset-assignee.component.ngfactory.js","./src/app/domain/input-inuseby/input-inuseby.component.ts","./src/app/domain/input-inuseby/input-inuseby.component.ngfactory.js","./src/app/domain/fieldset-inuseby/fieldset-inuseby.component.ts","./src/app/domain/fieldset-inuseby/fieldset-inuseby.component.ngfactory.js","./src/app/domain/fieldset-location/fieldset-location.component.ts","./src/app/domain/fieldset-location/fieldset-location.component.ngfactory.js","./src/app/domain/fieldset-multi-type/fieldset-multi-type.component.ts","./src/app/domain/fieldset-multi-type/fieldset-multi-type.component.ngfactory.js","./src/app/domain/fieldset-parent-child/fieldset-parent-child.component.ts","./src/app/domain/fieldset-parent-child/fieldset-parent-child.component.ngfactory.js","./src/app/domain/fieldset-repeat/fieldset-repeat.component.ts","./src/app/domain/fieldset-repeat/fieldset-repeat.component.ngfactory.js","./src/app/core/validators/color.validator.ts","./src/app/domain/input-color/input-color.component.ts","./src/app/domain/input-color/input-color.component.ngfactory.js","./src/app/domain/input-color/input-color.component.scss.shim.ngstyle.js","./src/app/domain/fieldset-color/fieldset-color.component.ts","./src/app/domain/fieldset-color/fieldset-color.component.ngfactory.js","./src/app/domain/column-inuseby/column-inuseby.component.ts","./src/app/domain/column-inuseby/column-inuseby.component.ngfactory.js","./src/app/domain/column-inuseby/column-inuseby.component.scss.shim.ngstyle.js","./src/app/domain/column-realization/column-realization.component.ts","./src/app/domain/column-realization/column-realization.component.ngfactory.js","./src/app/domain/column-realization/column-realization.component.scss.shim.ngstyle.js","./src/app/domain/column-repeat/column-repeat.component.ts","./src/app/domain/column-repeat/column-repeat.component.ngfactory.js","./src/app/domain/column-repeat/column-repeat.component.scss.shim.ngstyle.js","./src/app/domain/column-color/column-color.component.ts","./src/app/domain/column-color/column-color.component.ngfactory.js","./src/app/domain/column-datetime-deviation/column-datetime-deviation.component.ts","./src/app/domain/column-datetime-deviation/column-datetime-deviation.component.ngfactory.js","./src/app/domain/column-duration-deviation/column-duration-deviation.component.ts","./src/app/domain/column-duration-deviation/column-duration-deviation.component.ngfactory.js","./src/app/domain/column-requirement/column-requirement.component.ts","./src/app/domain/column-requirement/column-requirement.component.ngfactory.js","./src/app/domain/column-contract-hours/column-contract-hours.component.ts","./src/app/domain/column-contract-hours/column-contract-hours.component.ngfactory.js","./src/app/ui/profile/profile.component.ts","./src/app/ui/profile/profile.component.ngfactory.js","./src/app/ui/profile/profile.component.scss.shim.ngstyle.js","./src/app/ui/version-info/version-info.component.ts","./src/app/ui/version-info/version-info.component.ngfactory.js","./src/app/ui/version-info/version-info.component.scss.shim.ngstyle.js","./src/app/ui/account/account.component.ts","./src/app/ui/account/account.component.ngfactory.js","./src/app/ui/account/account.component.scss.shim.ngstyle.js","./src/app/ui/column-profile-picture/column-profile-picture.component.ts","./src/app/ui/column-profile-picture/column-profile-picture.component.ngfactory.js","./src/app/ui/column-profile-picture/column-profile-picture.component.scss.shim.ngstyle.js","./src/app/forecast/forecast.service.ts","./src/app/forecast/check-calendar/check-calendar.component.ts","./src/app/forecast/check-calendar/check-calendar.component.ngfactory.js","./src/app/forecast/check-calendar/check-calendar.component.scss.shim.ngstyle.js","./src/app/forecast/forecast-form-child/forecast-form-child.component.ts","./src/app/forecast/forecast-form-child/forecast-form-child.component.ngfactory.js","./src/app/forecast/forecast-relation/forecast-relation.component.ts","./src/app/forecast/forecast-relation/forecast-relation.component.ngfactory.js","./src/app/forecast/forecast-list/forecast-list.component.ts","./src/app/forecast/forecast-list/forecast-list.component.ngfactory.js","./src/app/forecast/shrinkage/shrinkage.component.ts","./src/app/forecast/shrinkage/shrinkage.component.ngfactory.js","./src/app/grids/ad-hoc/ad-hoc.component.ts","./src/app/grids/ad-hoc/ad-hoc.component.ngfactory.js","./src/app/base/helpers/control-adapter.ts","./src/app/grids/horizon/horizon.component.ts","./src/app/grids/horizon/horizon.component.ngfactory.js","./src/app/grids/horizon/horizon.component.scss.shim.ngstyle.js","./src/app/grids/agenda-list/agenda-list.component.ts","./src/app/grids/agenda-list/agenda-list.component.ngfactory.js","./src/app/grids/grid-base/grid-base.scss.shim.ngstyle.js","./src/app/grids/drag-source-base/drag-source-base.component.scss.shim.ngstyle.js","./src/app/grids/grid-drag-base/grid-drag-base.component.ts","./src/app/grids/drag-source-base/drag-source-base.component.ts","./src/app/grids/drag-source-tasks-base/drag-source-tasks-base.component.ts","./src/app/grids/executors/executor.ts","./src/app/grids/executors/drop-base.ts","./src/app/grids/executors/task-drop.ts","./src/app/grids/executors/service-drop.ts","./src/app/grids/executors/absence-drop.ts","./src/app/grids/executors/move.ts","./src/app/grids/executors/absence-move.ts","./src/app/grids/executors/appointment-move.ts","./src/app/grids/executors/assignment-move.ts","./src/app/grids/executors/attendant-move.ts","./src/app/grids/executors/delete.ts","./src/app/grids/executors/appointment-delete.ts","./src/app/grids/executors/assignment-delete.ts","./src/app/grids/executors/attendant-delete.ts","./src/app/grids/executors/absence-drop-edit.ts","./src/app/grids/executors/service-drop-edit.ts","./src/app/grids/executors/task-drop-edit.ts","./src/app/grids/executors/absence-delete.ts","./src/app/grids/executors/resize.ts","./src/app/grids/executors/absence-resize.ts","./src/app/grids/executors/appointment-resize.ts","./src/app/grids/executors/attendant-resize.ts","./src/app/grids/executors/assignment-resize.ts","./src/app/grids/executors/adhoc.ts","./src/app/grids/executors/shift-adhoc.ts","./src/app/grids/executors/task-adhoc.ts","./src/app/grids/executors/absence-adhoc.ts","./src/app/grids/executors/appointment-drop.ts","./src/app/grids/executors/appointment-drop-edit.ts","./src/app/grids/drop-targets.service.ts","./src/app/grids/executors/drop-extra.ts","./src/app/grids/executors/drop.ts","./src/app/grids/executors/back.ts","./src/app/grids/executors/task-drop-prognosed.ts","./src/app/grids/executors/attendant-drop.ts","./src/app/grids/executors/attendant-drop-edit.ts","./src/app/grids/executors.service.ts","./src/app/grids/agenda-drag-source-tasks/agenda-drag-source-tasks.component.ts","./src/app/grids/agenda-drag-source-tasks/agenda-drag-source-tasks.component.ngfactory.js","./src/app/grids/drag-source-appointments-base/drag-source-appointments-base.component.ts","./src/app/grids/agenda-drag-source-appointments/agenda-drag-source-appointments.component.ts","./src/app/grids/agenda-drag-source-appointments/agenda-drag-source-appointments.component.ngfactory.js","./src/app/grids/drag-source-services-base/drag-source-services-base.component.ts","./src/app/grids/agenda-drag-source-services/agenda-drag-source-services.component.ts","./src/app/grids/agenda-drag-source-services/agenda-drag-source-services.component.ngfactory.js","./src/app/grids/drag-source-absences-base/drag-source-absences-base.component.ts","./src/app/grids/agenda-drag-source-absences/agenda-drag-source-absences.component.ts","./src/app/grids/agenda-drag-source-absences/agenda-drag-source-absences.component.ngfactory.js","./src/app/grids/agenda-grid-drag/agenda-grid-drag.component.ts","./src/app/grids/agenda-grid-drag/agenda-grid-drag.component.ngfactory.js","./src/app/grids/grid-display-base/grid-display-base.component.ts","./src/app/grids/grid-bar-base/grid-bar-base.component.ts","./src/app/grids/agenda-grid-bar/agenda-grid-bar.component.ts","./src/app/grids/agenda-grid-bar/agenda-grid-bar.component.ngfactory.js","./src/app/grids/agenda-grid-bar/agenda-grid-bar.component.scss.shim.ngstyle.js","./src/app/core/minutes-in-hours.pipe.ts","./src/app/grids/agenda-grid-display/agenda-grid-display.component.ts","./src/app/grids/agenda-grid-display/agenda-grid-display.component.ngfactory.js","./src/app/grids/grid-base/grid-base.component.ts","./src/app/grids/agenda-grid/agenda-grid.component.ts","./src/app/grids/agenda-grid/agenda-grid.component.ngfactory.js","./src/app/grids/planboard-drag-source-tasks/planboard-drag-source-tasks.component.ts","./src/app/grids/planboard-drag-source-tasks/planboard-drag-source-tasks.component.ngfactory.js","./src/app/grids/planboard-drag-source-appointments/planboard-drag-source-appointments.component.ts","./src/app/grids/planboard-drag-source-appointments/planboard-drag-source-appointments.component.ngfactory.js","./src/app/grids/planboard-drag-source-services/planboard-drag-source-services.component.ts","./src/app/grids/planboard-drag-source-services/planboard-drag-source-services.component.ngfactory.js","./src/app/grids/planboard-drag-source-absences/planboard-drag-source-absences.component.ts","./src/app/grids/planboard-drag-source-absences/planboard-drag-source-absences.component.ngfactory.js","./src/app/grids/planboard-grid-drag/planboard-grid-drag.component.ts","./src/app/grids/planboard-grid-drag/planboard-grid-drag.component.ngfactory.js","./src/app/grids/plugin-pair.service.ts","./src/app/grids/plugins/plugin-pair-selector/plugin-pair-selector.component.ts","./src/app/grids/plugins/plugin-pair-selector/plugin-pair-selector.component.ngfactory.js","./src/app/grids/plugins/plugin-pair-selector/plugin-pair-selector.component.scss.shim.ngstyle.js","./src/app/grids/planboard-row-info/planboard-row-info.component.ts","./src/app/grids/planboard-row-info/planboard-row-info.component.ngfactory.js","./src/app/grids/planboard-row-info/planboard-row-info.component.scss.shim.ngstyle.js","./src/app/grids/planboard-grid-bar/planboard-grid-bar.component.ts","./src/app/grids/planboard-grid-bar/planboard-grid-bar.component.ngfactory.js","./src/app/grids/planboard-grid-bar/planboard-grid-bar.component.scss.shim.ngstyle.js","./src/app/grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle.js","./src/app/grids/plugins/plugin-view/plugin-view.base.ts","./src/app/forecast/helpers/shrinkage.ts","./src/app/forecast/plugin-view-forecast/plugin-view-forecast.base.ts","./src/app/forecast/plugin-view-calls/plugin-view-calls.component.ts","./src/app/forecast/plugin-view-calls/plugin-view-calls.component.ngfactory.js","./src/app/forecast/plugin-view-calls/plugin-view-calls.component.scss.shim.ngstyle.js","./src/app/forecast/plugin-view-prognoses/plugin-view-prognoses.component.ts","./src/app/forecast/plugin-view-prognoses/plugin-view-prognoses.component.ngfactory.js","./src/app/forecast/plugin-view-prognoses/plugin-view-prognoses.component.scss.shim.ngstyle.js","./src/app/forecast/plugin-view-corrections/plugin-view-corrections.component.ts","./src/app/forecast/plugin-view-corrections/plugin-view-corrections.component.ngfactory.js","./src/app/forecast/plugin-view-corrections/plugin-view-corrections.component.scss.shim.ngstyle.js","./src/app/grids/plugins/plugin-view-empty/plugin-view-empty.component.scss.shim.ngstyle.js","./src/app/forecast/plugin-view-shrinkage/plugin-view-shrinkage.component.ts","./src/app/forecast/plugin-view-shrinkage/plugin-view-shrinkage.component.ngfactory.js","./src/app/forecast/plugin-view-controls/plugin-view-controls.component.ts","./src/app/forecast/plugin-view-controls/plugin-view-controls.component.ngfactory.js","./src/app/forecast/plugin-view-capacity/plugin-view-capacity.component.ts","./src/app/forecast/plugin-view-capacity/plugin-view-capacity.component.ngfactory.js","./src/app/forecast/plugin-view-capacity/plugin-view-capacity.component.scss.shim.ngstyle.js","./src/app/grids/plugins/plugin-view-shifts/plugin-view-shifts.component.scss.shim.ngstyle.js","./src/app/grids/plugins/plugin-view-shifts/plugin-view-shifts.component.ts","./src/app/grids/plugins/plugin-view-shifts/plugin-view-shifts.component.ngfactory.js","./src/app/grids/plugins/plugin-view-shifts-extra/plugin-view-shifts-extra.component.ts","./src/app/grids/plugins/plugin-view-shifts-extra/plugin-view-shifts-extra.component.ngfactory.js","./src/app/grids/plugins/plugin-view-attendants/plugin-view-attendants.component.ts","./src/app/grids/plugins/plugin-view-attendants/plugin-view-attendants.component.ngfactory.js","./src/app/grids/plugins/plugin-view-attendants/plugin-view-attendants.component.scss.shim.ngstyle.js","./src/app/forecast/plugin-view-service-level/plugin-view-service-level.component.ts","./src/app/forecast/plugin-view-service-level/plugin-view-service-level.component.ngfactory.js","./src/app/forecast/plugin-view-service-level/plugin-view-service-level.component.scss.shim.ngstyle.js","./src/app/grids/plugins/plugin-view-generated/plugin-view-generated.component.ts","./src/app/grids/plugins/plugin-view-generated/plugin-view-generated.component.ngfactory.js","./src/app/grids/plugins/plugin-view-generated-extra/plugin-view-generated-extra.component.ts","./src/app/grids/plugins/plugin-view-generated-extra/plugin-view-generated-extra.component.ngfactory.js","./src/app/grids/plugins/plugin-view-empty/plugin-view-empty.component.ts","./src/app/grids/plugins/plugin-view-empty/plugin-view-empty.component.ngfactory.js","./src/app/grids/plugins/plugin-pair-view/plugin-pair-view.component.ts","./src/app/grids/plugins/plugin-pair-view/plugin-pair-view.component.ngfactory.js","./src/app/grids/plugins/plugin-pair-view/plugin-pair-view.component.scss.shim.ngstyle.js","./src/app/grids/planboard-grid-display/planboard-grid-display.component.ts","./src/app/grids/planboard-grid-display/planboard-grid-display.component.ngfactory.js","./src/app/grids/planboard-grid/planboard-grid.component.ts","./src/app/grids/planboard-grid/planboard-grid.component.ngfactory.js","./src/app/grids/grid-container/grid-container.component.ts","./src/app/grids/grid-container/grid-container.component.ngfactory.js","./src/app/grids/grid-view/grid-view.component.ts","./src/app/grids/grid-view/grid-view.component.ngfactory.js","./src/app/grids/grid-view/grid-view.component.scss.shim.ngstyle.js","./src/app/notifications/request-types.ts","./src/app/notifications/request-status.ts","./src/app/notifications/request.ts","./src/app/notifications/recipient.ts","./src/app/notifications/notifications.service.ts","./src/app/notifications/notifications-view/notifications-view.component.ts","./src/app/notifications/notifications-view/notifications-view.component.ngfactory.js","./src/app/notifications/notifications-view/notifications-view.component.scss.shim.ngstyle.js","./src/app/notifications/notifications-list/notifications-list.component.ts","./src/app/notifications/notifications-list/notifications-list.component.ngfactory.js","./src/app/notifications/notifications-list/notifications-list.component.scss.shim.ngstyle.js","./src/app/notifications/notifications-form/notifications-form.component.ts","./src/app/notifications/notifications-form/notifications-form.component.ngfactory.js","./src/app/notifications/notifications-form/notifications-form.component.scss.shim.ngstyle.js","./src/app/notifications/exchange-detail/exchange-detail.component.ts","./src/app/notifications/absence-detail/absence-detail.component.ts","./src/app/notifications/absence-detail/absence-detail.component.ngfactory.js","./src/app/notifications/notifications-relation/notifications-relation.component.ts","./src/app/notifications/notifications-relation/notifications-relation.component.ngfactory.js","./src/app/notifications/request-summary/request-summary.component.ts","./src/app/notifications/request-summary/request-summary.component.ngfactory.js","./src/app/notifications/request-summary/request-summary.component.scss.shim.ngstyle.js","./src/app/notifications/exchange-list/exchange-list.component.ts","./src/app/notifications/exchange-list/exchange-list.component.ngfactory.js","./src/app/notifications/exchange-day/exchange-day.component.ts","./src/app/notifications/exchange-day/exchange-day.component.ngfactory.js","./src/app/notifications/exchange-day-detail/exchange-day-detail.component.ts","./src/app/notifications/exchange-day-detail/exchange-day-detail.component.ngfactory.js","./src/app/notifications/exchange-detail/exchange-detail.component.ngfactory.js","./src/app/notifications/reassign-form/reassign-form.component.ts","./src/app/notifications/reassign-form/reassign-form.component.ngfactory.js","./src/app/notifications/reassign-day/reassign-day.component.ts","./src/app/notifications/reassign-day/reassign-day.component.ngfactory.js","./src/app/notifications/reassign-day-detail/reassign-day-detail.component.ts","./src/app/notifications/reassign-day-detail/reassign-day-detail.component.ngfactory.js","./src/app/notifications/reassign-detail/reassign-detail.component.ts","./src/app/notifications/reassign-detail/reassign-detail.component.ngfactory.js","./src/app/core/branding.service.ts","./src/app/workslips/workslip-head/workslip-head.component.ts","./src/app/workslips/workslip-head/workslip-head.component.ngfactory.js","./src/app/workslips/workslip-head/workslip-head.component.scss.shim.ngstyle.js","./src/app/workslips/workslip.ts","./src/app/workslips/helpers/spend-time.ts","./src/app/workslips/workslips.service.ts","./src/app/workslips/workslip-form/workslip-form.component.ts","./src/app/workslips/workslip-form/workslip-form.component.ngfactory.js","./src/app/workslips/workslip-form-child/workslip-form-child.component.ts","./src/app/workslips/workslip-form-child/workslip-form-child.component.ngfactory.js","./src/app/workslips/workslip-relation/workslip-relation.component.ts","./src/app/workslips/workslip-relation/workslip-relation.component.ngfactory.js","./src/app/workslips/workslip-view/workslip-view.component.ts","./src/app/workslips/workslip-view/workslip-view.component.ngfactory.js","./src/app/workslips/workslip-view/workslip-view.component.scss.shim.ngstyle.js","./src/app/workslips/workslip-detail/workslip-detail.component.ts","./src/app/workslips/workslip-detail/workslip-detail.component.ngfactory.js","./src/app/workslips/workslip-list/workslip-list.component.ts","./src/app/workslips/workslip-list/workslip-list.component.ngfactory.js","./src/app/grids/agenda-list/agenda-list.component.scss.shim.ngstyle.js","./src/app/marketplace/marketplace-list/marketplace-list.component.ts","./src/app/marketplace/marketplace-list/marketplace-list.component.ngfactory.js","./src/app/marketplace/accept-demand/accept-demand.component.ts","./src/app/marketplace/accept-demand/accept-demand.component.ngfactory.js","./src/app/marketplace/accept-service/accept-service.component.ts","./src/app/marketplace/accept-service/accept-service.component.ngfactory.js","./src/app/marketplace/column-marketplace-demand/column-marketplace-demand.component.ts","./src/app/marketplace/column-marketplace-demand/column-marketplace-demand.component.ngfactory.js","./src/app/marketplace/column-marketplace-service/column-marketplace-service.component.ts","./src/app/marketplace/column-marketplace-service/column-marketplace-service.component.ngfactory.js","./src/app/marketplace/withdraw-assignment/withdraw-assignment.component.ts","./src/app/marketplace/withdraw-assignment/withdraw-assignment.component.ngfactory.js","./src/app/marketplace/withdraw-attendant/withdraw-attendant.component.ts","./src/app/marketplace/withdraw-attendant/withdraw-attendant.component.ngfactory.js","./src/app/timeline/timeline-item-base/timeline-item-base.component.scss.shim.ngstyle.js","./src/app/social/emoji-bar/emoji-bar.component.ts","./src/app/social/emoji-bar/emoji-bar.component.ngfactory.js","./src/app/social/emoji-bar/emoji-bar.component.scss.shim.ngstyle.js","./src/app/timeline/helpers/timelineItem-type.enum.ts","./src/app/timeline/timeline.service.ts","./src/app/timeline/timeline-item-base/timeline-item-base.component.ts","./src/app/timeline/timeline-item-mind/timeline-item-mind.component.ts","./src/app/timeline/timeline-item-mind/timeline-item-mind.component.ngfactory.js","./src/app/timeline/timeline-item-profile/timeline-item-profile.component.ts","./src/app/timeline/timeline-item-profile/timeline-item-profile.component.ngfactory.js","./src/app/timeline/timeline-item-project/timeline-item-project.component.ts","./src/app/timeline/timeline-item-project/timeline-item-project.component.ngfactory.js","./src/app/timeline/timeline-item-task/timeline-item-task.component.ts","./src/app/timeline/timeline-item-task/timeline-item-task.component.ngfactory.js","./src/app/timeline/timeline-item-appointment/timeline-item-appointment.component.ts","./src/app/timeline/timeline-item-appointment/timeline-item-appointment.component.ngfactory.js","./src/app/timeline/timeline-item-notification/timeline-item-notification.component.ts","./src/app/timeline/timeline-item-notification/timeline-item-notification.component.ngfactory.js","./src/app/timeline/timeline-item-planning/timeline-item-planning.component.ts","./src/app/timeline/timeline-item-planning/timeline-item-planning.component.ngfactory.js","./src/app/timeline/timeline-item-realisation/timeline-item-realisation.component.ts","./src/app/timeline/timeline-item-realisation/timeline-item-realisation.component.ngfactory.js","./src/app/timeline/timeline-item-holidays/timeline-item-holidays.component.ts","./src/app/timeline/timeline-item-holidays/timeline-item-holidays.component.ngfactory.js","./src/app/timeline/timeline-item-base/timeline-item-base.component.ngfactory.js","./src/app/timeline/timeline/timeline.component.ts","./src/app/timeline/timeline-add/timeline-add.component.ts","./src/app/timeline/timeline-add/timeline-add.component.ngfactory.js","./src/app/timeline/timeline-add/timeline-add.component.scss.shim.ngstyle.js","./src/app/timeline/timeline/timeline.component.ngfactory.js","./src/app/timeline/timeline/timeline.component.scss.shim.ngstyle.js","./src/app/settings/settings-form/settings-form.component.ts","./src/app/settings/settings-form/settings-form.component.ngfactory.js","./src/app/settings/settings-detail/settings-detail.component.ts","./src/app/settings/settings-detail/settings-detail.component.ngfactory.js","./src/app/settings/settings-detail/settings-detail.component.scss.shim.ngstyle.js","./src/app/settings/settings-list/settings-list.component.ts","./src/app/settings/settings-list/settings-list.component.ngfactory.js","./src/app/settings/settings-list/settings-list.component.scss.shim.ngstyle.js","./src/app/settings/helpers/settings-value-types.ts","./src/app/settings/settings-view/settings-view.component.ts","./src/app/settings/settings-view/settings-view.component.ngfactory.js","./src/app/settings/column-settings/column-settings.component.ts","./src/app/settings/column-settings/column-settings.component.ngfactory.js","./src/app/settings/column-report-link/column-report-link.component.ts","./src/app/settings/column-report-link/column-report-link.component.ngfactory.js","./src/app/core/start/start.component.ts","./src/app/core/start/start.component.ngfactory.js","./src/app/core/start/start.component.scss.shim.ngstyle.js","./src/app/core/online.service.ts","./src/app/ui/header/header.component.ts","./src/app/ui/header/header.component.ngfactory.js","./src/app/ui/header/header.component.scss.shim.ngstyle.js","./src/app/core/system-messages.service.ts","./src/app/core/system-messages/system-messages.component.ts","./src/app/core/system-messages/system-messages.component.ngfactory.js","./src/app/core/system-messages/system-messages.component.scss.shim.ngstyle.js","./src/app/ui/menu/menu.component.ts","./src/app/ui/menu/menu.component.ngfactory.js","./src/app/ui/menu/menu.component.scss.shim.ngstyle.js","./src/app/ui/scroll-top/scroll-top.component.ts","./src/app/ui/scroll-top/scroll-top.component.ngfactory.js","./src/app/ui/scroll-top/scroll-top.component.scss.shim.ngstyle.js","./src/app/ui/footer/footer.component.ts","./src/app/ui/footer/footer.component.ngfactory.js","./src/app/ui/footer/footer.component.scss.shim.ngstyle.js","./src/app/core/alerts/alerts.component.ts","./src/app/core/alerts/alerts.component.ngfactory.js","./src/app/core/alerts/alerts.component.scss.shim.ngstyle.js","./src/app/ui/dialog/dialog.component.ts","./src/app/ui/dialog/dialog.component.ngfactory.js","./src/app/ui/dialog/dialog.component.scss.shim.ngstyle.js","./src/app/ui/overlay-container/overlay-container.component.ts","./src/app/ui/overlay-container/overlay-container.component.ngfactory.js","./src/app/ui/overlay-container/overlay-container.component.scss.shim.ngstyle.js","./src/app/base/detail-container/detail-container.component.ts","./src/app/base/detail-container/detail-container.component.ngfactory.js","./src/app/ui/overlay-view/overlay-view.component.ts","./src/app/ui/overlay-view/overlay-view.component.ngfactory.js","./src/app/ui/overlay-view/overlay-view.component.scss.shim.ngstyle.js","./src/app/base/file-reader/file-reader.component.ts","./src/app/base/file-reader/file-reader.component.ngfactory.js","./src/app/base/file-reader/file-reader.component.scss.shim.ngstyle.js","./src/app/app.component.ngfactory.js","./src/app/app.component.scss.shim.ngstyle.js","./src/app/core/custom-event-manager.ts","./src/app/core/interceptors/no-cache.interceptor.ts","./src/app/core/interceptors/authorize.interceptor.ts","./src/app/core/interceptors/error.interceptor.ts","./src/app/core/validators/emotions.validator.ts","./src/app/core/validators/number.validator.ts","./src/app/core/validators/period.validator.ts","./src/app/core/core.module.ts","./src/app/base/base.module.ts","./src/app/base/inputs/input-list/input-list.component.ts","./src/app/social/social.module.ts","./src/app/insights/insights.module.ts","./src/app/domain/domain.module.ts","./src/app/ui/ui.module.ts","./src/app/forecast/forecast.module.ts","./src/app/grids/grids.module.ts","./src/app/notifications/notifications.module.ts","./src/app/workslips/workslips.module.ts","./src/app/marketplace/marketplace.module.ts","./src/app/timeline/timeline.module.ts","./src/app/settings/settings.module.ts","./src/app/app.module.ngfactory.js","./src/main.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","0","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","webpackEmptyAsyncContext","req","Promise","resolve","then","e","Error","code","keys","id","map","webpackContext","webpackContextResolve","SortDirection","SettingsService","httpClient","this","bootInit","_a","label","loadSettings","sent","checkIntegrity","_b","toPromise","settings","hasDuplicates","frontend","domains","domain","console","warn","uri","items","filter","item","index","indexOf","ngInjectableDef","factory","token","providedIn","SubscriptionPool","subscriptions","countSubscriptions","add","subscription","unsubscribeAll","forEach","unsubscribe","AbstractBase","subscriptionPool","ngOnDestroy","_super","AuthenticationService","settingsService","oAuthService","_this","removeRefreshIframe","debugMode","events","subscribe","event","error","type","emit","initialiseOAuthService","mustBeAuthenticated","oAuthServiceConfiguration","customQueryParams","issuer","logoutUrl","authenticationType","tokenValidationHandler","loginUrl","oauth","login_url","redirectUri","redirectUrl","silentRefreshRedirectUri","clientId","resource","scope","scopes","oidc","issuer_url","endsWith","logout_url","audience","configure","setupAutomaticSilentRefresh","hasValidIdToken","hasValidAccessToken","reject","login","isAuthenticated","setTimeout","log","catch","doSilentRefresh","forced","isAccessOrIdTokenExpired","silentRefresh","jwks","loadDiscoveryDocument","tryLogin","validationHandler","context","getValidationUrl","initImplicitFlow","logOut","authentication_type","validationUrl","params","set","idToken","getIdentityClaims","getAccessToken","getIdTokenExpiration","moment","getAccessTokenExpiration","silentRefreshIn","Date","expiration","getSilentRefreshIFrameName","silentRefreshIFrameName","RepeatValidation","DataContext","entityManager","previousChanges","getChanges","rejectChanges","currentChanges","contextChanges","entity","find","entityAspect","isBeingSaved","LOADING_ALERT","BreezeService","alertsService","translateService","entityManagerService","dataContextSet","_isLoading","commitFinishedEvent","queryFinishedEvent","_dataUri","loading","_savingInProgress","AsyncSubject","configurable","getDynamicParams","options","dynamicParameters","parameters","paramName","parameter","invokeMethod","afterSave","invoke","process","beforeOrAfter","method","invokeMethods","entityState","isAddedModifiedOrDeleted","setModified","test","setDynamicParams","component","changed","previous","path","valueProperty","split","valueOf","segment","adapterSetup","getAdapterInstance","requestInterceptor","requestInfo","errorHandler","response","errors","JSON","parse","label_1","message","createAlert","initialize","managers","metadataStore","metadatas","nextDataContext","previousDataContext","pop","uriForMethod","registerSource","entityType","resultType","getEntityType","registerAndLoadSource","dataSource","completer","registered","loadDataSet","entityErrorInfo","info","errorMessage","setDefaultValues","user","dataProperties","dataType","isDate","setSeconds","copy","deep","values","isPartOfKey","relatedNavigationProperty","isNullable","createEntity","addEntity","setDeleted","Detached","Deleted","navigationProperties","navigation","isScalar","inverse","collection","relatedDataProperties","setDetached","getEntityByKey","checkLocalCacheFirst","expand","fetchEntityByKey","next","complete","expandWith","reason","shortName","callback","isAdded","segments","trim","propName_1","prop","isNavigationProperty","isNavigationPropertyLoaded","next_1","substring","arr","count_1","element","loadNavigationProperty","next_2","results","defaultResourceName","setProperties","getDataSet","manager","hasAdded","hasChanges","skipDeleted","changes","deleted","isDeleted","modified","isModified","getNavigationPropertyLocally","propertyName","masterType","getNavigationProperty","foreignKeyNames","valueType","keyProperties","sourceName","entityQuery","from","where","executeQueryLocally","getRelationsLocally","relationName","navigationName","relationType","navigationProperty","setDefaultValuesBeforeSave","saveResult","saveChanges","configuration","validateBeforeSave","processChanges","asObservable","publishServerEntityErrors","validationErrors","_loop_1","this_1","_i","errors_1","err","state_1","invalidLocationValue","fieldLabel","entityLabel","errorField","labels","translation","newEntityLabel","newFieldLabel","details","labelKey","toUpperCase","errorName","fields","field","setupMasterDetail","masterOid","detail","buildQuery","source","queryOptions","withParameters","predicate","createPredicate","sortList","sorting","direction","None","sort","a","b","order","sort_1","descriptor","Descending","orderBy","skip","take","inlineCount","waiting","reason_1","waitAlert","error_1","trys","alerts","alert","stopAutoDelete","executeQuery","clearTimeout","deleteAlert","self","invoked","invokeRemote","invoker_1","getKey","beforeSave","invoker_2","originalValues","unmappedProperties","unmapped","saveOptions","invoking","tag","actions","clearInvocation","completeInvocation","it","entityErrors","invoker","invokeType","emitEntityType","registerValidator","validator","Array","isArray","vldtr","functionRegistry","getProperty","validators","AlertsService","lastId","variant","unshift","findIndex","undefined","timer","startAutoDelete","milliseconds","postponeDeleting","getAlert","DataSet","dataService","onRefresh","refresh","load","entityName","register","remove","User","Name","Language","Resource_Oid","FirstName","LastName","HTML5Role","pictureUrl","isDetached","disable","enable","Repeat","Kind","_untilDate","isInfinity","date","getUTCFullYear","validateWith","startOrUntil","isStart","Ok","testDate","getFullYear","getMonth","getDate","UntilDate","UntilDateBeforeStart","start","Start","Owner","checkDayOfWeekWith","WeekDayMismatch","checkWeekDayOfMonthWith","OccurrenceOrderMismatch","Factor","MonthMismatch","Number","parseInt","Days","getTime","DateMismatch","getDay","oderIndex","Order","startMoment","monthOfStart","month","firstOfMonth","subtract","SpendTime","accountOid","_start","setDate","_finish","Completed","Finish","AccountClass","Effort","diff","toISOString","previousAccountOid","work","GetEntityByOid","previousWork","SumFactor","IsCompleted","unforeseen","Unforeseen","entityOid","Appointment","Added","sum","asMinutes","finish","isAfter","overlapEffort","factor","isSameOrAfter","isSameOrBefore","planStart","planFinish","overlapStart","overlapFinish","isBefore","overlap","asSeconds","hoursOfLeave","HoursOfLeave","duration","Assignment","arguments","_$Deployment_Demand","getHoursPerUnitOfTask","Math","round","asHours","ERR_MSG","Modified","effort","Attendant","service","Deployment","demand","Color","plan","Demand","task","deployments","found","removeNeed","taskNeed","Task","project","planned","Department_Oid","newStart","include","template","isFullyPlanned","Service","startBase","finishBase","StartBase","FinishBase","Shift","Project","DeploymentTemplate","DemandTemplate","ServiceTemplate","TaskTemplate","purpose","AttendantTemplate","ShiftTemplate","PlanItem","Item","PROP_ORIGINAL_RESOURCE_OID","ItemClass","Resource","_$row","onRowChanged","fillwith","$setRow","$getRow","PlanMacro","moveTo","scriptInit","scriptRun","timeout","replaceSubjectsWith","instanceOid","ErrorService","hasErrors","addError","getErrors","clearErrors","EntityManagerService","errorService","metadataStoreOptions","localQueryComparisonOptions","isCaseSensitive","usesSql92CompliantStringComparison","namingConvention","camelCase","promises","all","fetchMetadata","serviceName","BackendSettingsService","addProperty","DateTime","nameOnServer","Int32","loadBackendSettings","isExpired","isValid","daysBeforeExpiration","clone","startOf","isOnTime","subject","target","onTime","isDayOnTime","dataSet","queryResult","settingResult","replace","toLowerCase","publishedTill","availabilityClosedTill","daysBeforeResponse","RangeValidator","min","max","messageTemplates","CurrencyValidator","stringValue","DomainService","backendSettingsService","registerEntityTypes","subtypeOf","baseType","subType","custom","baseTypeName","getEntityTypes","getNavigationPropertyFor","getDataPropertyFor","getDataProperty","shortest_path_to_base","entityTypes","isSubtypeOf","step_count","base","baseEntityType","oidToKey","oid","trimRight","charToCode","pow","oidToClassName","oidToClassId","classNames","oidWith","classId","classOid","makeOIDString","char","byte","charCodeAt","charToCodeList","Oid","CODE_FACTORS","Remainder","Char_Code","trunc","codeToChar","CODE_TO_CHAR_LIST","officeStart","grid","officeHours","enabled","officeEnd","end","registerEntityTypeCtor","required","Infinity","locationByZipCode","zipCode","houseNumber","detachEntity","specialRelation","setupSpecialMasterDetail","metaDetail","master","detailTypes","getRelatedTypesOf","getBaseTypeOf","many2many","nav","nav2Detail","getRelationProperty","customData_1","linkType","defaultName","candidates","metaMaster","detailNames","detailType","regParentOid","regLink","Parent_Oid","Child_Oid","parentOid","link","setHours","setMinutes","setFullYear","assignVirtualRepeat","repeatKey","repeat","Cycles","Owner_Oid","setUnchanged","deepCopyProperties","deepItem","deletedPlanItems","modifiedPlanItems","bool","color","savePlanItem","entities","locations","property_1","number","resultSet","location_1","lastIndexOf","addOnce","validateAvailability","owner","getValueOf","categoryName","className","taskneed","validateFieldsBeforeSave","original","propertyPath","planItem","deletedItems","modifiedItems","presentedEnity","interrupt","copyEntity","fld","editor","validateRepeatPattern","missing","array","20","21","22","23","31","40","41","50","51","52","53","60","61","70","71","72","73","74","75","76","80","81","82","83","84","85","90","91","92","93","94","95","96","97","98","99","100","101","102","103","104","105","106","107","108","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","141","142","143","144","145","146","147","148","149","150","151","152","153","155","156","157","158","159","160","161","162","163","164","165","166","167","168","169","170","171","172","173","174","175","176","177","UserService","authenticationService","domainService","prepareUser","claims","usernameClaim","currentUser","loadUser","account","fullName","html5role","languages","language","locale","default_language","resourceOid","hasAuthenticatedUser","getResourceOfUser","isActionAllowed","action","allowed","includes","changeRole","role","roles","ConfigurationsService","userService","loadConfiguration","configurations","configApp","app","hasNotifications","routes","notificationRoute","route","ComponentRegistry","components","getComponent","NotFoundComponent","ngOnInit","CanDeactivateGuard","canDeactivate","NeedsUserResourceGuard","canActivate","state","RoutesService","configurationsService","menuItems","giveWarnings","guards","createRoutes","createMenuItems","appConfiguration","buildRoutesTree","firstRoute","children","routeWithChildren","redirectTo","pathMatch","parentRoute","getConfigPath","getConfigRoutes","guard","routeConfig","parentLink","menuItem","childRoute","childLink","subMenuItem","navigateBack","router","fromRoute","stepBack","snapshot","url","navigate","relativeTo","queryParams","getDetailId","routerState","root","firstChild","paramMap","ResourceService","loadResource","getResourceOid","LocalisationService","onLanguageChanged","toMaskArray","values_1","startsWith","RegExp","currentLang","currentLanguage","formats","shortdate","daymonth","time","datetime","ls","setLanguage","use","calendarRelativeOptions","sameDay","instant","nextDay","lastDay","nextWeek","lastWeek","sameElse","VersionCompare","compare","first","second","splitter","max_length","original_array","join","same_or_higher","version","minimum","TestService","testVersions","testAccountHealth","runningVersions","requirements","versions","Symagic","API","server","api","planningDomain","accountHealth","hasUser","hasResource","hasHTML5Role","isEnabled","Bootflow","resourceService","routesService","testService","localisationService","bootProgess","percentage","setDefaultLang","parentLocale","relativeTime","future","past","ss","mm","h","hh","dd","M","MM","y","yy","monthsShort","weekdaysShort","weekdays","ɵ0","AppModule","AppComponent","titleService","document","deleteSilentRefreshIFrame","setTitle","title","onFocus","iframe","getElementById","parentNode","removeChild","EmptyComponent","RenderType_EmptyComponent","encapsulation","styles","View_EmptyComponent_0","_l","EmptyComponentNgFactory","ErrorPageComponent","doLogout","styles_ErrorPageComponent","RenderType_ErrorPageComponent","View_ErrorPageComponent_1","_ck","_v","transform","$implicit","View_ErrorPageComponent_0","ngForOf","en","$event","ad","_co","support","mail","phone","ErrorPageComponentNgFactory","styles_NotFoundComponent","RenderType_NotFoundComponent","View_NotFoundComponent_0","NotFoundComponentNgFactory","ColumnProvider","container","block","valueEntity","val","ColumnBase","provider","changeDetector","propertyChangedSubscription","ngAfterViewInit","startOptimisedChangeDetection","propertyChanged","detach","detectChanges","ColumnPhoneComponent","styles_ColumnPhoneComponent","RenderType_ColumnPhoneComponent","View_ColumnPhoneComponent_1","View_ColumnPhoneComponent_0","ngIf","ColumnPhoneComponentNgFactory","ColumnNumberComponent","styles_ColumnNumberComponent","RenderType_ColumnNumberComponent","View_ColumnNumberComponent_0","ColumnNumberComponentNgFactory","ColumnUrlComponent","onClick","stopPropagation","styles_ColumnUrlComponent","RenderType_ColumnUrlComponent","View_ColumnUrlComponent_1","View_ColumnUrlComponent_0","ColumnUrlComponentNgFactory","ColumnDatetimeComponent","styles_ColumnDatetimeComponent","RenderType_ColumnDatetimeComponent","View_ColumnDatetimeComponent_0","currVal_0","dateTime","format","ColumnDatetimeComponentNgFactory","ColumnContactComponent","styles_ColumnContactComponent","RenderType_ColumnContactComponent","View_ColumnContactComponent_2","View_ColumnContactComponent_3","View_ColumnContactComponent_1","View_ColumnContactComponent_0","ColumnContactComponentNgFactory","addZero","toString","durationToText","total","hours","floor","abs","minutes","DurationToTextPipe","ColumnSpendtimeComponent","styles_ColumnSpendtimeComponent","RenderType_ColumnSpendtimeComponent","View_ColumnSpendtimeComponent_0","currVal_1","currVal_2","travelTime","ColumnSpendtimeComponentNgFactory","ColumnSpendtimeContextComponent","getNextPropertyValue","prefix","paths","getCustomerFullName","path1","path2","path3","path4","generateSummary","Account","customer","Customer","styles_ColumnSpendtimeContextComponent","RenderType_ColumnSpendtimeContextComponent","View_ColumnSpendtimeContextComponent_0","ColumnSpendtimeContextComponentNgFactory","ColumnStringComponent","styles_ColumnStringComponent","RenderType_ColumnStringComponent","View_ColumnStringComponent_0","ColumnStringComponentNgFactory","ColumnNotesComponent","styles_ColumnNotesComponent","RenderType_ColumnNotesComponent","View_ColumnNotesComponent_0","ColumnNotesComponentNgFactory","ColumnTimeComponent","styles_ColumnTimeComponent","RenderType_ColumnTimeComponent","View_ColumnTimeComponent_0","ColumnTimeComponentNgFactory","ColumnDateComponent","styles_ColumnDateComponent","RenderType_ColumnDateComponent","View_ColumnDateComponent_1","parent","View_ColumnDateComponent_2","View_ColumnDateComponent_0","isInfinite","ColumnDateComponentNgFactory","ColumnStartActiveComponent","html5RoleLabels","setHTML5RoleLabels","getStart","operational","getValue","html5Role","isActive","active","styles_ColumnStartActiveComponent","RenderType_ColumnStartActiveComponent","View_ColumnStartActiveComponent_0","klass","ngClass","currVal_3","ColumnStartActiveComponentNgFactory","ColumnDurationComponent","styles_ColumnDurationComponent","RenderType_ColumnDurationComponent","View_ColumnDurationComponent_0","ColumnDurationComponentNgFactory","ColumnPeriodComponent","styles_ColumnPeriodComponent","RenderType_ColumnPeriodComponent","View_ColumnPeriodComponent_0","ColumnPeriodComponentNgFactory","ColumnOpenSlotComponent","getDisplayValue","styles_ColumnOpenSlotComponent","RenderType_ColumnOpenSlotComponent","View_ColumnOpenSlotComponent_1","View_ColumnOpenSlotComponent_2","View_ColumnOpenSlotComponent_0","ColumnOpenSlotComponentNgFactory","ColumnTwitterComponent","styles_ColumnTwitterComponent","RenderType_ColumnTwitterComponent","View_ColumnTwitterComponent_0","ColumnTwitterComponentNgFactory","ColumnSelectComponent","valuePresent","styles_ColumnSelectComponent","RenderType_ColumnSelectComponent","View_ColumnSelectComponent_1","View_ColumnSelectComponent_0","ColumnSelectComponentNgFactory","ColumnSkypeComponent","styles_ColumnSkypeComponent","RenderType_ColumnSkypeComponent","View_ColumnSkypeComponent_0","ColumnSkypeComponentNgFactory","ColumnGoogleComponent","styles_ColumnGoogleComponent","RenderType_ColumnGoogleComponent","View_ColumnGoogleComponent_0","ColumnGoogleComponentNgFactory","ColumnXingComponent","styles_ColumnXingComponent","RenderType_ColumnXingComponent","View_ColumnXingComponent_0","ColumnXingComponentNgFactory","ColumnLinkedinComponent","styles_ColumnLinkedinComponent","RenderType_ColumnLinkedinComponent","View_ColumnLinkedinComponent_0","ColumnLinkedinComponentNgFactory","ColumnFacebookComponent","styles_ColumnFacebookComponent","RenderType_ColumnFacebookComponent","View_ColumnFacebookComponent_0","ColumnFacebookComponentNgFactory","ColumnTextComponent","styles_ColumnTextComponent","RenderType_ColumnTextComponent","View_ColumnTextComponent_0","ColumnTextComponentNgFactory","ColumnImageComponent","styles_ColumnImageComponent","RenderType_ColumnImageComponent","View_ColumnImageComponent_0","ColumnImageComponentNgFactory","ColumnEmailComponent","styles_ColumnEmailComponent","RenderType_ColumnEmailComponent","View_ColumnEmailComponent_1","View_ColumnEmailComponent_0","ColumnEmailComponentNgFactory","ColumnEmotionsComponent","styles_ColumnEmotionsComponent","RenderType_ColumnEmotionsComponent","View_ColumnEmotionsComponent_0","ColumnEmotionsComponentNgFactory","ColumnTaskComponent","onMarketplace","styles_ColumnTaskComponent","RenderType_ColumnTaskComponent","View_ColumnTaskComponent_1","View_ColumnTaskComponent_0","ColumnTaskComponentNgFactory","ColumnServiceComponent","styles_ColumnServiceComponent","RenderType_ColumnServiceComponent","View_ColumnServiceComponent_1","View_ColumnServiceComponent_0","ColumnServiceComponentNgFactory","ColumnDatetimeRelativeComponent","styles_ColumnDatetimeRelativeComponent","RenderType_ColumnDatetimeRelativeComponent","View_ColumnDatetimeRelativeComponent_0","ColumnDatetimeRelativeComponentNgFactory","ColumnDateRelativeComponent","styles_ColumnDateRelativeComponent","RenderType_ColumnDateRelativeComponent","View_ColumnDateRelativeComponent_0","ColumnDateRelativeComponentNgFactory","ColumnTimeRelativeComponent","styles_ColumnTimeRelativeComponent","RenderType_ColumnTimeRelativeComponent","View_ColumnTimeRelativeComponent_0","ColumnTimeRelativeComponentNgFactory","ColumnBooleanComponent","styles_ColumnBooleanComponent","RenderType_ColumnBooleanComponent","View_ColumnBooleanComponent_1","View_ColumnBooleanComponent_2","View_ColumnBooleanComponent_0","ColumnBooleanComponentNgFactory","ColumnWeightComponent","styles_ColumnWeightComponent","RenderType_ColumnWeightComponent","View_ColumnWeightComponent_1","View_ColumnWeightComponent_2","View_ColumnWeightComponent_3","View_ColumnWeightComponent_0","ColumnWeightComponentNgFactory","ColumnLabelComponent","styles_ColumnLabelComponent","RenderType_ColumnLabelComponent","View_ColumnLabelComponent_0","ColumnLabelComponentNgFactory","OverlayService","open","onClosed","registerActions","entityWithOverlay","goToEntity","createOverlay","closeOverlay","body","scrollTop","documentElement","isOpen","getParams","ColumnEntityComponent","overlayService","styles_ColumnEntityComponent","RenderType_ColumnEntityComponent","View_ColumnEntityComponent_1","View_ColumnEntityComponent_0","ColumnEntityComponentNgFactory","ColumnNameComponent","getUser","styles_ColumnNameComponent","RenderType_ColumnNameComponent","View_ColumnNameComponent_1","View_ColumnNameComponent_0","ColumnNameComponentNgFactory","HelpComponent","orientation","clickOutside","setClose","isClosed","setOpen","startDelayedClose","cancelDelayedClose","toggle","calculateOrientation","isRightOrientated","isLeftOrientated","closeIfNotLastOpenComponent","timeoutId","pageX","innerWidth","styles_HelpComponent","RenderType_HelpComponent","View_HelpComponent_0","currVal_5","text","InputBase","formControl","readOnly","disabled","_validationErrors","valueChange","input","usingDefaultValidator","setControl","initializeValidator","setValue","dirty","touched","valueInput","isValidInput","parseValue","getValidatorErrors","clearValidators","defaultControlValidator","isValidValue","hasValidContent","newValue","setValidators","publishErrors","inputErrors","setErrors","errorKey","InputStringBase","InputTextComponent","_mode","forceRefresh","inMode","styles_InputTextComponent","RenderType_InputTextComponent","View_InputTextComponent_2","View_InputTextComponent_1","View_InputTextComponent_4","View_InputTextComponent_3","_handleInput","onTouched","_compositionStart","_compositionEnd","p0_0","form","control","ngClassUntouched","ngClassTouched","ngClassPristine","ngClassDirty","ngClassValid","ngClassInvalid","ngClassPending","View_InputTextComponent_6","View_InputTextComponent_7","View_InputTextComponent_5","View_InputTextComponent_0","FieldsetBase","FieldsetProvider","ent","FieldsetMessageComponent","styles_FieldsetMessageComponent","RenderType_FieldsetMessageComponent","View_FieldsetMessageComponent_1","helpKey","View_FieldsetMessageComponent_2","View_FieldsetMessageComponent_0","readonly","FieldsetMessageComponentNgFactory","FileIconDirective","icons","contentType","iconClass","icon","UploadInput","uploadService","isUploading","change","file","files","fileName","validate","validatedFile","read","fileData","upload","UploadService","allowedMimeTypes","allowedFileSizeInBytes","uploads","size","reader","FileReader","onloadend","readAsArrayBuffer","delay","ms","filename","created","now","random","deleteUpload","fileId","getFile","blob","Blob","getFiles","FilesService","InputFileComponent","renderer","filesService","openFileDialog","invokeElementMethod","inputFile","nativeElement","styles_InputFileComponent","RenderType_InputFileComponent","View_InputFileComponent_1","fileIcon","View_InputFileComponent_3","View_InputFileComponent_2","currVal_4","View_InputFileComponent_0","FieldsetFileComponent","styles_FieldsetFileComponent","RenderType_FieldsetFileComponent","View_FieldsetFileComponent_1","View_FieldsetFileComponent_2","View_FieldsetFileComponent_0","FieldsetFileComponentNgFactory","ImageService","fallbackImage","startUpload","InputImageComponent","imageService","imageUrl","inputImage","hasImage","getImageUrl","deleteImage","styles_InputImageComponent","RenderType_InputImageComponent","View_InputImageComponent_1","View_InputImageComponent_2","View_InputImageComponent_3","View_InputImageComponent_0","FieldsetImageComponent","styles_FieldsetImageComponent","RenderType_FieldsetImageComponent","View_FieldsetImageComponent_1","View_FieldsetImageComponent_2","View_FieldsetImageComponent_0","FieldsetImageComponentNgFactory","createAutoCorrectedDateTimePipe","conformedValue","indexesOfPipedChars","formatArray","maxValue","minValue","conformedValueArr","subFormat","position","maxFirstDigit","substr","some","textValue","InputDurationComponent","placeholderKey","msk","numberOfNumbers","correctionFormat","valueText","textToDuration","isValidFormat","match","leaveInput","durationText","durationValue","NaN","styles_InputDurationComponent","RenderType_InputDurationComponent","View_InputDurationComponent_1","valueAsText","View_InputDurationComponent_3","View_InputDurationComponent_2","textMaskConfig","mask","guide","placeholderChar","p1_0","model","update","currVal_9","View_InputDurationComponent_0","FieldsetDurationComponent","styles_FieldsetDurationComponent","RenderType_FieldsetDurationComponent","View_FieldsetDurationComponent_1","View_FieldsetDurationComponent_2","View_FieldsetDurationComponent_0","FieldsetDurationComponentNgFactory","DropdownInput","dropDownOpened","InputDateTimeComponent","linkedDate","allowedStates","initialState","dayMoment","allowInfinity","allowToday","_displayDate","setValueFromString","toDate","leaveViaBlur","formatString","reset","validationError","toggleDropdown","changeState","updateValueAndValidity","getDateString","valueAsMoment","isValueInfinity","isValueToday","isToday","isSame","unitOfTime","isTime","inRange","year","setToday","setInfinity","UTC","nextTemplateStateFrom","setTime","isAllowed","displayDate","setDisplayYears","setDisplayMonths","setDisplayWeeks","changeDisplayYear","years","changeDisplayMonth","months","parsedValue","safeTranslateFromString","translated","decade","displayYears","day","displayMonths","daysInMonth","displayWeeks","week","isoWeek","days","InputDateComponent","oldValue","getHours","getMinutes","InputBirthdayComponent","celebrateUrl","agenda","isBirthdayToday","styles_InputBirthdayComponent","RenderType_InputBirthdayComponent","View_InputBirthdayComponent_2","View_InputBirthdayComponent_1","birthdayString","View_InputBirthdayComponent_6","View_InputBirthdayComponent_7","View_InputBirthdayComponent_8","View_InputBirthdayComponent_5","delayClickOutsideInit","View_InputBirthdayComponent_10","View_InputBirthdayComponent_11","View_InputBirthdayComponent_12","View_InputBirthdayComponent_9","View_InputBirthdayComponent_15","View_InputBirthdayComponent_14","View_InputBirthdayComponent_16","View_InputBirthdayComponent_17","View_InputBirthdayComponent_13","View_InputBirthdayComponent_18","currVal_7","currVal_11","currVal_13","currVal_15","currVal_17","currVal_19","currVal_21","currVal_23","currVal_25","currVal_27","currVal_29","currVal_31","currVal_33","currVal_35","currVal_37","currVal_39","currVal_41","currVal_43","currVal_45","currVal_47","currVal_49","View_InputBirthdayComponent_19","View_InputBirthdayComponent_4","View_InputBirthdayComponent_20","View_InputBirthdayComponent_3","pipe","keepCharPositions","currVal_12","View_InputBirthdayComponent_0","FieldsetBirthdayComponent","styles_FieldsetBirthdayComponent","RenderType_FieldsetBirthdayComponent","View_FieldsetBirthdayComponent_1","View_FieldsetBirthdayComponent_2","View_FieldsetBirthdayComponent_0","FieldsetBirthdayComponentNgFactory","InputBooleanComponent","setTrue","setFalse","styles_InputBooleanComponent","RenderType_InputBooleanComponent","View_InputBooleanComponent_2","View_InputBooleanComponent_3","View_InputBooleanComponent_1","View_InputBooleanComponent_5","View_InputBooleanComponent_4","View_InputBooleanComponent_0","FieldsetBooleanComponent","styles_FieldsetBooleanComponent","RenderType_FieldsetBooleanComponent","View_FieldsetBooleanComponent_1","View_FieldsetBooleanComponent_2","View_FieldsetBooleanComponent_0","FieldsetBooleanComponentNgFactory","ChecklistDirective","symChecklist","symChecklistChange","onChange","checkItems","checked","InputCheckboxesComponent","cdRef","blockName","checkBoxGroup","valueLabelKeys","_format","valueToLabel","addControl","ngOnChanges","styles_InputCheckboxesComponent","RenderType_InputCheckboxesComponent","View_InputCheckboxesComponent_2","View_InputCheckboxesComponent_1","View_InputCheckboxesComponent_4","onSubmit","onReset","controls","isChecked","View_InputCheckboxesComponent_5","View_InputCheckboxesComponent_3","View_InputCheckboxesComponent_0","FieldsetCheckboxesComponent","styles_FieldsetCheckboxesComponent","RenderType_FieldsetCheckboxesComponent","View_FieldsetCheckboxesComponent_1","View_FieldsetCheckboxesComponent_2","View_FieldsetCheckboxesComponent_0","FieldsetCheckboxesComponentNgFactory","styles_InputDateComponent","RenderType_InputDateComponent","View_InputDateComponent_1","View_InputDateComponent_5","View_InputDateComponent_6","View_InputDateComponent_7","View_InputDateComponent_4","View_InputDateComponent_9","View_InputDateComponent_10","View_InputDateComponent_11","View_InputDateComponent_8","View_InputDateComponent_14","View_InputDateComponent_13","View_InputDateComponent_15","View_InputDateComponent_16","View_InputDateComponent_12","View_InputDateComponent_17","View_InputDateComponent_18","View_InputDateComponent_3","View_InputDateComponent_19","View_InputDateComponent_2","View_InputDateComponent_0","FieldsetDateComponent","styles_FieldsetDateComponent","RenderType_FieldsetDateComponent","View_FieldsetDateComponent_1","View_FieldsetDateComponent_2","View_FieldsetDateComponent_0","FieldsetDateComponentNgFactory","CapitalizePipe","restLower","charAt","InputLabelComponent","translate","isAllCaps","styles_InputLabelComponent","RenderType_InputLabelComponent","View_InputLabelComponent_1","View_InputLabelComponent_2","View_InputLabelComponent_3","View_InputLabelComponent_4","View_InputLabelComponent_0","ngSwitch","ngSwitchCase","diplayMode","FieldsetLabelComponent","isLabelKey","styles_FieldsetLabelComponent","RenderType_FieldsetLabelComponent","View_FieldsetLabelComponent_1","View_FieldsetLabelComponent_2","View_FieldsetLabelComponent_0","FieldsetLabelComponentNgFactory","styles_InputDateTimeComponent","RenderType_InputDateTimeComponent","View_InputDateTimeComponent_1","View_InputDateTimeComponent_5","View_InputDateTimeComponent_6","View_InputDateTimeComponent_7","View_InputDateTimeComponent_4","View_InputDateTimeComponent_9","View_InputDateTimeComponent_10","View_InputDateTimeComponent_11","View_InputDateTimeComponent_8","View_InputDateTimeComponent_14","View_InputDateTimeComponent_13","View_InputDateTimeComponent_15","View_InputDateTimeComponent_16","View_InputDateTimeComponent_12","View_InputDateTimeComponent_17","View_InputDateTimeComponent_18","View_InputDateTimeComponent_3","View_InputDateTimeComponent_19","View_InputDateTimeComponent_2","View_InputDateTimeComponent_0","FieldsetDatetimeComponent","styles_FieldsetDatetimeComponent","RenderType_FieldsetDatetimeComponent","View_FieldsetDatetimeComponent_1","View_FieldsetDatetimeComponent_2","View_FieldsetDatetimeComponent_0","FieldsetDatetimeComponentNgFactory","InputEmailComponent","emailAddress","styles_InputEmailComponent","RenderType_InputEmailComponent","View_InputEmailComponent_1","View_InputEmailComponent_3","View_InputEmailComponent_2","currVal_14","View_InputEmailComponent_0","FieldsetEmailComponent","styles_FieldsetEmailComponent","RenderType_FieldsetEmailComponent","View_FieldsetEmailComponent_1","View_FieldsetEmailComponent_2","View_FieldsetEmailComponent_0","FieldsetEmailComponentNgFactory","InputNumberComponent","styles_InputNumberComponent","RenderType_InputNumberComponent","View_InputNumberComponent_1","View_InputNumberComponent_3","View_InputNumberComponent_2","View_InputNumberComponent_0","FieldsetNumberComponent","styles_FieldsetNumberComponent","RenderType_FieldsetNumberComponent","View_FieldsetNumberComponent_1","View_FieldsetNumberComponent_2","View_FieldsetNumberComponent_0","FieldsetNumberComponentNgFactory","InputCurrencyComponent","decimalSeparator","decimal","_stringValue","parseFloat","validateKey","styles_InputCurrencyComponent","RenderType_InputCurrencyComponent","View_InputCurrencyComponent_1","View_InputCurrencyComponent_3","View_InputCurrencyComponent_2","View_InputCurrencyComponent_0","FieldsetCurrencyComponent","styles_FieldsetCurrencyComponent","RenderType_FieldsetCurrencyComponent","View_FieldsetCurrencyComponent_1","View_FieldsetCurrencyComponent_2","View_FieldsetCurrencyComponent_0","FieldsetCurrencyComponentNgFactory","InputSignatureComponent","elementRef","changeDetectorRef","rawSignatureData","canvasContainer","querySelector","canvasSignature","setCanvasSize","setRawSignatureData","loadSignature","newWidth","clientWidth","newHeight","oldWidth","oldHeight","signaturePad","style","width","height","resizeCanvas","reload","hasSignature","clearSignature","customSetValue","clear","fromDataURL","drawComplete","toDataURL","styles_InputSignatureComponent","RenderType_InputSignatureComponent","View_InputSignatureComponent_1","View_InputSignatureComponent_2","View_InputSignatureComponent_3","View_InputSignatureComponent_4","View_InputSignatureComponent_0","onEndEvent","penColor","FieldsetSignatureComponent","styles_FieldsetSignatureComponent","RenderType_FieldsetSignatureComponent","View_FieldsetSignatureComponent_1","View_FieldsetSignatureComponent_2","View_FieldsetSignatureComponent_0","FieldsetSignatureComponentNgFactory","InputPasswordComponent","styles_InputPasswordComponent","RenderType_InputPasswordComponent","View_InputPasswordComponent_1","View_InputPasswordComponent_3","View_InputPasswordComponent_2","View_InputPasswordComponent_0","FieldsetPasswordComponent","styles_FieldsetPasswordComponent","RenderType_FieldsetPasswordComponent","View_FieldsetPasswordComponent_1","View_FieldsetPasswordComponent_2","View_FieldsetPasswordComponent_0","FieldsetPasswordComponentNgFactory","FieldsetPasswordlinkComponent","passwordChangeUrl","visible","styles_FieldsetPasswordlinkComponent","RenderType_FieldsetPasswordlinkComponent","View_FieldsetPasswordlinkComponent_2","View_FieldsetPasswordlinkComponent_3","View_FieldsetPasswordlinkComponent_1","View_FieldsetPasswordlinkComponent_0","FieldsetPasswordlinkComponentNgFactory","InputPhoneComponent","_displayValue","masked","convertValueToDisplayValue","parsed","styles_InputPhoneComponent","RenderType_InputPhoneComponent","View_InputPhoneComponent_1","View_InputPhoneComponent_3","View_InputPhoneComponent_2","displayValue","View_InputPhoneComponent_0","FieldsetPhoneComponent","styles_FieldsetPhoneComponent","RenderType_FieldsetPhoneComponent","View_FieldsetPhoneComponent_1","View_FieldsetPhoneComponent_2","View_FieldsetPhoneComponent_0","FieldsetPhoneComponentNgFactory","InputRadioComponent","valueLabelKey","inline","radioGroup","generateRandomString","characters","styles_InputRadioComponent","RenderType_InputRadioComponent","View_InputRadioComponent_1","View_InputRadioComponent_3","currVal_8","View_InputRadioComponent_4","View_InputRadioComponent_2","View_InputRadioComponent_0","FieldsetRadioComponent","styles_FieldsetRadioComponent","RenderType_FieldsetRadioComponent","View_FieldsetRadioComponent_1","View_FieldsetRadioComponent_2","View_FieldsetRadioComponent_0","FieldsetRadioComponentNgFactory","ToggleRequiredDirective","condition","setAttribute","removeAttribute","InputSelectComponent","styles_InputSelectComponent","RenderType_InputSelectComponent","View_InputSelectComponent_1","View_InputSelectComponent_3","View_InputSelectComponent_4","View_InputSelectComponent_2","symToggleRequired","View_InputSelectComponent_0","FieldsetSelectComponent","styles_FieldsetSelectComponent","RenderType_FieldsetSelectComponent","View_FieldsetSelectComponent_1","View_FieldsetSelectComponent_2","View_FieldsetSelectComponent_0","FieldsetSelectComponentNgFactory","InputStringComponent","styles_InputStringComponent","RenderType_InputStringComponent","View_InputStringComponent_1","View_InputStringComponent_3","View_InputStringComponent_2","View_InputStringComponent_0","FieldsetStringComponent","styles_FieldsetStringComponent","RenderType_FieldsetStringComponent","View_FieldsetStringComponent_1","View_FieldsetStringComponent_2","View_FieldsetStringComponent_0","FieldsetStringComponentNgFactory","FieldsetTextComponent","styles_FieldsetTextComponent","RenderType_FieldsetTextComponent","View_FieldsetTextComponent_1","View_FieldsetTextComponent_2","View_FieldsetTextComponent_0","FieldsetTextComponentNgFactory","InputTimeComponent","styles_InputTimeComponent","RenderType_InputTimeComponent","View_InputTimeComponent_1","View_InputTimeComponent_5","View_InputTimeComponent_6","View_InputTimeComponent_7","View_InputTimeComponent_4","View_InputTimeComponent_9","View_InputTimeComponent_10","View_InputTimeComponent_11","View_InputTimeComponent_8","View_InputTimeComponent_14","View_InputTimeComponent_13","View_InputTimeComponent_15","View_InputTimeComponent_16","View_InputTimeComponent_12","View_InputTimeComponent_17","View_InputTimeComponent_18","View_InputTimeComponent_3","View_InputTimeComponent_19","View_InputTimeComponent_2","View_InputTimeComponent_0","FieldsetTimeComponent","styles_FieldsetTimeComponent","RenderType_FieldsetTimeComponent","View_FieldsetTimeComponent_1","View_FieldsetTimeComponent_2","View_FieldsetTimeComponent_0","FieldsetTimeComponentNgFactory","InputUrlComponent","styles_InputUrlComponent","RenderType_InputUrlComponent","View_InputUrlComponent_1","View_InputUrlComponent_3","View_InputUrlComponent_2","View_InputUrlComponent_0","FieldsetUrlComponent","styles_FieldsetUrlComponent","RenderType_FieldsetUrlComponent","View_FieldsetUrlComponent_1","View_FieldsetUrlComponent_2","View_FieldsetUrlComponent_0","FieldsetUrlComponentNgFactory","GoogleValidator","InputGoogleComponent","social","google","styles_InputGoogleComponent","RenderType_InputGoogleComponent","View_InputGoogleComponent_1","View_InputGoogleComponent_3","View_InputGoogleComponent_2","View_InputGoogleComponent_0","FieldsetGoogleComponent","styles_FieldsetGoogleComponent","RenderType_FieldsetGoogleComponent","View_FieldsetGoogleComponent_1","View_FieldsetGoogleComponent_2","View_FieldsetGoogleComponent_0","FieldsetGoogleComponentNgFactory","TwitterValidator","InputTwitterComponent","twitter","styles_InputTwitterComponent","RenderType_InputTwitterComponent","View_InputTwitterComponent_1","View_InputTwitterComponent_3","View_InputTwitterComponent_2","View_InputTwitterComponent_0","FieldsetTwitterComponent","styles_FieldsetTwitterComponent","RenderType_FieldsetTwitterComponent","View_FieldsetTwitterComponent_1","View_FieldsetTwitterComponent_2","View_FieldsetTwitterComponent_0","FieldsetTwitterComponentNgFactory","XingValidator","InputXingComponent","xing","styles_InputXingComponent","RenderType_InputXingComponent","View_InputXingComponent_1","View_InputXingComponent_3","View_InputXingComponent_2","View_InputXingComponent_0","FieldsetXingComponent","styles_FieldsetXingComponent","RenderType_FieldsetXingComponent","View_FieldsetXingComponent_1","View_FieldsetXingComponent_2","View_FieldsetXingComponent_0","FieldsetXingComponentNgFactory","FacebookValidator","InputFacebookComponent","facebook","styles_InputFacebookComponent","RenderType_InputFacebookComponent","View_InputFacebookComponent_1","View_InputFacebookComponent_3","View_InputFacebookComponent_2","View_InputFacebookComponent_0","FieldsetFacebookComponent","styles_FieldsetFacebookComponent","RenderType_FieldsetFacebookComponent","View_FieldsetFacebookComponent_1","View_FieldsetFacebookComponent_2","View_FieldsetFacebookComponent_0","FieldsetFacebookComponentNgFactory","LinkedInValidator","InputLinkedinComponent","linkedin","styles_InputLinkedinComponent","RenderType_InputLinkedinComponent","View_InputLinkedinComponent_1","View_InputLinkedinComponent_3","View_InputLinkedinComponent_2","View_InputLinkedinComponent_0","FieldsetLinkedinComponent","styles_FieldsetLinkedinComponent","RenderType_FieldsetLinkedinComponent","View_FieldsetLinkedinComponent_1","View_FieldsetLinkedinComponent_2","View_FieldsetLinkedinComponent_0","FieldsetLinkedinComponentNgFactory","SkypeValidator","InputSkypeComponent","sanitizer","bypassSecurityTrustUrl","styles_InputSkypeComponent","RenderType_InputSkypeComponent","View_InputSkypeComponent_1","View_InputSkypeComponent_3","View_InputSkypeComponent_2","View_InputSkypeComponent_0","FieldsetSkypeComponent","styles_FieldsetSkypeComponent","RenderType_FieldsetSkypeComponent","View_FieldsetSkypeComponent_1","View_FieldsetSkypeComponent_2","View_FieldsetSkypeComponent_0","FieldsetSkypeComponentNgFactory","InputEmotionsComponent","valueOptions","setEmotion","hasEmotion","styles_InputEmotionsComponent","RenderType_InputEmotionsComponent","View_InputEmotionsComponent_2","View_InputEmotionsComponent_3","View_InputEmotionsComponent_4","View_InputEmotionsComponent_5","View_InputEmotionsComponent_6","View_InputEmotionsComponent_7","View_InputEmotionsComponent_1","View_InputEmotionsComponent_9","View_InputEmotionsComponent_8","currVal_6","currVal_10","View_InputEmotionsComponent_0","FieldsetEmotionsComponent","styles_FieldsetEmotionsComponent","RenderType_FieldsetEmotionsComponent","View_FieldsetEmotionsComponent_1","View_FieldsetEmotionsComponent_2","View_FieldsetEmotionsComponent_0","FieldsetEmotionsComponentNgFactory","InputReadByComponent","visibleRecipients","openEntity","selection","styles_InputReadByComponent","RenderType_InputReadByComponent","View_InputReadByComponent_4","View_InputReadByComponent_3","displayName","View_InputReadByComponent_2","View_InputReadByComponent_5","View_InputReadByComponent_1","View_InputReadByComponent_7","View_InputReadByComponent_6","View_InputReadByComponent_0","FieldsetReadByComponent","styles_FieldsetReadByComponent","RenderType_FieldsetReadByComponent","View_FieldsetReadByComponent_1","View_FieldsetReadByComponent_2","View_FieldsetReadByComponent_0","FieldsetReadByComponentNgFactory","FieldsetRegionComponent","_regionType","lastRegion","_value1","_value2","regionTypeControl","valueControl","longitudeControl","latitudeControl","regionTypes","region","isNaN","setZipCodeRegion","synchronizeValues","regionObject","zipcodes","val1","val2","styles_FieldsetRegionComponent","RenderType_FieldsetRegionComponent","View_FieldsetRegionComponent_1","View_FieldsetRegionComponent_2","View_FieldsetRegionComponent_4","View_FieldsetRegionComponent_5","View_FieldsetRegionComponent_3","value1","View_FieldsetRegionComponent_7","View_FieldsetRegionComponent_8","View_FieldsetRegionComponent_6","View_FieldsetRegionComponent_10","View_FieldsetRegionComponent_11","View_FieldsetRegionComponent_12","View_FieldsetRegionComponent_13","View_FieldsetRegionComponent_14","View_FieldsetRegionComponent_15","View_FieldsetRegionComponent_9","longitude","latitude","View_FieldsetRegionComponent_17","View_FieldsetRegionComponent_18","View_FieldsetRegionComponent_16","value2","View_FieldsetRegionComponent_0","regionType","FieldsetRegionComponentNgFactory","InputSecondsComponent","seconds","iso","checkPasteValue","pastedText","clipboardData","getData","beep","preventDefault","suppressInvalidKeys","removeLeadingZeros","Audio","play","styles_InputSecondsComponent","RenderType_InputSecondsComponent","View_InputSecondsComponent_1","valueAsSeconds","View_InputSecondsComponent_3","View_InputSecondsComponent_2","View_InputSecondsComponent_0","FieldsetSecondsComponent","styles_FieldsetSecondsComponent","RenderType_FieldsetSecondsComponent","View_FieldsetSecondsComponent_1","View_FieldsetSecondsComponent_2","View_FieldsetSecondsComponent_0","FilterOperators","FieldsetSecondsComponentNgFactory","GroupFilter","left","right","operator","And","_operator","_value","Or","toText","concatenator","predicates","or","and","PropertyFilter","concatenate","storeId","autoConcatenate","Equals","GreaterThan","GreaterThanOrEqual","LessThan","LessThanOrEqual","NotEquals","Contains","encoder","breezeOperator","encodeValue","SortDescriptor","keyCodes","LookupInput","breezeService","onDropdownChanged","showButton","placeHolderText","formatValue","lastSearchCriteria","foundItems","notFound","inEditMode","showItems","focussedValue","displayFormat","dropdown","lookup","nameKey","afterSetOid","getDisplayValueForItem","setPlaceHolderText","isLoading","_c","select","onFocusOut","keyDown","keyCode","updateTextValue","leaveViaEnter","dataset","incrementalSearch","clientSideMatch","itemA","itemB","foundA","foundB","matchA","entityPlaceHolder_1","searchText","result_1","splitAt","makeDataSet","String","criteria","InputEntityComponent","isDropdown","selectionChanged","equals","openEntityInModal","getLinkName","enitityTypeName","hasLink","styles_InputEntityComponent","RenderType_InputEntityComponent","View_InputEntityComponent_2","View_InputEntityComponent_4","View_InputEntityComponent_5","View_InputEntityComponent_6","View_InputEntityComponent_3","isDisabled","View_InputEntityComponent_1","View_InputEntityComponent_8","View_InputEntityComponent_10","View_InputEntityComponent_11","View_InputEntityComponent_12","View_InputEntityComponent_13","View_InputEntityComponent_14","View_InputEntityComponent_9","View_InputEntityComponent_7","View_InputEntityComponent_15","View_InputEntityComponent_0","placeholder","FieldsetEntityComponent","styles_FieldsetEntityComponent","RenderType_FieldsetEntityComponent","View_FieldsetEntityComponent_1","View_FieldsetEntityComponent_2","View_FieldsetEntityComponent_0","FieldsetEntityComponentNgFactory","FieldsetContainerComponent","containerRef","factoryResolver","fieldConfiguration","componentFactory","resolveComponentFactory","injector","provide","useFactory","deps","createComponent","RenderType_FieldsetContainerComponent","View_FieldsetContainerComponent_0","FieldsetsAllComponent","repeatDummy","kind","cycles","untilDate","isUnchanged","taskDummy","getValidationErrors","_Assignee","_Birthday","_Boolean","_Checkboxes","_Color","_Date","_Datetime","_Duration","_Email","_Emotion","_Entity","_ProjectTask","_Message","_List","_Resources","_Facebook","_File","_Google","_Image","_Label","_Linkedin","_Number","_Currency","_Signature","_Password","_Phone","_Radio","_Select","_Skype","_String","_Text","_Time","_Period","_Repeat","_Twitter","_Upload","_Url","_Xing","getControl","styles_FieldsetsAllComponent","RenderType_FieldsetsAllComponent","View_FieldsetsAllComponent_0","currVal_20","currVal_26","currVal_32","currVal_38","currVal_44","currVal_50","currVal_53","currVal_56","currVal_59","currVal_62","currVal_65","currVal_68","currVal_71","currVal_74","currVal_77","currVal_80","currVal_83","currVal_86","currVal_89","currVal_92","currVal_95","currVal_98","currVal_101","currVal_104","currVal_107","currVal_110","currVal_113","currVal_116","currVal_119","DataRights","FieldsetsAllComponentNgFactory","SvgEllipsisDirective","_el","ellipsis","_textEllipsis","el","getSubStringLength","textContent","len","maxwidth","getComputedTextLength","getBBox","AbstractComponent","_configuration","rights","Read","defaultRights","afterInitialize","Create","Update","getCanDelete","constructor","Delete","findChildConfiguration","findChildComponent","InsightProvider","http","InsightService","getPublishedTill","EntityChangedSubscription","entityChangedSubscription","_closed","entityChanged","InsightBase","insightService","insightContentWidth","insightContentHeight","childComponent","getState","setState","newState","inState","limitPercentage","toDuration","headerKey","footerKey","makeHorizonDateListener","pool","handler","current","level","prms","stringify","makeEntityChangedListener","entityAction","MergeOnSave","Detach","EventsService","eventEmitters","InsightBreeze","eventsService","loadedItems","afterItemsLoaded","offset","startTimeOffset","endTimeOffset","endOf","assign","InsightExampleTrendComponent","setData","InsightTrendComponent","styles_InsightExampleTrendComponent","RenderType_InsightExampleTrendComponent","View_InsightExampleTrendComponent_2","View_InsightExampleTrendComponent_3","View_InsightExampleTrendComponent_4","View_InsightExampleTrendComponent_5","View_InsightExampleTrendComponent_6","View_InsightExampleTrendComponent_7","View_InsightExampleTrendComponent_8","View_InsightExampleTrendComponent_1","View_InsightExampleTrendComponent_9","View_InsightExampleTrendComponent_10","View_InsightExampleTrendComponent_11","View_InsightExampleTrendComponent_0","InsightExampleTrendComponentNgFactory","InsightExampleGaugeComponent","InsightGaugeComponent","gaugeRadius","calculateDistance","radius","PI","styles_InsightExampleGaugeComponent","RenderType_InsightExampleGaugeComponent","View_InsightExampleGaugeComponent_1","ngStyle","View_InsightExampleGaugeComponent_2","View_InsightExampleGaugeComponent_3","View_InsightExampleGaugeComponent_4","View_InsightExampleGaugeComponent_0","InsightExampleGaugeComponentNgFactory","InsightExampleBarComponent","InsightBarComponent","styles_InsightExampleBarComponent","RenderType_InsightExampleBarComponent","View_InsightExampleBarComponent_2","View_InsightExampleBarComponent_1","View_InsightExampleBarComponent_3","View_InsightExampleBarComponent_4","View_InsightExampleBarComponent_0","InsightExampleBarComponentNgFactory","InsightLineComponent","axis","findMaxValue","roundToNearest","ceil","findMinValue","stepSize","axisY","maxLineHeight","baseLineHeight","pointLineHeight","minLineHeight","rangeLineHeight","InsightExampleLineComponent","styles_InsightExampleLineComponent","RenderType_InsightExampleLineComponent","View_InsightExampleLineComponent_2","View_InsightExampleLineComponent_3","View_InsightExampleLineComponent_4","View_InsightExampleLineComponent_6","View_InsightExampleLineComponent_5","View_InsightExampleLineComponent_8","View_InsightExampleLineComponent_7","View_InsightExampleLineComponent_10","View_InsightExampleLineComponent_9","View_InsightExampleLineComponent_12","View_InsightExampleLineComponent_11","View_InsightExampleLineComponent_1","View_InsightExampleLineComponent_13","View_InsightExampleLineComponent_14","View_InsightExampleLineComponent_15","View_InsightExampleLineComponent_0","InsightExampleLineComponentNgFactory","InsightListComponent","InsightExampleListComponent","styles_InsightExampleListComponent","RenderType_InsightExampleListComponent","View_InsightExampleListComponent_2","View_InsightExampleListComponent_1","View_InsightExampleListComponent_3","View_InsightExampleListComponent_4","View_InsightExampleListComponent_5","View_InsightExampleListComponent_0","InsightExampleListComponentNgFactory","InsightExamplePieComponent","InsightPieComponent","totalPercentage","reduce","sumPercentageUpToIndex","rest","styles_InsightExamplePieComponent","RenderType_InsightExamplePieComponent","View_InsightExamplePieComponent_2","View_InsightExamplePieComponent_1","View_InsightExamplePieComponent_3","View_InsightExamplePieComponent_4","View_InsightExamplePieComponent_5","View_InsightExamplePieComponent_0","InsightExamplePieComponentNgFactory","InsightTableComponent","InsightExampleTableComponent","styles_InsightExampleTableComponent","RenderType_InsightExampleTableComponent","View_InsightExampleTableComponent_2","View_InsightExampleTableComponent_1","View_InsightExampleTableComponent_3","View_InsightExampleTableComponent_4","View_InsightExampleTableComponent_5","View_InsightExampleTableComponent_0","InsightExampleTableComponentNgFactory","InsightTextComponent","InsightExampleTextComponent","styles_InsightExampleTextComponent","RenderType_InsightExampleTextComponent","View_InsightExampleTextComponent_2","View_InsightExampleTextComponent_3","View_InsightExampleTextComponent_1","View_InsightExampleTextComponent_4","View_InsightExampleTextComponent_5","View_InsightExampleTextComponent_6","View_InsightExampleTextComponent_0","InsightExampleTextComponentNgFactory","InsightWorkingHoursComponent","horizonDate","startOffset","finishOffset","getAxisLabel","loadedItem","startTime","stopTime","calendar","shortDate","styles_InsightWorkingHoursComponent","RenderType_InsightWorkingHoursComponent","View_InsightWorkingHoursComponent_2","View_InsightWorkingHoursComponent_1","View_InsightWorkingHoursComponent_3","View_InsightWorkingHoursComponent_4","View_InsightWorkingHoursComponent_5","View_InsightWorkingHoursComponent_0","InsightWorkingHoursComponentNgFactory","InsightPlannedHoursComponent","styles_InsightPlannedHoursComponent","RenderType_InsightPlannedHoursComponent","View_InsightPlannedHoursComponent_2","View_InsightPlannedHoursComponent_1","View_InsightPlannedHoursComponent_3","View_InsightPlannedHoursComponent_4","View_InsightPlannedHoursComponent_5","View_InsightPlannedHoursComponent_0","InsightPlannedHoursComponentNgFactory","InsightBookedHoursComponent","matchedItem","maximum","styles_InsightBookedHoursComponent","RenderType_InsightBookedHoursComponent","View_InsightBookedHoursComponent_2","View_InsightBookedHoursComponent_3","View_InsightBookedHoursComponent_4","View_InsightBookedHoursComponent_6","View_InsightBookedHoursComponent_5","View_InsightBookedHoursComponent_8","View_InsightBookedHoursComponent_7","View_InsightBookedHoursComponent_10","View_InsightBookedHoursComponent_9","View_InsightBookedHoursComponent_12","View_InsightBookedHoursComponent_11","View_InsightBookedHoursComponent_1","View_InsightBookedHoursComponent_13","View_InsightBookedHoursComponent_14","View_InsightBookedHoursComponent_15","View_InsightBookedHoursComponent_0","InsightBookedHoursComponentNgFactory","InsightAvailableHoursComponent","weeks","weekStart","weekFinish","until","strt","fnsh","contract","isOK","relativeWeek","relativeDay","styles_InsightAvailableHoursComponent","RenderType_InsightAvailableHoursComponent","View_InsightAvailableHoursComponent_2","View_InsightAvailableHoursComponent_1","View_InsightAvailableHoursComponent_3","View_InsightAvailableHoursComponent_4","View_InsightAvailableHoursComponent_5","View_InsightAvailableHoursComponent_0","InsightAvailableHoursComponentNgFactory","InsightContractPlannedComponent","resourceCityQuery","flexible","weekHoursValue","weekQuery","dayQuery","styles_InsightContractPlannedComponent","RenderType_InsightContractPlannedComponent","View_InsightContractPlannedComponent_2","View_InsightContractPlannedComponent_1","View_InsightContractPlannedComponent_3","View_InsightContractPlannedComponent_4","View_InsightContractPlannedComponent_5","View_InsightContractPlannedComponent_0","InsightContractPlannedComponentNgFactory","InsightRealizationComponent","horizonLevel","horizonOffset","dayMonth","styles_InsightRealizationComponent","RenderType_InsightRealizationComponent","View_InsightRealizationComponent_2","View_InsightRealizationComponent_3","View_InsightRealizationComponent_1","View_InsightRealizationComponent_4","View_InsightRealizationComponent_5","View_InsightRealizationComponent_6","View_InsightRealizationComponent_0","InsightRealizationComponentNgFactory","InsightLeaveComponent","used","query","table","durationToString","styles_InsightLeaveComponent","RenderType_InsightLeaveComponent","View_InsightLeaveComponent_2","View_InsightLeaveComponent_1","View_InsightLeaveComponent_3","View_InsightLeaveComponent_4","View_InsightLeaveComponent_5","View_InsightLeaveComponent_0","InsightLeaveComponentNgFactory","InsightBillableHoursComponent","billableFactor","_entityKey","spendTime","setBillableValue","spent","styles_InsightBillableHoursComponent","RenderType_InsightBillableHoursComponent","View_InsightBillableHoursComponent_2","View_InsightBillableHoursComponent_3","View_InsightBillableHoursComponent_1","View_InsightBillableHoursComponent_4","View_InsightBillableHoursComponent_5","View_InsightBillableHoursComponent_6","View_InsightBillableHoursComponent_0","InsightBillableHoursComponentNgFactory","OverlayProvider","CopyShiftComponent","overlayProvider","templateControl","dateControl","resourcesControl","nameControl","templateFormat","resourcesFormat","copyToTemplate","copyResources","providerEntity","copyName","duplicate","classList","copyResult","entityCopy_1","cancel","styles_CopyShiftComponent","RenderType_CopyShiftComponent","View_CopyShiftComponent_1","View_CopyShiftComponent_0","DeploymentCopyOptions","CopyShiftComponentNgFactory","CopyTaskComponent","_copyToTemplate","customersControl","managersControl","deploymentsControl","assignmentsControl","customersFormat","managersFormat","deploymentsFormat","WithResources","WithoutResources","assignmentsFormat","copyCustomers","copyManagers","copyDeployments","copyAssignments","styles_CopyTaskComponent","RenderType_CopyTaskComponent","View_CopyTaskComponent_2","View_CopyTaskComponent_1","View_CopyTaskComponent_0","CopyTaskComponentNgFactory","BatchPlanmacroComponent","timeControl","entityControl","runAt","schedule","getSeconds","ISOseconds","startRunscript","startReplaceSubjectWith","startMoveTo","startScriptInit","startScriptRun","startInvokeMethod","mergeMap","lastResult","foundEntity","subjectStartDate","subjectOid","styles_BatchPlanmacroComponent","RenderType_BatchPlanmacroComponent","View_BatchPlanmacroComponent_1","planmacroFormat","View_BatchPlanmacroComponent_0","BatchPlanmacroComponentNgFactory","InsightContainerComponent","insightType","RenderType_InsightContainerComponent","View_InsightContainerComponent_0","insight","LocalStorageService","readProperty","storageType","storageKey","defaultValue","allowedValues","hasStorageSupport","isValueAllowed","storedValueRaw","getStorage","getItem","storedValue","deleteProperty","updateProperty","storageValue","setItem","removeItem","localStorage","sessionStorage","allowedValue","InsightsComponent","localStorageService","insightsElementData","showLeftControl","insightsElement","scrollWidth","scrollLeft","showRightControl","scrollRight","onResize","updateInsightsData","onMouseEnter","onScroll","getBoundingClientRect","styles_InsightsComponent","RenderType_InsightsComponent","View_InsightsComponent_2","View_InsightsComponent_4","View_InsightsComponent_3","View_InsightsComponent_1","View_InsightsComponent_0","ListContainerComponent","entityCreated","instance","_component","ref","insights","RenderType_ListContainerComponent","View_ListContainerComponent_0","SidebarRightComponent","closed","activateDeactiveStream","BehaviorSubject","debounceTime","distinctUntilChanged","isClosing","outlet","isActivated","onDeactivate","onActivate","RenderType_SidebarRightComponent","View_SidebarRightComponent_0","activateEvents","deactivateEvents","AbstractView","dialogService","checkChangesBeforeDeactivate","close","inProgress","savingInProgress","createDialog","createMode","navigateTo","navigateToDetails","routeConfiguration","isDetailRouteForItem","key_1","detailRoute","DataViewBase","lastCreated","queryParams_1","dataList","queryParams_2","sidebarIsClosing","deselect","navigateToNew","list","DialogService","buttonText","observer","hasDialog","getSubject","getMessage","getButtonText","DataViewComponent","classNameSpendTime","classNameAssignment","RenderType_DataViewComponent","View_DataViewComponent_0","DataViewComponentNgFactory","RelationContainerComponent","itemSaved","_overlayMode","overlayMode","_master","_masterType","formSave","formDelete","formCancel","RenderType_RelationContainerComponent","View_RelationContainerComponent_0","InstructionComponent","getText","self_1","instructionPath","responseType","styles_InstructionComponent","RenderType_InstructionComponent","View_InstructionComponent_2","View_InstructionComponent_3","View_InstructionComponent_4","View_InstructionComponent_1","View_InstructionComponent_0","FileReaderService","uploadBaseUrl","registerComponent","pickFile","allowedExtensions","openFileWindow","readFile","cancelFile","uploadFile","uploadType","toMessageQueue","File","Uint8Array","byteLength","FormData","append","headers","uploadEndPoint","post","ActionBase","do","save","entityError","detailedMessage","getIcon","getLabelKey","UploadImportTasksAction","fileReaderService","successLabelKey","UploadImportUsersAction","RealizeSelectionAction","listBase","selected","ChangeMarketplaceValueAction","ownTask","openSlot","child","ChangeWorkStatusValueAction","OpenOverlayAction","overlayParams","actionConfiguration","ownTask_1","openSlot_1","repeatIsBeforeSplitDate","dateOfStart","availability","DoMethodAction","alertLabel","CanCloneAction","doMethod","openOverlay","cloneSelected","candidateField","error_2","maxLength","OpenOverlayShrinkageAction","instruction","CancelPlanMacroAction","EnableUserSelectionAction","ActionService","availableActions","getAction","doAction","config","ActionsComponent","actionService","_item","styles_ActionsComponent","RenderType_ActionsComponent","View_ActionsComponent_1","View_ActionsComponent_3","View_ActionsComponent_2","View_ActionsComponent_0","ProfilePictureComponent","colors","initials","pickColor","collectInitials","namePart","charCodeCount","remainder","sizeInPx","fontSizeInPx","styles_ProfilePictureComponent","RenderType_ProfilePictureComponent","View_ProfilePictureComponent_0","OpenProfileDirective","openProfile","OidToKeyPipe","CommentService","createComment","itemOid","comment","getComments","comments","entities_1","userOid","isDeletedAt","removeComment","itemId","CommentsComponent","commentService","maxCharacters","totalItems","_items","pageSize","nrItemsShown","refreshData","hasValue","hasMore","showMore","nrToShow","delete","entityKey","hasComment","inputText","getThisUser","canRemove","userRole","getFullName","fallBack","error_3","refresher","setInterval","cancelPageRefresh","clearInterval","styles_CommentsComponent","RenderType_CommentsComponent","View_CommentsComponent_1","View_CommentsComponent_2","View_CommentsComponent_3","View_CommentsComponent_5","View_CommentsComponent_6","View_CommentsComponent_7","View_CommentsComponent_8","View_CommentsComponent_4","View_CommentsComponent_9","View_CommentsComponent_0","BytesReadablePipe","bytes","precision","isFinite","toFixed","FilesComponent","fileFormControl","isRequired","download","showProfile","styles_FilesComponent","RenderType_FilesComponent","View_FilesComponent_1","View_FilesComponent_2","View_FilesComponent_3","View_FilesComponent_0","RepeatAdapter","offsetType","date_1","endingIs","makeInfinite","untilDateOriginal","repeatType","masterRef","setAdded","Unchanged","summary","recurrenceString","freq","plural","daysString","repeatDays","languageCode","resultDays","daysArray_1","rotate","weekday","AuditTrailComponent","sanitized","isRefreshing","entityInfo","transformers","bypassSecurityTrustHtml","toLocaleUpperCase","_trail","trailFiltered","entityKeyValue","entityId","exclude","isDetailOpen","Id","openDetailId","toggleDetailOpen","getLabel","getPropertyKey","getProperties","currentProperties","removeIgnoredProperties","previousProperties","safeProperties","concat","hasValueInCurrent","hasValueInPrevious","properties","hasName","styles_AuditTrailComponent","RenderType_AuditTrailComponent","View_AuditTrailComponent_1","View_AuditTrailComponent_2","View_AuditTrailComponent_4","View_AuditTrailComponent_5","View_AuditTrailComponent_3","View_AuditTrailComponent_8","View_AuditTrailComponent_9","View_AuditTrailComponent_7","EntityType","Tag","Action","View_AuditTrailComponent_10","View_AuditTrailComponent_11","View_AuditTrailComponent_13","View_AuditTrailComponent_15","Current","View_AuditTrailComponent_14","View_AuditTrailComponent_12","ngTemplateOutlet","View_AuditTrailComponent_17","View_AuditTrailComponent_19","Previous","View_AuditTrailComponent_18","View_AuditTrailComponent_16","View_AuditTrailComponent_21","View_AuditTrailComponent_23","View_AuditTrailComponent_22","View_AuditTrailComponent_20","View_AuditTrailComponent_24","View_AuditTrailComponent_25","View_AuditTrailComponent_26","View_AuditTrailComponent_6","View_AuditTrailComponent_27","View_AuditTrailComponent_0","trail","ControlBase","_isInstructionOpen","toggleInstructionOpen","isInstructionOpen","saveUserData","restoreState","configKey","setFieldDefaults","currentType","setDefaultEditorFor","Boolean","Time","isNumeric","typeEntity","FormBase","itemRemoved","itemCanceled","hasCloseButton","useCache","formMode","virtualKeyValue","_labelKey","markAsUntouched","markAsPristine","entitySubscription","propertySubscription","args","EntityStateChange","saveResult_1","keyMappings","XHR","working","finishControl","startControl","getIsReadOnly","promise","onControlDeactivate","cancelItem","hasRequiredFields","getEntityWith","saveItem","forceSave","newOrDeleted","contains","cntrl","markAsTouched","markAsDirty","doneSaving","createItem","navigateToClose","setUpForm","tryGetItem","canCreate","canUpdate","dataConfig","obj","isReadOnly","group","getControlErrors","default","controlErrors","FormComponent","draftAlert","setOriginalResourceOid","suppressDraftAlert","deployment","Demand_Oid","Customer_Oid","RenderType_FormComponent","View_FormComponent_3","View_FormComponent_4","View_FormComponent_5","View_FormComponent_6","editMode","View_FormComponent_7","View_FormComponent_8","View_FormComponent_2","View_FormComponent_10","View_FormComponent_11","View_FormComponent_9","View_FormComponent_13","View_FormComponent_14","View_FormComponent_12","View_FormComponent_16","View_FormComponent_15","View_FormComponent_1","View_FormComponent_0","FormComponentNgFactory","DetailBase","relations","closing","dataForm","relationLists","relation","features","feature","audittrail","notifyRemoval","navigateBackFrom","notifySavement","notifyCancellation","actionsAllowed","every","DetailComponent","RenderType_DetailComponent","View_DetailComponent_2","View_DetailComponent_3","View_DetailComponent_4","View_DetailComponent_5","View_DetailComponent_6","View_DetailComponent_7","View_DetailComponent_1","hasComments","hasFiles","hasAudit","View_DetailComponent_8","View_DetailComponent_9","View_DetailComponent_10","View_DetailComponent_0","DetailComponentNgFactory","ColumnContainerComponent","RenderType_ColumnContainerComponent","View_ColumnContainerComponent_0","PaginationComponent","currentInOverlay","availablePages","pageParam","_pageSize","_dataSet","currentPage","calculateAvailablePages","setPage","previousPage","nextPage","dataSet_skip","totalPages","styles_PaginationComponent","RenderType_PaginationComponent","View_PaginationComponent_3","View_PaginationComponent_5","View_PaginationComponent_4","View_PaginationComponent_7","View_PaginationComponent_6","View_PaginationComponent_2","View_PaginationComponent_1","View_PaginationComponent_0","ListBase","searchValue","lastSearchValue","_selected","unSortableEditors","sortableFieldNames","sortedFields","isDataLoaded","searchFields","multiSelectChecked","param","_current","changeCurrent","hasSelectedItems","multiKey","setupSearchFilter","searchWith","cancelBubble","afterCreated","isBold","isSelectable","hasActive","isSelected","isMultiSelectChecked","activeElement","onKeyUpOrKeyDown","toggleMultiSelect","selectAll","toggleSingleSelect","positionInSelected","numberOfSelectedItems","hasItems","deleting","deleteItem","deleteSelected","disableListActions","restoreSelectedDetail","keyValue","position_1","initItemSet","entityConfig","listSize","isSortable","setColumnClasses","toggleSort","foundSortedField","sortedField","Ascending","extractSortProperty","updateSort","serverSideSortablePath","sortDirectionOf","sortOrderOf","initialValues","actionSelected","isSelectionNeeded","sumSize","maxSize","canDelete","fields_1","navProperty","trackByItem","ListComponent","styles_ListComponent","RenderType_ListComponent","View_ListComponent_2","View_ListComponent_3","View_ListComponent_1","View_ListComponent_5","isCreating","View_ListComponent_6","View_ListComponent_4","canSearch","View_ListComponent_7","View_ListComponent_10","View_ListComponent_9","View_ListComponent_8","View_ListComponent_12","View_ListComponent_14","View_ListComponent_13","View_ListComponent_11","canActions","View_ListComponent_15","View_ListComponent_16","View_ListComponent_17","View_ListComponent_19","View_ListComponent_18","View_ListComponent_0","ngForTrackBy","ListComponentNgFactory","RelationBase","labelDomain","childForm","createForm","subRelations","subForms","subscriptionToAdded","masterEntity","endIndex","aspect","canShowComponent","notifyCanceled","edit","hasValidationErrors","foreignKeyValue","DetailLevel","rounding","step","formatter","_formatter","barFormatter","startForDate","endForDate","Momentos","span","endSpan","includeEdges","_cursor","iteratorResult","done","intersectsWith","range","iterator","Timeslot","gridAvailabilities","gridAttendants","gridAssignments","gridAppointments","gridAbsences","gridWorkPatterns","KeyedCollection","_count","ContainsKey","Count","Add","hasProperty","Clear","Remove","ColorTools","_defaultColor","colorLuminance","luminance","colorValueNew","darken","lighten","maxContrast","isDarkenMaxContrast","grayscale","g","part","contrast","getDisplayColor","PlanItemWrapper","nameProperty","colorProp","colorTools","startsEarlier","endsLater","startHour","startMinute","endHour","endMinute","timeSpan","zIndex","covers","weight","MyDurationAtRealTime","defaultColor","colorValue","Weight","submitToTimeslots","timeslots","modificationFunction","isAgenda","timeslot","getCollectionOf","forTimeslot","makeCopy","startDate","endDate","timeSlot","AgendaAssignment","pathToProject","pathToCustomer","appointmentProperty","AgendaAppointment","concernsProperty","AgendaAvailability","AgendaWorkPattern","AgendaAttendant","Processor","spanStep","keyedTimeslots","queryStartDate","queryFinishDate","orderItems","lhs","rhs","processed","itemRange_1","overlaps","filterItem","lastItem","covering","addTimeslot","getTimeslots","clearTimeslots","Keys","pluginKey","countTimeslotsInUse","count","Values","findTimeSlots","refreshWith","foundTimeslots","adjustEntity","formatTime","createGridSegments","click","timeslotDecorations","meta","gridDots","getDots","gridSplitters","getSplitters","createGridSegment","gridLabels","createGridRows","createGridColumn","lastDayInPeriod","visibleDays","timeslotLabels","timeslotDots","timeslotSplitters","TimeslotDecorations","gridType","detailLevel","visibleHourStart","visibleHoursEnd","getLabels","DayProcessor","displayComponent","humanize","barGridItems","barComponent","gridService","griddisplay","hour","detailLevelDay","agendaGridSegments","collections","currentDate","dayDate","column","getResource","detailLevelWeek","rows","objects","planboardGridSegments","minute","resources","pluginGridSegments","pluginView","WeekProcessor","endTitle","identifier","firstDate","lastDate","detailLevelMonth","MonthProcessor","dayRange","dayIterator","endDayDate","weekRange","weekIterator","weekSegment","dayStart","dayEnd","daySegment","detailLevelQuarter","QuarterProcessor","quarter","endText","twoWeekStart","twoWeekEnd","weekEnd","detailLevels","detailLevelsNamed","GridService","currentState","fromParamsToState","waitForIt","stateChanged","zoomChanged","availableZoom","zoomIndex","settingsOpen","statesEqual","weekends","queryParamsHandling","fromStateToParams","foundedZoomIndex","paramDate","setHorizon","stateFirst","stateSecond","isEqual","getFormat","RelationComponent","hStart","hEnd","sDuration","entityConfig_1","FormChildBase","FormChildComponent","RenderType_FormChildComponent","View_FormChildComponent_3","View_FormChildComponent_2","View_FormChildComponent_4","View_FormChildComponent_5","View_FormChildComponent_7","View_FormChildComponent_6","View_FormChildComponent_1","View_FormChildComponent_0","EntityTranslatePipe","styles_RelationComponent","RenderType_RelationComponent","View_RelationComponent_3","View_RelationComponent_2","View_RelationComponent_7","View_RelationComponent_6","View_RelationComponent_8","View_RelationComponent_9","View_RelationComponent_11","View_RelationComponent_10","View_RelationComponent_13","View_RelationComponent_12","View_RelationComponent_5","canRead","View_RelationComponent_4","View_RelationComponent_14","View_RelationComponent_16","View_RelationComponent_0","View_RelationComponent_15","View_RelationComponent_17","View_RelationComponent_1","currentKey","RelationComponentNgFactory","RepeatSplitFormComponent","originalToSplit","originalRepeat","splitDate","originalStart","originalWeekDay","splitEntity","formConfiguration","canSave","splitUntil","calculateSplitUntilDate","originalFinish","effectiveFinish","navigateBackFromNew","tries","untilValidation","styles_RepeatSplitFormComponent","RenderType_RepeatSplitFormComponent","View_RepeatSplitFormComponent_2","View_RepeatSplitFormComponent_1","View_RepeatSplitFormComponent_0","RepeatSplitFormComponentNgFactory","InputAssigneeComponent","styles_InputAssigneeComponent","RenderType_InputAssigneeComponent","View_InputAssigneeComponent_1","View_InputAssigneeComponent_3","View_InputAssigneeComponent_4","View_InputAssigneeComponent_5","View_InputAssigneeComponent_6","View_InputAssigneeComponent_7","View_InputAssigneeComponent_2","View_InputAssigneeComponent_0","FieldsetAssigneeComponent","styles_FieldsetAssigneeComponent","RenderType_FieldsetAssigneeComponent","View_FieldsetAssigneeComponent_1","View_FieldsetAssigneeComponent_2","View_FieldsetAssigneeComponent_0","FieldsetAssigneeComponentNgFactory","InputInUseByComponent","visibleResources","impClass","isInOverlay","styles_InputInUseByComponent","RenderType_InputInUseByComponent","View_InputInUseByComponent_4","View_InputInUseByComponent_3","Prefix","View_InputInUseByComponent_2","View_InputInUseByComponent_5","View_InputInUseByComponent_1","View_InputInUseByComponent_7","View_InputInUseByComponent_6","View_InputInUseByComponent_0","FieldsetInUseByComponent","styles_FieldsetInUseByComponent","RenderType_FieldsetInUseByComponent","View_FieldsetInUseByComponent_1","View_FieldsetInUseByComponent_2","View_FieldsetInUseByComponent_0","FieldsetInUseByComponentNgFactory","FieldsetLocationComponent","addressLines","_entity","_houseNumber","_postalCode","houseNumberControl","postalCodeControl","streetControl","cityControl","location","refreshAddressLines","foreignKeyProp","reattach","address","updateValue","createNewLocation","search","postalCode","Region","HouseNumber","ZipCode","city","Address","street","isUnchangedOrModified","styles_FieldsetLocationComponent","RenderType_FieldsetLocationComponent","View_FieldsetLocationComponent_2","View_FieldsetLocationComponent_3","View_FieldsetLocationComponent_1","View_FieldsetLocationComponent_5","View_FieldsetLocationComponent_6","View_FieldsetLocationComponent_4","View_FieldsetLocationComponent_8","View_FieldsetLocationComponent_9","View_FieldsetLocationComponent_10","View_FieldsetLocationComponent_12","View_FieldsetLocationComponent_11","View_FieldsetLocationComponent_7","View_FieldsetLocationComponent_14","View_FieldsetLocationComponent_15","View_FieldsetLocationComponent_13","View_FieldsetLocationComponent_17","View_FieldsetLocationComponent_18","View_FieldsetLocationComponent_16","View_FieldsetLocationComponent_19","View_FieldsetLocationComponent_20","View_FieldsetLocationComponent_0","FieldsetLocationComponentNgFactory","FieldsetMultiTypeComponent","sourceTypeValue","lastEntity","sourceTypeControl","sourceTypes","sources","entityFormat","sourceTypeSelected","styles_FieldsetMultiTypeComponent","RenderType_FieldsetMultiTypeComponent","View_FieldsetMultiTypeComponent_1","View_FieldsetMultiTypeComponent_2","View_FieldsetMultiTypeComponent_3","View_FieldsetMultiTypeComponent_4","View_FieldsetMultiTypeComponent_0","sourceType","FieldsetMultiTypeComponentNgFactory","FieldsetParentChildComponent","_childFormat","_allChildrenFormat","_parent","_child","parentType","parentLabelKey","childLabelKey","parentControl","parentFormat","copyFormat","getEntity","configFormat","parameters_1","copyOfParams_1","copy_1","ngAfterContentChecked","styles_FieldsetParentChildComponent","RenderType_FieldsetParentChildComponent","View_FieldsetParentChildComponent_1","View_FieldsetParentChildComponent_2","View_FieldsetParentChildComponent_3","View_FieldsetParentChildComponent_4","View_FieldsetParentChildComponent_0","childFormat","FieldsetParentChildComponentNgFactory","FieldsetRepeatComponent","factorControl","monthsControl","untilDateControl","endingIsControl","daysControl","offsetTypeControl","orderControl","repeatTypeFormat","orderFormat","daysFormat","monthsFormat","dayOfMonthFormat","offsetTypeFormat","restoringVirtualRepeat","wasModified","entity_1","styles_FieldsetRepeatComponent","RenderType_FieldsetRepeatComponent","View_FieldsetRepeatComponent_2","View_FieldsetRepeatComponent_3","View_FieldsetRepeatComponent_1","View_FieldsetRepeatComponent_5","View_FieldsetRepeatComponent_6","View_FieldsetRepeatComponent_8","View_FieldsetRepeatComponent_9","View_FieldsetRepeatComponent_7","View_FieldsetRepeatComponent_11","View_FieldsetRepeatComponent_12","View_FieldsetRepeatComponent_10","View_FieldsetRepeatComponent_14","View_FieldsetRepeatComponent_15","View_FieldsetRepeatComponent_13","View_FieldsetRepeatComponent_17","View_FieldsetRepeatComponent_18","View_FieldsetRepeatComponent_16","View_FieldsetRepeatComponent_20","View_FieldsetRepeatComponent_21","View_FieldsetRepeatComponent_19","View_FieldsetRepeatComponent_23","View_FieldsetRepeatComponent_24","View_FieldsetRepeatComponent_22","View_FieldsetRepeatComponent_26","View_FieldsetRepeatComponent_27","View_FieldsetRepeatComponent_25","View_FieldsetRepeatComponent_29","View_FieldsetRepeatComponent_30","View_FieldsetRepeatComponent_28","View_FieldsetRepeatComponent_4","View_FieldsetRepeatComponent_0","FieldsetRepeatComponentNgFactory","ColorValidator","InputColorComponent","colorPattern","parentColor","hasParent","possibleParentTypes","possibility","displayColor","setColor","Draft","getFontColor","getBorderColor","getDropdownBorderParentColor","getDropdownBorderColor","styles_InputColorComponent","RenderType_InputColorComponent","View_InputColorComponent_2","isDraft","View_InputColorComponent_3","View_InputColorComponent_4","View_InputColorComponent_5","View_InputColorComponent_1","View_InputColorComponent_7","View_InputColorComponent_8","View_InputColorComponent_9","View_InputColorComponent_6","View_InputColorComponent_0","FieldsetColorComponent","styles_FieldsetColorComponent","RenderType_FieldsetColorComponent","View_FieldsetColorComponent_1","View_FieldsetColorComponent_2","View_FieldsetColorComponent_0","FieldsetColorComponentNgFactory","ColumnInUseByComponent","styles_ColumnInUseByComponent","RenderType_ColumnInUseByComponent","View_ColumnInUseByComponent_0","ColumnInUseByComponentNgFactory","ColumnRealizationComponent","spendTimeType","sumSpendTimes","realizationWork","realizationSpendTime","observable","styles_ColumnRealizationComponent","RenderType_ColumnRealizationComponent","View_ColumnRealizationComponent_0","durationString","ColumnRealizationComponentNgFactory","ColumnRepeatComponent","styles_ColumnRepeatComponent","RenderType_ColumnRepeatComponent","View_ColumnRepeatComponent_0","ColumnRepeatComponentNgFactory","ColumnColorComponent","styles_ColumnColorComponent","RenderType_ColumnColorComponent","View_ColumnColorComponent_2","View_ColumnColorComponent_3","View_ColumnColorComponent_4","View_ColumnColorComponent_5","View_ColumnColorComponent_1","View_ColumnColorComponent_0","ColumnColorComponentNgFactory","ColumnDatetimeDeviationComponent","showDeviation","compareValue","setInitialValues","timeDeviation","compareFormat","deviationType","propertyParts","deviationFrom","styles_ColumnDatetimeDeviationComponent","RenderType_ColumnDatetimeDeviationComponent","View_ColumnDatetimeDeviationComponent_2","View_ColumnDatetimeDeviationComponent_3","View_ColumnDatetimeDeviationComponent_1","View_ColumnDatetimeDeviationComponent_0","ColumnDatetimeDeviationComponentNgFactory","ColumnDurationDeviationComponent","deviationString","durationDifference","asMilliseconds","deviationSign","as","styles_ColumnDurationDeviationComponent","RenderType_ColumnDurationDeviationComponent","View_ColumnDurationDeviationComponent_1","View_ColumnDurationDeviationComponent_0","valueString","ColumnDurationDeviationComponentNgFactory","ColumnRequirementComponent","category","getType","styles_ColumnRequirementComponent","RenderType_ColumnRequirementComponent","View_ColumnRequirementComponent_1","description","View_ColumnRequirementComponent_0","ColumnRequirementComponentNgFactory","ColumnContractHoursComponent","view","RenderType_ColumnContractHoursComponent","View_ColumnContractHoursComponent_0","ColumnContractHoursComponentNgFactory","ProfileComponent","loadingExpertise","loadingLocality","loadingMemberships","userIsEmployee","competences","nrVisibleCompetences","regions","nrVisibleRegions","teams","nrVisibleTeams","getAttributes","birthday","expertiseQuery","getQuery","localityQuery","membershipQuery","styles_ProfileComponent","RenderType_ProfileComponent","View_ProfileComponent_3","Tel","View_ProfileComponent_4","View_ProfileComponent_2","View_ProfileComponent_6","EMailAddress","View_ProfileComponent_7","View_ProfileComponent_5","View_ProfileComponent_9","City","View_ProfileComponent_10","View_ProfileComponent_8","View_ProfileComponent_12","View_ProfileComponent_13","View_ProfileComponent_11","Birthday","View_ProfileComponent_14","Calendar","Base","View_ProfileComponent_15","View_ProfileComponent_16","View_ProfileComponent_18","View_ProfileComponent_19","View_ProfileComponent_20","View_ProfileComponent_17","View_ProfileComponent_22","View_ProfileComponent_23","View_ProfileComponent_24","View_ProfileComponent_21","View_ProfileComponent_26","View_ProfileComponent_27","View_ProfileComponent_28","View_ProfileComponent_25","View_ProfileComponent_1","View_ProfileComponent_29","View_ProfileComponent_0","ProfileComponentNgFactory","VersionInfoComponent","styles_VersionInfoComponent","RenderType_VersionInfoComponent","View_VersionInfoComponent_0","boot","VersionInfoComponentNgFactory","AccountComponent","styles_AccountComponent","RenderType_AccountComponent","View_AccountComponent_0","AccountComponentNgFactory","ColumnProfilePictureComponent","styles_ColumnProfilePictureComponent","RenderType_ColumnProfilePictureComponent","View_ColumnProfilePictureComponent_0","ColumnProfilePictureComponentNgFactory","ForecastService","_isExecuting","_isCalculating","processCompleted","Subject","getServiceLevel","calls","timeLength","aht","maxWait","erlang","erlangB","factorial","epr","F","exp","execute","funct","script","forecast","isExecuting","processDone","functionOid","templateOid","calculate","success","scriptInProgress","invokeSubscription","status","CheckCalendarComponent","forecastService","function","fetchStrategy","FromServer","dateToString","styles_CheckCalendarComponent","RenderType_CheckCalendarComponent","View_CheckCalendarComponent_1","View_CheckCalendarComponent_2","View_CheckCalendarComponent_4","Label","View_CheckCalendarComponent_3","View_CheckCalendarComponent_0","CheckCalendarComponentNgFactory","ForecastFormChildComponent","RenderType_ForecastFormChildComponent","View_ForecastFormChildComponent_3","View_ForecastFormChildComponent_2","View_ForecastFormChildComponent_4","View_ForecastFormChildComponent_5","View_ForecastFormChildComponent_7","View_ForecastFormChildComponent_6","View_ForecastFormChildComponent_1","View_ForecastFormChildComponent_0","ForecastRelationComponent","styles_ForecastRelationComponent","RenderType_ForecastRelationComponent","View_ForecastRelationComponent_3","View_ForecastRelationComponent_2","View_ForecastRelationComponent_7","View_ForecastRelationComponent_6","View_ForecastRelationComponent_8","View_ForecastRelationComponent_9","View_ForecastRelationComponent_11","View_ForecastRelationComponent_10","View_ForecastRelationComponent_13","View_ForecastRelationComponent_12","View_ForecastRelationComponent_5","View_ForecastRelationComponent_4","View_ForecastRelationComponent_14","View_ForecastRelationComponent_15","View_ForecastRelationComponent_1","View_ForecastRelationComponent_0","ForecastRelationComponentNgFactory","ForecastListComponent","styles_ForecastListComponent","RenderType_ForecastListComponent","View_ForecastListComponent_2","View_ForecastListComponent_3","View_ForecastListComponent_1","View_ForecastListComponent_5","View_ForecastListComponent_6","View_ForecastListComponent_4","View_ForecastListComponent_7","View_ForecastListComponent_10","View_ForecastListComponent_9","View_ForecastListComponent_8","View_ForecastListComponent_12","View_ForecastListComponent_14","View_ForecastListComponent_13","View_ForecastListComponent_11","View_ForecastListComponent_15","View_ForecastListComponent_16","View_ForecastListComponent_17","View_ForecastListComponent_19","View_ForecastListComponent_18","View_ForecastListComponent_0","ShrinkageComponent","listConfiguration","startField","finishField","valueField","shrinkage","initialCreated","functionKey","shrinkageType","ngAfterContentInit","resetNewShrinkage","listRefresh","listComponent","DayOfWeek","FunctionKey","Value","shrinkageSelected","newFinish","largerTotalOverlap","splitShrinkage","startOverlap","finishOverlap","asDays","RenderType_ShrinkageComponent","View_ShrinkageComponent_1","View_ShrinkageComponent_2","View_ShrinkageComponent_0","ShrinkageComponentNgFactory","AdHocComponent","styles_AdHocComponent","RenderType_AdHocComponent","View_AdHocComponent_2","View_AdHocComponent_3","View_AdHocComponent_1","View_AdHocComponent_5","View_AdHocComponent_6","View_AdHocComponent_4","View_AdHocComponent_7","View_AdHocComponent_10","View_AdHocComponent_9","View_AdHocComponent_8","View_AdHocComponent_12","View_AdHocComponent_14","View_AdHocComponent_13","View_AdHocComponent_11","View_AdHocComponent_15","View_AdHocComponent_16","View_AdHocComponent_17","View_AdHocComponent_19","View_AdHocComponent_18","View_AdHocComponent_0","AdHocComponentNgFactory","ControlAdapter","formState","validatorOrOpts","asyncValidator","HorizonComponent","zoomOutVisible","valueChanges","today","normalized","displayEndDate","zoomIn","zoomOut","styles_HorizonComponent","RenderType_HorizonComponent","View_HorizonComponent_3","View_HorizonComponent_2","View_HorizonComponent_4","View_HorizonComponent_6","View_HorizonComponent_5","View_HorizonComponent_8","View_HorizonComponent_7","View_HorizonComponent_9","ngValue","View_HorizonComponent_1","allowedLevels","View_HorizonComponent_0","HorizonComponentNgFactory","AgendaListComponent","empty","styles_AgendaListComponent","RenderType_AgendaListComponent","View_AgendaListComponent_2","View_AgendaListComponent_3","View_AgendaListComponent_1","View_AgendaListComponent_5","View_AgendaListComponent_6","View_AgendaListComponent_4","View_AgendaListComponent_7","View_AgendaListComponent_10","View_AgendaListComponent_9","View_AgendaListComponent_8","View_AgendaListComponent_12","View_AgendaListComponent_14","View_AgendaListComponent_13","View_AgendaListComponent_11","View_AgendaListComponent_15","View_AgendaListComponent_16","View_AgendaListComponent_17","View_AgendaListComponent_19","View_AgendaListComponent_18","View_AgendaListComponent_0","AgendaListComponentNgFactory","GridDragBaseComponent","executorsService","dropTargetsService","ngZone","inDragMode","configTasksSource","configAppointmentsSource","configServicesSource","configAbsencesSource","_pinned","onDragOver","pinned","closeSource","onDragLeave","clearDropTargets","togglePinned","openSource","dragSource","closeTimer","dragSourceOpen","lastOpenedDragsource","isSourceOpen","isLastOpenedDragsource","closeSourceDelayed","visibleHoursStart","dropItem","executorName","executorId","dataTransfer","executorEvent","getExecutorEventById","initiate","successMessage","dragOver","runOutsideAngular","addEventListener","DragSourceBaseComponent","dragSourceBaseControl","_timed","_objects","_filter","itemFilter","addSorting","dragItem","selectedExecutorName","createExecutorEventAndGetTheId","DragSourceTasksBaseComponent","_norm","initiateExecutors","availableExecutors","getExecutors","x","firstExecutor","getFilterFormat","ExecutorBase","exactPositioning","showDropTargets","isActionSupported","requestedAction","supportedAction","validateResources","validateItems","validateTimeslots","isOptional","validateTimeslot","openFirstItem","dropComponent","showResultExecutor","trySaveChanges","runPromisesParallelAndSave","tasks","runPromisesSerial","slices","fn","explodeExecutorData","executorData","targets","DropBase","TaskDrop","diaglogService","sliced","dropTask","methodResult","doComplyResourcesDropTargets","doFirstOpenTimeslotDropTargets","ServiceDrop","createEntities","createAttendant","itemStart","itemFinish","Service_Oid","doTimeslotDropTargets","AbsenceDrop","createAbsence","Concerns_Oid","MoveBase","setPeriod","movedInsideTimeslot","targetStart","dayOfYear","AbsenceMove","AppointmentMove","AssignmentMove","AttendantMove","targetDateIsTheSame","DeleteBase","AppointmentDelete","AssignmentDelete","AttendantDelete","AbsenceDropEdit","ServiceDropEdit","TaskDropEdit","AbsenceDelete","ResizeBase","AbsenceResize","AppointmentResize","AttendantResize","AssignmentResize","resizeAssignment","AdhocBase","dropTargetService","ShiftAdhoc","dropShift","TaskAdhoc","dropTaskTemplate","AbsenceAdhoc","AppointmentDrop","AppointmentDropEdit","DropTargetsService","dropTargetsChanged","complyResources","resourceType","registerResources","registerGridCollections","gridCollections","autoClearDropTargets","autoHideTimer","gridCollection","gridSegment","gridRow","gridColumn","isDropZone","resources_1","sumDuration_1","workpattern","sumEffort_1","DropExtra","fillService","fixed","Drop","Back","restoreAttendant","correctPurpose","TaskDropPrognosed","sliced_1","targetcopy","prognosed","createAssignment","Task_Oid","assignment","Deployment_Oid","AttendantDrop","setAttendant","AttendantDropEdit","ExecutorsService","maxExecutorEvents","executors","loadExecutors","Executor","getExecutorByName","executor","getFirstExecutorName","foundExecutor","generateExecutorId","dragStart","AgendaDragSourceTasksComponent","styles_AgendaDragSourceTasksComponent","RenderType_AgendaDragSourceTasksComponent","View_AgendaDragSourceTasksComponent_1","View_AgendaDragSourceTasksComponent_2","View_AgendaDragSourceTasksComponent_0","norm","timed","griddrag","currVal_22","currVal_24","AgendaDragSourceTasksComponentNgFactory","DragSourceAppointmentsBaseComponent","AgendaDragSourceAppointmentsComponent","styles_AgendaDragSourceAppointmentsComponent","RenderType_AgendaDragSourceAppointmentsComponent","View_AgendaDragSourceAppointmentsComponent_1","View_AgendaDragSourceAppointmentsComponent_2","View_AgendaDragSourceAppointmentsComponent_0","currVal_18","AgendaDragSourceAppointmentsComponentNgFactory","DragSourceServicesBaseComponent","formatDate","AgendaDragSourceServicesComponent","styles_AgendaDragSourceServicesComponent","RenderType_AgendaDragSourceServicesComponent","View_AgendaDragSourceServicesComponent_1","View_AgendaDragSourceServicesComponent_2","View_AgendaDragSourceServicesComponent_0","AgendaDragSourceServicesComponentNgFactory","DragSourceAbsencesBaseComponent","getLabelSumFactor","AgendaDragSourceAbsencesComponent","styles_AgendaDragSourceAbsencesComponent","RenderType_AgendaDragSourceAbsencesComponent","View_AgendaDragSourceAbsencesComponent_1","View_AgendaDragSourceAbsencesComponent_2","View_AgendaDragSourceAbsencesComponent_0","AgendaDragSourceAbsencesComponentNgFactory","AgendaGridDragComponent","selectedResource","RenderType_AgendaGridDragComponent","View_AgendaGridDragComponent_1","View_AgendaGridDragComponent_2","View_AgendaGridDragComponent_3","View_AgendaGridDragComponent_4","View_AgendaGridDragComponent_5","View_AgendaGridDragComponent_0","AgendaGridDragComponentNgFactory","GridDisplayBaseComponent","_selectedWrapper","itemResizeData","initialized","loadingInProgress","_gridCollections","bar","expandedIndex","sorted","tryOpenDetailsOf","wrapper","findWrapperOf","selectPlanItem","gridSegments","col","Item_Oid","_d","_e","initialLoading","refreshIfNeeded","dragEvent","refreshFor","selectPlanItemByUser","isPlanItemJustResized","inResizeMode","isEntitySelected","forcing","zoom","getActions","invokeAction","getStageOf","roundToHoursAndMinutes","resolution","findTimeslot","timeslotTarget","howDeepInDom","parentElement","mergedData","modifyTimeslotsBasedDropX","offsetX","modifyTimeslotBasedDropX","Element","entityStart","isHead","timeslotLeft","dropPositionInTotalMinutes","clientX","roundedTime","addHoursWithRespectToOfficeHours","isBetween","executerName","clientRect","getClientRects","startResize","planItemWrapper","startX","timeslotWidthInPixes","timeslotWidthInMinutes","isPlanItemWrapperInResize","setPlanItemWrapperAsResized","itemJustResizedData","initiated","resizeLeft","distanceInPixelsNormalized","resizeRight","modifiedDate","forward","counter","stopResize","moveResize","cancelResize","selectable","oidOfDetailUrl","generateGridSegments","trackByPlanItem","destroyed","GridBarBaseComponent","gridBarControl","expandGridChanged","mouseEnterItem","autoStopExpanding","mouseLeaveItem","trackByResource","matchedGridSegments","gridRows","AgendaGridBarComponent","firstName","resourceParam","isCurrentHour","entitySelector","styles_AgendaGridBarComponent","RenderType_AgendaGridBarComponent","View_AgendaGridBarComponent_2","View_AgendaGridBarComponent_3","View_AgendaGridBarComponent_4","View_AgendaGridBarComponent_1","horizonLevelName","View_AgendaGridBarComponent_0","inputEntityFormat","AgendaGridBarComponentNgFactory","MinutesToHoursPipe","addLeadingZero","sign","AgendaGridDisplayComponent","userRefresh","lastResourceKey","userResourceKey","planItemNew","expandGrid","segmentsIndex","segmentIndex","RenderType_AgendaGridDisplayComponent","View_AgendaGridDisplayComponent_2","View_AgendaGridDisplayComponent_4","View_AgendaGridDisplayComponent_5","View_AgendaGridDisplayComponent_8","View_AgendaGridDisplayComponent_9","View_AgendaGridDisplayComponent_10","View_AgendaGridDisplayComponent_12","View_AgendaGridDisplayComponent_13","View_AgendaGridDisplayComponent_14","View_AgendaGridDisplayComponent_15","View_AgendaGridDisplayComponent_11","View_AgendaGridDisplayComponent_17","View_AgendaGridDisplayComponent_18","View_AgendaGridDisplayComponent_19","View_AgendaGridDisplayComponent_20","weightClass","View_AgendaGridDisplayComponent_21","View_AgendaGridDisplayComponent_23","View_AgendaGridDisplayComponent_24","distanceInMinutesNormalized","View_AgendaGridDisplayComponent_22","hasViolations","View_AgendaGridDisplayComponent_26","View_AgendaGridDisplayComponent_27","View_AgendaGridDisplayComponent_28","View_AgendaGridDisplayComponent_25","isFinished","View_AgendaGridDisplayComponent_30","colorDarker","View_AgendaGridDisplayComponent_31","View_AgendaGridDisplayComponent_32","View_AgendaGridDisplayComponent_29","effortAsText","View_AgendaGridDisplayComponent_34","View_AgendaGridDisplayComponent_35","View_AgendaGridDisplayComponent_36","View_AgendaGridDisplayComponent_33","View_AgendaGridDisplayComponent_38","View_AgendaGridDisplayComponent_37","View_AgendaGridDisplayComponent_16","View_AgendaGridDisplayComponent_7","View_AgendaGridDisplayComponent_6","View_AgendaGridDisplayComponent_3","View_AgendaGridDisplayComponent_1","View_AgendaGridDisplayComponent_0","AgendaGridDisplayComponentNgFactory","GridBaseComponent","deviceAgent","navigator","userAgent","isTouchDevice","screen","availableLayers","visibilityPerLayer","gridBarSource","pluginPairSource","_layer","areSettingsOpen","toggleSettingsOpen","visibleLayer","countVisibleLayers","hasDragsources","transformVisibilityToLocalisationKey","AgendaGridComponent","gridBar","agendaGridBarComponent","styles_AgendaGridComponent","RenderType_AgendaGridComponent","View_AgendaGridComponent_2","View_AgendaGridComponent_1","View_AgendaGridComponent_3","View_AgendaGridComponent_0","dragsourcesPinned","AgendaGridComponentNgFactory","PlanboardDragSourceTasksComponent","filterSources","_selectedTeam","currentFilterSource","nextFilterSource","styles_PlanboardDragSourceTasksComponent","RenderType_PlanboardDragSourceTasksComponent","View_PlanboardDragSourceTasksComponent_1","View_PlanboardDragSourceTasksComponent_2","View_PlanboardDragSourceTasksComponent_3","View_PlanboardDragSourceTasksComponent_4","View_PlanboardDragSourceTasksComponent_0","PlanboardDragSourceTasksComponentNgFactory","selectedTeam","PlanboardDragSourceAppointmentsComponent","styles_PlanboardDragSourceAppointmentsComponent","RenderType_PlanboardDragSourceAppointmentsComponent","View_PlanboardDragSourceAppointmentsComponent_1","View_PlanboardDragSourceAppointmentsComponent_2","View_PlanboardDragSourceAppointmentsComponent_0","currVal_28","currVal_30","PlanboardDragSourceAppointmentsComponentNgFactory","PlanboardDragSourceServicesComponent","styles_PlanboardDragSourceServicesComponent","RenderType_PlanboardDragSourceServicesComponent","View_PlanboardDragSourceServicesComponent_1","View_PlanboardDragSourceServicesComponent_2","View_PlanboardDragSourceServicesComponent_0","PlanboardDragSourceServicesComponentNgFactory","PlanboardDragSourceAbsencesComponent","styles_PlanboardDragSourceAbsencesComponent","RenderType_PlanboardDragSourceAbsencesComponent","View_PlanboardDragSourceAbsencesComponent_1","View_PlanboardDragSourceAbsencesComponent_2","View_PlanboardDragSourceAbsencesComponent_0","PlanboardDragSourceAbsencesComponentNgFactory","PlanboardGridDragComponent","RenderType_PlanboardGridDragComponent","View_PlanboardGridDragComponent_1","View_PlanboardGridDragComponent_2","View_PlanboardGridDragComponent_3","View_PlanboardGridDragComponent_4","View_PlanboardGridDragComponent_5","View_PlanboardGridDragComponent_0","PlanboardGridDragComponentNgFactory","PluginPairService","normalPluginPairs","filterMethod","views","scriptingPluginPairs","forecastPluginPairs","pluginPairs","autoplan","_pluginPair","pluginPair","clearSelected","selectedFunction","PluginPairSelectorComponent","pluginPairService","functionEntities","STORED_SELECTED_PAIR","selectedPluginPair","pair","setFunctions","pluginPairSelectorChanged","pluginPairChanged","functionEntityChanged","STORED_SELECTED_FUNCTION","functionEntityName","showFunctionSelect","showPluginPairRefresh","refreshable","refreshPlugins","sortByProperty","setSelectedFunction","f","styles_PluginPairSelectorComponent","RenderType_PluginPairSelectorComponent","View_PluginPairSelectorComponent_1","View_PluginPairSelectorComponent_2","View_PluginPairSelectorComponent_4","View_PluginPairSelectorComponent_3","View_PluginPairSelectorComponent_0","PlanboardRowInfoComponent","loadingPlaceholder","_resource","absence","refreshValueWith","secondsWork","secondsAbsence","styles_PlanboardRowInfoComponent","RenderType_PlanboardRowInfoComponent","View_PlanboardRowInfoComponent_2","View_PlanboardRowInfoComponent_1","View_PlanboardRowInfoComponent_0","showInfo","PlanboardGridBarComponent","eventsServices","filterEntityChanged","_filterEntity","userChangedFilter","filterChosen","filterSource","storedFilterOid","typeEntityFilter","filterEntity","styles_PlanboardGridBarComponent","RenderType_PlanboardGridBarComponent","View_PlanboardGridBarComponent_1","View_PlanboardGridBarComponent_2","View_PlanboardGridBarComponent_3","View_PlanboardGridBarComponent_4","View_PlanboardGridBarComponent_5","View_PlanboardGridBarComponent_7","View_PlanboardGridBarComponent_6","View_PlanboardGridBarComponent_0","PlanboardGridBarComponentNgFactory","PluginViewBase","_selectedFunction","plannedVsEffort","showEffort","isHorizionInWeek","goingUpOrDownClass","readableTitle","pluginBar","valueExtra","Shrinkage","PLANITEMS","PluginViewForecastBase","queryNames","queries","queryResults","setQueries","prepareBuild","barWidth","executeQueries","build","getBarDimensions","endTime","toMaxTwoDecimals","horizonStart","horizonFinish","daysOfWeek","1","2","3","4","5","6","PluginViewCallsComponent","pluginBars","specialDay","holiday","dimensions","prognoses","outside","tooltip","relativeValue","class","styles_PluginViewCallsComponent","RenderType_PluginViewCallsComponent","View_PluginViewCallsComponent_1","View_PluginViewCallsComponent_6","pluginLine","View_PluginViewCallsComponent_8","relativeValueExtra","View_PluginViewCallsComponent_7","View_PluginViewCallsComponent_9","View_PluginViewCallsComponent_5","View_PluginViewCallsComponent_4","View_PluginViewCallsComponent_3","View_PluginViewCallsComponent_2","View_PluginViewCallsComponent_0","team","PluginViewPrognosesComponent","correctionEntity","correction","value_1","prognosis","corrected","styles_PluginViewPrognosesComponent","RenderType_PluginViewPrognosesComponent","View_PluginViewPrognosesComponent_1","View_PluginViewPrognosesComponent_6","View_PluginViewPrognosesComponent_8","View_PluginViewPrognosesComponent_7","View_PluginViewPrognosesComponent_9","View_PluginViewPrognosesComponent_5","View_PluginViewPrognosesComponent_4","View_PluginViewPrognosesComponent_3","View_PluginViewPrognosesComponent_2","View_PluginViewPrognosesComponent_0","PluginViewCorrectionsComponent","newEntities","utc","styles_PluginViewCorrectionsComponent","RenderType_PluginViewCorrectionsComponent","View_PluginViewCorrectionsComponent_1","View_PluginViewCorrectionsComponent_6","View_PluginViewCorrectionsComponent_5","View_PluginViewCorrectionsComponent_4","View_PluginViewCorrectionsComponent_3","View_PluginViewCorrectionsComponent_2","View_PluginViewCorrectionsComponent_0","PluginViewShrinkageComponent","long","short","styles_PluginViewShrinkageComponent","RenderType_PluginViewShrinkageComponent","View_PluginViewShrinkageComponent_1","View_PluginViewShrinkageComponent_0","PluginViewControlsComponent","pluginForcastControl","isCalculating","_template","_script","readyToExecute","readyToCalculate","templateChanged","styles_PluginViewControlsComponent","RenderType_PluginViewControlsComponent","View_PluginViewControlsComponent_2","scriptQuery","View_PluginViewControlsComponent_3","View_PluginViewControlsComponent_1","templateQuery","View_PluginViewControlsComponent_0","PluginViewCapacityComponent","sla","customers","serviceLevel","extraValue","planItems","attendants","assignments","dayStart_1","barStart_1","barFinish_1","shrinkages","isoWeekday","ends_1","breakpoints_1","_loop_2","fractionalStart","fractionalFinish","timeFraction","coverage","attendant","styles_PluginViewCapacityComponent","RenderType_PluginViewCapacityComponent","View_PluginViewCapacityComponent_1","View_PluginViewCapacityComponent_6","View_PluginViewCapacityComponent_8","View_PluginViewCapacityComponent_7","View_PluginViewCapacityComponent_9","View_PluginViewCapacityComponent_5","View_PluginViewCapacityComponent_4","View_PluginViewCapacityComponent_3","View_PluginViewCapacityComponent_2","View_PluginViewCapacityComponent_0","PluginViewShiftsComponent","loadingProcesses","_datasets","registerShift","shifts","period","harvestAll","shiftOid","getIncludeOfTasklist","styles_PluginViewShiftsComponent","RenderType_PluginViewShiftsComponent","View_PluginViewShiftsComponent_1","View_PluginViewShiftsComponent_6","View_PluginViewShiftsComponent_5","View_PluginViewShiftsComponent_4","View_PluginViewShiftsComponent_3","View_PluginViewShiftsComponent_2","View_PluginViewShiftsComponent_0","PluginViewShiftsExtraComponent","styles_PluginViewShiftsExtraComponent","RenderType_PluginViewShiftsExtraComponent","View_PluginViewShiftsExtraComponent_1","View_PluginViewShiftsExtraComponent_6","View_PluginViewShiftsExtraComponent_5","View_PluginViewShiftsExtraComponent_4","View_PluginViewShiftsExtraComponent_3","View_PluginViewShiftsExtraComponent_2","View_PluginViewShiftsExtraComponent_0","PluginViewAttendantsComponent","_generated","useGenerated","generated","styles_PluginViewAttendantsComponent","RenderType_PluginViewAttendantsComponent","View_PluginViewAttendantsComponent_1","View_PluginViewAttendantsComponent_6","View_PluginViewAttendantsComponent_5","View_PluginViewAttendantsComponent_4","View_PluginViewAttendantsComponent_3","View_PluginViewAttendantsComponent_2","View_PluginViewAttendantsComponent_0","useExecutor","PluginViewServiceLevelComponent","totalNumerator","totalDenominator","numerator","extraNumerator","denominator","fractionalMilliseconds","fractionalDuration","shrinkedCoverage","extraServiceLevel","lowerServiceLevel","barHeight","extraBarHeight","totalValue","totalHeight","styles_PluginViewServiceLevelComponent","RenderType_PluginViewServiceLevelComponent","View_PluginViewServiceLevelComponent_1","View_PluginViewServiceLevelComponent_6","View_PluginViewServiceLevelComponent_8","View_PluginViewServiceLevelComponent_7","View_PluginViewServiceLevelComponent_9","View_PluginViewServiceLevelComponent_5","View_PluginViewServiceLevelComponent_4","View_PluginViewServiceLevelComponent_3","View_PluginViewServiceLevelComponent_2","View_PluginViewServiceLevelComponent_0","PluginViewGeneratedComponent","styles_PluginViewGeneratedComponent","RenderType_PluginViewGeneratedComponent","View_PluginViewGeneratedComponent_1","View_PluginViewGeneratedComponent_6","View_PluginViewGeneratedComponent_5","View_PluginViewGeneratedComponent_4","View_PluginViewGeneratedComponent_3","View_PluginViewGeneratedComponent_2","View_PluginViewGeneratedComponent_0","PluginViewGeneratedExtraComponent","styles_PluginViewGeneratedExtraComponent","RenderType_PluginViewGeneratedExtraComponent","View_PluginViewGeneratedExtraComponent_1","View_PluginViewGeneratedExtraComponent_6","View_PluginViewGeneratedExtraComponent_5","View_PluginViewGeneratedExtraComponent_4","View_PluginViewGeneratedExtraComponent_3","View_PluginViewGeneratedExtraComponent_2","View_PluginViewGeneratedExtraComponent_0","PluginViewEmptyComponent","styles_PluginViewEmptyComponent","RenderType_PluginViewEmptyComponent","View_PluginViewEmptyComponent_0","PluginPairViewComponent","shiftsSource","controlsSource","pluginViewShiftsComponent","pluginViewControlsComponent","styles_PluginPairViewComponent","RenderType_PluginPairViewComponent","View_PluginPairViewComponent_2","View_PluginPairViewComponent_3","View_PluginPairViewComponent_4","View_PluginPairViewComponent_5","View_PluginPairViewComponent_6","View_PluginPairViewComponent_7","View_PluginPairViewComponent_8","View_PluginPairViewComponent_9","View_PluginPairViewComponent_10","View_PluginPairViewComponent_11","View_PluginPairViewComponent_12","View_PluginPairViewComponent_13","View_PluginPairViewComponent_14","View_PluginPairViewComponent_15","View_PluginPairViewComponent_16","View_PluginPairViewComponent_17","View_PluginPairViewComponent_1","View_PluginPairViewComponent_0","PlanboardGridDisplayComponent","dropZonesService","_resources","itemOid_1","oidOriginal","datasetOriginal","resourceOriginal","RenderType_PlanboardGridDisplayComponent","View_PlanboardGridDisplayComponent_2","View_PlanboardGridDisplayComponent_3","View_PlanboardGridDisplayComponent_5","View_PlanboardGridDisplayComponent_6","View_PlanboardGridDisplayComponent_9","View_PlanboardGridDisplayComponent_10","View_PlanboardGridDisplayComponent_11","View_PlanboardGridDisplayComponent_13","View_PlanboardGridDisplayComponent_14","View_PlanboardGridDisplayComponent_15","View_PlanboardGridDisplayComponent_16","View_PlanboardGridDisplayComponent_12","View_PlanboardGridDisplayComponent_18","View_PlanboardGridDisplayComponent_19","View_PlanboardGridDisplayComponent_20","View_PlanboardGridDisplayComponent_21","View_PlanboardGridDisplayComponent_22","View_PlanboardGridDisplayComponent_24","View_PlanboardGridDisplayComponent_25","View_PlanboardGridDisplayComponent_23","View_PlanboardGridDisplayComponent_27","View_PlanboardGridDisplayComponent_28","View_PlanboardGridDisplayComponent_29","View_PlanboardGridDisplayComponent_26","View_PlanboardGridDisplayComponent_31","View_PlanboardGridDisplayComponent_32","View_PlanboardGridDisplayComponent_33","View_PlanboardGridDisplayComponent_30","View_PlanboardGridDisplayComponent_35","View_PlanboardGridDisplayComponent_36","View_PlanboardGridDisplayComponent_37","View_PlanboardGridDisplayComponent_34","View_PlanboardGridDisplayComponent_38","View_PlanboardGridDisplayComponent_40","View_PlanboardGridDisplayComponent_39","View_PlanboardGridDisplayComponent_17","View_PlanboardGridDisplayComponent_8","View_PlanboardGridDisplayComponent_7","View_PlanboardGridDisplayComponent_4","View_PlanboardGridDisplayComponent_1","View_PlanboardGridDisplayComponent_0","PlanboardGridDisplayComponentNgFactory","PlanboardGridComponent","gridbar","selectedFilterEntity","horizonSupscription","pluginPairSelectorComponent","sortMethod","styles_PlanboardGridComponent","RenderType_PlanboardGridComponent","View_PlanboardGridComponent_2","View_PlanboardGridComponent_1","View_PlanboardGridComponent_3","View_PlanboardGridComponent_4","View_PlanboardGridComponent_5","View_PlanboardGridComponent_6","View_PlanboardGridComponent_0","layer","PlanboardGridComponentNgFactory","GridContainerComponent","RenderType_GridContainerComponent","View_GridContainerComponent_0","GridContainerComponentNgFactory","GridViewComponent","display","styles_GridViewComponent","RenderType_GridViewComponent","View_GridViewComponent_0","RequestTypes","RequestStatus","GridViewComponentNgFactory","Request","IsRead","Expiration","IsExpired","Status","Type","Absence","AbsenceChanged","ExchangeAssignment","ReassignAssignment","ExchangeAttendant","ReassignAttendant","ExchangeDay","ReassignDay","ReceiverOid","Recipient","UserOid","NotificationsService","totalUnreadNotifications","unreadCountChanged","notifications","updateInterval","unreadCountInterval","updateUnreadCount","unreadCountUri","declineRequests","requests","save_callback","subscribe_callback","ReadOnly","Decline","declineRequest","request","acceptRequests","Accept","acceptRequest","withDrawRequests","Withdrawn","withDrawRequest","setRequestReadValue","setRequestsReadValue","requestStatus","UserRequestStatusItems","RequestIsRead","previousCount","symptomManagementIssue1319","NotificationsViewComponent","notificationService","styles_NotificationsViewComponent","RenderType_NotificationsViewComponent","View_NotificationsViewComponent_0","NotificationsViewComponentNgFactory","NotificationsListComponent","_showExpired","notificationsService","withdrawRequests","selectedRequests","selectionWithdrawable","selectionNotFinal","hasUnreadSelectedItems","hasReadSelectedItems","styles_NotificationsListComponent","RenderType_NotificationsListComponent","View_NotificationsListComponent_2","View_NotificationsListComponent_3","View_NotificationsListComponent_1","View_NotificationsListComponent_4","View_NotificationsListComponent_5","View_NotificationsListComponent_8","View_NotificationsListComponent_7","View_NotificationsListComponent_6","View_NotificationsListComponent_10","View_NotificationsListComponent_12","View_NotificationsListComponent_11","View_NotificationsListComponent_9","View_NotificationsListComponent_13","View_NotificationsListComponent_14","View_NotificationsListComponent_15","View_NotificationsListComponent_16","View_NotificationsListComponent_17","View_NotificationsListComponent_0","showExpired","isOutbox","NotificationsListComponentNgFactory","NotificationsFormComponent","styles_NotificationsFormComponent","RenderType_NotificationsFormComponent","View_NotificationsFormComponent_2","View_NotificationsFormComponent_3","View_NotificationsFormComponent_1","View_NotificationsFormComponent_0","NotificationsFormComponentNgFactory","ExchangeDetailComponent","noteField","statusField","expirationField","readByField","noteControl","expireControl","statusControl","readByControl","readBy","recipients","SubjectOid","TargetOid","setRequest","afterRequestRetrieved","setComponentConfigurations","subjectForm","targetForm","checkIsRead","withdrawRequest","targetFormObject","subjectFormObject","loadReadByRecipients","loadType","AbsenceDetailComponent","RenderType_AbsenceDetailComponent","View_AbsenceDetailComponent_2","View_AbsenceDetailComponent_3","View_AbsenceDetailComponent_4","View_AbsenceDetailComponent_6","View_AbsenceDetailComponent_7","View_AbsenceDetailComponent_5","View_AbsenceDetailComponent_1","View_AbsenceDetailComponent_0","AbsenceDetailComponentNgFactory","NotificationsRelationComponent","refreshInProgress","processChange","styles_NotificationsRelationComponent","RenderType_NotificationsRelationComponent","View_NotificationsRelationComponent_3","View_NotificationsRelationComponent_2","View_NotificationsRelationComponent_7","View_NotificationsRelationComponent_6","View_NotificationsRelationComponent_8","View_NotificationsRelationComponent_9","View_NotificationsRelationComponent_11","View_NotificationsRelationComponent_10","View_NotificationsRelationComponent_13","View_NotificationsRelationComponent_12","View_NotificationsRelationComponent_5","View_NotificationsRelationComponent_4","View_NotificationsRelationComponent_14","View_NotificationsRelationComponent_16","View_NotificationsRelationComponent_15","View_NotificationsRelationComponent_17","View_NotificationsRelationComponent_1","View_NotificationsRelationComponent_0","RequestSummaryComponent","requestSubscription","receiver","subjectDescription","subjectEffort","subjectTimespan","subjectItems","receiverName","targetDescription","targetEffort","targetTimespan","targetItems","targetItemsChange","_request","getEntities","_targetConfiguration","subjectQuery","targetQuery","subjectType","SubjectType","SubjectDay","TargetDay","writeSummary","getDayDescription","getEffortFromEntities","getTimespanFromEntities","getEffortFromEntity","getTimespanFromEntity","assignmentCount","attendantCount","finishTime","styles_RequestSummaryComponent","RenderType_RequestSummaryComponent","View_RequestSummaryComponent_1","View_RequestSummaryComponent_2","View_RequestSummaryComponent_4","View_RequestSummaryComponent_5","View_RequestSummaryComponent_3","View_RequestSummaryComponent_7","View_RequestSummaryComponent_8","View_RequestSummaryComponent_9","View_RequestSummaryComponent_10","View_RequestSummaryComponent_11","View_RequestSummaryComponent_12","targetConfiguration","View_RequestSummaryComponent_6","View_RequestSummaryComponent_0","requestType","RequestSummaryComponentNgFactory","ExchangeListComponent","_receiver","_date","subjectTask","receiverOid","targetList","Title","same","dateChanged","SenderOid","onTargetChanged","targetTask","RenderType_ExchangeListComponent","View_ExchangeListComponent_0","currVal_16","requestId","ExchangeListComponentNgFactory","ExchangeDayComponent","updateTitle","dateString","setTargetItems","RenderType_ExchangeDayComponent","View_ExchangeDayComponent_0","ExchangeDayComponentNgFactory","ExchangeDayDetailComponent","resourceField","resourceControl","sender","what","subjectDayFormObject","targetDayFormObject","RenderType_ExchangeDayDetailComponent","View_ExchangeDayDetailComponent_2","View_ExchangeDayDetailComponent_3","View_ExchangeDayDetailComponent_4","subjectResource","View_ExchangeDayDetailComponent_6","View_ExchangeDayDetailComponent_7","targetResource","View_ExchangeDayDetailComponent_5","showDetails","View_ExchangeDayDetailComponent_8","View_ExchangeDayDetailComponent_9","View_ExchangeDayDetailComponent_11","View_ExchangeDayDetailComponent_12","View_ExchangeDayDetailComponent_10","View_ExchangeDayDetailComponent_1","View_ExchangeDayDetailComponent_0","ExchangeDayDetailComponentNgFactory","RenderType_ExchangeDetailComponent","View_ExchangeDetailComponent_2","View_ExchangeDetailComponent_3","targetLabelKey","targetOid","View_ExchangeDetailComponent_4","View_ExchangeDetailComponent_5","View_ExchangeDetailComponent_7","View_ExchangeDetailComponent_8","View_ExchangeDetailComponent_6","View_ExchangeDetailComponent_1","View_ExchangeDetailComponent_0","ExchangeDetailComponentNgFactory","ReassignFormComponent","RenderType_ReassignFormComponent","View_ReassignFormComponent_0","ReassignFormComponentNgFactory","ReassignDayComponent","RenderType_ReassignDayComponent","View_ReassignDayComponent_0","ReassignDayComponentNgFactory","ReassignDayDetailComponent","RenderType_ReassignDayDetailComponent","View_ReassignDayDetailComponent_2","View_ReassignDayDetailComponent_3","View_ReassignDayDetailComponent_4","View_ReassignDayDetailComponent_6","View_ReassignDayDetailComponent_7","View_ReassignDayDetailComponent_5","View_ReassignDayDetailComponent_8","View_ReassignDayDetailComponent_9","View_ReassignDayDetailComponent_11","View_ReassignDayDetailComponent_12","View_ReassignDayDetailComponent_10","View_ReassignDayDetailComponent_1","View_ReassignDayDetailComponent_0","ReassignDayDetailComponentNgFactory","ReassignDetailComponent","proposal","dummy","RenderType_ReassignDetailComponent","View_ReassignDetailComponent_2","View_ReassignDetailComponent_3","View_ReassignDetailComponent_4","View_ReassignDetailComponent_5","View_ReassignDetailComponent_7","View_ReassignDetailComponent_8","View_ReassignDetailComponent_6","View_ReassignDetailComponent_1","View_ReassignDetailComponent_0","ReassignDetailComponentNgFactory","BrandingService","imageCollection","getImage","WorkSlipHeadComponent","brandingService","workslip","styles_WorkSlipHeadComponent","RenderType_WorkSlipHeadComponent","View_WorkSlipHeadComponent_2","View_WorkSlipHeadComponent_3","View_WorkSlipHeadComponent_1","View_WorkSlipHeadComponent_0","WorkSlip","place","country","getTotalOf","inputTime","spendTimeItems","WorkSlipSpendTime","hoursEffort","hoursTravelTime","WorkSlipsService","WorkSlipFormComponent","workSlipsService","RenderType_WorkSlipFormComponent","View_WorkSlipFormComponent_3","View_WorkSlipFormComponent_4","View_WorkSlipFormComponent_5","View_WorkSlipFormComponent_6","View_WorkSlipFormComponent_7","View_WorkSlipFormComponent_8","View_WorkSlipFormComponent_2","View_WorkSlipFormComponent_10","View_WorkSlipFormComponent_11","View_WorkSlipFormComponent_9","View_WorkSlipFormComponent_13","View_WorkSlipFormComponent_14","View_WorkSlipFormComponent_12","View_WorkSlipFormComponent_16","View_WorkSlipFormComponent_15","View_WorkSlipFormComponent_1","View_WorkSlipFormComponent_0","WorkSlipFormChildComponent","RenderType_WorkSlipFormChildComponent","View_WorkSlipFormChildComponent_3","View_WorkSlipFormChildComponent_2","View_WorkSlipFormChildComponent_4","View_WorkSlipFormChildComponent_5","View_WorkSlipFormChildComponent_7","View_WorkSlipFormChildComponent_6","View_WorkSlipFormChildComponent_1","View_WorkSlipFormChildComponent_0","WorkSlipRelationComponent","styles_WorkSlipRelationComponent","RenderType_WorkSlipRelationComponent","View_WorkSlipRelationComponent_3","View_WorkSlipRelationComponent_2","View_WorkSlipRelationComponent_7","View_WorkSlipRelationComponent_6","View_WorkSlipRelationComponent_8","View_WorkSlipRelationComponent_9","View_WorkSlipRelationComponent_11","View_WorkSlipRelationComponent_10","View_WorkSlipRelationComponent_13","View_WorkSlipRelationComponent_12","View_WorkSlipRelationComponent_5","View_WorkSlipRelationComponent_4","View_WorkSlipRelationComponent_14","View_WorkSlipRelationComponent_15","View_WorkSlipRelationComponent_1","View_WorkSlipRelationComponent_0","WorkSlipViewComponent","requiredFields","spendTimes","viewInitialized","assignmentConfiguration","realisationConfiguration","customerConfiguration","signatureConfiguration","projectName","taskName","resourceName","workSlip","AssignmentOid","Closed","SignatureName","SignatureDate","workSlipSpendTimeType","domainSpendTimeType","getSpendTimes","domainSpendTime","WorkSlipId","TravelTime","Notes","realisationComponent","styles_WorkSlipViewComponent","RenderType_WorkSlipViewComponent","View_WorkSlipViewComponent_1","View_WorkSlipViewComponent_0","WorkSlipViewComponentNgFactory","WorkSlipDetailComponent","assignmentForm","spendTimesForm","customerForm","signatureForm","RenderType_WorkSlipDetailComponent","View_WorkSlipDetailComponent_3","View_WorkSlipDetailComponent_4","View_WorkSlipDetailComponent_5","View_WorkSlipDetailComponent_2","View_WorkSlipDetailComponent_1","View_WorkSlipDetailComponent_6","View_WorkSlipDetailComponent_7","View_WorkSlipDetailComponent_8","View_WorkSlipDetailComponent_0","WorkSlipDetailComponentNgFactory","WorkSlipListComponent","styles_WorkSlipListComponent","RenderType_WorkSlipListComponent","View_WorkSlipListComponent_2","View_WorkSlipListComponent_3","View_WorkSlipListComponent_1","View_WorkSlipListComponent_5","View_WorkSlipListComponent_6","View_WorkSlipListComponent_4","View_WorkSlipListComponent_7","View_WorkSlipListComponent_10","View_WorkSlipListComponent_9","View_WorkSlipListComponent_8","View_WorkSlipListComponent_12","View_WorkSlipListComponent_14","View_WorkSlipListComponent_13","View_WorkSlipListComponent_11","View_WorkSlipListComponent_15","View_WorkSlipListComponent_16","View_WorkSlipListComponent_17","View_WorkSlipListComponent_19","View_WorkSlipListComponent_18","View_WorkSlipListComponent_0","WorkSlipListComponentNgFactory","MarketplaceListComponent","_requirements","_availability","_openSlots","doRefresh","requirement","setQueryParams","openSlots","marketColumns","openslots","styles_MarketplaceListComponent","RenderType_MarketplaceListComponent","View_MarketplaceListComponent_2","View_MarketplaceListComponent_3","View_MarketplaceListComponent_1","View_MarketplaceListComponent_4","View_MarketplaceListComponent_5","View_MarketplaceListComponent_8","View_MarketplaceListComponent_7","View_MarketplaceListComponent_6","View_MarketplaceListComponent_10","View_MarketplaceListComponent_12","View_MarketplaceListComponent_11","View_MarketplaceListComponent_9","View_MarketplaceListComponent_13","View_MarketplaceListComponent_14","View_MarketplaceListComponent_0","MarketplaceListComponentNgFactory","AcceptDemandComponent","dateFormat","timeFormat","accept","effortFreeSlot","RenderType_AcceptDemandComponent","View_AcceptDemandComponent_1","EffortFreeSlot","View_AcceptDemandComponent_0","AcceptDemandComponentNgFactory","AcceptServiceComponent","deviatingTimes","RenderType_AcceptServiceComponent","View_AcceptServiceComponent_3","View_AcceptServiceComponent_2","View_AcceptServiceComponent_1","View_AcceptServiceComponent_0","AcceptServiceComponentNgFactory","ColumnMarketplaceDemandComponent","priority","filledSlots","taken","published","priorityName","deploymentQuery","getStatus","totalSlots","getOverlay","isPublished","styles_ColumnMarketplaceDemandComponent","RenderType_ColumnMarketplaceDemandComponent","View_ColumnMarketplaceDemandComponent_1","View_ColumnMarketplaceDemandComponent_2","View_ColumnMarketplaceDemandComponent_3","View_ColumnMarketplaceDemandComponent_4","View_ColumnMarketplaceDemandComponent_5","View_ColumnMarketplaceDemandComponent_6","View_ColumnMarketplaceDemandComponent_0","ColumnMarketplaceDemandComponentNgFactory","ColumnMarketplaceServiceComponent","attendantQuery","styles_ColumnMarketplaceServiceComponent","RenderType_ColumnMarketplaceServiceComponent","View_ColumnMarketplaceServiceComponent_1","View_ColumnMarketplaceServiceComponent_2","View_ColumnMarketplaceServiceComponent_3","View_ColumnMarketplaceServiceComponent_4","View_ColumnMarketplaceServiceComponent_5","View_ColumnMarketplaceServiceComponent_6","View_ColumnMarketplaceServiceComponent_0","ColumnMarketplaceServiceComponentNgFactory","WithdrawAssignmentComponent","confirm","RenderType_WithdrawAssignmentComponent","View_WithdrawAssignmentComponent_0","WithdrawAssignmentComponentNgFactory","WithdrawAttendantComponent","urlParams","navigateByUrl","RenderType_WithdrawAttendantComponent","View_WithdrawAttendantComponent_0","WithdrawAttendantComponentNgFactory","EmojiBarComponent","popupVisible","emojis","imageUrls","resetMessage","addReaction","deleteReaction","toggleReaction","togglePopup","popupText","setPopupText","users","styles_EmojiBarComponent","RenderType_EmojiBarComponent","View_EmojiBarComponent_2","View_EmojiBarComponent_1","View_EmojiBarComponent_4","View_EmojiBarComponent_3","View_EmojiBarComponent_5","View_EmojiBarComponent_0","TimelineItemType","TimelineService","_timelineItems","timelineTimer","lines","authors","imageLink","randomtypes","appointment","titles","mind","notification","planning","profile","defaultAuthor","longNameAuthor","fillDemoData","appointmentCreated","appointmentStart","taskCreated","taskStart","taskFinish","author","toTimeString","realisation","holidays","addRandomTimelineItem","createTimelineItem","imagelink","timelineItem","getTimelineItems","begin","numberOfItems","deleteTimelineItem","TimelineItemBaseComponent","timelineService","valueAsDate","valueAsTime","TimelineItemMindComponent","fallbackProfilePictureUrl","styles_TimelineItemMindComponent","RenderType_TimelineItemMindComponent","View_TimelineItemMindComponent_0","TimelineItemProfileComponent","styles_TimelineItemProfileComponent","RenderType_TimelineItemProfileComponent","View_TimelineItemProfileComponent_0","TimelineItemProjectComponent","styles_TimelineItemProjectComponent","RenderType_TimelineItemProjectComponent","View_TimelineItemProjectComponent_0","TimelineItemTaskComponent","styles_TimelineItemTaskComponent","RenderType_TimelineItemTaskComponent","View_TimelineItemTaskComponent_0","TimelineItemAppointmentComponent","styles_TimelineItemAppointmentComponent","RenderType_TimelineItemAppointmentComponent","View_TimelineItemAppointmentComponent_0","TimelineItemNotificationComponent","styles_TimelineItemNotificationComponent","RenderType_TimelineItemNotificationComponent","View_TimelineItemNotificationComponent_0","TimelineItemPlanningComponent","styles_TimelineItemPlanningComponent","RenderType_TimelineItemPlanningComponent","View_TimelineItemPlanningComponent_0","TimelineItemRealisationComponent","styles_TimelineItemRealisationComponent","RenderType_TimelineItemRealisationComponent","View_TimelineItemRealisationComponent_0","TimelineItemHolidaysComponent","styles_TimelineItemHolidaysComponent","RenderType_TimelineItemHolidaysComponent","View_TimelineItemHolidaysComponent_0","styles_TimelineItemBaseComponent","RenderType_TimelineItemBaseComponent","View_TimelineItemBaseComponent_1","View_TimelineItemBaseComponent_2","View_TimelineItemBaseComponent_3","View_TimelineItemBaseComponent_4","View_TimelineItemBaseComponent_5","View_TimelineItemBaseComponent_6","View_TimelineItemBaseComponent_7","View_TimelineItemBaseComponent_8","View_TimelineItemBaseComponent_9","View_TimelineItemBaseComponent_0","TimelineComponent","TimelineAddComponent","timelineComponent","isBusy","onInput","addMessage","resetText","cancelMessage","styles_TimelineAddComponent","RenderType_TimelineAddComponent","View_TimelineAddComponent_1","View_TimelineAddComponent_2","View_TimelineAddComponent_0","styles_TimelineComponent","RenderType_TimelineComponent","View_TimelineComponent_1","View_TimelineComponent_2","View_TimelineComponent_3","View_TimelineComponent_0","timelineItems","TimelineComponentNgFactory","SettingsFormComponent","backendSettings","RenderType_SettingsFormComponent","View_SettingsFormComponent_3","View_SettingsFormComponent_4","View_SettingsFormComponent_5","View_SettingsFormComponent_6","View_SettingsFormComponent_7","View_SettingsFormComponent_8","View_SettingsFormComponent_2","View_SettingsFormComponent_10","View_SettingsFormComponent_11","View_SettingsFormComponent_9","View_SettingsFormComponent_13","View_SettingsFormComponent_14","View_SettingsFormComponent_12","View_SettingsFormComponent_16","View_SettingsFormComponent_15","View_SettingsFormComponent_1","View_SettingsFormComponent_0","SettingsFormComponentNgFactory","SettingsDetailComponent","styles_SettingsDetailComponent","RenderType_SettingsDetailComponent","View_SettingsDetailComponent_1","View_SettingsDetailComponent_2","View_SettingsDetailComponent_3","View_SettingsDetailComponent_4","View_SettingsDetailComponent_0","SettingsDetailComponentNgFactory","SettingsListComponent","styles_SettingsListComponent","RenderType_SettingsListComponent","View_SettingsListComponent_2","View_SettingsListComponent_3","View_SettingsListComponent_1","View_SettingsListComponent_5","View_SettingsListComponent_6","View_SettingsListComponent_4","View_SettingsListComponent_7","View_SettingsListComponent_10","View_SettingsListComponent_9","View_SettingsListComponent_8","View_SettingsListComponent_12","View_SettingsListComponent_14","View_SettingsListComponent_13","View_SettingsListComponent_11","View_SettingsListComponent_15","View_SettingsListComponent_16","View_SettingsListComponent_17","View_SettingsListComponent_19","View_SettingsListComponent_18","View_SettingsListComponent_0","SettingsListComponentNgFactory","SettingsValueTypes","integer","SettingsViewComponent","RenderType_SettingsViewComponent","View_SettingsViewComponent_0","SettingsViewComponentNgFactory","ColumnSettingsComponent","styles_ColumnSettingsComponent","RenderType_ColumnSettingsComponent","View_ColumnSettingsComponent_0","ColumnSettingsComponentNgFactory","ColumnReportLinkComponent","urlIsRelative","backendBaseUrl","backendRestUrl","reportUrl","styles_ColumnReportLinkComponent","RenderType_ColumnReportLinkComponent","View_ColumnReportLinkComponent_1","View_ColumnReportLinkComponent_0","ColumnReportLinkComponentNgFactory","StartComponent","resetConfig","rewritedUrl","styles_StartComponent","RenderType_StartComponent","View_StartComponent_0","StartComponentNgFactory","OnlineService","_isOnline","isOnline","onLine","HeaderComponent","onlineService","menuToggled","goToDefault","goToNotifications","openAccount","roleIntoLocalisationKey","invokeMenuToggle","styles_HeaderComponent","RenderType_HeaderComponent","View_HeaderComponent_1","View_HeaderComponent_3","View_HeaderComponent_4","View_HeaderComponent_2","View_HeaderComponent_5","View_HeaderComponent_7","View_HeaderComponent_8","View_HeaderComponent_6","View_HeaderComponent_0","SystemMessagesService","systemMessages","cleanUp","newSystemMessage","systemMessage","SystemMessagesComponent","systemMessagesService","styles_SystemMessagesComponent","RenderType_SystemMessagesComponent","View_SystemMessagesComponent_1","View_SystemMessagesComponent_0","MenuComponent","menuOpen","isMenuItemActive","isSubMenuItemActive","goTo","isMenuOpen","toggleMenu","viewProfile","styles_MenuComponent","RenderType_MenuComponent","View_MenuComponent_2","View_MenuComponent_3","View_MenuComponent_1","View_MenuComponent_0","ScrollTopComponent","_isVisible","scrollToTop","onScrollEvent","pageYOffset","styles_ScrollTopComponent","RenderType_ScrollTopComponent","View_ScrollTopComponent_1","View_ScrollTopComponent_0","FooterComponent","onKeydownHandler","onVersionClick","onLanguageChange","isSymagicRole","prompt","styles_FooterComponent","RenderType_FooterComponent","View_FooterComponent_2","View_FooterComponent_3","currentRole","View_FooterComponent_1","View_FooterComponent_0","AlertsComponent","createSupportLink","to","appCodeName","appName","appVersion","cookieEnabled","platform","getDetailText","encodeURIComponent","statusText","styles_AlertsComponent","RenderType_AlertsComponent","View_AlertsComponent_2","View_AlertsComponent_3","View_AlertsComponent_4","View_AlertsComponent_1","View_AlertsComponent_0","DialogComponent","ok","styles_DialogComponent","RenderType_DialogComponent","View_DialogComponent_1","View_DialogComponent_0","OverlayContainerComponent","scrollTo","styles_OverlayContainerComponent","RenderType_OverlayContainerComponent","View_OverlayContainerComponent_0","DetailContainerComponent","RenderType_DetailContainerComponent","View_DetailContainerComponent_0","OverlayViewComponent","eKey","onOverlayClick","currentTarget","styles_OverlayViewComponent","RenderType_OverlayViewComponent","View_OverlayViewComponent_4","View_OverlayViewComponent_5","View_OverlayViewComponent_6","View_OverlayViewComponent_3","View_OverlayViewComponent_7","View_OverlayViewComponent_8","View_OverlayViewComponent_2","View_OverlayViewComponent_9","View_OverlayViewComponent_1","detailView","View_OverlayViewComponent_0","FileReaderComponent","userSelectedAFile","once","capture","fileSelected","styles_FileReaderComponent","RenderType_FileReaderComponent","View_FileReaderComponent_0","styles_AppComponent","RenderType_AppComponent","View_AppComponent_1","View_AppComponent_2","View_AppComponent_3","View_AppComponent_0","AppComponentNgFactory","CustomEventManager","plugins","zone","addGlobalEventListener","eventName","NoCacheInterceptor","intercept","currentHttpRequest","handle","newHttpRequest","setHeaders","AuthorizeInterceptor","ErrorInterceptor","httpRequest","catchError","backendError","throwError","retryRequest","EmotionsValidator","integerValue","NumberValidator","PeriodValidator","validatorKey_1","NAME_PERIOD_VALIDATOR","removeValidationError","COLUMN_COMPONENTS","InputListComponent","FIELDSET_COMPONENTS","columnClass","fieldSetClass","SocialModule","INSIGHTS_COMPONENTS","InsightsModule","AppModuleNgFactory","p0_1","p0_2","p2_0","p2_1","p2_2","p2_3","p1_1","p1_2","p1_3","p3_0","p4_0","p4_1","bootflow","bootstrapModuleFactory","postMessage","hash","origin"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrBiB,EAAG,GAGAZ,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,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L,KAC1Dh2L,GACAuE,EAAOE,aAAayxL,sBAAsBl2L,IAItD,OAAO,EAEX,OAAO,IA3CE,IAgDjB,YAAUmhB,iBAAsC,OAAI,+BACpD,YAAUpM,SAASghL,MCjDZ,IAcH,GAKA,WACI,YAAU50K,iBAAuB,KAAI,6BACrC,YAAUA,iBAA2B,SAAI,iCACzC,YAAUA,iBAAwB,MAAI,8BACtC,YAAUA,iBAA+B,aAAI,qCAC7C,YAAUA,iBAA2B,SAAI,iCACzC,YAAUA,iBAAsB,IAAI,4BACpC,YAAUA,iBAA+B,aAAI,sC,UCuEjDg1K,ICrGoC,SAAU72L,GAK9C,SAAS82L,IACL,OAAO92L,EAAOvG,KAAKkE,OAASA,KALhC,IAAkBm5L,EAAoB92L,GADH,CASrC,ID4FsB,CACpB,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,KAKA+2L,GAAsB,CACtB,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IAuCA,GAIA,WACIF,GAAkBl3L,SAAQ,SAAUq3L,GAChCA,EAAYvhL,cAEhBshL,GAAoBp3L,SAAQ,SAAUs3L,GAClCA,EAAcxhL,cAElBqd,EAAkBrd,SAAS,QAAS,wBAAyB,K,UE3OjEyhL,GACA,a,UCeOC,GAAsB,CAC7B,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IAEAC,GAIA,WACID,GAAoBx3L,SAAQ,SAAUyuF,GAClCA,EAAQ34E,eCfhB,GAAoB,CACpB,GACA,GACA,GACA,GACA,GACA,GACA,GACA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IjD,2BAGA5yF,OAAuB,gBACvBA,OAAuB,iBAGvBA,OAAqB,cACrBA,OAAqB,aAAE,2BAA4B,IAGnDA,SAAWA,OAAOsnC,OAClB,qBAAsCq0J,uBAAuB,KAI7Dr0J,OAAOs0J,YAAY/vE,SAASgwE,KAAMhwE,SAASiwE,QAC3C75L,QAAQC,KAAK,yFACTlC,OAAqB,cACrBA,OAAqB,aAAE,0BAA2B","file":"bundles/main.d2c515087473d8b20c89.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([360,1]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 292;","module.exports = __webpack_public_path__ + \"images/resource-300x300.37ebbee32ffed3373d05.png\";","var map = {\n\t\"./af\": 159,\n\t\"./af.js\": 159,\n\t\"./ar\": 160,\n\t\"./ar-dz\": 161,\n\t\"./ar-dz.js\": 161,\n\t\"./ar-kw\": 162,\n\t\"./ar-kw.js\": 162,\n\t\"./ar-ly\": 163,\n\t\"./ar-ly.js\": 163,\n\t\"./ar-ma\": 164,\n\t\"./ar-ma.js\": 164,\n\t\"./ar-sa\": 165,\n\t\"./ar-sa.js\": 165,\n\t\"./ar-tn\": 166,\n\t\"./ar-tn.js\": 166,\n\t\"./ar.js\": 160,\n\t\"./az\": 167,\n\t\"./az.js\": 167,\n\t\"./be\": 168,\n\t\"./be.js\": 168,\n\t\"./bg\": 169,\n\t\"./bg.js\": 169,\n\t\"./bm\": 170,\n\t\"./bm.js\": 170,\n\t\"./bn\": 171,\n\t\"./bn.js\": 171,\n\t\"./bo\": 172,\n\t\"./bo.js\": 172,\n\t\"./br\": 173,\n\t\"./br.js\": 173,\n\t\"./bs\": 174,\n\t\"./bs.js\": 174,\n\t\"./ca\": 175,\n\t\"./ca.js\": 175,\n\t\"./cs\": 176,\n\t\"./cs.js\": 176,\n\t\"./cv\": 177,\n\t\"./cv.js\": 177,\n\t\"./cy\": 178,\n\t\"./cy.js\": 178,\n\t\"./da\": 179,\n\t\"./da.js\": 179,\n\t\"./de\": 180,\n\t\"./de-at\": 181,\n\t\"./de-at.js\": 181,\n\t\"./de-ch\": 182,\n\t\"./de-ch.js\": 182,\n\t\"./de.js\": 180,\n\t\"./dv\": 183,\n\t\"./dv.js\": 183,\n\t\"./el\": 184,\n\t\"./el.js\": 184,\n\t\"./en-au\": 185,\n\t\"./en-au.js\": 185,\n\t\"./en-ca\": 186,\n\t\"./en-ca.js\": 186,\n\t\"./en-gb\": 187,\n\t\"./en-gb.js\": 187,\n\t\"./en-ie\": 188,\n\t\"./en-ie.js\": 188,\n\t\"./en-il\": 189,\n\t\"./en-il.js\": 189,\n\t\"./en-in\": 190,\n\t\"./en-in.js\": 190,\n\t\"./en-nz\": 191,\n\t\"./en-nz.js\": 191,\n\t\"./en-sg\": 192,\n\t\"./en-sg.js\": 192,\n\t\"./eo\": 193,\n\t\"./eo.js\": 193,\n\t\"./es\": 194,\n\t\"./es-do\": 195,\n\t\"./es-do.js\": 195,\n\t\"./es-us\": 196,\n\t\"./es-us.js\": 196,\n\t\"./es.js\": 194,\n\t\"./et\": 197,\n\t\"./et.js\": 197,\n\t\"./eu\": 198,\n\t\"./eu.js\": 198,\n\t\"./fa\": 199,\n\t\"./fa.js\": 199,\n\t\"./fi\": 200,\n\t\"./fi.js\": 200,\n\t\"./fil\": 201,\n\t\"./fil.js\": 201,\n\t\"./fo\": 202,\n\t\"./fo.js\": 202,\n\t\"./fr\": 203,\n\t\"./fr-ca\": 204,\n\t\"./fr-ca.js\": 204,\n\t\"./fr-ch\": 205,\n\t\"./fr-ch.js\": 205,\n\t\"./fr.js\": 203,\n\t\"./fy\": 206,\n\t\"./fy.js\": 206,\n\t\"./ga\": 207,\n\t\"./ga.js\": 207,\n\t\"./gd\": 208,\n\t\"./gd.js\": 208,\n\t\"./gl\": 209,\n\t\"./gl.js\": 209,\n\t\"./gom-deva\": 210,\n\t\"./gom-deva.js\": 210,\n\t\"./gom-latn\": 211,\n\t\"./gom-latn.js\": 211,\n\t\"./gu\": 212,\n\t\"./gu.js\": 212,\n\t\"./he\": 213,\n\t\"./he.js\": 213,\n\t\"./hi\": 214,\n\t\"./hi.js\": 214,\n\t\"./hr\": 215,\n\t\"./hr.js\": 215,\n\t\"./hu\": 216,\n\t\"./hu.js\": 216,\n\t\"./hy-am\": 217,\n\t\"./hy-am.js\": 217,\n\t\"./id\": 218,\n\t\"./id.js\": 218,\n\t\"./is\": 219,\n\t\"./is.js\": 219,\n\t\"./it\": 220,\n\t\"./it-ch\": 221,\n\t\"./it-ch.js\": 221,\n\t\"./it.js\": 220,\n\t\"./ja\": 222,\n\t\"./ja.js\": 222,\n\t\"./jv\": 223,\n\t\"./jv.js\": 223,\n\t\"./ka\": 224,\n\t\"./ka.js\": 224,\n\t\"./kk\": 225,\n\t\"./kk.js\": 225,\n\t\"./km\": 226,\n\t\"./km.js\": 226,\n\t\"./kn\": 227,\n\t\"./kn.js\": 227,\n\t\"./ko\": 228,\n\t\"./ko.js\": 228,\n\t\"./ku\": 229,\n\t\"./ku.js\": 229,\n\t\"./ky\": 230,\n\t\"./ky.js\": 230,\n\t\"./lb\": 231,\n\t\"./lb.js\": 231,\n\t\"./lo\": 232,\n\t\"./lo.js\": 232,\n\t\"./lt\": 233,\n\t\"./lt.js\": 233,\n\t\"./lv\": 234,\n\t\"./lv.js\": 234,\n\t\"./me\": 235,\n\t\"./me.js\": 235,\n\t\"./mi\": 236,\n\t\"./mi.js\": 236,\n\t\"./mk\": 237,\n\t\"./mk.js\": 237,\n\t\"./ml\": 238,\n\t\"./ml.js\": 238,\n\t\"./mn\": 239,\n\t\"./mn.js\": 239,\n\t\"./mr\": 240,\n\t\"./mr.js\": 240,\n\t\"./ms\": 241,\n\t\"./ms-my\": 242,\n\t\"./ms-my.js\": 242,\n\t\"./ms.js\": 241,\n\t\"./mt\": 243,\n\t\"./mt.js\": 243,\n\t\"./my\": 244,\n\t\"./my.js\": 244,\n\t\"./nb\": 245,\n\t\"./nb.js\": 245,\n\t\"./ne\": 246,\n\t\"./ne.js\": 246,\n\t\"./nl\": 247,\n\t\"./nl-be\": 248,\n\t\"./nl-be.js\": 248,\n\t\"./nl.js\": 247,\n\t\"./nn\": 249,\n\t\"./nn.js\": 249,\n\t\"./oc-lnc\": 250,\n\t\"./oc-lnc.js\": 250,\n\t\"./pa-in\": 251,\n\t\"./pa-in.js\": 251,\n\t\"./pl\": 252,\n\t\"./pl.js\": 252,\n\t\"./pt\": 253,\n\t\"./pt-br\": 254,\n\t\"./pt-br.js\": 254,\n\t\"./pt.js\": 253,\n\t\"./ro\": 255,\n\t\"./ro.js\": 255,\n\t\"./ru\": 256,\n\t\"./ru.js\": 256,\n\t\"./sd\": 257,\n\t\"./sd.js\": 257,\n\t\"./se\": 258,\n\t\"./se.js\": 258,\n\t\"./si\": 259,\n\t\"./si.js\": 259,\n\t\"./sk\": 260,\n\t\"./sk.js\": 260,\n\t\"./sl\": 261,\n\t\"./sl.js\": 261,\n\t\"./sq\": 262,\n\t\"./sq.js\": 262,\n\t\"./sr\": 263,\n\t\"./sr-cyrl\": 264,\n\t\"./sr-cyrl.js\": 264,\n\t\"./sr.js\": 263,\n\t\"./ss\": 265,\n\t\"./ss.js\": 265,\n\t\"./sv\": 266,\n\t\"./sv.js\": 266,\n\t\"./sw\": 267,\n\t\"./sw.js\": 267,\n\t\"./ta\": 268,\n\t\"./ta.js\": 268,\n\t\"./te\": 269,\n\t\"./te.js\": 269,\n\t\"./tet\": 270,\n\t\"./tet.js\": 270,\n\t\"./tg\": 271,\n\t\"./tg.js\": 271,\n\t\"./th\": 272,\n\t\"./th.js\": 272,\n\t\"./tk\": 273,\n\t\"./tk.js\": 273,\n\t\"./tl-ph\": 274,\n\t\"./tl-ph.js\": 274,\n\t\"./tlh\": 275,\n\t\"./tlh.js\": 275,\n\t\"./tr\": 276,\n\t\"./tr.js\": 276,\n\t\"./tzl\": 277,\n\t\"./tzl.js\": 277,\n\t\"./tzm\": 278,\n\t\"./tzm-latn\": 279,\n\t\"./tzm-latn.js\": 279,\n\t\"./tzm.js\": 278,\n\t\"./ug-cn\": 280,\n\t\"./ug-cn.js\": 280,\n\t\"./uk\": 281,\n\t\"./uk.js\": 281,\n\t\"./ur\": 282,\n\t\"./ur.js\": 282,\n\t\"./uz\": 283,\n\t\"./uz-latn\": 284,\n\t\"./uz-latn.js\": 284,\n\t\"./uz.js\": 283,\n\t\"./vi\": 285,\n\t\"./vi.js\": 285,\n\t\"./x-pseudo\": 286,\n\t\"./x-pseudo.js\": 286,\n\t\"./yo\": 287,\n\t\"./yo.js\": 287,\n\t\"./zh-cn\": 288,\n\t\"./zh-cn.js\": 288,\n\t\"./zh-hk\": 289,\n\t\"./zh-hk.js\": 289,\n\t\"./zh-mo\": 290,\n\t\"./zh-mo.js\": 290,\n\t\"./zh-tw\": 291,\n\t\"./zh-tw.js\": 291\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 362;","module.exports = __webpack_public_path__ + \"images/hooray.e4b7eea9a84ba1d38ce2.png\";","module.exports = __webpack_public_path__ + \"images/standaard-icon-90x60.0e5e0ec6904aa35363a5.png\";","module.exports = __webpack_public_path__ + \"images/standaard-logo-220x60.8edfbc198da7e5f8a571.png\";","module.exports = __webpack_public_path__ + \"images/standaard-workslip-220x60.8edfbc198da7e5f8a571.png\";","module.exports = __webpack_public_path__ + \"images/vanmeeuwen-workslip-220x60.63216b16d54bcccd25b4.png\";","module.exports = __webpack_public_path__ + \"images/thumb-up.07da2400d61dae6b88ac.png\";","module.exports = __webpack_public_path__ + \"images/thumb-down.66afbe46f77148c88858.png\";","module.exports = __webpack_public_path__ + \"images/laugh.f6e9051b97cbede6180e.png\";","module.exports = __webpack_public_path__ + \"images/hooray.164afb0d18ffc4d7055b.png\";","module.exports = __webpack_public_path__ + \"images/confused.1b3cb69d0cc9cd3ad489.png\";","module.exports = __webpack_public_path__ + \"images/heart.0162ff3d9c27bb1a1d92.png\";","module.exports = __webpack_public_path__ + \"images/rocket.5a5f436de3f2cb112bef.png\";","module.exports = __webpack_public_path__ + \"images/eyes.c40846e0dd7c828f8846.png\";","module.exports = __webpack_public_path__ + \"images/resource-60x60-mind.b69b54c534220ef1c726.png\";","/**\n * @file Enumerator used to describe the sort direction of a SortDescriptor.\n * @author Tom Verschoore de la Houssaije\n */\nexport var SortDirection;\n(function (SortDirection) {\n /** None meaning no sorting */\n SortDirection[SortDirection[\"None\"] = 0] = \"None\";\n /** Use to sort descending */\n SortDirection[SortDirection[\"Descending\"] = 1] = \"Descending\";\n /** Use to sort ascending */\n SortDirection[SortDirection[\"Ascending\"] = 2] = \"Ascending\";\n})(SortDirection || (SortDirection = {}));\n","import * as tslib_1 from \"tslib\";\nimport { HttpClient } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nvar SettingsService = /** @class */ (function () {\n /**\n * Creates an instance of SettingsService.\n * @param {HttpClient} httpClient\n * @memberof SettingsService\n */\n function SettingsService(httpClient) {\n this.httpClient = httpClient;\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n SettingsService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.loadSettings()];\n case 1:\n _a.sent();\n this.checkIntegrity();\n return [2 /*return*/];\n }\n });\n });\n };\n SettingsService.prototype.loadSettings = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = this;\n return [4 /*yield*/, this.httpClient.get('settings/settings.json').toPromise()];\n case 1:\n _a.settings = (_b.sent());\n return [2 /*return*/];\n }\n });\n });\n };\n SettingsService.prototype.checkIntegrity = function () {\n // Test if there are duplicate domain names in the settings\n if (this.hasDuplicates(this.settings.frontend.domains.map(function (domain) { return domain.name; }))) {\n console.warn('Duplicate domain name(s) in settings');\n }\n // Test if there are duplicate domain uris in the settings\n if (this.hasDuplicates(this.settings.frontend.domains.map(function (domain) { return domain.uri; }))) {\n console.warn('Duplicate domain uri(s) in settings');\n }\n };\n SettingsService.prototype.hasDuplicates = function (items) {\n return items.length !== items.filter(function (item, index) { return items.indexOf(item) === index; }).length;\n };\n SettingsService.ngInjectableDef = i0.defineInjectable({ factory: function SettingsService_Factory() { return new SettingsService(i0.inject(i1.HttpClient)); }, token: SettingsService, providedIn: \"root\" });\n return SettingsService;\n}());\nexport { SettingsService };\n","/**\n * @file Default subscribe and unsubscribe functionality\n * @author Heino Lenting\n */\n/**\n * Default subscribe and unsubscribe functionality\n */\nvar SubscriptionPool = /** @class */ (function () {\n /**\n * Constructs a subscriber\n */\n function SubscriptionPool() {\n /** The actual subscription pool */\n this.subscriptions = []; // { [s: string]: ISubscription; } = {};\n }\n SubscriptionPool.prototype.countSubscriptions = function () {\n return this.subscriptions.length;\n };\n /**\n * Add a subscription to the pool\n * @param key The key of the subscription\n * @param subscription The subscription\n */\n SubscriptionPool.prototype.add = function (subscription) {\n this.subscriptions.push(subscription);\n // If the subscription already exist give a warning and stop\n // if (this.subscriptions[key]) {\n // console.warn('A subscription with key \"'\n // + key\n // + '\" already exists. Please re-use existing subscription or unsubscribe first? (Unsubscribing previous one) ');\n // this.unsubscribe(key);\n // }\n // // Check if subscription is given\n // if (!subscription) {\n // console.warn('No subscription is given for key \"' + key + '\"');\n // return;\n // }\n // // Add to subscriptions collection\n // this.subscriptions[key] = subscription;\n };\n /**\n * Get a subscription via key\n * * @param key The key of the subscription to get\n */\n // public get(key: string): ISubscription {\n // // If the subscription not exists give a warning\n // if (!this.subscriptions[key]) {\n // console.warn('A subscription with key \"' + key + '\" does not exist');\n // return undefined;\n // }\n // // Return the subscription\n // return this.subscriptions[key];\n // }\n /**\n * Unsubscripe given subscription via key\n * @param key The key of the subscription to unsubscribe\n */\n // public unsubscribe(key: string) {\n // // If subscription exits unsubscribe!\n // if (this.subscriptions[key]) {\n // this.subscriptions[key].unsubscribe();\n // // Delete the subscription\n // delete this.subscriptions[key];\n // }\n // }\n /**\n * Unsubscripe all known subscriptions\n */\n SubscriptionPool.prototype.unsubscribeAll = function () {\n this.subscriptions.forEach(function (subscription) {\n subscription.unsubscribe();\n });\n // // Run through subscription\n // Object.keys(this.subscriptions).forEach(key => {\n // this.subscriptions[key].unsubscribe();\n // });\n // // Make subscription pool empty\n // this.subscriptions = {};\n };\n return SubscriptionPool;\n}());\nexport { SubscriptionPool };\n","/**\n * @file Abstract base class.\n * @author Tom Verschoore de la Houssaije\n */\nimport { SubscriptionPool } from '../../core/helpers/subscription-pool';\n/**\n * Abstract base class.\n */\nvar AbstractBase = /** @class */ (function () {\n /**\n * Creates an instance of AbstractBase.\n * @memberOf AbstractBase\n */\n function AbstractBase() {\n /** Keep track of the subscriptions */\n this.subscriptionPool = new SubscriptionPool();\n }\n /**\n * Is called before the destruction of the component\n */\n AbstractBase.prototype.ngOnDestroy = function () {\n this.subscriptionPool.unsubscribeAll();\n };\n return AbstractBase;\n}());\nexport { AbstractBase };\n","/**\n * @file Service for initiating the authentication flow\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { SettingsService } from './settings.service';\nimport { OAuthService, OAuthErrorEvent } from 'angular-oauth2-oidc';\nimport { HttpClient, HttpParams } from '@angular/common/http';\nimport { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\nimport * as moment from 'moment';\nimport { AbstractBase } from './core/helpers/abstract-base';\nvar AuthenticationService = /** @class */ (function (_super) {\n tslib_1.__extends(AuthenticationService, _super);\n /**\n * Creates an instance of AuthenticationService.\n * @param {HttpClient} httpClient\n * @param {SettingsService} settingsService\n * @param {OAuthService} oAuthService\n * @memberof AuthenticationService\n */\n function AuthenticationService(httpClient, settingsService, oAuthService) {\n var _this = _super.call(this) || this;\n _this.httpClient = httpClient;\n _this.settingsService = settingsService;\n _this.oAuthService = oAuthService;\n _this.removeRefreshIframe = new EventEmitter();\n _this.debugMode = false;\n // Available events: https://github.com/manfredsteyer/angular-oauth2-oidc/blob/master/projects/lib/src/events.ts\n if (_this.debugMode === true) {\n _this.subscriptionPool.add(oAuthService.events.subscribe(function (event) {\n if (event instanceof OAuthErrorEvent) {\n console.error(event);\n }\n else {\n console.warn(event);\n }\n if (event.type === 'silent_refresh_timeout') {\n _this.removeRefreshIframe.emit(true);\n }\n }));\n }\n return _this;\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n AuthenticationService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.initialiseOAuthService()];\n case 1:\n _a.sent();\n return [4 /*yield*/, this.mustBeAuthenticated()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n AuthenticationService.prototype.initialiseOAuthService = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var oAuthServiceConfiguration, issuer, logoutUrl, customQueryParams, issuer, logoutUrl;\n return tslib_1.__generator(this, function (_a) {\n // Determine whether Auth0 is the Identity Provider.\n if (this.authenticationType() === 'auth0') {\n this.oAuthService.tokenValidationHandler = new JwksValidationHandler();\n }\n oAuthServiceConfiguration = {\n loginUrl: this.settingsService.settings.frontend.oauth.login_url,\n redirectUri: this.settingsService.settings.frontend.oauth.redirectUrl,\n silentRefreshRedirectUri: this.settingsService.settings.frontend.oauth.redirectUrl,\n clientId: this.settingsService.settings.frontend.oauth.clientId,\n resource: this.settingsService.settings.frontend.oauth.resource,\n scope: this.settingsService.settings.frontend.oauth.scopes,\n oidc: true\n };\n if (this.authenticationType() === 'auth0') {\n issuer = !this.settingsService.settings.frontend.oauth.issuer_url.endsWith('/') ? this.settingsService.settings.frontend.oauth.issuer_url + '/' : this.settingsService.settings.frontend.oauth.issuer_url;\n logoutUrl = this.settingsService.settings.frontend.oauth.logout_url + '?returnTo=' + this.settingsService.settings.frontend.oauth.redirectUrl + '&client_id=' + this.settingsService.settings.frontend.oauth.clientId;\n customQueryParams = {\n audience: this.settingsService.settings.frontend.oauth.audience\n };\n oAuthServiceConfiguration = tslib_1.__assign({}, oAuthServiceConfiguration, { issuer: issuer,\n logoutUrl: logoutUrl,\n customQueryParams: customQueryParams });\n }\n else {\n issuer = this.settingsService.settings.frontend.oauth.issuer_url;\n logoutUrl = this.settingsService.settings.frontend.oauth.logout_url;\n oAuthServiceConfiguration = tslib_1.__assign({}, oAuthServiceConfiguration, { issuer: issuer,\n logoutUrl: logoutUrl });\n }\n this.oAuthService.configure(oAuthServiceConfiguration);\n if (this.authenticationType() === 'openid' || this.authenticationType() === 'auth0') {\n this.oAuthService.setupAutomaticSilentRefresh();\n }\n return [2 /*return*/];\n });\n });\n };\n AuthenticationService.prototype.mustBeAuthenticated = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n if (this.oAuthService.hasValidIdToken() && this.oAuthService.hasValidAccessToken()) {\n return [2 /*return*/]; // alert('both id and access token are OK;');\n }\n return [2 /*return*/, new Promise(function (resolve, reject) {\n _this.login().then(function () {\n // Login failed and a redirect to authentication provicer is needed\n if (!_this.isAuthenticated()) {\n // Tell the user the application is redirecting for authentication (even before Angular is fully started)\n if (window['bootProgress']) {\n window['bootProgress']('Redirecting for authentication', 60);\n }\n // After a few seconds we continue to give an error that the redirect failed\n setTimeout(function () {\n console.log('delayed');\n reject(new Error('APP.AUTHENTICATION.REDIRECT-FAILED'));\n }, 10 * 1000); // 10 seconds\n }\n else {\n // Login is successfull and the application can continue\n resolve();\n }\n }).catch(function () {\n reject(new Error('APP.AUTHENTICATION.NOT-LOGGED-IN'));\n });\n })];\n });\n });\n };\n AuthenticationService.prototype.doSilentRefresh = function (forced) {\n if (forced === void 0) { forced = false; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!(forced || this.isAccessOrIdTokenExpired())) return [3 /*break*/, 2];\n return [4 /*yield*/, this.oAuthService.silentRefresh()];\n case 1:\n _a.sent();\n return [3 /*break*/, 3];\n case 2:\n if (this.debugMode) {\n console.warn('No need for a silent refresh.');\n }\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n });\n };\n AuthenticationService.prototype.login = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!(this.authenticationType() === 'auth0' && !this.oAuthService.jwks)) return [3 /*break*/, 2];\n return [4 /*yield*/, this.oAuthService.loadDiscoveryDocument()];\n case 1:\n _a.sent();\n _a.label = 2;\n case 2: return [4 /*yield*/, this.oAuthService.tryLogin({\n validationHandler: function (context) {\n if (_this.authenticationType() === 'openid') {\n return _this.getValidationUrl(context);\n }\n else {\n return Promise.resolve();\n }\n }\n })];\n case 3:\n _a.sent();\n if (this.isAccessOrIdTokenExpired()) {\n return [2 /*return*/, this.oAuthService.initImplicitFlow()];\n }\n return [2 /*return*/];\n }\n });\n });\n };\n AuthenticationService.prototype.logOut = function () {\n this.oAuthService.logOut();\n };\n AuthenticationService.prototype.authenticationType = function () {\n return this.settingsService.settings.frontend.oauth.authentication_type;\n };\n AuthenticationService.prototype.isAuthenticated = function () {\n return this.oAuthService.hasValidIdToken();\n };\n AuthenticationService.prototype.getValidationUrl = function (context) {\n var validationUrl = this.oAuthService.issuer + '/connect/identitytokenvalidation';\n var params = new HttpParams();\n params = params.set('token', context.idToken);\n params = params.set('client_id', this.oAuthService.clientId);\n return this.httpClient.get(validationUrl, { params: params }).toPromise();\n };\n AuthenticationService.prototype.getIdentityClaims = function () {\n return this.oAuthService.getIdentityClaims();\n };\n AuthenticationService.prototype.getAccessToken = function () {\n return this.oAuthService.getAccessToken();\n };\n AuthenticationService.prototype.getIdTokenExpiration = function () {\n return moment(this.oAuthService.getIdTokenExpiration());\n };\n AuthenticationService.prototype.getAccessTokenExpiration = function () {\n return moment(this.oAuthService.getAccessTokenExpiration());\n };\n AuthenticationService.prototype.silentRefreshIn = function () {\n var now = new Date();\n var expiration = (this.oAuthService.getIdTokenExpiration() < this.oAuthService.getAccessTokenExpiration()) ? this.oAuthService.getIdTokenExpiration() : this.oAuthService.getAccessTokenExpiration();\n return moment(expiration);\n };\n AuthenticationService.prototype.isAccessOrIdTokenExpired = function () {\n return !this.hasValidAccessToken() || !this.hasValidIdToken();\n };\n AuthenticationService.prototype.hasValidAccessToken = function () {\n return this.oAuthService.hasValidAccessToken();\n };\n AuthenticationService.prototype.hasValidIdToken = function () {\n return this.oAuthService.hasValidIdToken();\n };\n AuthenticationService.prototype.getSilentRefreshIFrameName = function () {\n return this.oAuthService.silentRefreshIFrameName;\n };\n return AuthenticationService;\n}(AbstractBase));\nexport { AuthenticationService };\n","/**\n * @file DataContext class is used when a detail overlay is created to support partial cancellation of the change set.\n * @author Tom Verschoore de la Houssaije\n */\n/**\n * DataContext class is used when a detail overlay is created to support partial cancellation of the change set.\n * @export\n * @class DataContext\n */\nvar DataContext = /** @class */ (function () {\n /**\n * Creates an instance of DataContext.\n * @param {EntityManager} entityManager The entity manager of the domain.\n */\n function DataContext(entityManager) {\n this.entityManager = entityManager;\n this.previousChanges = entityManager.getChanges();\n }\n /**\n * Rejects the changes of this data context.\n */\n DataContext.prototype.rejectChanges = function () {\n var _this = this;\n var currentChanges = this.entityManager.getChanges();\n var contextChanges = [];\n currentChanges.forEach(function (entity) {\n if (_this.previousChanges.find(function (item) { return entity === item; }) == null) {\n // Change not found in previous change set thus mine change.\n if (entity.entityAspect.isBeingSaved) {\n throw new Error('Can not reject changes of entity that is being saved.');\n }\n contextChanges.push(entity);\n }\n });\n contextChanges.forEach(function (entity) { return entity.entityAspect.rejectChanges(); });\n };\n return DataContext;\n}());\nexport { DataContext };\n","/**\n * @file The enumerator RepeatValidation is used as return value for the Repeat.validateWith method.\n * @author Tom Verschoore de la Houssaije\n */\n/** The enumerator RepeatValidation is used as return value for the Repeat.validateWith method. */\nexport var RepeatValidation;\n(function (RepeatValidation) {\n /** Match between start and repeat. */\n RepeatValidation[RepeatValidation[\"Ok\"] = 0] = \"Ok\";\n /** Day of week mismatch between start and repeat. */\n RepeatValidation[RepeatValidation[\"WeekDayMismatch\"] = 1] = \"WeekDayMismatch\";\n /** Occurrence of day of week within month mismatch between start and repeat. */\n RepeatValidation[RepeatValidation[\"OccurrenceOrderMismatch\"] = 2] = \"OccurrenceOrderMismatch\";\n /** Date mismatch between start and repeat. */\n RepeatValidation[RepeatValidation[\"DateMismatch\"] = 4] = \"DateMismatch\";\n /** Month mismatch between start and repeat. */\n RepeatValidation[RepeatValidation[\"MonthMismatch\"] = 8] = \"MonthMismatch\";\n /** UntilDate before Start */\n RepeatValidation[RepeatValidation[\"UntilDateBeforeStart\"] = 16] = \"UntilDateBeforeStart\";\n})(RepeatValidation || (RepeatValidation = {}));\n","/**\n * @file Base service that encapsulates the backend api by means of the breeze.js library.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { config, EntityState, EntityQuery, SaveOptions } from 'breeze-client';\nimport { AsyncSubject } from 'rxjs';\nimport { SortDirection } from './helpers/sort-direction';\nimport { DataContext } from './helpers/data-context';\nimport { AbstractBase } from '../core/helpers/abstract-base';\n/** Name of flag property on entity to mark entity as dirty. */\nexport var DIRTY_FLAG = '@dirty';\nexport var INVOKER_AFTER_SAVE = '@invokeAfterSave';\nexport var INVOKER_BEFORE_SAVE = '@invokeBeforeSave';\n/** Label to alert user of loading process. */\nexport var LOADING_ALERT = 'APP.DOMAIN.STILL_LOADING';\n/**\n * Encapsulation of breeze.js, this class manage communication with a backend.\n */\nvar BreezeService = /** @class */ (function (_super) {\n tslib_1.__extends(BreezeService, _super);\n /**\n * Constructs a DomainService.\n * @param alertsService The Alert service to communicate with user.\n * @memberOf BreezeService\n */\n function BreezeService(alertsService, translateService, entityManagerService) {\n var _this = _super.call(this) || this;\n _this.alertsService = alertsService;\n _this.translateService = translateService;\n _this.entityManagerService = entityManagerService;\n /**\n * An array with DataContext obects.\n * @private\n * @type {DataContext[]}\n */\n _this.dataContextSet = [];\n /**\n * Counter of loading requests in process.\n * @private\n * @memberOf BreezeService\n */\n _this._isLoading = 0;\n /**\n * Fired when the breeze service is done executing a commit.\n * @memberOf BreezeService\n */\n _this.commitFinishedEvent = new EventEmitter();\n /**\n * Fired when the breeze service is done executing a query.\n * @memberOf BreezeService\n */\n _this.queryFinishedEvent = new EventEmitter();\n /**\n * @private\n * @type {string}\n * @memberOf BreezeService\n */\n _this._dataUri = null;\n /**\n * Is used when EntityManager is not loaded yet.\n * @memberOf BreezeService\n */\n _this.loading = null;\n /**\n * Is used to solve concurrent saves.\n * @memberOf BreezeService\n */\n _this._savingInProgress = null;\n _this.loading = new AsyncSubject();\n return _this;\n }\n Object.defineProperty(BreezeService.prototype, \"isLoading\", {\n /**\n * Gets wether or not there a request is currently loading.\n * @readonly\n * @type {boolean}\n * @memberOf BreezeService\n */\n get: function () {\n return this._isLoading > 0;\n },\n enumerable: true,\n configurable: true\n });\n /** Gets the dynamic query parameter.\n * @param options The configured query options.\n * @param dynamicParameters The parameter values.\n * @memberOf BreezeService\n */\n BreezeService.getDynamicParams = function (options, dynamicParameters) {\n if (options.parameters) {\n var VALUE_PROPERTY_1 = 'valueProperty';\n Object.keys(options.parameters).forEach(function (paramName) {\n var value = options.parameters[paramName];\n if (typeof value === 'object' && value[VALUE_PROPERTY_1]) {\n value.parameter = paramName;\n dynamicParameters.push(value);\n }\n });\n }\n };\n /**\n * Call this method to invoke a remote/backend method on the entity.\n * The remote method will be invoked when changes are saved.\n * @static\n * @param {Entity} entity The entity with the remote method.\n * @param {string} name The name of the remote method.\n * @param {[]} parameters An array of parameter values. An ampty array is allowed.\n * @param {boolean} [afterSave=false] Indicating whether or not the method is invoked after properties changes are committed or before.\n * @see Example: Deployment.Plan()\n * @memberOf BreezeService\n */\n BreezeService.invokeMethod = function (entity, name, parameters, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n var result = new EventEmitter();\n if (BreezeService.invoke(result, entity, name, parameters, afterSave)) {\n window.setTimeout(function () {\n result.emit(entity);\n }, 250);\n return result;\n }\n return result;\n };\n /**\n * Is used to invoke a remote/backend method on the entity.\n * We need this method to wait on a previous invocation.\n * @private\n * @static\n * @param {EventEmitter} process We wait on.\n * @param {Entity} entity The entity concerned.\n * @param {string} name The name of the method.\n * @param {any[]} parameters The parameters of the method.\n * @param {boolean} [afterSave=false] If we want to invoke after committing other changes.\n * @returns {Boolean} True when we do not have to wait for previous invocation.\n * @memberOf BreezeService\n * */\n BreezeService.invoke = function (process, entity, name, parameters, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n var beforeOrAfter = INVOKER_BEFORE_SAVE;\n if (afterSave) {\n beforeOrAfter = INVOKER_AFTER_SAVE;\n }\n var params = parameters;\n if (!params) {\n params = [];\n }\n var method = { 'parameters': params };\n var invokeMethods = entity[beforeOrAfter];\n if (invokeMethods == null) {\n invokeMethods = {};\n invokeMethods[name] = method;\n entity[beforeOrAfter] = invokeMethods;\n if (!entity.entityAspect.entityState.isAddedModifiedOrDeleted()) {\n entity.entityAspect.setModified();\n }\n return true;\n }\n else if (invokeMethods[name] == null) {\n invokeMethods[name] = method;\n if (!entity.entityAspect.entityState.isAddedModifiedOrDeleted()) {\n entity.entityAspect.setModified();\n }\n return true;\n }\n var test = invokeMethods[name]['parameters'];\n if (parameters) {\n if (test.length === parameters.length && parameters.filter(function (value, index) { return test[index] !== value; }).length === 0) {\n // Geen verschil gevonden. Dus te snel achter elkaar aangeroepen.\n return true;\n }\n }\n else if (test.length === 0) {\n // Geen verschil gevonden. Dus te snel achter elkaar aangeroepen.\n return true;\n }\n var subscription = invokeMethods[name]['process'].subscribe(function (value) {\n subscription.unsubscribe();\n BreezeService.invoke(process, entity, name, parameters, afterSave);\n });\n method['process'] = process;\n return false;\n };\n /** Sets the dynamic query parameter.\n * @param options The requested query options.\n * @param dynamicParameters The parameter values.\n * @param component The component has query properties as its own properties.\n * @return True when a dynamic parameter value has changed.\n * @memberOf BreezeService\n */\n BreezeService.setDynamicParams = function (options, dynamicParameters, component) {\n var changed = false;\n dynamicParameters.forEach(function (item) {\n var previous = options.parameters[item.parameter];\n var path = item.valueProperty.split('.');\n var value = component;\n while (path.length > 0 && value) {\n value = value[path.shift()];\n }\n if (value == null) {\n options.parameters[item.parameter] = '';\n changed = true;\n return;\n }\n if (value != null && previous !== value) {\n options.parameters[item.parameter] = value;\n changed = true;\n return;\n }\n });\n return changed;\n };\n Object.defineProperty(BreezeService.prototype, \"savingInProgress\", {\n /**\n * Gets, when buzy, the saving in progress otherwise returns null.\n * @readonly\n * @type {Observable}\n * @memberOf BreezeService\n */\n get: function () {\n return this._savingInProgress;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Get the value of a entity according the specified path.\n * @param path Point separated property path.\n * @param entity The entity.\n * @memberOf BreezeService\n */\n BreezeService.valueOf = function (path, entity) {\n if (!entity) {\n return undefined;\n }\n var result = entity;\n var segments = path.split('.');\n segments.find(function (segment) {\n result = result[segment];\n return !result;\n });\n return result;\n };\n /**\n * Configures the ajax communication of breeze for angular.\n * @param oauthService The OAuth authentication service.\n * @memberOf BreezeService\n */\n BreezeService.adapterSetup = function (translateService, alertsService) {\n // TODO: For performance consider using: oauthService.tryLogin({ onTokenReceived: context => { /* Set Bearer Token */}})\n // see: https://github.com/manfredsteyer/angular2-oauth2\n // see also: AppComponent\n var adapter = config.getAdapterInstance('ajax', 'angular');\n adapter.requestInterceptor = function (requestInfo) {\n var errorHandler = requestInfo.error;\n requestInfo.error = function (response) {\n var errors = null;\n var error = null;\n try {\n error = JSON.parse(response.error);\n errors = error['EntityErrors'];\n }\n catch (_a) {\n // Did zou niet kunnen voorkomen zie: ErrorInterceptor\n throw new Error(response.error);\n }\n if (errors && errors.length > 0) {\n errorHandler(response);\n return;\n }\n if (error) {\n var label_1 = error['label'];\n if (label_1) {\n translateService.get(label_1).subscribe(function (value) {\n var message = error['message'];\n if (value !== label_1) {\n // If we have a translation\n alertsService.createAlert('danger', value, message);\n }\n else {\n // We don't have a translation, use a fallback (#3522)\n alertsService.createAlert('danger', 'APP.CORE.GENERAL_SERVER_ERROR', error['Message'] || error);\n }\n }).unsubscribe();\n }\n else {\n // We don't have a translation, use a fallback (#3522)\n alertsService.createAlert('danger', 'APP.CORE.GENERAL_SERVER_ERROR', error['Message'] || error);\n }\n }\n errorHandler(response);\n };\n };\n };\n /**\n * Sets the entity manager and metadata.\n * @param {string} domain The name of the domain.\n * @memberOf BreezeService\n */\n BreezeService.prototype.initialize = function (domain) {\n this.entityManager = this.entityManagerService.managers[domain];\n this.metadataStore = this.entityManagerService.metadatas[domain];\n };\n /**\n * Adds a new data context and makes it the current data context.\n */\n BreezeService.prototype.nextDataContext = function () {\n if (!this.entityManager) {\n return;\n }\n this.dataContextSet.push(new DataContext(this.entityManager));\n };\n /**\n * Removes the current data context.\n */\n BreezeService.prototype.previousDataContext = function () {\n this.dataContextSet.pop();\n };\n /**\n *\n * @param {string} method\n * @returns {string}\n * @memberOf BreezeService\n */\n BreezeService.prototype.uriForMethod = function (method) {\n return this._dataUri + method;\n };\n /**\n * Registers an entity data source of a DataComponent.\n * @param entityType Name of entity type.\n * @param component The DataComponent.\n * @memberOf BreezeService\n */\n BreezeService.prototype.registerSource = function (entityType, component) {\n var resultType = this.getEntityType(entityType);\n component.entityType = resultType;\n return component;\n };\n /**\n * Registers an entity data source of a DataComponent and loads the associated data source with entities.\n * @param entityType Name of the entity type.\n * @param component The DataComponent.\n * @param dataSource The data source to load and fill.\n * @param loadData Indicates whether the data set should be loaded consequently. (#1820 and #1710)\n * @memberOf BreezeService\n */\n BreezeService.prototype.registerAndLoadSource = function (entityType, component, dataSource) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var completer, registered;\n return tslib_1.__generator(this, function (_a) {\n completer = new AsyncSubject();\n registered = this.registerSource(entityType, component);\n this.loadDataSet(this.entityManager, completer, registered, dataSource);\n return [2 /*return*/, completer.toPromise()];\n });\n });\n };\n /**\n * Converts EntityError array into string array so one can display the information.\n * @param {EntityError[]} errors The array to convert.\n * @returns {string[]} The string array\n * @memberOf BreezeService\n */\n BreezeService.prototype.entityErrorInfo = function (errors) {\n if (!errors) {\n return undefined;\n }\n var result = [];\n errors.forEach(function (item) {\n var info = 'Error: ' + item.errorMessage ? item.errorMessage : item.errorName +\n ' ' + item.entity.entityType.shortName + '.' + item.propertyName;\n result.push(info);\n });\n return result;\n };\n /**\n * Sets default values for every newly created entity (just after creation).\n * Specially for standard entity types.\n * @param item The entity to update.\n * @memberOf BreezeService\n */\n BreezeService.prototype.setDefaultValues = function (user, item) {\n item.entityType.dataProperties.forEach(function (property) {\n if (property.dataType.isDate) {\n // To begin with a valid date value.\n item[property.name] = new Date();\n // Set seconds and milliseconds to zero, otherwise this will trigger an unwanted\n // propertyChanged event on the entity later on, that sets the DIRTY_FLAG. See issue #980.\n item[property.name].setSeconds(0, 0);\n }\n });\n };\n /**\n * Creates a copy of an entity.\n * @param item The entity to copy.\n * @returns The copy.\n * @memberOf BreezeService\n */\n BreezeService.prototype.copy = function (item, deep) {\n if (deep === void 0) { deep = true; }\n if (!item) {\n return null;\n }\n var values = {};\n item.entityType.dataProperties.forEach(function (property) {\n if (!property.isPartOfKey) {\n if (!property.relatedNavigationProperty) {\n values[property.name] = item[property.name];\n }\n else if (!property.isNullable) {\n // Required relation\n values[property.name] = item[property.name];\n }\n }\n });\n var result = item.entityType.createEntity(values);\n this.addEntity(result);\n return result;\n };\n /**\n * Prepares an entity for deletion. Sets the delete flag and decouples relations.\n * @param item The entity to prepare for deletion.\n * @memberOf BreezeService\n */\n BreezeService.prototype.setDeleted = function (item) {\n if (!item ||\n !item.entityAspect ||\n item.entityAspect.entityState === EntityState.Detached ||\n item.entityAspect.entityState === EntityState.Deleted) {\n return;\n }\n // Making automatic cascading delete possible for required associations\n item.entityType.navigationProperties.forEach(function (navigation) {\n if (!navigation.isScalar && navigation.inverse !== null) {\n var collection = item[navigation.name];\n var j = collection.length;\n if (navigation.inverse.relatedDataProperties[0].isNullable) {\n /// Optional relation\n while (j > 0) {\n j -= 1;\n collection.splice(j, 1);\n }\n }\n else {\n //// Required relation\n while (j > 0) {\n j -= 1;\n collection[j].entityAspect.setDetached();\n collection.splice(j, 1);\n }\n }\n }\n });\n item.entityAspect.setDeleted();\n };\n /**\n * Gets an entity by key.\n * @param entityType The entity type to look for.\n * @param key The entity key to match.\n * @param checkLocalCacheFirst Whether to look in the local cache first. Default value is true.\n * @returns An AsyncSubject object to retrieve the requested entity.\n * @memberOf BreezeService\n */\n BreezeService.prototype.getEntityByKey = function (entityType, key, checkLocalCacheFirst, expand) {\n var _this = this;\n if (checkLocalCacheFirst === void 0) { checkLocalCacheFirst = true; }\n var result = new AsyncSubject();\n this.entityManager.fetchEntityByKey(entityType.name, key, checkLocalCacheFirst).then(function (value) {\n result.next(value.entity);\n result.complete();\n if (expand && value.entity != null) {\n var paths = expand.split(',');\n paths.forEach(function (path) {\n _this.expandWith(value.entity, path, checkLocalCacheFirst);\n });\n }\n }).catch(function (reason) {\n result.error(reason);\n console.warn('Error BreezeService.getEntityByKey for ' + entityType.shortName);\n if (reason && reason.message) {\n console.warn(reason.message);\n }\n });\n return result;\n };\n /**\n * Loads and expands the navigation properties of the given path.\n * @public\n * @param {Entity} entity The entity with the property.\n * @param {string} path The comma separated path to expand.\n * @param {boolean} [checkLocalCacheFirst=true] If true expands only when not loaded.\n * @memberOf BreezeService\n */\n BreezeService.prototype.expandWith = function (entity, path, checkLocalCacheFirst, callback) {\n var _this = this;\n if (checkLocalCacheFirst === void 0) { checkLocalCacheFirst = true; }\n if (callback === void 0) { callback = function () { }; }\n if (entity == null || entity.entityAspect.entityState.isAdded()) {\n callback();\n return;\n }\n var segments = path.trim().split('.');\n if (segments.length > 0) {\n var propName_1 = segments[0];\n segments.splice(0, 1);\n var property = entity.entityType.navigationProperties.find(function (prop) {\n return prop.name === propName_1;\n });\n if (property && property.isNavigationProperty) {\n if (checkLocalCacheFirst && entity.entityAspect.isNavigationPropertyLoaded(property)) {\n if (segments.length === 0) {\n callback();\n }\n else {\n var next_1 = '';\n segments.forEach(function (segment) { next_1 += '.' + segment; });\n next_1 = next_1.substring(1);\n if (property.isScalar) {\n this.expandWith(entity[property.name], next_1, checkLocalCacheFirst, callback);\n }\n else {\n var arr = entity[property.name];\n var count_1 = arr.length;\n arr.forEach(function (element) {\n _this.expandWith(element, next_1, checkLocalCacheFirst, function () {\n count_1--;\n if (count_1 <= 0) {\n callback();\n }\n });\n });\n }\n }\n return;\n }\n entity.entityAspect.loadNavigationProperty(property, function (response) {\n if (segments.length > 0) {\n var next_2 = '';\n segments.forEach(function (segment) { next_2 += '.' + segment; });\n next_2 = next_2.substring(1);\n response.results.forEach(function (item) {\n _this.expandWith(item, next_2, checkLocalCacheFirst, callback);\n });\n return;\n }\n callback();\n });\n return;\n }\n }\n callback();\n };\n /**\n * Adds an entity to the local cache of the EntityManager.\n * @param entity The entity to add. Normally a new created one.\n * @returns The added entity.\n * @memberOf BreezeService\n */\n BreezeService.prototype.addEntity = function (entity) {\n return this.entityManager.addEntity(entity);\n };\n /**\n * Gets the EntityType by name.\n * @param entityType The name of the entity.\n * @returns An AsyncSubject object to retrieve the requested EntityType.\n * @memberOf BreezeService\n */\n BreezeService.prototype.getEntityType = function (entityType) {\n var entity = this.entityManager.metadataStore.getEntityType(entityType, false);\n if (!entity.defaultResourceName) {\n entity.setProperties({\n defaultResourceName: entity.shortName + 'Items'\n });\n }\n return entity;\n };\n /**\n * Loads the requested entity data of a DataComponent.\n * @param component The DataComponent that is requesting the entity data.\n * @param items The target collection for the retrieved entities.\n * @returns The asynchronous processor of the data retrieval.\n * @memberOf BreezeService\n */\n BreezeService.prototype.getDataSet = function (component, items) {\n var _this = this;\n var completer = new AsyncSubject();\n if (this.entityManager !== null) {\n this.loadDataSet(this.entityManager, completer, component, items);\n return completer.toPromise();\n }\n this.subscriptionPool.add(this.loading.subscribe({\n next: function (manager) {\n _this.loadDataSet(manager, completer, component, items);\n },\n error: function (reason) {\n completer.error(reason);\n console.warn('Error getDataSet (' + component.entityType.shortName + '): ' + reason);\n }\n }));\n return completer.toPromise();\n };\n /**\n * Returns wether or not the entitymanager contains added entities to commit.\n * if no entityManager is defined, it will return false\n * @returns {boolean} True when there are added entities to commit.\n * @memberOf BreezeService\n */\n BreezeService.prototype.hasAdded = function () {\n if (this.entityManager) {\n if (this.entityManager.hasChanges()) {\n var changes = this.entityManager.getChanges();\n var added = changes.filter(function (item) { return item.entityAspect.entityState.isAdded(); });\n return added.length > 0;\n }\n else {\n return false;\n }\n }\n else {\n return false;\n }\n };\n /**\n * Returns wether or not the entitymanager contains changes.\n * If no entityManager is defined, it will return false.\n * @memberOf BreezeService\n */\n BreezeService.prototype.hasChanges = function (skipDeleted) {\n if (skipDeleted === void 0) { skipDeleted = false; }\n if (this.entityManager) {\n if (this.entityManager.hasChanges()) {\n var changes = this.entityManager.getChanges();\n // DO NOT ADD!: const added = changes.filter(item => item.entityAspect.entityState.isAdded());\n var deleted = skipDeleted ? [] : changes.filter(function (item) { return item.entityAspect.entityState.isDeleted(); });\n var modified = changes.filter(function (item) { return item.entityAspect.entityState.isModified(); });\n // Soms kan ie dirty worden en deleted teld maar 1 keer.\n var dirty = changes.filter(function (item) { return item[DIRTY_FLAG] === true\n && !item.entityAspect.entityState.isDeleted()\n && !item.entityAspect.entityState.isAdded(); });\n // An entity in isAdded state can NOT go in isModified state before the commit.\n // An entity in isAdded state can go in a \"Dirty === true\" state.\n // This is an important difference between Dirty and isModified state.\n /*\n console.log(\n 'Changes: DIRTY: ' + dirty.length +\n ' DELETED: ' + deleted.length +\n ' MODIFIED: ' + modified.length\n );\n */\n return (dirty.length > 0 || deleted.length > 0 || modified.length > 0);\n }\n else {\n return false;\n }\n }\n else {\n return false;\n }\n };\n /**\n * Gets the master entity of a navigation property from the local cache.\n * Sometimes breeze fails to link navigation properties.\n * This offers a work-around.\n * @param {Entity} entity The detail entity of the relation.\n * @param {string} propertyName The name of the navigation property.\n * @param {string} [masterType] The master type name. Sometimes needed for abstract navigation property types.\n * @returns {Entity} The found master otherwise null.\n * @memberOf BreezeService\n * */\n BreezeService.prototype.getNavigationPropertyLocally = function (entity, propertyName, masterType) {\n if (!entity) {\n return null;\n }\n var result = entity[propertyName];\n if (result) {\n return result;\n }\n var property = entity.entityType.getNavigationProperty(propertyName);\n if (!property) {\n return null;\n }\n if (property.foreignKeyNames.length !== 1) {\n return null;\n }\n var valueType = property.entityType;\n if (masterType) {\n try {\n valueType = entity.entityAspect.entityManager.metadataStore.getEntityType(masterType, false);\n }\n catch (error) {\n console.warn('Unknown entity type: ' + masterType);\n throw error;\n }\n }\n if (valueType.keyProperties.length !== 1) {\n return null;\n }\n var sourceName = valueType.defaultResourceName === '' || valueType.defaultResourceName == null ? valueType.shortName + 'Items' : valueType.defaultResourceName;\n var entityQuery = EntityQuery.from(sourceName).where(valueType.keyProperties[0].name, 'equals', entity[property.foreignKeyNames[0]]);\n var data = entity.entityAspect.entityManager.executeQueryLocally(entityQuery);\n if (data.length !== 1) {\n return null;\n }\n return data[0];\n };\n /**\n * Returns related entities of the main entity.\n * @param {Entity} entity Relations of this entity are returned.\n * @param {string} relationName The name of the entity type of the related entities.\n * @param {string} [navigationName] The navigation property name on the related entities that refers to the main entity.\n * @returns {Entity[]} An array of related entities.\n * @memberOf BreezeService\n */\n BreezeService.prototype.getRelationsLocally = function (entity, relationName, navigationName) {\n if (!entity) {\n return null;\n }\n var relationType = entity.entityAspect.entityManager.metadataStore.getEntityType(relationName, false);\n if (!relationType) {\n return null;\n }\n var navigationProperty = relationType.getNavigationProperty(navigationName || entity.entityType.shortName);\n if (!navigationProperty) {\n return null;\n }\n var sourceName = relationType.defaultResourceName === '' || relationType.defaultResourceName == null ? relationType.shortName + 'Items' : relationType.defaultResourceName;\n var entityQuery = EntityQuery.from(sourceName).where(navigationProperty.foreignKeyNames[0], 'equals', entity[entity.entityType.keyProperties[0].name]);\n var data = entity.entityAspect.entityManager.executeQueryLocally(entityQuery);\n return data;\n };\n /**\n * Rejects current changes, emptying the changeset and restoring entities to their previous state\n */\n BreezeService.prototype.rejectChanges = function () {\n if (!this.entityManager) {\n return;\n }\n if (this.dataContextSet.length === 0) {\n this.entityManager.rejectChanges();\n return;\n }\n var dataContext = this.dataContextSet[this.dataContextSet.length - 1];\n dataContext.rejectChanges();\n };\n /**\n * Sets default values for changed entities (just before saving).\n * Specially for standard entity types.\n * @param item The entity to update.\n * @memberOf BreezeService\n */\n BreezeService.prototype.setDefaultValuesBeforeSave = function (saveResult) {\n };\n /**\n * Save the entity changes currently known within the EntityManager\n * @param callback Callback function for communicating errors while saving.\n * @returns The asyncore processor of the data storing.\n * @memberOf BreezeService\n */\n BreezeService.prototype.saveChanges = function (callback, configuration, context) {\n var _this = this;\n if (callback === void 0) { callback = function (error) {\n console.warn('SaveChanges without callback is an anti-pattern');\n }; }\n if (configuration === void 0) { configuration = null; }\n if (context === void 0) { context = null; }\n var result = new AsyncSubject();\n this.validateBeforeSave(function (errors) {\n if (errors) {\n callback(errors);\n result.complete();\n return;\n }\n _this.setDefaultValuesBeforeSave(result);\n if (_this._savingInProgress) {\n _this.subscriptionPool.add(_this._savingInProgress\n .subscribe({\n complete: function () {\n _this.processChanges(result, callback, context);\n },\n error: function () {\n _this.processChanges(result, callback, context);\n }\n }));\n return result.asObservable();\n }\n _this.processChanges(result, callback, context);\n }, configuration);\n return result.asObservable();\n };\n /**\n * Translates and shows entity errors received in server response\n * @param {EntityError[]} errors The entity errors received from server\n * @param {EntityConfiguration} configuration The entity configuration\n * @returns {any[]} Validation errors\n */\n BreezeService.prototype.publishServerEntityErrors = function (errors, configuration) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var validationErrors, _loop_1, this_1, _i, errors_1, err, state_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n validationErrors = [];\n _loop_1 = function (err) {\n var entityType, propertyName, invalidLocationValue, fieldLabel, entityLabel, errorField, labels, translation, newEntityLabel, newFieldLabel, details, labelKey;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n entityType = err.entity.entityType.shortName.toUpperCase();\n propertyName = err.propertyName;\n if (!(entityType === 'LOCATION' && err.entity.entityAspect.entityState.isAdded() && propertyName === 'Name' && err.errorName === 'required')) return [3 /*break*/, 2];\n return [4 /*yield*/, this_1.translateService.get('APP.DOMAIN.VALIDATORS.INVALID_LOCATION_CREATED').toPromise()];\n case 1:\n invalidLocationValue = _a.sent();\n if (invalidLocationValue) {\n validationErrors.push(invalidLocationValue);\n this_1.alertsService.createAlert('warning', invalidLocationValue);\n }\n return [2 /*return*/, { value: void 0 }];\n case 2:\n fieldLabel = \"APP.MISC.\" + entityType + \".\" + propertyName.toUpperCase();\n entityLabel = \"APP.MISC.\" + entityType + \".#SINGULAR\";\n if (configuration) {\n errorField = configuration.fields.find(function (field) {\n return field.name === propertyName;\n });\n if (errorField) {\n fieldLabel = errorField.labelKey ? errorField.labelKey : fieldLabel;\n }\n }\n labels = fieldLabel ? [entityLabel, fieldLabel] : [entityLabel];\n return [4 /*yield*/, this_1.translateService.get(labels).toPromise()];\n case 3:\n translation = _a.sent();\n newEntityLabel = translation[entityLabel] === entityLabel ? err.entity.entityType.shortName : translation[entityLabel];\n newFieldLabel = translation[fieldLabel] === fieldLabel ? propertyName : translation[fieldLabel];\n details = [newEntityLabel, newFieldLabel];\n return [4 /*yield*/, this_1.translateService.get(err.errorName).toPromise()];\n case 4:\n labelKey = _a.sent();\n if (labelKey === err.errorName) {\n validationErrors.push(err.errorMessage ? err.errorMessage : \"Error \" + err.errorName + \" \" + err.entity.entityType.shortName + \".\" + propertyName);\n this_1.alertsService.createAlert('warning', err.errorMessage, details);\n }\n else {\n validationErrors.push(labelKey + \" (\" + newEntityLabel + \".\" + newFieldLabel + \")\");\n this_1.alertsService.createAlert('warning', labelKey, details);\n }\n return [2 /*return*/];\n }\n });\n };\n this_1 = this;\n _i = 0, errors_1 = errors;\n _a.label = 1;\n case 1:\n if (!(_i < errors_1.length)) return [3 /*break*/, 4];\n err = errors_1[_i];\n return [5 /*yield**/, _loop_1(err)];\n case 2:\n state_1 = _a.sent();\n if (typeof state_1 === \"object\")\n return [2 /*return*/, state_1.value];\n _a.label = 3;\n case 3:\n _i++;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/, validationErrors];\n }\n });\n });\n };\n /**\n * Virtual method to setup a new master detail relation.\n * @param masterType The entity type of the master.\n * @param masterOid The object identifier of the master.\n * @param detail The detail instance to setup the relation with.\n * @returns The entity that links the master with the detail.\n */\n BreezeService.prototype.setupMasterDetail = function (masterType, masterOid, detail) {\n return null;\n };\n /**\n * Virtual entity validation method.\n * @param {EntityConfiguration} configuration The configuration contains the entity fields.\n * @returns {Observable>} An array of validation errors.\n * @memberOf BreezeService\n */\n BreezeService.prototype.validateBeforeSave = function (callback, configuration) {\n callback();\n };\n /**\n * Builds the query defined by the DataComponent.\n * @param component The DataComponent\n * @returns The created EntityQuery\n */\n BreezeService.prototype.buildQuery = function (component) {\n var source = component.sourceName ? component.sourceName : component.entityType.defaultResourceName;\n var entityQuery = EntityQuery.from(source);\n if (component.queryOptions && component.queryOptions.parameters) {\n entityQuery = entityQuery.withParameters(component.queryOptions.parameters);\n }\n if (component.filter) {\n var predicate = component.filter.createPredicate(component.entityType);\n if (predicate !== null) {\n entityQuery = entityQuery.where(predicate);\n }\n }\n var sortList = [];\n component.sorting.forEach(function (item) {\n if (item.direction !== SortDirection.None) {\n sortList.push(item);\n }\n });\n if (sortList.length > 0) {\n sortList = sortList.sort(function (a, b) {\n return a.order - b.order;\n });\n var sort_1 = '';\n sortList.forEach(function (descriptor) {\n // Support sorting for multi field composed list columns.\n var fields = (descriptor.property + '').split(',');\n fields.map(function (field) { return field.trim(); }).forEach(function (field) {\n if (field.length > 0) {\n sort_1 += ',' + field;\n sort_1 += descriptor.direction === SortDirection.Descending ? ' desc' : '';\n }\n });\n });\n sort_1 = sort_1.substring(1);\n if (sort_1.length > 0) {\n entityQuery = entityQuery.orderBy(sort_1);\n }\n }\n if (!component.queryOptions) {\n return entityQuery;\n }\n if (component.queryOptions.expand) {\n entityQuery = entityQuery.expand(component.queryOptions.expand);\n }\n if (component.queryOptions.skip) {\n entityQuery = entityQuery.skip(component.queryOptions.skip);\n }\n if (component.queryOptions.take) {\n entityQuery = entityQuery.take(component.queryOptions.take);\n }\n if (component.queryOptions.take || component.queryOptions.skip) {\n entityQuery = entityQuery.inlineCount();\n }\n return entityQuery;\n };\n /**\n * Loads the requested entity data of a DataComponent.\n * @param manager The EntityManager.\n * @param completer Event handler for notification of a successful data retrieval.\n * @param component The DataComponent with the data request.\n * @param checklist The target collection for the retrieved entities.\n * @memberOf BreezeService\n */\n BreezeService.prototype.loadDataSet = function (manager, completer, component, items) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityQuery, waiting, data, waitAlert, reason_1, waitAlert, error_1;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this._isLoading++;\n _a.label = 1;\n case 1:\n _a.trys.push([1, 6, , 7]);\n entityQuery = this.buildQuery(component);\n waiting = window.setTimeout(function () {\n var waitAlert = _this.alertsService.alerts.find(function (alert) {\n return alert.labelKey === LOADING_ALERT;\n });\n if (waitAlert) {\n // Already a loading alert scheduled.\n return;\n }\n _this.alertsService.createAlert('info', LOADING_ALERT);\n waitAlert = _this.alertsService.alerts.find(function (alert) {\n return alert.labelKey === LOADING_ALERT;\n });\n _this.alertsService.stopAutoDelete(waitAlert.id);\n }, 5000);\n _a.label = 2;\n case 2:\n _a.trys.push([2, 4, , 5]);\n return [4 /*yield*/, manager.executeQuery(entityQuery)];\n case 3:\n data = _a.sent();\n window.clearTimeout(waiting);\n component.inlineCount = data.inlineCount;\n if (items) {\n items.length = 0;\n data.results.forEach(function (item) {\n items.push(item);\n });\n }\n if (items && !component.inlineCount) {\n component.inlineCount = items.length;\n }\n completer.next(data);\n completer.complete(); // To force notification to subscribers.\n this.queryFinishedEvent.emit(data);\n this._isLoading--;\n waitAlert = this.alertsService.alerts.find(function (alert) {\n return alert.labelKey === LOADING_ALERT;\n });\n if (waitAlert) {\n this.alertsService.deleteAlert(waitAlert.id);\n }\n return [3 /*break*/, 5];\n case 4:\n reason_1 = _a.sent();\n window.clearTimeout(waiting);\n waitAlert = this.alertsService.alerts.find(function (alert) {\n return alert.labelKey === LOADING_ALERT;\n });\n if (waitAlert) {\n this.alertsService.deleteAlert(waitAlert.id);\n }\n this._isLoading--;\n completer.error(reason_1);\n completer.complete(); // Was completer.error(reason); zie issue #1844\n return [3 /*break*/, 5];\n case 5: return [3 /*break*/, 7];\n case 6:\n error_1 = _a.sent();\n this._isLoading = 0;\n throw error_1;\n case 7: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Is called sequencial to avoid concurrent saves.\n * @param event The event that will process the changes.\n * @param callback The callback function to enable progress feedback.\n * @memberOf BreezeService\n */\n BreezeService.prototype.processChanges = function (event, callback, context) {\n var _this = this;\n if (this.entityManager === null) {\n callback('The domain service is not available');\n event.error(new Error('Domain service probably offline.'));\n return;\n }\n var self = this;\n this._savingInProgress = event;\n var invoked = {};\n invoked[INVOKER_AFTER_SAVE] = [];\n invoked[INVOKER_BEFORE_SAVE] = [];\n var invokeRemote = {};\n invokeRemote[INVOKER_AFTER_SAVE] = [];\n invokeRemote[INVOKER_BEFORE_SAVE] = [];\n var changes = this.entityManager.getChanges();\n changes.forEach(function (item) {\n var afterSave = item[INVOKER_AFTER_SAVE];\n if (afterSave) {\n var invoker_1 = {};\n Object.keys(afterSave).forEach(function (name) {\n invoker_1[name] = { parameters: afterSave[name]['parameters'] };\n });\n invokeRemote[INVOKER_AFTER_SAVE].push({\n 'entity': item.entityType.shortName,\n 'key': item.entityAspect.getKey().values[0],\n 'invoke': invoker_1\n });\n invoked[INVOKER_AFTER_SAVE].push(item);\n }\n var beforeSave = item[INVOKER_BEFORE_SAVE];\n if (beforeSave) {\n var invoker_2 = {};\n Object.keys(beforeSave).forEach(function (name) {\n invoker_2[name] = { parameters: beforeSave[name]['parameters'] };\n });\n invokeRemote[INVOKER_BEFORE_SAVE].push({\n 'entity': item.entityType.shortName,\n 'key': item.entityAspect.getKey().values[0],\n 'invoke': invoker_2\n });\n invoked[INVOKER_BEFORE_SAVE].push(item);\n }\n if (item.entityAspect.originalValues) {\n item.entityType.unmappedProperties.forEach(function (unmapped) {\n if (item.entityAspect.originalValues[unmapped.name] != null) {\n // To avoid error of issue #2156: Converting circular structure to JSON\n // See breeze.debug.js: proto.saveChanges = function (saveContext, saveBundle)\n // with code line: var bundle = JSON.stringify(saveBundle);\n delete item.entityAspect.originalValues[unmapped.name];\n }\n });\n }\n });\n var saveOptions = new SaveOptions();\n var invoking = invokeRemote[INVOKER_AFTER_SAVE].length > 0 || invokeRemote[INVOKER_BEFORE_SAVE].length > 0;\n if (context != null || invoking) {\n var options = {};\n if (invoking) {\n options = invokeRemote;\n }\n if (context != null) {\n options['@context'] = context;\n }\n saveOptions = new SaveOptions({ tag: options });\n }\n this.entityManager.saveChanges(null, saveOptions).then(function (value) {\n var actions = [];\n _this.clearInvocation(invoked, INVOKER_BEFORE_SAVE, actions);\n _this.clearInvocation(invoked, INVOKER_AFTER_SAVE, actions);\n callback();\n event.next(value);\n event.complete();\n self._savingInProgress = null;\n _this.commitFinishedEvent.emit(value);\n _this.completeInvocation(actions);\n }).catch(function (value) {\n var actions = [];\n _this.clearInvocation(invoked, INVOKER_BEFORE_SAVE, actions);\n _this.clearInvocation(invoked, INVOKER_AFTER_SAVE, actions);\n callback(value);\n event.complete();\n _this.completeInvocation(actions);\n if (_this.entityManager.hasChanges()) {\n // Fix: Onterechte 'Er zijn wijzigingen' overlay bij pogingen tot verwijderen van afwezigheden #2607\n var stillChanged = _this.entityManager.getChanges();\n if (stillChanged.find(function (it) { return !it.entityAspect.entityState.isDeleted(); }) == null) {\n // Alleen deleted in changeSet.\n // We kunnen er ook voor kiezen om heel de changeSet met deleted terug te rollen.\n // Ik kies er nu voor alleen dit te doen als het een delete entity error is.\n var errors = value.entityErrors;\n if (errors) {\n // Entity errors voor deleted terug rollen.\n errors.filter(function (it) { return it.entity.entityAspect.entityState.isDeleted(); }).forEach(function (it) {\n it.entity.entityAspect.rejectChanges();\n });\n }\n }\n }\n // To make error silent.\n self._savingInProgress = null;\n });\n };\n /**\n * Completes the invocation by singling the end.\n * @private\n * @param {Array} actions Array with actions to complete\n * @memberOf BreezeService\n */\n BreezeService.prototype.completeInvocation = function (actions) {\n actions.forEach(function (item) {\n var invoker = item['invoker'];\n Object.keys(invoker).forEach(function (name) {\n var process = invoker[name]['process'];\n if (process) {\n process.emit(item['entity']);\n }\n });\n });\n };\n /**\n * Clears invocation information from entity.\n * @private\n * @param {*} invoked Invoked entity.\n * @param {string} invokeType The ivoke type to clear.\n * @param {Array} result Resulting array with actions.\n * @memberOf BreezeService\n */\n BreezeService.prototype.clearInvocation = function (invoked, invokeType, result) {\n invoked[invokeType].forEach(function (item) {\n var invoker = item[invokeType];\n if (invoker) {\n result.push({ entity: item, invoker: invoker });\n delete item[invokeType];\n }\n });\n };\n /**\n * Emits the found entity type to a asyncore event.\n * @param entityType The short name of the entity type.\n * @param event The asyncore event to emit.\n * @memberOf BreezeService\n */\n BreezeService.prototype.emitEntityType = function (entityType, event) {\n try {\n var entity = this.entityManager.metadataStore.getEntityType(entityType, false);\n if (!entity.defaultResourceName) {\n entity.setProperties({\n defaultResourceName: entity.shortName + 'Items'\n });\n }\n event.next(entity);\n event.complete();\n }\n catch (reason) {\n event.error(reason);\n }\n };\n /**\n * Method to register entity validators to check property rules client side.\n * @param entityType Name of the entity\n * @param property Name of property that the validator validates\n * @param validator Function or array of functions that validates the property.\n * @memberOf DomainService\n */\n BreezeService.prototype.registerValidator = function (entityType, property, validator) {\n var _this = this;\n if (Array.isArray(validator)) {\n validator.forEach(function (item) {\n _this.registerValidator(entityType, property, item);\n });\n return;\n }\n var vldtr = validator;\n if (typeof vldtr === 'string') {\n vldtr = config.functionRegistry['Validator.' + vldtr]();\n }\n var type = this.getEntityType(entityType);\n type.getProperty(property, true).validators.push(vldtr);\n };\n return BreezeService;\n}(AbstractBase));\nexport { BreezeService };\n","/**\n * @file The Alerts service\n * @author Heino Lenting\n */\n/**\n * Class for the alerts service\n */\nvar AlertsService = /** @class */ (function () {\n function AlertsService() {\n this.alerts = [];\n this.lastId = 0;\n }\n /**\n * Create an alert and add to alerts queue\n * @param variant The alert variant (succes, info, warning, or danger)\n * @param labelKey The label key of the message\n * @param details Optional details or Error can be given\n */\n AlertsService.prototype.createAlert = function (variant, labelKey, details) {\n var _this = this;\n // Increase lastId\n this.lastId += 1;\n // Store new id\n var id = this.lastId;\n // If variant is warning or danger we want details! ;-)\n if (!details && (variant === 'warning' || variant === 'danger')) {\n console.warn('Alert of variant ' + variant + ' created without details (often an Error) is an anti-pattern');\n }\n // Create alert (+ timer for deleting after a few seconds)\n var alert = {\n 'id': id,\n 'variant': variant,\n 'labelKey': labelKey,\n 'details': details,\n 'open': false,\n 'timer': window.setTimeout(function () { _this.deleteAlert(id); }, 10000)\n };\n // Add to alerts\n this.alerts.unshift(alert);\n };\n /**\n * Stop de auto delete of a alert\n * @param id The id of the alert\n */\n AlertsService.prototype.stopAutoDelete = function (id) {\n var index = this.findIndex(id);\n if (index !== undefined) {\n // Clear existing timer\n clearTimeout(this.alerts[index].timer);\n }\n };\n /**\n * Start de auto delete of a alert\n * @param id The id of the alert\n * @param millisecons The time to wait before deleting the alert\n */\n AlertsService.prototype.startAutoDelete = function (id, milliseconds) {\n var self = this;\n var index = this.findIndex(id);\n if (index !== undefined) {\n // Create new timer\n this.alerts[index].timer = window.setTimeout(function () { self.deleteAlert(id); }, milliseconds);\n }\n };\n /**\n * Postpone the auto delete (used if user hovers the alert)\n * @param id The id of the alert\n */\n AlertsService.prototype.postponeDeleting = function (id) {\n this.stopAutoDelete(id);\n this.startAutoDelete(id, 60000);\n };\n /**\n * Delete the alert from the alerts queue\n * @param id The id of the alert\n */\n AlertsService.prototype.deleteAlert = function (id) {\n var index = this.findIndex(id);\n // Explicitly delete the timer\n this.stopAutoDelete(id);\n // Remove alert from alerts\n if (index !== undefined && this.alerts.length >= index) {\n this.alerts.splice(index, 1);\n }\n };\n /**\n * Get the alert for the alerts queue\n * @param id The id of the alert\n */\n AlertsService.prototype.getAlert = function (id) {\n var index = this.findIndex(id);\n if (index !== undefined) {\n return this.alerts[index];\n }\n return undefined;\n };\n /**\n * Translate an alert id to the position (index) in the queue\n * @param id The id of the alert\n * @returns The position in the queue\n */\n AlertsService.prototype.findIndex = function (id) {\n var index;\n // Find the alert based on id\n this.alerts.forEach(function (alert, i) {\n if (alert.id === id) {\n index = i;\n }\n });\n return index;\n };\n return AlertsService;\n}());\nexport { AlertsService };\n","/**\n * @file Data set to retrieve data without a component.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/** Data set to retrieve data without a component. */\nvar DataSet = /** @class */ (function (_super) {\n tslib_1.__extends(DataSet, _super);\n /**\n * Creates an instance of DataSet.\n * @param {BreezeService} [dataService] The breeze service.\n * @memberOf DataSet\n */\n function DataSet(dataService) {\n var _this = _super.call(this) || this;\n _this.dataService = dataService;\n /** The items retrieved. */\n _this.items = [];\n /** Sorting rules used to create the EntityQuery */\n _this.sorting = [];\n /** Gets Sets the total number of entities that complies to the the requested query. */\n _this.inlineCount = 0;\n /**\n * The event is triggered when a new data set is retrieved from the back-end.\n * @type {EventEmitter}\n * @memberOf DataSet\n */\n _this.onRefresh = new EventEmitter();\n return _this;\n }\n /**\n * Reloads the data set.\n * @returns {Promise} A promise for the query results.\n * @memberOf DataSet\n */\n DataSet.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.dataService) return [3 /*break*/, 2];\n return [4 /*yield*/, this.dataService.getDataSet(this, this.items)];\n case 1:\n result = _a.sent();\n this.onRefresh.emit(result);\n return [2 /*return*/, result];\n case 2: throw new Error('Refresh is not implemented for this DataSet.');\n }\n });\n });\n };\n /**\n * Loads the entities.\n * @param {string} entityName The name of the entity type.\n * @returns {Promise} A promise for the query results.\n * @memberOf DataSet\n */\n DataSet.prototype.load = function (entityName) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.dataService) return [3 /*break*/, 2];\n return [4 /*yield*/, this.dataService.registerAndLoadSource(entityName, this, this.items)];\n case 1:\n result = _a.sent();\n this.onRefresh.emit(result);\n return [2 /*return*/, result];\n case 2: throw new Error('Load is not implemented for this DataSet.');\n }\n });\n });\n };\n DataSet.prototype.register = function (entityName) {\n if (this.dataService) {\n this.entityType = this.dataService.getEntityType(entityName);\n return this;\n }\n throw new Error('Register is not implemented for this DataSet.');\n };\n /**\n * Adds the entity to the data set and data service.\n * @param {Entity} entity The entity to be added.\n * @memberOf DataSet\n */\n DataSet.prototype.add = function (entity) {\n this.dataService.addEntity(entity);\n this.items.push(entity);\n };\n /**\n * Removes the entity from the data set and marks it as deleted.\n * @param {Entity} entity The entity to be removed.\n * @memberOf DataSet\n */\n DataSet.prototype.remove = function (entity) {\n var index = this.items.indexOf(entity);\n if (index === -1) {\n console.warn('The entity was not part of this data set');\n }\n else {\n entity.entityAspect.setDeleted();\n this.items.splice(index, 1);\n }\n };\n return DataSet;\n}(AbstractBase));\nexport { DataSet };\n","/**\n * @file User entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport { BreezeService } from '../../core/breeze.service';\n/** User entity. */\nvar User = /** @class */ (function () {\n function User() {\n // WARNING: Do not define an id property. Use the PROPERTY_ID constant.\n /** Gets sets the user name (back end is pascal case) */\n this.Name = undefined;\n /** Gets sets the user language. */\n this.Language = undefined;\n /** Gets the OID of the attached Resource */\n this.Resource_Oid = undefined;\n /** Gets the attached Resource */\n this.resource = undefined;\n /** First name of the user */\n this.FirstName = undefined;\n /** Last name of the user */\n this.LastName = undefined;\n /** The HTML5 role for the user */\n this.HTML5Role = undefined;\n /** Gets the pictureUrl user. */\n this.pictureUrl = undefined;\n }\n Object.defineProperty(User.prototype, \"fullName\", {\n /**\n * Gets the full name of the user\n * @readonly\n * @type {string}\n */\n get: function () {\n if (this.FirstName && this.LastName) {\n return this.FirstName + \" \" + this.LastName;\n }\n return this.FirstName ? this.FirstName : this.LastName;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(User.prototype, \"Resource\", {\n /**\n * Gets the resource\n * @type {Entity}\n */\n get: function () {\n // This is needed to override breeze.js navigation property\n if (!this.resource && this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n return this.resource;\n },\n /**\n * Sets the resource\n */\n set: function (value) {\n this.resource = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Disables/Deactivates the user\n * @returns {string} The label is displayed in an alert once the action is done\n */\n User.prototype.disable = function () {\n BreezeService.invokeMethod(this, 'Disable', []);\n return 'APP.DOMAIN.USER_DISABLED';\n };\n /**\n * Enables/Activates the user\n * @returns {string} A label is displayed in an alert once the action is done\n */\n User.prototype.enable = function () {\n BreezeService.invokeMethod(this, 'Enable', []);\n return 'APP.DOMAIN.USER_ENABLED';\n };\n return User;\n}());\nexport { User };\n","/**\n * The Symagic Server Repeat entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as moment from 'moment';\nimport { RepeatValidation } from './repeat-validation';\n/**\n * The Symagic Server Repeat entity.\n */\nvar Repeat = /** @class */ (function () {\n function Repeat() {\n }\n Object.defineProperty(Repeat.prototype, \"UntilDate\", {\n /**\n * Gets the end date of the repeat cycle is equivalent to cycles.\n * An until date of 9999/12/31 is regarded as infinitely large.\n * @memberOf Repeat\n */\n get: function () {\n if (this.Kind === 'ONCE') {\n return null;\n }\n return this._untilDate;\n },\n /**\n * Sets the end date of the repeat cycle is equivalent to cycles.\n * An until date of 9999/12/31 is regarded as infinitely large.\n * @memberOf Repeat\n */\n set: function (value) {\n this._untilDate = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Checks whether a given date is infinite.\n * @returns True when date is infinite.\n */\n Repeat.isInfinity = function (date) {\n if (date == null) {\n return false;\n }\n return date.getUTCFullYear() === 9999;\n };\n /**\n * Checks whether or not this repeat can be used with given start.\n * @param {Date} startOrUntil To check this repeat with.\n * @param {boolean} isStart Flag to indicate we are validating a start date not an until date.\n * @returns {RepeatValidation} RepeatValidation.Ok when valid otherwise value indicating what is wrong.\n */\n Repeat.prototype.validateWith = function (startOrUntil, isStart) {\n if (isStart === void 0) { isStart = true; }\n if (this.Kind === 'ONCE') {\n return RepeatValidation.Ok;\n }\n // Wens van WJ https://github.com/Symagic/html5/issues/999#issuecomment-389877101\n var testDate = new Date(startOrUntil.getFullYear(), startOrUntil.getMonth(), startOrUntil.getDate());\n if (isStart) {\n if (this.UntilDate < testDate) {\n return RepeatValidation.UntilDateBeforeStart;\n }\n }\n else {\n var start = this.Start;\n if (this.Owner) {\n start = this.Owner['Start'];\n }\n if (testDate < start) {\n return RepeatValidation.UntilDateBeforeStart;\n }\n }\n switch (this.Kind) {\n case 'WEEKLY':\n if (!this.checkDayOfWeekWith(startOrUntil)) {\n return RepeatValidation.WeekDayMismatch;\n }\n return RepeatValidation.Ok;\n case 'MONTHLY RELATIVE':\n if (!this.checkDayOfWeekWith(startOrUntil)) {\n return RepeatValidation.WeekDayMismatch;\n }\n if (!this.checkWeekDayOfMonthWith(startOrUntil)) {\n return RepeatValidation.OccurrenceOrderMismatch;\n }\n return RepeatValidation.Ok;\n case 'YEARLY RELATIVE':\n if (!this.checkDayOfWeekWith(startOrUntil)) {\n return RepeatValidation.WeekDayMismatch;\n }\n if (!this.checkWeekDayOfMonthWith(startOrUntil)) {\n return RepeatValidation.OccurrenceOrderMismatch;\n }\n if (this.Factor !== startOrUntil.getMonth() + 1) {\n return RepeatValidation.MonthMismatch;\n }\n return RepeatValidation.Ok;\n case 'MONTHLY ABSOLUTE':\n var date = Number.parseInt(this.Days);\n if (date !== startOrUntil.getDate()) {\n if (date === 31 || date === 30 || date === 29) {\n var test = new Date(startOrUntil.getTime() + 86400000);\n if (test.getDate() === 1 && test.getMonth() > startOrUntil.getMonth()) {\n return RepeatValidation.Ok;\n }\n }\n return RepeatValidation.DateMismatch;\n }\n return RepeatValidation.Ok;\n case 'YEARLY ABSOLUTE':\n date = Number.parseInt(this.Days);\n if (date !== startOrUntil.getDate()) {\n if (date === 31 || date === 30 || date === 29) {\n var test = new Date(startOrUntil.getTime() + 86400000);\n if (test.getDate() === 1 && test.getMonth() > startOrUntil.getMonth()) {\n if (this.Factor !== startOrUntil.getMonth() + 1) {\n return RepeatValidation.MonthMismatch;\n }\n else {\n return RepeatValidation.Ok;\n }\n }\n }\n return RepeatValidation.DateMismatch;\n }\n if (this.Factor !== startOrUntil.getMonth() + 1) {\n return RepeatValidation.MonthMismatch;\n }\n return RepeatValidation.Ok;\n case 'DAILY':\n return RepeatValidation.Ok;\n }\n return RepeatValidation.Ok;\n };\n /**\n * Checks whether or not given start complies with the day of week of this repeat.\n * @private\n * @param {Date} start The start to check.\n * @returns {boolean} True when valid otherwise false.\n */\n Repeat.prototype.checkDayOfWeekWith = function (start) {\n var daysArray = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'];\n var days = this.Days.split(' ');\n if (days.indexOf(daysArray[start.getDay()]) === -1) {\n return false;\n }\n return true;\n };\n /**\n * Checks whether or not day of week of given start complies with the occurrence order in month of this repeat.\n * @private\n * @param {Date} start The start to check.\n * @returns {boolean} True when valid otherwise false.\n */\n Repeat.prototype.checkWeekDayOfMonthWith = function (start) {\n var odersArray = ['FIRST', 'SECOND', 'THIRD', 'FOURTH', 'LAST'];\n var oderIndex = odersArray.indexOf(this.Order);\n if (oderIndex === -1) {\n return false;\n }\n var startMoment = moment(start);\n var monthOfStart = startMoment.month();\n if (oderIndex === 4) { // Check if last\n return startMoment.add(7, 'days').month() !== monthOfStart;\n }\n var firstOfMonth = startMoment.subtract(7 * oderIndex, 'days');\n if (firstOfMonth.month() !== monthOfStart) {\n return false;\n }\n return firstOfMonth.subtract(7, 'days').month() !== monthOfStart;\n };\n return Repeat;\n}());\nexport { Repeat };\n","/**\n * The Symagic Server SpendTime entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as moment from 'moment';\n/**\n * The Symagic Server SpendTime entity.\n */\nvar SpendTime = /** @class */ (function () {\n function SpendTime() {\n /**\n * Gets, sets the field that holds the value of the Account_Oid property.\n * @private\n */\n this.accountOid = '';\n }\n Object.defineProperty(SpendTime.prototype, \"Start\", {\n /**\n * Gets the Start of the time spend.\n * @type {Date}\n * */\n get: function () {\n return this._start;\n },\n /**\n * Sets the Start of the time spend.\n */\n set: function (value) {\n this._start = value;\n this.setDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SpendTime.prototype, \"Finish\", {\n /**\n * Gets the Finish of the time spend.\n * @type {Date}\n */\n get: function () {\n return this._finish;\n },\n /**\n * Sets the Finish of the time spend.\n */\n set: function (value) {\n this._finish = value;\n this.setDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SpendTime.prototype, \"IsCompleted\", {\n /**\n * Gets the IsCompleted of the SpendTime: Boolean wrapper for SpendTime.Completed\n * @type {Boolean}\n */\n get: function () {\n return (this.Completed === 100) ? true : false;\n },\n /**\n * Sets IsCompleted of the SpendTime.\n */\n set: function (value) {\n if (value === true) {\n this.Completed = 100;\n }\n else {\n this.Completed = 0;\n }\n },\n enumerable: true,\n configurable: true\n });\n SpendTime.prototype.setDate = function () {\n if (this.entityAspect.entityState.isAdded() || this.entityAspect.entityState.isDetached()) {\n return;\n }\n if (this.Start > this.Finish) {\n return;\n }\n switch (this.AccountClass) {\n case 'APPOINTMENT':\n this.Effort = moment.duration(moment(this.Finish).diff(moment(this.Start))).toISOString();\n return;\n }\n };\n Object.defineProperty(SpendTime.prototype, \"Account_Oid\", {\n /**\n * Gets the foreign key of the account on which the spend time is booked.\n * @type {string}\n */\n get: function () {\n return this.accountOid;\n },\n /**\n * Sets the foreign key of the account on which the spend time is booked.\n * @type {string}\n */\n set: function (value) {\n var previousAccountOid = this.accountOid;\n this.accountOid = value;\n if (this.accountOid == null) {\n return;\n }\n if (this.accountOid.indexOf('_') !== -1) {\n // Oid from virtual object e.g. PlanItem\n this.accountOid = this.accountOid.split('_')[0];\n }\n if (this.entityAspect.entityState.isAdded()) {\n var work = this.GetEntityByOid(this.accountOid);\n var previousWork = this.GetEntityByOid(previousAccountOid);\n // Only replace empty names or names that are exactly the same as the previous work entity.\n if (work && (this.Name === '' || (previousWork && this.Name === previousWork['Name']))) {\n this.Name = work['Name'];\n }\n this.SumFactor = 1; // Default value\n this.IsCompleted = true; // Default value\n if (work) {\n var resource = work['Resource'];\n if (resource && this['$currentUser']['HTML5Role'] !== 'EMPLOYEE') {\n this['Resource'] = resource;\n }\n switch (this.AccountClass) {\n case 'ABSENCE': // Effort gives hours absent when AccountClass is ABSENCE.\n this.Start = work['Start'];\n this.Finish = work['Finish'];\n this.Effort = work['HoursOfLeave'];\n this.SumFactor = work['SumFactor'];\n return;\n case 'ASSIGNMENT':\n this.Start = work['Start'];\n this.Finish = work['Finish'];\n this.Effort = work['Effort'];\n var unforeseen = (work['Unforeseen'] + '').trim();\n this.Unforeseen = unforeseen === '' ? 'NO' : unforeseen;\n this.SumFactor = work['SumFactor'];\n return;\n case 'APPOINTMENT':\n case 'ATTENDANT':\n this.Start = work['Start'];\n this.Finish = work['Finish'];\n this.Effort = moment.duration(moment(this.Finish).diff(moment(this.Start))).toISOString();\n this.SumFactor = work['SumFactor'];\n return;\n }\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SpendTime.prototype, \"AccountClass\", {\n /**\n * Gets the class of the SpendTime Account.\n * Is useful to get specific detail configurations.\n * @readonly\n * @type {string}\n */\n get: function () {\n if (!this.accountOid || 0 === this.accountOid.length) {\n return 'UNKNOWN';\n }\n if (this.accountOid.indexOf('E1') === 0) {\n return 'TASK';\n }\n if (this.accountOid.indexOf('51') === 0) {\n var entity = this.entityAspect.entityManager.getEntityByKey('Assignment', this.accountOid);\n // Assignments met waarde true voor de property Appointment worden binnen HTML5 als Appointments gezien.\n return entity && entity['Appointment'] ? 'APPOINTMENT' : 'ASSIGNMENT';\n }\n if (this.accountOid.indexOf('93') === 0) {\n // Eerder hielde we rekening met Appointments die geen Absence als reden hadden.\n // Van deze Symagic Server mogelijkheid wordt geen gebruik gemaakt.\n // Appointments behoren nu functioneel altijd een Absence als reden te hebben.\n return 'ABSENCE';\n }\n if (this.accountOid.indexOf('O1') === 0) {\n // Alvast als we er iets mee gaan doen.\n return 'PROJECT';\n }\n if (this.accountOid.indexOf('U3') === 0) {\n // Alvast als we er iets mee gaan doen.\n return 'ATTENDANT';\n }\n return 'UNSUPPORTED';\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Get an existing account entity bij its Oid.\n * @param entityOid The Oid of the entity to get.\n */\n SpendTime.prototype.GetEntityByOid = function (entityOid) {\n if (entityOid.indexOf('51') === 0) {\n return this.entityAspect.entityManager.getEntityByKey('Assignment', entityOid);\n }\n else if (entityOid.indexOf('93') === 0) {\n return this.entityAspect.entityManager.getEntityByKey('Appointment', entityOid);\n }\n else if (entityOid.indexOf('E1') === 0) {\n return this.entityAspect.entityManager.getEntityByKey('Task', entityOid);\n }\n else if (entityOid.indexOf('O1') === 0) {\n return this.entityAspect.entityManager.getEntityByKey('Project', entityOid);\n }\n else if (entityOid.indexOf('U3') === 0) {\n return this.entityAspect.entityManager.getEntityByKey('Attendant', entityOid);\n }\n return null;\n };\n return SpendTime;\n}());\nexport { SpendTime };\n","/**\n * The Symagic Server Appointment entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport { EntityQuery, EntityState } from 'breeze-client';\nimport * as moment from 'moment';\n/**\n * The Symagic Server Appointment entity.\n */\nvar Appointment = /** @class */ (function () {\n function Appointment() {\n }\n Object.defineProperty(Appointment.prototype, \"TotalSpend\", {\n /**\n * Gets the sum of the time booked on this Appointment.\n * There is a server-side property ActualSpend with the same meaning.\n * We choose to calculate client-side for instant user feedback.\n * @type {string}\n */\n get: function () {\n if (!this.entityAspect || !this.entityAspect.entityManager) {\n return 'PT0S';\n }\n if (this.entityAspect.entityState === EntityState.Added) {\n return 'PT0S';\n }\n var entityQuery = EntityQuery.from('SpendTimeItems').where('Account_Oid', 'equals', this['Oid']);\n var data = this.entityAspect.entityManager.executeQueryLocally(entityQuery);\n if (data.length === 0) {\n return 'PT0S';\n }\n var sum = 0;\n data.map(function (it) { return it; }).forEach(function (item) {\n sum += moment.duration(item.Effort).asMinutes() * item.SumFactor;\n });\n return moment.duration(sum, 'minutes').toISOString();\n },\n /**\n * Sets nothing. Only needed for angular binding.\n */\n set: function (value) {\n // Make it a read/write property to enable twoway binding.\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Appointment.prototype, \"Duration\", {\n /**\n * Gets the duration of the appointment.\n * @readonly\n * @type {string}\n */\n get: function () {\n if (!this.entityAspect) {\n return 'PT0S';\n }\n if (!this.Finish || !this.Start) {\n return 'PT0S';\n }\n var start = moment(this.Start);\n var finish = moment(this.Finish);\n if (start.isAfter(finish)) {\n return 'PT0S';\n }\n var result = moment.duration(finish.diff(start));\n return result.toISOString();\n },\n /**\n * Sets nothing. Only needed for angular binding.\n */\n set: function (value) {\n // Make it a read/write property to enable twoway binding.\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Calculates the effort by factoring the ratio of overlap with a given timeslot.\n * @param {moment.Moment} start The start of the timeslot\n * @param {moment.Moment} finish The finish of the timeslot.\n * @returns {number} The effort ratio in seconds\n */\n Appointment.prototype.overlapEffort = function (start, finish) {\n var factor = this.SumFactor;\n if (factor === 0) {\n return 0;\n }\n if (start.isSameOrAfter(this.Finish)) {\n return 0;\n }\n if (finish.isSameOrBefore(this.Start)) {\n return 0;\n }\n var planStart = moment(this.Start);\n var planFinish = moment(this.Finish);\n var overlapStart = start.isAfter(planStart) ? start : planStart;\n var overlapFinish = finish.isBefore(planFinish) ? finish : planFinish;\n var overlap = moment.duration(overlapFinish.diff(overlapStart)).asSeconds();\n var hoursOfLeave = moment.duration(this.HoursOfLeave).asSeconds();\n var duration = moment.duration(planFinish.diff(planStart)).asSeconds();\n if (duration === 0 || (start.isSameOrBefore(this.Start) && finish.isSameOrAfter(this.Finish))) {\n // Ik kan de gehele werkdruk geven want\n // de Assignment valt binnen de getoonde periode\n return factor * hoursOfLeave;\n }\n // Ik geef de fractie (overlap / duration) van de werkdruk want\n // de Assignment is groter dan de getoonde periode.\n return factor * (overlap / duration) * hoursOfLeave;\n };\n return Appointment;\n}());\nexport { Appointment };\n","/**\n * The Symagic Server Assignment entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { EntityQuery, EntityState } from 'breeze-client';\nimport * as moment from 'moment';\nimport { Appointment } from '../../domain/helpers/appointment';\n/**\n * The Symagic Server Assignment entity.\n */\nvar Assignment = /** @class */ (function (_super) {\n tslib_1.__extends(Assignment, _super);\n function Assignment() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Reference to demand needed for creating a new assignment.\n * @private\n * @type {Entity}\n */\n _this._$Deployment_Demand = null;\n return _this;\n }\n Object.defineProperty(Assignment.prototype, \"TotalTravelTime\", {\n /**\n * Gets the sum of the travel time booked on this assignment.\n * @type {string}\n */\n get: function () {\n if (!this.entityAspect || !this.entityAspect.entityManager) {\n return 'PT0S';\n }\n if (this.entityAspect.entityState === EntityState.Added) {\n return 'PT0S';\n }\n var entityQuery = EntityQuery.from('SpendTimeItems').where('Account_Oid', 'equals', this['Oid']);\n var data = this.entityAspect.entityManager.executeQueryLocally(entityQuery);\n var result = moment.duration('PT0S');\n data.forEach(function (item) {\n result.add(item['TravelTime']);\n });\n return result.toISOString();\n },\n /**\n * Sets, nothing only needed for angular binding.\n */\n set: function (value) {\n // Make it a read/write property to enable twoway binding.\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Assignment.prototype, \"Amount\", {\n /**\n * Gets the amount.\n * @type {number}\n * @memberOf Assignment\n */\n get: function () {\n if (!this.entityAspect || !this.entityAspect.entityManager) {\n return 0;\n }\n if (this.entityAspect.entityState === EntityState.Added ||\n this.entityAspect.entityState === EntityState.Deleted ||\n this.entityAspect.entityState === EntityState.Detached) {\n return 0;\n }\n var value = this.getHoursPerUnitOfTask(this);\n if (value === 0) {\n return 0;\n }\n return Math.round(moment.duration(this.Effort).asHours() / value);\n },\n /**\n * Sets, nothing only needed for angular binding.\n */\n set: function (value) {\n // Make it a read/write property to enable twoway binding.\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the HoursPerUnit value of the Task, needed for calculating amount.\n * @private\n * @param {Entity} item Entity in path to load.\n * @param {string[]} path The property path to load\n * @memberOf Assignment\n */\n Assignment.prototype.getHoursPerUnitOfTask = function (item) {\n var ERR_MSG = 'Assignment.Amount needs the properties Deployment.Demand.Task to be expanded.';\n if (item == null) {\n throw Error(ERR_MSG);\n }\n var property = null;\n switch (item.entityType.shortName) {\n case 'Assignment':\n property = 'Deployment';\n break;\n case 'Deployment':\n property = 'Demand';\n break;\n case 'Demand':\n property = 'Task';\n break;\n case 'Task':\n return moment.duration(item['HoursPerUnit']).asHours();\n default:\n if (this.entityAspect.entityState === EntityState.Modified) {\n return 0;\n }\n throw Error(\"ERR_MSG\" + '?');\n }\n var next = item[property];\n if (next) {\n return this.getHoursPerUnitOfTask(next);\n }\n if (this.entityAspect.entityState === EntityState.Modified) {\n return 0;\n }\n throw Error(ERR_MSG);\n };\n Object.defineProperty(Assignment.prototype, '$Deployment.Demand', {\n /**\n * Gets, the demand needed for creating a new assignment.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n return this._$Deployment_Demand;\n },\n /**\n * Sets the demand needed to creating a new assignmemt.\n * The demand set is used to set default values for other assignment properties.\n */\n set: function (value) {\n this._$Deployment_Demand = value;\n if (value) {\n this['Start'] = value['Start'];\n this['Finish'] = value['Finish'];\n this['Color'] = value['Color'];\n this['Name'] = value['Task'] ? value['Task']['Name'] : value['Name'];\n this['Customer_Oid'] = value['Customer_Oid'];\n this['SumFactor'] = value['SumFactor'];\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Calculates the effort by factoring the ratio of overlap with a given timeslot.\n * @param {moment.Moment} start The start of the timeslot\n * @param {moment.Moment} finish The finish of the timeslot.\n * @returns {number} The effort ratio in seconds\n */\n Assignment.prototype.overlapEffort = function (start, finish) {\n var factor = this.SumFactor;\n if (factor === 0) {\n return 0;\n }\n if (start.isSameOrAfter(this.Finish)) {\n return 0;\n }\n if (finish.isSameOrBefore(this.Start)) {\n return 0;\n }\n var planStart = moment(this.Start);\n var planFinish = moment(this.Finish);\n var overlapStart = start.isAfter(planStart) ? start : planStart;\n var overlapFinish = finish.isBefore(planFinish) ? finish : planFinish;\n var overlap = moment.duration(overlapFinish.diff(overlapStart)).asSeconds();\n if (this.Appointment) {\n // Geen werk druk planning\n return factor * overlap;\n }\n var effort = moment.duration(this.Effort).asSeconds();\n var duration = moment.duration(planFinish.diff(planStart)).asSeconds();\n if (duration === 0 || (start.isSameOrBefore(this.Start) && finish.isSameOrAfter(this.Finish))) {\n // Ik kan de gehele werkdruk geven want\n // de Assignment valt binnen de getoonde periode\n return factor * effort;\n }\n // Ik geef de fractie (overlap / duration) van de werkdruk want\n // de Assignment is groter dan de getoonde periode.\n return factor * (overlap / duration) * effort;\n };\n return Assignment;\n}(Appointment));\nexport { Assignment };\n","/**\n * The Symagic Server Assignment entity.\n * @author Maarten Lensink\n */\nimport * as moment from 'moment';\n/**\n * The Symagic Server Attendant entity.\n */\nvar Attendant = /** @class */ (function () {\n function Attendant() {\n this.service = undefined;\n }\n Object.defineProperty(Attendant.prototype, \"Duration\", {\n /**\n * Gets the difference between Start and Finish.\n * There is a server-side property Duration with the same meaning.\n * We choose to calculate client-side for instant user feedback.\n * @type {string}\n */\n get: function () {\n // if (!this.entityAspect || this.entityAspect.entityState === EntityState.Added) {\n if (!this.entityAspect) {\n return 'PT0S';\n }\n if (!this.Finish || !this.Start) {\n return 'PT0S';\n }\n var start = moment(this.Start);\n var finish = moment(this.Finish);\n if (start.isAfter(finish)) {\n return 'PT0S';\n }\n var result = moment.duration(finish.diff(start));\n return result.toISOString();\n },\n /**\n * Sets nothing. Only needed for angular binding.\n */\n set: function (value) {\n // Make it a read/write property to enable twoway binding.\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Attendant.prototype, \"Service\", {\n get: function () {\n // This is needed to override breeze.js navigation property.\n if (!this.service && this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n return this.service;\n },\n set: function (value) {\n if (value && value !== this.service && this.entityAspect.entityState.isAdded()) {\n // Fix: Een nieuwe attendant in de dienstenlijst krijgt als default voor Start en Eind StartBase en FinishBase van de service #2805\n this.Start = value['StartBase'];\n this.Finish = value['FinishBase'];\n this.Name = value['Name'];\n this['SumFactor'] = value['SumFactor'];\n }\n this.service = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Calculates the effort by factoring the ratio of overlap with a given timeslot.\n * @param {moment.Moment} start The start of the timeslot\n * @param {moment.Moment} finish The finish of the timeslot.\n * @returns {number} The effort ratio in seconds\n */\n Attendant.prototype.overlapEffort = function (start, finish) {\n var factor = this.SumFactor;\n if (factor === 0) {\n return 0;\n }\n if (start.isSameOrAfter(this.Finish)) {\n return 0;\n }\n if (finish.isSameOrBefore(this.Start)) {\n return 0;\n }\n var planStart = moment(this.Start);\n var planFinish = moment(this.Finish);\n var overlapStart = start.isAfter(planStart) ? start : planStart;\n var overlapFinish = finish.isBefore(planFinish) ? finish : planFinish;\n var overlap = moment.duration(overlapFinish.diff(overlapStart)).asSeconds();\n return factor * overlap;\n };\n return Attendant;\n}());\nexport { Attendant };\n","/**\n * The Symagic Server Deployment entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport { BreezeService } from '../../core/breeze.service';\n/**\n * The Symagic Server Deployment entity.\n */\nvar Deployment = /** @class */ (function () {\n function Deployment() {\n /**\n * Holding Reference of demand\n * @private\n * @type {Entity}\n */\n this.demand = undefined;\n }\n Object.defineProperty(Deployment.prototype, \"Demand\", {\n /**\n * Gets the demand of the deployment.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n // This is needed to override breeze.js navigation property.\n if (!this.demand && this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n return this.demand;\n },\n /**\n * Sets the demand of the deployment\n */\n set: function (value) {\n if (value && value !== this.demand && this.entityAspect.entityState.isAdded()) {\n this.Start = value['Start'];\n this.Finish = value['Finish'];\n this.Name = value['Name'];\n this.Effort = value['WorkUnit'];\n this.Color = value['Color'];\n this['SumFactor'] = value['SumFactor'];\n }\n this.demand = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * A remote method that plans the entity on the backend.\n * @param {boolean} [afterSave=false] When true, the method is invoked after the state of the entity is saved\n * otherwise the method is invoked before the state is saved.\n */\n Deployment.prototype.plan = function (afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n BreezeService.invokeMethod(this, 'Plan', [], afterSave);\n };\n return Deployment;\n}());\nexport { Deployment };\n","/**\n * The Symagic Server Demand entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport { BreezeService } from '../../core/breeze.service';\n/**\n * The Symagic Server Demand entity.\n */\nvar Demand = /** @class */ (function () {\n function Demand() {\n /**\n * Holding Reference of task\n * @private\n * @type {Entity}\n */\n this.task = undefined;\n }\n Object.defineProperty(Demand.prototype, \"Task\", {\n /**\n * Gets the task of the demand.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n // This is needed to override breeze.js navigation property.\n if (!this.task && this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n return this.task;\n },\n /**\n * Sets the task of the demand\n */\n set: function (value) {\n if (value && value !== this.task && this.entityAspect.entityState.isAdded()) {\n this.Start = value['Start'];\n this.Finish = value['Finish'];\n this.Name = value['Name'];\n this.Color = value['Color'];\n this['SumFactor'] = value['SumFactor'];\n // Deze kan weg wanneer #2150 afgerond is.\n // this.Notes = value['Notes'];\n }\n this.task = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Demand.prototype, \"EffortFreeSlot\", {\n /**\n * Gets the best guess for marketplace free slot Deployment.Effort.\n * @readonly\n * @type {string}\n */\n get: function () {\n var deployments = this['Deployments'];\n if (deployments) {\n var found = deployments.find(function (item) { return item['Resource_Oid'] == null || item['Resource_Oid'] === ''; });\n if (found) {\n return found['Effort'];\n }\n }\n // Deployments not loaded?\n return this['WorkUnit'];\n },\n /**\n * Setter of the EffortFreeSlot. Only for to support angular two-way binding.\n */\n set: function (value) {\n // Only for angular 2 way binding.\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Removes Taskneed instance from this object with taking into account situations of inherited collections.\n * @param {string} taskNeed The Oid of the Taskneed to remove.\n * @param {boolean} [afterSave=false] Indicates whether the method is invoked after properties changes are committed or before\n * @memberOf Demand\n */\n Demand.prototype.removeNeed = function (taskNeed, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'RemoveNeed', [taskNeed], afterSave);\n };\n return Demand;\n}());\nexport { Demand };\n","/**\n * The Symagic Server Task entity\n * @author Tom Verschoore de la Houssaije\n */\nimport { BreezeService } from '../../core/breeze.service';\nimport * as moment from 'moment';\n/**\n * The Symagic Server Task entity\n */\nvar Task = /** @class */ (function () {\n function Task() {\n /**\n * Holding reference to task\n * @private\n * @type {Entity}\n */\n this.project = undefined;\n /**\n * Holding Reference of task\n * @private\n * @type {Entity}\n */\n this.shift = undefined;\n /**\n * The sum of efforts of all the underlying assignment\n * @type {moment.Duration}\n */\n this.planned = undefined;\n /**\n * The sum of efforts of all the underlying deployments, or the direct property, whichever is higher\n * @type {moment.Duration}\n */\n this.effort = undefined;\n }\n Object.defineProperty(Task.prototype, \"Planned\", {\n /**\n * Gets the ISO string of the Planned duration property\n * @type {string}\n */\n get: function () {\n if (!this.planned) {\n return undefined;\n }\n return this.planned.toISOString();\n },\n /**\n * Sets the Planned duration property from its ISO string representation\n */\n set: function (value) {\n this.planned = moment.duration(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Task.prototype, \"Effort\", {\n /**\n * Gets the ISO string of the Effort duration property\n * @type {string}\n */\n get: function () {\n if (!this.effort) {\n return undefined;\n }\n return this.effort.toISOString();\n },\n /**\n * Sets the Effort duration property from its ISO string representation\n */\n set: function (value) {\n this.effort = moment.duration(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Task.prototype, \"Project\", {\n /**\n * Gets the project of the task\n * @readonly\n * @type {Entity}\n */\n get: function () {\n // This is needed to override breeze.js navigation property\n if (!this.project && this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n return this.project;\n },\n /**\n * Sets the project of the task\n */\n set: function (value) {\n if (value && value !== this.project && this.entityAspect.entityState.isAdded()) {\n this.Start = value['Start'];\n this.Finish = value['Finish'];\n this.Name = value['Name'];\n this.Color = value['Color'];\n // Issue #2579\n if (this.Department_Oid === '') {\n this.Department_Oid = value['Department_Oid'];\n if (this.Department_Oid !== '' && this['Department'] == null) {\n this.entityAspect.loadNavigationProperty('Department');\n }\n }\n // Deze kan weg wanneer #2150 afgerond is.\n // this.Notes = value['Notes'];\n }\n this.project = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Task.prototype, \"Shift\", {\n /**\n * Gets the shift of the task.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n // This is needed to override breeze.js navigation property.\n if (!this.shift && this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n return this.shift;\n },\n /**\n * Sets the shift of the task\n */\n set: function (value) {\n if (value && value !== this.shift && this.entityAspect.entityState.isAdded()) {\n this.Start = value['Start'];\n this.Finish = value['Finish'];\n }\n this.shift = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Copies the task into a new task or task template\n * @param newStart The date to which Start is shifted\n * @param include A string containing which entities, space separated, should be included in the copy\n * @param template Indicates whether the task should be copied into a template\n * @param afterSave Indicates whether the method is invoked after properties changes are committed or before\n */\n Task.prototype.copy = function (newStart, include, template, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'Copy', [newStart, include, template], afterSave);\n };\n /**\n * Removes Taskneed instance from this object with taking into account situations of inherited collections.\n * @param {string} taskNeed The Oid of the Taskneed to remove.\n * @param {boolean} [afterSave=false] Indicates whether the method is invoked after properties changes are committed or before\n * @memberOf Task\n */\n Task.prototype.removeNeed = function (taskNeed, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'RemoveNeed', [taskNeed], afterSave);\n };\n /**\n * Returns whether task has been fully planned\n * @returns {boolean} A value indicating whether Planned is greater than or equal to Effort\n */\n Task.prototype.isFullyPlanned = function () {\n var planned = this.planned.asHours();\n var budget = moment.duration(this['EffortBudget']).asHours();\n return planned >= budget;\n };\n return Task;\n}());\nexport { Task };\n","/**\n * The Symagic Server Service entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport { BreezeService } from '../../core/breeze.service';\n/**\n * The Symagic Server Service entity.\n */\nvar Service = /** @class */ (function () {\n function Service() {\n /**\n * Holding Reference of shift\n * @private\n * @type {Entity}\n */\n this.shift = undefined;\n }\n Object.defineProperty(Service.prototype, \"StartBase\", {\n /**\n * Gets the StartBase of the Service.\n * @type {Date}\n */\n get: function () {\n return this.startBase;\n },\n /**\n * Sets the StartBase of the Service.\n * @type {Date}\n */\n set: function (value) {\n this.startBase = value;\n if (this.entityAspect.entityState.isAdded()) {\n this.Start = value; // Fix: Waarden Start en Eind voor een service(template) niet goed bij voor het eerst opslaan #2787\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Service.prototype, \"FinishBase\", {\n /**\n * Gets the FinishBase of the Service.\n * @type {Date}\n */\n get: function () {\n return this.finishBase;\n },\n /**\n * Sets the FinishBase of the Service.\n * @type {Date}\n */\n set: function (value) {\n this.finishBase = value;\n if (this.entityAspect.entityState.isAdded()) {\n this.Finish = value; // Fix: Waarden Start en Eind voor een service(template) niet goed bij voor het eerst opslaan #2787\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Service.prototype, \"Shift\", {\n /**\n * Gets the shift of the service.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n // This is needed to override breeze.js navigation property.\n if (!this.shift && this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n return this.shift;\n },\n /**\n * Sets the shift of the service\n */\n set: function (value) {\n if (value && value !== this.shift && this.entityAspect.entityState.isAdded()) {\n this.Start = value['Start'];\n this.Finish = value['Finish'];\n this.StartBase = value['Start'];\n this.FinishBase = value['Finish'];\n this.Name = value['Name'];\n this.Color = value['Color'];\n this['SumFactor'] = value['SumFactor'];\n }\n this.shift = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Removes Taskneed instance from this object with taking into account situations of inherited collections.\n * @param {string} taskNeed The Oid of the Taskneed to remove.\n * @param {boolean} [afterSave=false] Indicates whether the method is invoked after properties changes are committed or before\n * @memberOf Service\n */\n Service.prototype.removeNeed = function (taskNeed, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'RemoveNeed', [taskNeed], afterSave);\n };\n return Service;\n}());\nexport { Service };\n","/**\n * The Symagic Server Shift entity\n * @author Maarten Lensink\n */\nimport { BreezeService } from '../../core/breeze.service';\n/**\n * The Symagic Server Shift entity\n */\nvar Shift = /** @class */ (function () {\n function Shift() {\n }\n /**\n * Copies the shift into a new shift or shift template\n * @param newStart The date to which Start is shifted\n * @param include A string containing which entities, space separated, should be included in the copy\n * @param template Indicates whether the shift should be copied into a template\n * @param afterSave Indicates whether the method is invoked after properties changes are committed or before\n */\n Shift.prototype.copy = function (newStart, include, template, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n BreezeService.invokeMethod(this, 'Copy', [newStart, include, template], afterSave);\n };\n /**\n * Removes Taskneed instance from this object with taking into account situations of inherited collections.\n * @param {string} taskNeed The Oid of the Taskneed to remove.\n * @param {boolean} [afterSave=false] Indicates whether the method is invoked after properties changes are committed or before\n * @memberOf Shift\n */\n Shift.prototype.removeNeed = function (taskNeed, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'RemoveNeed', [taskNeed], afterSave);\n };\n return Shift;\n}());\nexport { Shift };\n","/**\n * The Symagic Project Service entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport { BreezeService } from '../../core/breeze.service';\n/**\n * The Symagic Project Project entity.\n */\nvar Project = /** @class */ (function () {\n function Project() {\n }\n /**\n * Removes Taskneed instance from this object with taking into account situations of inherited collections.\n * @param {string} taskNeed The Oid of the Taskneed to remove.\n * @param {boolean} [afterSave=false] Indicates whether the method is invoked after properties changes are committed or before\n * @memberOf Project\n */\n Project.prototype.removeNeed = function (taskNeed, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'RemoveNeed', [taskNeed], afterSave);\n };\n return Project;\n}());\nexport { Project };\n","/**\n * The Symagic Server Deployment Template entity\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Deployment } from './deployment';\n/**\n * The Symagic Server Deployment Template entity\n */\nvar DeploymentTemplate = /** @class */ (function (_super) {\n tslib_1.__extends(DeploymentTemplate, _super);\n function DeploymentTemplate() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return DeploymentTemplate;\n}(Deployment));\nexport { DeploymentTemplate };\n","/**\n * The Symagic Server Demand Template entity\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Demand } from './demand';\n/**\n * The Symagic Server Demand Template entity\n */\nvar DemandTemplate = /** @class */ (function (_super) {\n tslib_1.__extends(DemandTemplate, _super);\n function DemandTemplate() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return DemandTemplate;\n}(Demand));\nexport { DemandTemplate };\n","/**\n * The Symagic Server Service Template entity\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Service } from './service';\n/**\n * The Symagic Server Service Template entity\n */\nvar ServiceTemplate = /** @class */ (function (_super) {\n tslib_1.__extends(ServiceTemplate, _super);\n function ServiceTemplate() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return ServiceTemplate;\n}(Service));\nexport { ServiceTemplate };\n","/**\n * The Symagic Server Task Template entity\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Task } from './task';\n/**\n * The Symagic Server Task Template entity\n */\nvar TaskTemplate = /** @class */ (function (_super) {\n tslib_1.__extends(TaskTemplate, _super);\n function TaskTemplate() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TaskTemplate.prototype, \"Purpose\", {\n get: function () {\n if (!this.purpose) {\n return 'OTHER';\n }\n return this.purpose;\n },\n set: function (value) {\n this.purpose = value;\n },\n enumerable: true,\n configurable: true\n });\n return TaskTemplate;\n}(Task));\nexport { TaskTemplate };\n","/**\n * The Symagic Server Attendant Template entity\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Attendant } from './attendant';\n/**\n * The Symagic Server Attendant Template entity\n */\nvar AttendantTemplate = /** @class */ (function (_super) {\n tslib_1.__extends(AttendantTemplate, _super);\n function AttendantTemplate() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return AttendantTemplate;\n}(Attendant));\nexport { AttendantTemplate };\n","/**\n * The Symagic Server Shift Template entity\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Shift } from './shift';\n/**\n * The Symagic Server Shift Template entity\n */\nvar ShiftTemplate = /** @class */ (function (_super) {\n tslib_1.__extends(ShiftTemplate, _super);\n function ShiftTemplate() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return ShiftTemplate;\n}(Shift));\nexport { ShiftTemplate };\n","/**\n * The Symagic Server PlanItem entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as moment from 'moment';\nimport { PROP_ORIGINAL_RESOURCE_OID } from '../../domain.service';\n/**\n * The Symagic Server PlanItem entity.\n * @export\n * @class PlanItem\n * @implements {Entity}\n */\nvar PlanItem = /** @class */ (function () {\n function PlanItem() {\n }\n Object.defineProperty(PlanItem.prototype, \"Resource\", {\n /**\n * Gets the resource of the PlanItem item.\n * @type {Entity}\n */\n get: function () {\n // This is needed to override breeze.js navigation property.\n if (this.entityAspect && this.entityAspect.entityState.isDetached()) {\n return undefined;\n }\n var item = this.Item;\n if (!item) {\n return null;\n }\n return item['Resource'];\n },\n /**\n * Sets the resource of the PlanItem item\n */\n set: function (value) {\n var item = this.Item;\n if (!item) {\n return;\n }\n // Needed to update the planboard.\n item[PROP_ORIGINAL_RESOURCE_OID] = item['Resource_Oid'];\n item['Resource'] = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Calculates the effort by factoring the ratio of overlap with a given timeslot.\n * @param {moment.Moment} start The start of the timeslot\n * @param {moment.Moment} finish The finish of the timeslot.\n * @returns {number} The effort ratio in seconds\n */\n PlanItem.prototype.overlapEffort = function (start, finish) {\n var factor = this.Item ? this.Item['SumFactor'] : 0;\n if (factor === 0) {\n return 0;\n }\n if (start.isSameOrAfter(this.Finish)) {\n return 0;\n }\n if (finish.isSameOrBefore(this.Start)) {\n return 0;\n }\n var planStart = moment(this.Start);\n var planFinish = moment(this.Finish);\n var overlapStart = start.isAfter(planStart) ? start : planStart;\n var overlapFinish = finish.isBefore(planFinish) ? finish : planFinish;\n var overlap = moment.duration(overlapFinish.diff(overlapStart)).asSeconds();\n if (this.ItemClass !== 'Assignment' || this.Item['Appointment']) {\n // Geen werk druk planning\n return factor * overlap;\n }\n var effort = this.Item['Effort'];\n var duration = moment.duration(planFinish.diff(planStart)).asSeconds();\n if (duration === 0 || (start.isSameOrBefore(this.Start) && finish.isSameOrAfter(this.Finish))) {\n // Ik kan de gehele werkdruk geven want\n // de Assignment valt binnen de getoonde periode\n return factor * moment.duration(effort).asSeconds();\n }\n // Ik geef de fractie (overlap / duration) van de werkdruk want\n // de Assignment is groter dan de getoonde periode.\n return factor * (overlap / duration) * moment.duration(effort).asSeconds();\n };\n return PlanItem;\n}());\nexport { PlanItem };\n","/**\n * The Symagic Server Resource entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport { BreezeService } from '../../core/breeze.service';\nimport { EventEmitter } from '@angular/core';\n/**\n * The Symagic Server Resource entity.\n */\nvar Resource = /** @class */ (function () {\n function Resource() {\n /**\n * Reference to plan of resource retrieved by PlanboardGridDisplayComponent\n * or AgendaGridDisplayComponent.\n * @private\n * @type {DataSet}\n */\n this._$row = null;\n /**\n * The event is triggered by PlanboardGridDisplayComponent to indicate that a new plan is retrieved.\n * The event is used by PlanboardRowInfoComponent to update its info.\n */\n this.onRowChanged = new EventEmitter();\n }\n /**\n * Invokes the remote method FillWith of this entity.\n * FillWith tries to plan work for this resource according the include options.\n * @param {string} work The work to plan.\n * @param {Date} start The start of the drop zone.\n * @param {Date} finish The finish of the drop zone.\n * @param {string} include The include options.\n * @param {boolean} [afterSave=false] The entity property changes are committed first when true otherwise the method is invoked first.\n */\n Resource.prototype.fillwith = function (work, start, finish, include, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n BreezeService.invokeMethod(this, 'FillWith', [work, start, finish, include], afterSave);\n };\n /**\n * Sets a new plan retrieved by PlanboardGridDisplayComponent or AgendaGridDisplayComponent.\n * @param {DataSet} value The set containing the plan of the resource.\n */\n Resource.prototype.$setRow = function (value) {\n // Was eerst een: 'public set $row', maar breeze gaat daar onhandig tussen zitten\n this._$row = value;\n this.onRowChanged.emit(value);\n };\n /**\n * Gets a the resource plan retrieved by PlanboardGridDisplayComponent or AgendaGridDisplayComponent.\n * @readonly\n * @type {DataSet}\n */\n Resource.prototype.$getRow = function () {\n // Was eerst een: 'public get $row', maar breeze gaat daar onhandig tussen zitten\n return this._$row;\n };\n return Resource;\n}());\nexport { Resource };\n","/**\n * The Symagic Server PlanMacro entity.\n * @author Maarten Lensink\n */\nimport { BreezeService } from '../../core/breeze.service';\nvar PlanMacro = /** @class */ (function () {\n function PlanMacro() {\n }\n PlanMacro.prototype.moveTo = function (newStart, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'MoveTo', [newStart], afterSave);\n };\n PlanMacro.prototype.scriptInit = function (afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'ScriptInit', [], afterSave);\n };\n PlanMacro.prototype.scriptRun = function (timeout, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n return BreezeService.invokeMethod(this, 'ScriptRun', [timeout], afterSave);\n };\n /**\n * Use this method to remote invoke the copy method on the server for this entity.\n * @param {boolean} [afterSave=false] Boolean to invoke the method after or before the changes are saved.\n * @returns An observable to get the result after the remote invokation.\n * @memberOf PlanMacro\n */\n PlanMacro.prototype.copy = function (afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n BreezeService.invokeMethod(this, 'Copy', [], afterSave);\n return 'APP.DOMAIN.PLAN_MACRO_COPIED';\n };\n PlanMacro.prototype.replaceSubjectsWith = function (instanceOid, afterSave) {\n if (afterSave === void 0) { afterSave = false; }\n BreezeService.invokeMethod(this, 'ReplaceSubjectsWith', [instanceOid], afterSave);\n return 'APP.DOMAIN.SUBJECT_REPLACED';\n };\n return PlanMacro;\n}());\nexport { PlanMacro };\n","var ErrorService = /** @class */ (function () {\n function ErrorService() {\n this.errors = [];\n }\n ErrorService.prototype.hasErrors = function () {\n return this.errors.length > 0;\n };\n ErrorService.prototype.addError = function (error) {\n var found = this.errors.find(function (e) { return e.message === error.message; });\n if (!found) {\n this.errors.push(error);\n }\n };\n ErrorService.prototype.getErrors = function () {\n return this.errors;\n };\n ErrorService.prototype.clearErrors = function () {\n this.errors.length = 0;\n };\n return ErrorService;\n}());\nexport { ErrorService };\n","/**\n * @file Service for retrieving entity managers and metadatas.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { EntityManager, MetadataStore, LocalQueryComparisonOptions, NamingConvention } from 'breeze-client';\nimport { SettingsService } from './settings.service';\nimport { ErrorService } from './core/error.service';\nvar EntityManagerService = /** @class */ (function () {\n /**\n * Creates an instance of EntityManagerService.\n * @param {SettingsService} settingsService Used to retrieve the domain settings.\n * @param {ErrorService} errorService Used to report errors.\n * @memberOf EntityManagerService\n */\n function EntityManagerService(settingsService, errorService) {\n this.settingsService = settingsService;\n this.errorService = errorService;\n /**\n * Domain specific option when loading the metadata.\n * @private\n * @type {{ [domain: string]: MetadataStoreOptions }}\n * @memberOf EntityManagerService\n */\n this.metadataStoreOptions = {\n 'planning': {\n localQueryComparisonOptions: new LocalQueryComparisonOptions({\n name: 'caseSensitiveSQL',\n isCaseSensitive: true,\n usesSql92CompliantStringComparison: true\n })\n },\n 'insights': {\n namingConvention: NamingConvention.camelCase\n }\n };\n /**\n * The entity managers of all domains.\n * @type {{ [domain: string]: EntityManager }}\n * @memberOf EntityManagerService\n */\n this.managers = {};\n /**\n * The metadatas of all domains.\n * @type {{ [domain: string]: MetadataStore }}\n * @memberOf EntityManagerService\n */\n this.metadatas = {};\n }\n /**\n * Loads all the entity managers and metadatas.\n * @memberOf EntityManagerService\n */\n EntityManagerService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var promises;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n promises = [];\n this.settingsService.settings.frontend.domains.forEach(function (domain) {\n promises.push(_this.initialize(domain, _this.metadataStoreOptions[domain.name]));\n });\n return [4 /*yield*/, Promise.all(promises)];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Retrieves the metadata and entity manager of a domain.\n * @param {string} name The name of the domain.\n * @returns {Promise} A promise that concludes when the metadata and entity manager have been loaded.\n * @memberOf EntityManagerService\n */\n EntityManagerService.prototype.initialize = function (domain, options) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this.metadatas[domain.name] = new MetadataStore(options);\n return [4 /*yield*/, this.metadatas[domain.name].fetchMetadata(domain.uri, function () {\n try {\n _this.managers[domain.name] = new EntityManager({ serviceName: domain.uri, metadataStore: _this.metadatas[domain.name] });\n }\n catch (error) {\n _this.managers[domain.name] = null;\n console.warn(\"Service '\" + domain.name + \"' initialization failed: \" + error.message);\n }\n }, function (error) {\n _this.errorService.addError(error);\n })];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n return EntityManagerService;\n}());\nexport { EntityManagerService };\n","import * as tslib_1 from \"tslib\";\nimport { DataProperty, DataType } from 'breeze-client';\nimport { BreezeService } from './core/breeze.service';\nimport { DataSet } from './core/helpers/data-set';\nimport { AlertsService } from './core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { EntityManagerService } from './entity-manager.service';\nvar BackendSettingsService = /** @class */ (function (_super) {\n tslib_1.__extends(BackendSettingsService, _super);\n function BackendSettingsService(alertsService, translateService, entityManagerService) {\n return _super.call(this, alertsService, translateService, entityManagerService) || this;\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n BackendSettingsService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this.initialize('settings');\n entityType = this.entityManager.metadataStore.getEntityType('Setting');\n entityType.addProperty(new DataProperty({\n dataType: DataType.DateTime,\n isNullable: true,\n name: 'AsDate',\n nameOnServer: 'AsDate'\n }));\n entityType.addProperty(new DataProperty({\n dataType: DataType.Int32,\n isNullable: true,\n name: 'AsInteger',\n nameOnServer: 'AsInteger'\n }));\n return [4 /*yield*/, this.loadBackendSettings()];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Returns whether the parameter is before the expiration date.\n * @param {(moment.Moment | Date)} date The parameter is checked for its expiration.§\n * @returns {boolean} A value indicating whether the date is expired.\n * @memberOf BackendSettingsService\n */\n BackendSettingsService.prototype.isExpired = function (date) {\n var test = moment(date);\n if (!test.isValid() || this.daysBeforeExpiration === undefined) {\n return false;\n }\n test = test.clone();\n return test.startOf('day').isBefore(moment().add(this.daysBeforeExpiration - 1, 'days'));\n };\n /**\n * Returns a value indicating whether the request is still on time to be sent.\n * @param {Entity} subject The subject task to be given to the receiver.\n * @param {Entity} target The task to be received by the sender, or NULL in case of a reassign.\n * @returns {boolean} A value indicating whether the request is not too late to be sent.\n * @memberOf SettingsService\n */\n BackendSettingsService.prototype.isOnTime = function (subject, target) {\n if (target === void 0) { target = null; }\n if (!subject) {\n return false;\n }\n var onTime = !this.isExpired(subject['Start']);\n if (target) {\n onTime = onTime && !this.isExpired(target['Start']);\n }\n return onTime;\n };\n /**\n * Returns a value indicating whether the request is still on time to be sent.\n * @param {Entity} subject The subject task to be given to the receiver.\n * @param {Entity} target The task to be received by the sender, or NULL in case of a reassign.\n * @returns {boolean} A value indicating whether the request is not too late to be sent.\n * @memberOf SettingsService\n */\n BackendSettingsService.prototype.isDayOnTime = function (subject, target) {\n if (!subject || this.daysBeforeExpiration === undefined) {\n return false;\n }\n var onTime = !this.isExpired(subject);\n if (target) {\n onTime = onTime && !this.isExpired(target);\n }\n return onTime;\n };\n /**\n * Loads back-end settings.\n * @private\n * @memberOf BackendSettingsService\n */\n BackendSettingsService.prototype.loadBackendSettings = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var dataSet, queryResult;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n dataSet = new DataSet(this);\n dataSet.sourceName = 'SettingItems';\n return [4 /*yield*/, dataSet.load('Setting')];\n case 1:\n queryResult = _a.sent();\n // Test if we have a result\n if (!queryResult || !queryResult.results) {\n throw new Error('Can not load the backend settings');\n }\n // Run through the settings\n queryResult.results.forEach(function (settingResult) {\n var label = settingResult['Label'].replace('APP.SETTINGS.', '').toLowerCase();\n switch (label) {\n case 'publishedtill':\n _this.publishedTill = moment(settingResult['Value']);\n break;\n case 'availabilityclosedtill':\n _this.availabilityClosedTill = moment(settingResult['Value']);\n break;\n case 'daysbeforeexpiration':\n _this.daysBeforeExpiration = parseInt(settingResult['Value']);\n break;\n case 'daysbeforeresponse':\n _this.daysBeforeResponse = parseInt(settingResult['Value']);\n break;\n }\n });\n if (this.publishedTill == null) {\n throw new Error('PublishedTill backend setting is missing');\n }\n if (this.availabilityClosedTill == null) {\n throw new Error('AvailabilityClosedTill backend setting is missing');\n }\n if (this.daysBeforeExpiration == null) {\n throw new Error('DaysBeforeExpiration backend setting is missing');\n }\n if (this.daysBeforeResponse == null) {\n throw new Error('DaysBeforeExpiration backend setting is missing');\n }\n return [2 /*return*/];\n }\n });\n });\n };\n return BackendSettingsService;\n}(BreezeService));\nexport { BackendSettingsService };\n","/**\n * @file Range validator for numbers\n * @author Maarten Lensink\n */\nimport { Validator } from 'breeze-client';\nvar NAME_RANGE_VALIDATOR = 'range';\n/**\n * This validator validates that the number value is between MIN and MAX\n */\nexport function RangeValidator(min, max) {\n var validator = new Validator(NAME_RANGE_VALIDATOR, valFunction, { min: min, max: max });\n return validator;\n function valFunction(value, context) {\n var result = value >= context.min && value <= context.max;\n return result;\n }\n}\nValidator.messageTemplates[NAME_RANGE_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.RANGE';\n","/**\n * @file Currency validator\n * @author Maarten Lensink\n */\nimport { Validator } from 'breeze-client';\nexport var NAME_CURRENCY_VALIDATOR = 'currency';\n/**\n * This validator validates a currency input\n */\nexport function CurrencyValidator() {\n var contxt = {};\n var validator = new Validator(NAME_CURRENCY_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /^\\d+[,\\.]?\\d{0,2}$/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_CURRENCY_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.CURRENCY';\nValidator.register(CurrencyValidator());\n","import * as tslib_1 from \"tslib\";\nimport { AsyncSubject } from 'rxjs';\nimport { EntityType, NavigationProperty, DataProperty, Entity, EntityState, SaveResult, QueryResult, Validator } from 'breeze-client';\nimport * as moment from 'moment';\nimport { BreezeService } from './core/breeze.service';\nimport { DataSet } from './core/helpers/data-set';\nimport { User } from './domain/helpers/user';\nimport { AlertsService } from './core/alerts.service';\nimport { Repeat } from './domain/helpers/repeat';\nimport { SpendTime } from './domain/helpers/spend-time';\nimport { Assignment } from './domain/helpers/assignment';\nimport { Appointment } from './domain/helpers/appointment';\nimport { Attendant } from './domain/helpers/attendant';\nimport { RepeatValidation } from './domain/helpers/repeat-validation';\nimport { Deployment } from './domain/helpers/deployment';\nimport { Demand } from './domain/helpers/demand';\nimport { Task } from './domain/helpers/task';\nimport { Service } from './domain/helpers/service';\nimport { Shift } from './domain/helpers/shift';\nimport { Project } from './domain/helpers/project';\nimport { DeploymentTemplate } from './domain/helpers/deployment-template';\nimport { DemandTemplate } from './domain/helpers/demand-template';\nimport { ServiceTemplate } from './domain/helpers/service-template';\nimport { TaskTemplate } from './domain/helpers/task-template';\nimport { AttendantTemplate } from './domain/helpers/attendant-template';\nimport { ShiftTemplate } from './domain/helpers/shift-template';\nimport { PlanItem } from './domain/helpers/plan-item';\nimport { Resource } from './domain/helpers/resource';\nimport { TranslateService } from '@ngx-translate/core';\nimport { PlanMacro } from './domain/helpers/plan-macro';\nimport { SettingsService } from './settings.service';\nimport { BackendSettingsService } from './backend-settings.service';\nimport { EntityManagerService } from './entity-manager.service';\nimport { RangeValidator } from './core/validators/range.validator';\nimport { CurrencyValidator } from './core/validators/currency.validator';\n/** Property name to temporary store the original resource oid. */\nexport var PROP_ORIGINAL_RESOURCE_OID = '$OriginalResourceOid';\n/**\n * Encapsulation of breeze.js, this class manage communication with the backend.\n */\nvar DomainService = /** @class */ (function (_super) {\n tslib_1.__extends(DomainService, _super);\n /**\n * Constructs a DomainService.\n * @param alertsService The Alert service to communicate with user.\n * @memberOf DomainService\n */\n function DomainService(settingsService, backendSettingsService, alertsService, translateService, entityManagerService) {\n var _this = _super.call(this, alertsService, translateService, entityManagerService) || this;\n _this.settingsService = settingsService;\n _this.backendSettingsService = backendSettingsService;\n /**\n * Supported notifications entity types.\n * @private\n * @type {{ [key: string]: Function }}\n * @memberOf DomainService\n */\n _this.registerEntityTypes = {\n // Note that \"Foo: Foo\" can be shortened to just \"Foo\" if the key and the value are the same.\n // Register extended entities first to avoid the warning:\n // Registering a constructor that is already used.\n AttendantTemplate: AttendantTemplate,\n DeploymentTemplate: DeploymentTemplate,\n DemandTemplate: DemandTemplate,\n ServiceTemplate: ServiceTemplate,\n ShiftTemplate: ShiftTemplate,\n TaskTemplate: TaskTemplate,\n // The non-extended entities here:\n Repeat: Repeat,\n SpendTime: SpendTime,\n Assignment: Assignment,\n Appointment: Appointment,\n Attendant: Attendant,\n Deployment: Deployment,\n Demand: Demand,\n Service: Service,\n Shift: Shift,\n Task: Task,\n PlanItem: PlanItem,\n Resource: Resource,\n User: User,\n PlanMacro: PlanMacro,\n Project: Project\n };\n return _this;\n }\n DomainService.subtypeOf = function (baseType, subType) {\n if (!baseType) {\n return false;\n }\n if (!subType) {\n return false;\n }\n if (!subType.custom || !subType.custom.baseTypeName) {\n return false;\n }\n if (baseType.name === subType.custom.baseTypeName) {\n return true;\n }\n return DomainService.subtypeOf(baseType, baseType.metadataStore.getEntityTypes().map(function (it) { return it; }).find(function (it) { return it.name === subType.custom.baseTypeName; }));\n };\n DomainService.getNavigationPropertyFor = function (baseType, propertyName) {\n var property = baseType.getNavigationProperty(propertyName);\n if (property) {\n return property;\n }\n var found = baseType.metadataStore.getEntityTypes().map(function (it) { return it; }).find(function (it) { return DomainService.subtypeOf(baseType, it) && it.getNavigationProperty(propertyName) != null; });\n if (found) {\n return found.getNavigationProperty(propertyName);\n }\n return null;\n };\n DomainService.getDataPropertyFor = function (baseType, propertyName) {\n return this.getProperty(baseType, baseType.getDataProperty(propertyName));\n };\n DomainService.getProperty = function (baseType, property) {\n var result = property;\n if (result) {\n return result;\n }\n var shortest_path_to_base = 100000; // Very bad match.\n this.entityTypes.find(function (entityType) {\n if (entityType.isSubtypeOf(baseType)) {\n var test = property;\n if (test) {\n var step_count = 0;\n var base = entityType.baseEntityType;\n while (base !== baseType) {\n step_count += 1;\n base = base.baseEntityType;\n }\n if (step_count === 0) {\n result = test;\n return true;\n }\n if (step_count < shortest_path_to_base) {\n shortest_path_to_base = step_count;\n result = test;\n }\n }\n }\n return false;\n });\n return result;\n };\n /**\n * Returns the key of the entity derived from its OID.\n * @static\n * @param {string} oid The OID of the entity.\n * @returns {number} The key of the entity.\n * @memberOf BreezeService\n */\n DomainService.oidToKey = function (oid) {\n if (!oid) {\n return -1;\n }\n var i = oid.trimRight().length - 3;\n if (i < 0) {\n return -1;\n }\n var value = 0;\n if (i >= 0) {\n if (i > 6) {\n i = 6;\n }\n while (i >= 0) {\n var code = DomainService.charToCode(oid, i + 2);\n value += code * Math.pow(36, i);\n i--;\n }\n }\n return value;\n };\n /**\n * Returns the name of the entity type based on OID.\n * @static\n * @param {string} oid The OID of an entity.\n * @returns {string} The class name of the entity type.\n * @memberOf OidTools\n */\n DomainService.oidToClassName = function (oid) {\n var id = DomainService.oidToClassId(oid);\n if (id === -1) {\n return null;\n }\n var value = DomainService.classNames[id];\n return value === undefined ? null : value;\n };\n /**\n * Returns the class ID based on the OID.\n * @static\n * @param {string} oid The OID of an entity.\n * @returns {number} The ID of the entity class.\n * @memberOf OidTools\n */\n DomainService.oidToClassId = function (oid) {\n if (!oid || oid.slice(0, 2) === 'K_') {\n return -1;\n }\n if (oid.length < 2) {\n return -1;\n }\n var value = 0;\n var i = 1;\n while (i >= 0) {\n var code = DomainService.charToCode(oid, i);\n value += code * Math.pow(36, i);\n i--;\n }\n return value;\n };\n /**\n * Creates Oid with class id en key of entity.\n * @static\n * @param {number} classId The class id of the entity\n * @param {number} id The key of the entity.\n * @returns {string} The oid of the entity.\n * @memberOf DomainService\n */\n DomainService.oidWith = function (classId, id) {\n var classOid = DomainService.makeOIDString(classId);\n if (classOid.length === 1) {\n classOid += '0';\n }\n classOid += DomainService.makeOIDString(id);\n return classOid;\n };\n /**\n * Converts a character to a byte.\n * @private\n * @static\n * @param {string} char The character is converted.\n * @returns {number} The byte value of the character.\n * @memberOf OidTools\n */\n DomainService.charToCode = function (char, index) {\n var byte = char.charCodeAt(index);\n var code = byte >= 48 && byte <= 90 ? DomainService.charToCodeList[byte] : -1;\n return code;\n };\n /**\n * Converts number to Oid string\n * @private\n * @static\n * @param {number} value The number\n * @returns {string} The Oid.\n * @memberOf DomainService\n */\n DomainService.makeOIDString = function (value) {\n var Oid = '';\n var CODE_FACTORS = [1, 36, 1296, 46656, 1679616, 60466176, 2176782336];\n var Remainder = value;\n var i = 6;\n var Char_Code = Math.trunc(Remainder / CODE_FACTORS[i]);\n while (i > 0 && Char_Code === 0) {\n i--;\n Remainder = Remainder - Char_Code * CODE_FACTORS[i];\n Char_Code = Math.trunc(Remainder / CODE_FACTORS[i]);\n }\n Oid = DomainService.codeToChar(Char_Code) + '';\n Remainder = Remainder - Char_Code * CODE_FACTORS[i];\n while (i > 0) {\n i--;\n Char_Code = Math.trunc(Remainder / CODE_FACTORS[i]);\n Remainder = Remainder - Char_Code * CODE_FACTORS[i];\n Oid = DomainService.codeToChar(Char_Code) + Oid;\n }\n return Oid;\n };\n /**\n * Converts a code to Oid character\n * @private\n * @static\n * @param {number} code The code\n * @returns {string} The Oid character\n * @memberOf DomainService\n */\n DomainService.codeToChar = function (code) {\n var CODE_TO_CHAR_LIST = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',\n 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'\n ];\n if (code <= 35) {\n return CODE_TO_CHAR_LIST[code];\n }\n return CODE_TO_CHAR_LIST[code];\n };\n DomainService.prototype.bootInit = function () {\n var _this = this;\n this.officeStart = this.settingsService.settings.frontend.grid.officeHours.enabled.start;\n this.officeEnd = this.settingsService.settings.frontend.grid.officeHours.enabled.end;\n this.initialize('planning');\n DomainService.entityTypes = this.entityManager.metadataStore.getEntityTypes();\n Object.keys(this.registerEntityTypes).forEach(function (entityType) {\n _this.metadataStore.registerEntityTypeCtor(entityType, _this.registerEntityTypes[entityType]);\n });\n this.registerValidator('Appointment', 'Concerns_Oid', Validator.required());\n this.registerValidator('Function', 'SLA', RangeValidator(0, 99));\n this.registerValidator('MacroStep', 'Line', RangeValidator(0, Infinity));\n this.registerValidator('StateCostLink', 'Rate', CurrencyValidator());\n };\n /**\n * Gets an entity by key.\n * @param entityType The entity type to look for.\n * @param key The entity key to match.\n * @param checkLocalCacheFirst Whether to look in the local cache first. Default value is true.\n * @returns An AsyncSubject object to retrieve the requested entity.\n * @memberOf DomainService\n */\n DomainService.prototype.getEntityByKey = function (entityType, key, checkLocalCacheFirst, expand) {\n if (checkLocalCacheFirst === void 0) { checkLocalCacheFirst = true; }\n if (key && key instanceof Array && key.length > 1) {\n switch (entityType.shortName) {\n // TODO: Add more names of virtual classes.\n case 'PlanItem':\n return _super.prototype.getEntityByKey.call(this, entityType, key, checkLocalCacheFirst, expand);\n default:\n // Use first key value when class is not virtual.\n return _super.prototype.getEntityByKey.call(this, entityType, key[0], checkLocalCacheFirst, expand);\n }\n }\n return _super.prototype.getEntityByKey.call(this, entityType, key, checkLocalCacheFirst, expand);\n };\n /**\n * Looks for a location with a given zipcode and house number.\n * If not found a new location entity is created.\n * @param {any} zipCode The zipcode to look for.\n * @param {string} houseNumber The house number to look for.\n * @returns {Observable} The result of the query.\n * @memberOf DomainService\n */\n DomainService.prototype.locationByZipCode = function (zipCode, houseNumber) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var dataSet, entityType, data, entity, key;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n dataSet = new DataSet(this);\n dataSet.queryOptions = { 'parameters': { 'zipCode': zipCode, 'number': houseNumber } };\n dataSet.sourceName = 'LocationByZipCode';\n entityType = this.getEntityType('Location');\n dataSet.entityType = entityType;\n return [4 /*yield*/, dataSet.refresh()];\n case 1:\n data = _a.sent();\n if (data.results.length > 0) {\n entity = data.results[0];\n key = entity['Oid'] + '';\n if (key.indexOf('K_') === 0) {\n this.entityManager.detachEntity(entity);\n this.entityManager.addEntity(entity);\n }\n }\n return [2 /*return*/, data];\n }\n });\n });\n };\n /**\n * Method to setup a new master detail relation.\n * @param masterType The entity type of the master.\n * @param masterOid The object identifier of the master.\n * @param detail The detail instance to setup the relation with.\n * @returns The entity that links the master with the detail.\n * @memberOf DomainService\n */\n DomainService.prototype.setupMasterDetail = function (masterType, masterOid, detail) {\n var specialRelation = this.setupSpecialMasterDetail(masterType, masterOid, detail);\n if (specialRelation) {\n // Special relation exist with special logic.\n return specialRelation;\n }\n // Try to resolve relation with standard logic\n var customProp = 'custom';\n var metaDetail = detail.entityType[customProp];\n if (metaDetail.master) {\n // Simple one to many relation. Set foreign key value on detail.\n detail[metaDetail.master] = masterOid;\n return detail;\n }\n // Must look for many to many relation.\n // Getting the types of the possible details of this master.\n var detailTypes = this.getRelatedTypesOf(masterType);\n if (!detailTypes) {\n throw new Error('Can not find many to many relation for: '\n + masterType.shortName + ' <--> '\n + detail.entityType.shortName + '.');\n }\n // This enables the detail.isSubtypeOf method.\n this.getBaseTypeOf(detail.entityType);\n // Get possible many to many link objects for relation.\n var many2many = detailTypes.filter(function (item) {\n // Must has a NavigationProperty of the detail type.\n return (item.navigationProperties.find(function (nav) {\n return (detail.entityType === nav.entityType) || detail.entityType.isSubtypeOf(nav.entityType);\n }) !== undefined);\n });\n if (many2many.length === 0) {\n throw new Error('Can not find many to many relation for: '\n + masterType.shortName + ' <--> '\n + detail.entityType.shortName + '.');\n }\n if (many2many.length > 1) {\n throw new Error('Can not find one specific many to many relation for: '\n + masterType.shortName + ' <--> '\n + detail.entityType.shortName + '.');\n }\n var nav2Detail = this.getRelationProperty(many2many[0], detail.entityType, 'Child');\n var nav2Master = this.getRelationProperty(many2many[0], masterType, 'Parent');\n var values = {};\n values[nav2Master.foreignKeyNames[0]] = masterOid;\n values[nav2Detail.name] = detail;\n return this.addEntity(many2many[0].createEntity(values));\n };\n /**\n * Gets the base type of a type.\n * The current backend cannot return the base type directly in the metadata.\n * @param entityType The entity type.\n * @returns The base type or null when the base type is not a entity type.\n * @memberOf DomainService\n */\n DomainService.prototype.getBaseTypeOf = function (entityType) {\n var customProp = 'custom';\n if (entityType.baseEntityType == null) {\n var customData_1 = entityType[customProp];\n if (customData_1.baseTypeName) {\n entityType.baseEntityType = DomainService.entityTypes.find(function (item) { return item.name === customData_1.baseTypeName; });\n if (entityType.baseEntityType == null) {\n return null;\n }\n }\n else {\n return null;\n }\n this.getBaseTypeOf(entityType.baseEntityType);\n return entityType.baseEntityType;\n }\n return entityType.baseEntityType;\n };\n /**\n * Gets the navigation property with a certain result type from a link type in a many to many relation.\n * @param linkType The link type of the many to many relation.\n * @param relationType The result type of the navigation property.\n * @param defaultName The default name of the navigation property.\n * @returns The specific navigation property.\n * @memberOf DomainService\n */\n DomainService.prototype.getRelationProperty = function (linkType, relationType, defaultName) {\n var candidates = linkType.navigationProperties.filter(function (nav) {\n return (relationType === nav.entityType) || relationType.isSubtypeOf(nav.entityType);\n });\n if (candidates.length === 1) {\n return candidates[0];\n }\n else {\n var result = candidates.find(function (item) { return item.name === defaultName; });\n if (!result) {\n throw new Error('Can not find specific navigation property on '\n + linkType.shortName + ' for '\n + relationType.shortName);\n }\n return result;\n }\n };\n /**\n * Gets the related types of an entity type.\n * @param entityType The entity type.\n * @returns An array of related entity types.\n * @memberOf DomainService\n */\n DomainService.prototype.getRelatedTypesOf = function (entityType) {\n var _this = this;\n // This enables the entityType.isSubtypeOf method.\n this.getBaseTypeOf(entityType);\n var customProp = 'custom';\n var metaMaster = entityType[customProp];\n if (metaMaster.detailTypes) {\n // Already got them.\n return metaMaster.detailTypes;\n }\n if (!metaMaster.detailNames) {\n // This type has no details.\n return null;\n }\n // Filling up detailTypes array.\n metaMaster.detailTypes = [];\n metaMaster.detailNames.forEach(function (name) {\n var detailType = _this.metadataStore.getEntityType(name);\n if (!detailType) {\n throw new Error('Unknown detail type ' + name + '.');\n }\n // This enables the detailType.isSubtypeOf method.\n _this.getBaseTypeOf(detailType);\n metaMaster.detailTypes.push(detailType);\n });\n return metaMaster.detailTypes;\n };\n /**\n * Method to implement special master detail logic when standard logic is not sufficient to setup a relation.\n * @param masterType The entity type of the master.\n * @param masterOid The object identifier of the master.\n * @param detail The detail instance to setup the relation with.\n * @returns The entity that links the master with the detail or null when the relation does not need special logic.\n * @memberOf DomainService\n */\n DomainService.prototype.setupSpecialMasterDetail = function (masterType, masterOid, detail) {\n // TODO: Implement special logic here.\n switch (detail.entityType.shortName) {\n case 'Regulation':\n if (!detail.entityAspect.entityState.isAdded()) {\n break;\n }\n var regParentOid = '?';\n switch (masterType.shortName) {\n case 'Contract':\n case 'ResourceContract':\n regParentOid = masterOid;\n break;\n case 'Resource':\n if (masterOid.indexOf('K_') === 0) {\n regParentOid = masterOid;\n }\n else {\n regParentOid = '63' + masterOid.substring(2); // Oid van ResourceContract.\n }\n break;\n default:\n return null;\n }\n var regLink = this.entityManager.createEntity('ContractLink', {\n Parent_Oid: regParentOid,\n Child_Oid: detail['Oid']\n });\n return this.addEntity(regLink);\n case 'StateMembershipLink':\n case 'StateExpertiseLink':\n case 'StateLocalityLink':\n case 'StateCostLink':\n case 'StateResource':\n detail['Parent_Oid'] = masterOid;\n return detail;\n case 'PlanStep':\n detail['Owner_Oid'] = masterOid;\n return detail;\n case 'Taskneed':\n detail['Owner_Oid'] = masterOid;\n return detail;\n case 'TaskTemplate':\n if (masterType.shortName === 'ShiftTemplate') {\n detail['Shift_Oid'] = masterOid;\n return detail;\n }\n break;\n case 'Task':\n if (masterType.shortName === 'Project' || masterType.shortName === 'Phase') {\n detail['Project_Oid'] = masterOid;\n return detail;\n }\n if (masterType.shortName === 'Shift') {\n detail['Shift_Oid'] = masterOid;\n return detail;\n }\n break;\n case 'WorkPattern':\n if (!detail.entityAspect.entityState.isAdded()) {\n break;\n }\n var parentOid = '?';\n switch (masterType.shortName) {\n case 'Calendar':\n case 'ResourceCalendar':\n parentOid = masterOid;\n break;\n case 'Resource':\n if (masterOid.indexOf('K_') === 0) {\n parentOid = masterOid;\n }\n else {\n parentOid = '43' + masterOid.substring(2); // Oid van ResourceCalendar.\n }\n break;\n default:\n return null;\n }\n var link = this.entityManager.createEntity('CalendarLink', {\n Parent_Oid: parentOid,\n Child_Oid: detail['Oid']\n });\n return this.addEntity(link);\n case 'MacroStep':\n if (masterType.shortName === 'PlanMacro') {\n detail['Owner_Oid'] = masterOid;\n return detail;\n }\n }\n return null;\n };\n /**\n * Sets default values for every newly created entity (just after creation).\n * Specially for non standard (Symagic Server) entity types.\n * @param item The entity to update.\n * @memberOf DomainService\n */\n DomainService.prototype.setDefaultValues = function (user, item) {\n var _this = this;\n _super.prototype.setDefaultValues.call(this, user, item);\n item.entityType.dataProperties.forEach(function (property) {\n if (property.dataType.isDate) {\n switch (property.name) {\n case 'Start':\n item[property.name].setHours(_this.officeStart);\n item[property.name].setMinutes(0);\n break;\n case 'Finish':\n item[property.name].setHours(_this.officeEnd);\n item[property.name].setMinutes(0);\n break;\n case 'Birthday':\n item[property.name].setFullYear(1980, 0, 1);\n item[property.name].setHours(0);\n item[property.name].setMinutes(0);\n break;\n case 'Operational':\n item[property.name].setHours(0);\n item[property.name].setMinutes(0);\n break;\n }\n }\n switch (property.name) {\n case 'Color':\n if (!item['Color']) {\n switch (item.entityType.shortName) {\n case 'Attendant':\n case 'AttendantTemplate':\n item['Color'] = '#FFFFFF'; // #2816: Attendant heeft altijd dezelfde kleur als zijn Service.\n break;\n default:\n item['Color'] = '#FAD09F'; // Bijna Symagic oranje\n break;\n }\n }\n break;\n }\n });\n if (item.entityAspect.entityState === EntityState.Added && item['RepeatPattern'] !== undefined) {\n this.assignVirtualRepeat(item);\n }\n var resource = user.Resource;\n switch (item.entityType.shortName) {\n case 'Availability':\n item['Weight'] = 0;\n item['Resource'] = resource;\n item['Start'] = new Date();\n item['Start'].setHours(this.officeStart);\n item['Start'].setMinutes(0);\n item['Finish'] = new Date();\n item['Finish'].setHours(this.officeEnd);\n item['Finish'].setMinutes(0);\n break;\n case 'Appointment':\n item['HoursOfLeave'] = 'PT8H';\n item['Resource'] = resource;\n if (item['SumFactor'] == null) {\n item['SumFactor'] = 1;\n }\n item['Draft'] = true;\n break;\n case 'Absence':\n item['SumFactor'] = 1;\n break;\n case 'SpendTime':\n item['$currentUser'] = user; // See also: 'set Account_Oid' in app\\domain\\helpers\\spend-time.ts\n item['Resource'] = resource; // Check op HTML5rol weg; zie #1911\n item['Effort'] = 'PT8H';\n item['WorkStatus'] = 'OPEN';\n item['Unforeseen'] = 'NO';\n break;\n case 'Assignment':\n item['Resource'] = resource;\n item['Unforeseen'] = 'NO';\n item['Effort'] = 'PT8H';\n item['SumFactor'] = 1;\n item['Deployment_Oid'] = '';\n break;\n case 'TaskTemplate':\n case 'Task':\n item['Purpose'] = 'OTHER';\n item['EffortBudget'] = 'PT0S';\n item['Effort'] = 'PT0S';\n item['Planned'] = 'PT0S';\n item['SumFactor'] = 1;\n break;\n case 'Demand':\n item['WorkUnit'] = 'PT8H';\n item['SumFactor'] = 1;\n break;\n case 'DeploymentTemplate':\n case 'Deployment':\n case 'DemandTemplate':\n item['SumFactor'] = 1;\n break;\n case 'Shift':\n case 'Service':\n case 'ShiftTemplate':\n case 'ServiceTemplate':\n item['Purpose'] = 'OTHER';\n item['SumFactor'] = 1;\n break;\n case 'Attendant':\n case 'AttendantTemplate':\n item['SumFactor'] = 1;\n break;\n case 'Resource':\n item['Finish'] = new Date(9999, 11, 31);\n item['Skype'] = '';\n item['LinkedIn'] = '';\n break;\n case 'StateResource':\n item['Active'] = true;\n break;\n case 'User':\n item['HTML5Role'] = 'EMPLOYEE';\n item['Language'] = 'nl';\n break;\n default:\n break;\n }\n };\n /**\n * Assigns a virtual repeat (Kind = ONCE) to the entity.\n * @param {Entity} item The entity that gets the repeat.\n */\n DomainService.prototype.assignVirtualRepeat = function (item) {\n var repeatKey = item.entityType.shortName + '\\\\' + item['Oid'];\n var repeat = this.entityManager.getEntityByKey('Repeat', repeatKey);\n if (!repeat) {\n var entityType = this.entityManager.metadataStore.getEntityType('Repeat', false);\n repeat = entityType.createEntity();\n repeat['Oid'] = repeatKey;\n }\n repeat.Factor = 1;\n repeat.Cycles = -1;\n repeat.UntilDate = new Date();\n repeat.Owner_Oid = item['Oid'];\n repeat.Kind = 'ONCE';\n item['RepeatPattern'] = repeat;\n repeat.entityAspect.setUnchanged();\n };\n /**\n * Creates a copy of an entity.\n * @param item The entity to copy.\n * @returns The copy.\n * @memberOf DomainService\n */\n DomainService.prototype.copy = function (item, deep) {\n var _this = this;\n if (deep === void 0) { deep = true; }\n if (!item) {\n return null;\n }\n var result = _super.prototype.copy.call(this, item, deep);\n // Ik ga ervan uit dat we specifieke properties meenemen voor de deep copy.\n // Een array, alvast voor later als we meer properties meenemen voor deep copy.\n var deepCopyProperties = ['RepeatPattern'];\n if (deep) {\n deepCopyProperties.forEach(function (propertyName) {\n var copyProperty = item.entityType.navigationProperties.find(function (property) {\n return property.name === propertyName;\n });\n if (copyProperty && item[propertyName]) {\n var deepItem = null;\n switch (propertyName) {\n case 'RepeatPattern':\n deepItem = item[propertyName];\n // Specifieke repeat logica\n if (deepItem['Kind'] === 'ONCE') {\n result['RepeatPattern_Oid'] = '';\n result['RepeatPattern'] = null;\n return;\n }\n deepItem = _this.copy(item[propertyName]);\n deepItem['Owner_Oid'] = result['Oid'];\n // Fix issue 1051\n // Owner moet gezet anders raak je hem kwijt in de FieldsetRepeatComponent.constructor\n // Wat als daar Owner = null dan wordt uitgevoerd: repeat.entityAspect.setUnchanged();\n deepItem['Owner'] = result;\n deepItem['Oid'] = result.entityType.shortName + '\\\\' + deepItem['Owner_Oid'];\n break;\n }\n result[propertyName] = deepItem;\n }\n });\n }\n else {\n deepCopyProperties.forEach(function (propertyName) {\n var copyProperty = item.entityType.navigationProperties.find(function (property) {\n return property.name === propertyName;\n });\n if (copyProperty) {\n switch (propertyName) {\n case 'RepeatPattern':\n // Specifieke repeat logica.\n result['RepeatPattern_Oid'] = '';\n break;\n }\n }\n });\n }\n return result;\n };\n /**\n * Sets default values for changed entities (just before saving).\n * Specially for non standard (Symagic Server) entity types.\n * @param saveResult\n * @memberOf DomainService\n */\n DomainService.prototype.setDefaultValuesBeforeSave = function (saveResult) {\n var _this = this;\n _super.prototype.setDefaultValuesBeforeSave.call(this, saveResult);\n var deletedPlanItems = [];\n var modifiedPlanItems = [];\n var changes = this.entityManager.getChanges();\n changes.forEach(function (item) {\n switch (item.entityType.shortName) {\n case 'Appointment':\n if (item['Concerns'] !== null) {\n item['Color'] = item['Concerns']['Color'];\n item['SumFactor'] = item['Concerns']['SumFactor'];\n // Only replace appointment Name if it is empty.\n if (item['Name'] === '') {\n item['Name'] = item['Concerns']['Name'];\n }\n }\n break;\n case 'AttendantTemplate':\n case 'Attendant':\n var bool = item.entityAspect.entityState.isModified;\n var color = item.entityAspect.originalValues['Color'];\n if (bool && color) {\n item['Color'] = '#FFFFFF';\n }\n break;\n case 'SpendTime':\n // Only replace SpentTime Name if it is empty.\n if (item['Name'] === '' && item['Account'] !== null) {\n item['Name'] = item['Account']['Name'];\n }\n break;\n case 'PlanItem':\n _this.savePlanItem(item, deletedPlanItems, modifiedPlanItems);\n break;\n default:\n break;\n }\n });\n deletedPlanItems.forEach(function (item) {\n _this.entityManager.detachEntity(item);\n });\n saveResult.subscribe(function (data) {\n // Restoring the Item_Oid of modified PlanItems.\n modifiedPlanItems.forEach(function (item) {\n var entity = item['Item'];\n item['Item_Oid'] = entity['Oid'];\n item['Item'] = entity;\n item.entityAspect.setUnchanged();\n });\n // To notify the deletion of virtual instances.\n deletedPlanItems.forEach(function (item) {\n data.entities.splice(0, 0, item);\n });\n });\n };\n /**\n * Rejects current changes, emptying the changeset and restoring entities to their previous state.\n * @memberOf DomainService\n */\n DomainService.prototype.rejectChanges = function () {\n var locations = this.entityManager\n .getChanges()\n .filter(function (item) { return item.entityType.shortName === 'Location' && item['$CHANGED_BY_ENTITY']; });\n locations.forEach(function (item) {\n item.entityAspect.rejectChanges();\n delete item['$CHANGED_BY_ENTITY'];\n delete item['$CHANGED_BY_PROPERTY'];\n });\n _super.prototype.rejectChanges.call(this);\n };\n /**\n * Validates the entity based on the configuration.\n * @param {Entity} item The entity to be validated.\n * @param {EntityConfiguration} configuration The configuration contains the entity fields.\n * @returns {Observable>} An array of errors, thus an empty array if there are no validation errors.\n * @memberOf DomainService\n */\n DomainService.prototype.validateBeforeSave = function (callback, configuration) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var errors, locations, item, entity, property_1, zipCode, number, originalValues, resultSet, location_1, reason_1, changes;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n errors = [];\n locations = this.entityManager\n .getChanges()\n .filter(function (item) { return item.entityType.shortName === 'Location' && item['$CHANGED_BY_ENTITY']; });\n if (!(locations.length > 0)) return [3 /*break*/, 7];\n item = locations[0];\n entity = item['$CHANGED_BY_ENTITY'];\n property_1 = item['$CHANGED_BY_PROPERTY'];\n delete item['$CHANGED_BY_ENTITY'];\n delete item['$CHANGED_BY_PROPERTY'];\n if (!((item['Oid'] + '').lastIndexOf('_') < 2)) return [3 /*break*/, 5];\n zipCode = item['ZipCode'];\n number = item['HouseNumber'];\n if (zipCode === '' && number === '' && item.entityAspect.entityState.isAdded()) {\n entity[property_1 + '_Oid'] = null;\n if (entity.entityAspect.entityState.isModified()) {\n originalValues = entity.entityAspect.originalValues;\n if (Object.keys(originalValues).filter(function (key) { return key !== property_1 + '_Oid'; }).length === 0) {\n entity.entityAspect.setUnchanged();\n }\n }\n item.entityAspect.setDetached();\n this.validateBeforeSave(callback, configuration);\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.locationByZipCode(zipCode, number)];\n case 2:\n resultSet = _a.sent();\n if (resultSet.results.length > 0) {\n entity[property_1] = resultSet.results[0];\n item.entityAspect.rejectChanges();\n }\n else if (item.entityAspect.entityState.isModified()) {\n location_1 = this.copy(item);\n entity[property_1] = location_1;\n location_1['Longitude'] = '';\n location_1['Latitude'] = '';\n item.entityAspect.rejectChanges();\n }\n this.validateBeforeSave(callback, configuration);\n return [3 /*break*/, 4];\n case 3:\n reason_1 = _a.sent();\n if (this.addOnce(reason_1, errors)) {\n this.alertsService.createAlert('danger', reason_1);\n }\n return [3 /*break*/, 4];\n case 4: return [3 /*break*/, 6];\n case 5:\n this.validateBeforeSave(callback, configuration);\n _a.label = 6;\n case 6: return [2 /*return*/];\n case 7:\n changes = this.entityManager.getChanges();\n changes.forEach(function (item) {\n if (item.entityAspect.entityState.isDeleted()) {\n switch (item.entityType.shortName) {\n case 'Availability':\n if (!_this.validateAvailability(item, _this.backendSettingsService.availabilityClosedTill, errors)) {\n item.entityAspect.rejectChanges();\n }\n break;\n }\n return;\n }\n var owner = null; // In order not to have to make up new names...\n // Validating specific entity types.\n switch (item.entityType.shortName) {\n case 'Assignment':\n if (item['Resource_Oid'] === '') {\n var error = 'APP.DOMAIN.VALIDATORS.NEEDS_RESOURCE';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n break;\n }\n if (item['Deployment'] != null || !item.entityAspect.entityState.isAdded()) {\n break;\n }\n // Check of ik Assignment kan createn.\n var demand = item['$Deployment.Demand'];\n if (!demand) {\n var error = 'APP.DOMAIN.VALIDATORS.NEEDS_DEMAND';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n }\n break;\n case 'Attendant':\n case 'AttendantTemplate':\n var service = item['Service'];\n if (service == null) {\n break;\n }\n if (_this.getValueOf(item, 'Start') < _this.getValueOf(service, 'Start') ||\n _this.getValueOf(item, 'Finish') > _this.getValueOf(service, 'Finish')) {\n _this.alertsService.createAlert('info', 'APP.DOMAIN.VALIDATORS.ATTENDANT_OUTSIDE_SERVICE');\n }\n break;\n case 'Availability':\n _this.validateAvailability(item, _this.backendSettingsService.availabilityClosedTill, errors);\n break;\n case 'Demand':\n case 'DemandTemplate':\n var task = _this.getNavigationPropertyLocally(item, 'Task');\n if (task == null) {\n break;\n }\n if (_this.getValueOf(item, 'Start') < _this.getValueOf(task, 'Start') ||\n _this.getValueOf(item, 'Finish') > _this.getValueOf(task, 'Finish')) {\n var error = 'APP.DOMAIN.VALIDATORS.DEMAND_OUTSIDE_TASK';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n }\n break;\n case 'Repeat':\n if (item['@ValidatedRepeatSplit']) {\n delete item['@ValidatedRepeatSplit'];\n break;\n }\n owner = item['Owner'];\n if (owner && owner.entityType.shortName === 'Availability') {\n _this.validateAvailability(owner, _this.backendSettingsService.availabilityClosedTill, errors);\n }\n break;\n case 'Service':\n case 'ServiceTemplate':\n // Fix: Waarden Start en Eind voor een service(template) niet goed bij voor het eerst opslaan #2787\n // Validating on finish before start\n if (_this.getValueOf(item, 'StartBase') && _this.getValueOf(item, 'FinishBase')) {\n if (_this.getValueOf(item, 'StartBase') > _this.getValueOf(item, 'FinishBase')) {\n var error = 'APP.DOMAIN.VALIDATORS.FINISH_BEFORE_START';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n }\n }\n var shift = _this.getNavigationPropertyLocally(item, 'Shift');\n if (shift == null) {\n break;\n }\n if (_this.getValueOf(item, 'Start') < _this.getValueOf(shift, 'Start') ||\n _this.getValueOf(item, 'Finish') > _this.getValueOf(shift, 'Finish')) {\n var error = 'APP.DOMAIN.VALIDATORS.SERVICE_OUTSIDE_SHIFT';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n break;\n }\n if (item.entityAspect.originalValues &&\n shift.entityAspect.originalValues &&\n (item.entityAspect.originalValues['Start'] || item.entityAspect.originalValues['Finish']) &&\n (shift.entityAspect.originalValues['Start'] || shift.entityAspect.originalValues['Finish'])) {\n var error = 'APP.DOMAIN.VALIDATORS.SHIFT_SERVICE_PERIOD_CHANGE';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n break;\n }\n break;\n case 'Task':\n case 'TaskTemplate':\n var project = _this.getNavigationPropertyLocally(item, 'Project', item.entityType.shortName === 'Task' ? 'Project' : 'ProjectTemplate');\n if (project == null) {\n break;\n }\n if (_this.getValueOf(item, 'Start') < _this.getValueOf(project, 'Start') ||\n _this.getValueOf(item, 'Finish') > _this.getValueOf(project, 'Finish')) {\n var error = 'APP.DOMAIN.VALIDATORS.TASK_OUTSIDE_PROJECT';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n }\n break;\n case 'Taskneed':\n var categoryName = DomainService.oidToClassName(item['Category_Oid']);\n var className = DomainService.oidToClassName(item['Owner_Oid']);\n // The only restraint for taskneeds is that shifts and shift templates may not have more than one competence.\n if (categoryName !== 'Function' || (className !== 'Shift' && className !== 'ShiftTemplate')) {\n break;\n }\n owner = _this.getNavigationPropertyLocally(item, 'Owner', className);\n var taskneeds = _this.getRelationsLocally(owner, 'Taskneed', 'Owner');\n var otherFunction = taskneeds.findIndex(function (taskneed) {\n return taskneed['Category_Oid'] !== item['Category_Oid'] && DomainService.oidToClassName(taskneed['Category_Oid']) === 'Function';\n });\n if (otherFunction !== -1) {\n var error = 'APP.DOMAIN.VALIDATORS.ONLY_ONE_FUNCTION';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n }\n break;\n }\n // Validating on finish before start\n if (_this.getValueOf(item, 'Start') && _this.getValueOf(item, 'Finish')) {\n if (_this.getValueOf(item, 'Start') > _this.getValueOf(item, 'Finish')) {\n var error = 'APP.DOMAIN.VALIDATORS.FINISH_BEFORE_START';\n if (_this.addOnce(error, errors)) {\n _this.alertsService.createAlert('danger', error);\n }\n }\n }\n _this.validateFieldsBeforeSave(item, configuration, errors);\n });\n if (errors.length > 0) {\n callback(errors);\n }\n else {\n callback();\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Validation of a changed availability entity.\n * Is used in the method validateBeforeSave.\n * @private\n * @param {Entity} item The availability entity\n * @param {Date} availabilityClosedTill Date to check if entity is allowed change.\n * @param {string[]} errors Array that collects the errors.\n * @returns {boolean} True when evering is OK.\n * @memberOf DomainService\n */\n DomainService.prototype.validateAvailability = function (item, availabilityClosedTill, errors) {\n var start = moment(item['Start']);\n var test = item.entityAspect.originalValues['Start'];\n if (test) {\n var original = moment(test);\n if (item.entityAspect.entityState.isDeleted() || !original.isAfter(start)) {\n start = original;\n }\n }\n start = start.startOf('day');\n if (start.isBefore(availabilityClosedTill)) {\n var error = 'APP.DOMAIN.AVAILABILITY_FROZEN';\n if (this.addOnce(error, errors)) {\n this.alertsService.createAlert('danger', error);\n }\n return false;\n }\n return true;\n };\n /**\n * Gets the value of the entity according the given property path.\n * @private\n * @param {Entity} entity The entity with the value\n * @param {string} propertyPath The property path to the value.\n * @returns {*} The value when it exists otherwise null.\n * @memberOf DomainService\n */\n DomainService.prototype.getValueOf = function (entity, propertyPath) {\n if (!entity || !propertyPath) {\n return null;\n }\n var result = entity;\n var segments = propertyPath.split('.');\n for (var i = 0; i < segments.length; i++) {\n result = result[segments[i]];\n if (result == null) {\n // In this way all is alright when result === false.\n return null;\n }\n }\n return result;\n };\n /**\n * PlanItems are virtual/calculated entities, changes cannot be saved.\n * This method implements logic to translate the intentions of the user\n * when changing a PlanItem.\n * @private\n * @param {Entity} planItem The PlanItem with a new state.\n * @param {Entity[]} deletedItems Array to collect the deleted PlanItems.\n * @param {Entity[]} modifiedItems Array to collect the modified PlanItems.\n * @returns void;\n * @memberOf DomainService\n */\n DomainService.prototype.savePlanItem = function (planItem, deletedItems, modifiedItems) {\n // The entity presented by the PlanItem.\n var presentedEnity = this.entityManager.getEntityByKey(planItem['ItemClass'], planItem['Item_Oid']);\n if (!presentedEnity) {\n return;\n }\n var repeatKey = presentedEnity['RepeatPattern_Oid'];\n if (!repeatKey) {\n // Presented entity has no RepeatPattern_Oid property treat it as ONCE.\n repeatKey = '\\\\';\n }\n switch (planItem.entityAspect.entityState) {\n case EntityState.Deleted:\n deletedItems.push(planItem);\n if (repeatKey.indexOf('\\\\') === -1) {\n // The PlanItem is an instance of a repeat pattern of the presented entity.\n // Get the start that marks the instance in the repeat pattern.\n var start = planItem['Start'];\n if (planItem.entityAspect.originalValues && planItem.entityAspect.originalValues['Start']) {\n start = planItem.entityAspect.originalValues['Start'];\n }\n // We interrupt the repeat pattern at the found start.\n var interrupt = this.entityManager.createEntity('Interrupt', { Owner_Oid: repeatKey, Date: start });\n this.addEntity(interrupt);\n }\n else {\n // The PlanItem is the instance it presents.\n // We delete the presented entity.\n this.setDeleted(presentedEnity);\n }\n break;\n case EntityState.Modified:\n if (repeatKey.indexOf('\\\\') === -1) {\n // The PlanItem is an instance of a repeat pattern of the presented entity.\n // Get the start that marks the instance in the repeat pattern.\n var start = planItem['Start'];\n if (planItem.entityAspect.originalValues['Start']) {\n start = planItem.entityAspect.originalValues['Start'];\n }\n // We interrupt the repeat pattern at the found start.\n var interrupt = this.entityManager.createEntity('Interrupt', { Owner_Oid: repeatKey, Date: start });\n this.addEntity(interrupt);\n // We create a copy the presented entity\n var copyEntity = this.copy(presentedEnity, false);\n modifiedItems.push(planItem);\n // We change its Start and Finish according the PlanItem.\n copyEntity['Start'] = planItem['Start'];\n copyEntity['Finish'] = planItem['Finish'];\n if (planItem.entityAspect.originalValues['Effort']) {\n copyEntity['Effort'] = planItem['Effort']; // Gaat dit goed? Niet getest hier onder wel.\n }\n this.addEntity(copyEntity);\n // We keep a reference of the copy on the PlanItem.\n planItem['Item'] = copyEntity;\n planItem.entityAspect.setUnchanged();\n }\n else {\n // The PlanItem is the instance it presents.\n // We change its Start and Finish according the PlanItem.\n // Only when user has changed property, see issue:\n // Taak: Werkdruk wordt niet aangepast na aanpassen #2541\n if (planItem.entityAspect.originalValues['Start']) {\n presentedEnity['Start'] = planItem['Start'];\n }\n if (planItem.entityAspect.originalValues['Finish']) {\n presentedEnity['Finish'] = planItem['Finish'];\n }\n if (planItem.entityAspect.originalValues['Effort']) {\n presentedEnity['Effort'] = planItem['Effort']; // Getest: Effort gaat mee in edit agenda.\n }\n planItem['Item'] = presentedEnity;\n planItem.entityAspect.setUnchanged();\n }\n break;\n }\n };\n /**\n * Validate fields defined in the configuration and puts the found errors in the given errors array.\n * The method is used in validateBeforeSave to support form validation.\n * @private\n * @param {Entity} item The entity that is validated\n * @param {EntityConfiguration} configuration The configuration used by the form knowing which fields are depicted\n * @param {string[]} errors The array collecting the found errors.\n * @memberOf DomainService\n */\n DomainService.prototype.validateFieldsBeforeSave = function (item, configuration, errors) {\n var _this = this;\n if (!configuration || !item) {\n return;\n }\n if (item.entityType.shortName === 'Repeat' && item['Owner']) {\n var entity = item['Owner'];\n if (entity.entityType.shortName === configuration.entity) {\n var field = configuration.fields.find(function (fld) { return fld.editor === 'repeat'; });\n if (field) {\n if (this.validateRepeatPattern(entity, field.name, errors)) {\n this.alertsService.createAlert('danger', errors[errors.length - 1], field.name);\n }\n return;\n }\n }\n }\n if (configuration.entity !== item.entityType.shortName) {\n return;\n }\n var missing = [];\n // Validating entity fields.\n configuration.fields.forEach(function (field) {\n switch (field.editor) {\n case 'repeat':\n if (_this.validateRepeatPattern(item, field.name, errors)) {\n _this.alertsService.createAlert('danger', errors[errors.length - 1], field.name);\n }\n break;\n default:\n if (field.required &&\n field.name !== '@this') {\n var value = _this.getValueOf(item, field.name);\n if (value == null || value === '') {\n // Preventing redundant missing argument\n if (errors.indexOf('APP.DOMAIN.VALIDATORS.ONLY_ONE_FUNCTION') === -1 || field.labelKey !== 'APP.MISC.TASKNEED.CATEGORY') {\n missing.push(field.labelKey);\n }\n }\n }\n break;\n }\n });\n if (missing.length > 0) {\n if (this.addOnce('APP.DOMAIN.VALIDATORS.REQUIRED_FIELD_MISSING', errors)) {\n this.alertsService.createAlert('danger', 'APP.DOMAIN.VALIDATORS.REQUIRED_FIELD_MISSING', missing);\n }\n }\n };\n /**\n * Validates the repeat pattern of an entity.\n * @private\n * @param {Entity} item The entity that owns the repeat\n * @param {string} propertyName The property name that holds the repeat.\n * @param {string[]} errors The array collecting the errors.\n * @returns True when a new error is found.\n * @memberOf DomainService\n */\n DomainService.prototype.validateRepeatPattern = function (item, propertyName, errors) {\n var repeat = this.getValueOf(item, propertyName);\n if (!repeat) {\n return false;\n }\n var start;\n if (item) {\n start = item['Start'];\n }\n if (!start) {\n start = repeat.Start;\n }\n var error = null;\n var validation = repeat.validateWith(start);\n switch (repeat.validateWith(start)) {\n case RepeatValidation.WeekDayMismatch:\n error = 'APP.DOMAIN.VALIDATORS.REPEAT_WEEKDAY_MISMATCH';\n break;\n case RepeatValidation.OccurrenceOrderMismatch:\n error = 'APP.DOMAIN.VALIDATORS.REPEAT_ORDER_MISMATCH';\n break;\n case RepeatValidation.DateMismatch:\n error = 'APP.DOMAIN.VALIDATORS.REPEAT_DATE_MISMATCH';\n break;\n case RepeatValidation.MonthMismatch:\n error = 'APP.DOMAIN.VALIDATORS.REPEAT_MONTH_MISMATCH';\n break;\n case RepeatValidation.UntilDateBeforeStart:\n error = 'APP.DOMAIN.VALIDATORS.REPEAT_UNTIL_BEFORE_START';\n break;\n }\n return this.addOnce(error, errors);\n };\n /**\n * Adds a string value to a string array when value does not exist in array.\n * Otherwise value is not added to array.\n * @private\n * @param {String} value The value to add only once.\n * @param {String[]} array The array that gets the value only once.\n * @returns True when value is added.\n * @memberOf DomainService\n */\n DomainService.prototype.addOnce = function (value, array) {\n if (!value || array.findIndex(function (item) { return item === value; }) !== -1) {\n return false;\n }\n array.push(value);\n return true;\n };\n /**\n * The list is used to convert OID's to keys.\n * @private\n * @memberOf BreezeService\n */\n DomainService.charToCodeList = [\n -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n -1, -1, -1, -1, -1, -1, -1, -1, 0, 1,\n 2, 3, 4, 5, 6, 7, 8, 9, -1, -1,\n -1, -1, -1, -1, -1, 10, 11, 12, 13, 14,\n 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,\n 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,\n 35\n ];\n /**\n * The names of classes by their ID.\n * @static\n * @memberOf BreezeService\n */\n DomainService.classNames = {\n 20: 'Constraint', 21: 'Profile', 22: 'Evaluation', 23: 'Violation', 31: 'Repeat', 40: 'Activity', 41: 'Assignment', 50: 'Task',\n 51: 'Demand', 52: 'Shift', 53: 'Taskneed', 60: 'Project', 61: 'Phase', 70: 'Category', 71: 'Absence', 72: 'Process', 73: 'Function',\n 74: 'Team', 75: 'Location', 76: 'Regulation', 80: 'Assets', 81: 'Expertise', 82: 'Membership', 83: 'Locality', 84: 'Contract', 85: 'Context',\n 90: 'Resource', 91: 'Tool', 92: 'StaffMember', 93: 'ParentChildLink', 94: 'TimeLink', 95: 'ExpertiseLink', 96: 'StateTimeLink', 97: 'StateWeightLink',\n 98: 'StateRankLink', 99: 'StateExpertiseLink', 100: 'MembershipLink', 101: 'LocalityLink', 102: 'ContractLink', 103: 'StateContractLink', 104: 'StateMembershipLink',\n 105: 'StateLocalityLink', 106: 'Interrupt', 107: 'Deployment', 108: 'StateCategory', 109: 'Calendar', 110: 'WorkPattern', 111: 'CalendarLink', 112: 'ResourceCalendar',\n 113: 'Rule', 114: 'ResourceContract', 115: 'Member', 116: 'Sequence', 117: 'Appointment', 118: 'CostLink', 119: 'Tariff', 120: 'TariffGroup', 121: 'StateCostLink',\n 122: 'StateResource', 123: 'LogicLink', 124: 'Universe', 125: 'Availability', 126: 'User', 127: 'UserRole', 128: 'Authorization', 129: 'AuthorizationLink',\n 130: 'UserRoleLink', 131: 'ProjectTemplate', 132: 'PhaseTemplate', 133: 'TaskTemplate', 134: 'DemandTemplate', 135: 'DeploymentTemplate', 136: 'MemberTemplate',\n 137: 'Service', 138: 'Attendant', 139: 'ShiftTemplate', 140: 'ServiceTemplate', 141: 'AttendantTemplate', 142: 'Facility', 143: 'UserData', 144: 'BlobData',\n 145: 'ResourceTariffGroup', 146: 'WorkTariffGroup', 147: 'SpendTime', 148: 'ProjectExpense', 149: 'ResourceExpense', 150: 'Customer', 151: 'Code', 152: 'PlanStrategy',\n 153: 'PlanStep', 155: 'TaskCalendar', 156: 'PrivateWorkPattern', 157: 'PlanMacro', 158: 'MacroStep', 159: 'Subject', 160: 'Budget', 161: 'BudgetLink',\n 162: 'AssignmentHistory', 163: 'WorkBudget', 164: 'Value', 165: 'Stakeholder', 166: 'Contact', 167: 'FacilityCalendar', 168: 'FacilityTariffGroup', 169: 'FacilityContract',\n 170: 'FacilityMembership', 171: 'FacilityExpertise', 172: 'FacilityLocality', 173: 'TaskTariffGroup', 174: 'TaskTemplateTariffGroup', 175: 'ProjectTemplateTariffGroup', 176: 'AttendantHistory', 177: 'AssignmentTemplate'\n };\n return DomainService;\n}(BreezeService));\nexport { DomainService };\n","/**\n * @file Service for holding the authenticated user\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { SettingsService } from './settings.service';\nimport { AuthenticationService } from './authentication.service';\nimport { BreezeService } from './core/breeze.service';\nimport { AlertsService } from './core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DataSet } from './core/helpers/data-set';\nimport { DomainService } from './domain.service';\nimport { EntityManagerService } from './entity-manager.service';\nvar UserService = /** @class */ (function (_super) {\n tslib_1.__extends(UserService, _super);\n /**\n * Creates an instance of UserService.\n * @param {HttpClient} httpClient\n * @param {SettingsService} settingsService\n * @param {AuthenticationService} authenticationService\n * @memberof UserService\n */\n function UserService(settingsService, authenticationService, domainService, alertsService, translateService, entityManagerService) {\n var _this = _super.call(this, alertsService, translateService, entityManagerService) || this;\n _this.settingsService = settingsService;\n _this.authenticationService = authenticationService;\n _this.domainService = domainService;\n return _this;\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n UserService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.prepareUser()];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n UserService.prototype.prepareUser = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var claims, usernameClaim, currentUser, found;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.authenticationService.isAuthenticated()) {\n throw new Error('Can not load user data because the current user is unauthenticated');\n }\n claims = this.authenticationService.getIdentityClaims();\n usernameClaim = this.settingsService.settings.frontend.oauth.usernameClaim;\n return [4 /*yield*/, this.loadUser()];\n case 1:\n currentUser = _a.sent();\n if (!claims) {\n this.account = currentUser.Name.toLowerCase();\n this.fullName = currentUser.FirstName + ' ' + currentUser.LastName;\n this.name = currentUser.FirstName;\n }\n else {\n if (claims[usernameClaim] === null) {\n throw new Error('No claim called ' + usernameClaim + ' found for the user.');\n }\n this.account = claims[usernameClaim].toLowerCase();\n if (claims['given_name'] != null) {\n this.fullName = claims['given_name'] + ' ' + claims['family_name'];\n this.name = claims['given_name'].toLowerCase();\n }\n else {\n this.fullName = this.account;\n this.name = this.name;\n }\n }\n if (!currentUser.HTML5Role) {\n throw new Error('HTML5 Role missing for authenticated user.');\n }\n // Set the role (as Symagic role you change it in the application)\n this.html5role = currentUser.HTML5Role.toLowerCase();\n if (this.account !== currentUser.Name.toLowerCase()) {\n throw new Error('Authenticated user does not match authorized user.');\n }\n found = this.settingsService.settings.frontend.languages.find(function (item) { return item.code.toLowerCase() === currentUser.Language.toLowerCase(); });\n if (found) {\n this.language = found.locale;\n }\n else {\n this.language = this.settingsService.settings.frontend.default_language;\n console.warn('Language \"' + currentUser.Language + '\" of user not supported. Default language \"' + this.settingsService.settings.frontend.default_language + '\" selected.');\n }\n // Current default\n this.pictureUrl = 'https://s3.amazonaws.com/37assets/svn/1065-IMG_2529.jpg';\n this.resourceOid = currentUser.Resource_Oid;\n this.user = currentUser;\n return [2 /*return*/];\n }\n });\n });\n };\n UserService.prototype.hasAuthenticatedUser = function () {\n return (this.user !== undefined);\n };\n UserService.prototype.getResourceOfUser = function () {\n if (!this.user || !this.user.Resource) {\n return;\n }\n return this.user.Resource;\n };\n UserService.prototype.loadUser = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var dataSet;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n dataSet = new DataSet();\n dataSet.sourceName = 'CurrentUser';\n return [4 /*yield*/, this.domainService.registerAndLoadSource('User', dataSet, dataSet.items)];\n case 1:\n _a.sent();\n if (dataSet.items.length === 0) {\n throw new Error('Can not load the Resource');\n }\n return [2 /*return*/, dataSet.items[0]];\n }\n });\n });\n };\n /**\n * Return a value indicating whether the action is allowed for the user's HTML5 role\n * @param {ActionConfiguration} action The action is checked for its permissions\n * @returns {boolean} True if the user may perform the action\n */\n UserService.prototype.isActionAllowed = function (action) {\n if (!this.user) {\n return false;\n }\n return !action.allowed || action.allowed.includes(this.user.HTML5Role.toLowerCase());\n };\n UserService.prototype.changeRole = function (role) {\n if (!this.settingsService.settings.frontend.roles.includes(role)) {\n return;\n }\n this.html5role = role;\n };\n return UserService;\n}(BreezeService));\nexport { UserService };\n","/**\n * @file Service for loading and providing of the configuration\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { HttpClient } from '@angular/common/http';\nimport { UserService } from './user.service';\nvar ConfigurationsService = /** @class */ (function () {\n /**\n * Creates an instance of ConfigurationsService.\n * @param {HttpClient} httpClient\n * @param {SettingsService} settingsService\n * @param {UserService} userService\n * @memberof ConfigurationsService\n */\n function ConfigurationsService(httpClient, userService) {\n this.httpClient = httpClient;\n this.userService = userService;\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n ConfigurationsService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.loadConfiguration()];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n ConfigurationsService.prototype.loadConfiguration = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, this.httpClient.get('configs/boot.' + this.userService.html5role + '.simplified.json').toPromise().then(function (configurations) {\n _this.configurations = configurations;\n })];\n });\n });\n };\n ConfigurationsService.prototype.configApp = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n if (!this.configurations) {\n throw new Error('No configurations loaded');\n }\n if (!this.configurations.app) {\n throw new Error('App section is missing in the configuration');\n }\n return [2 /*return*/, this.configurations.app];\n });\n });\n };\n /**\n * Checks if the Notification (for current role) is part of the configuration\n */\n ConfigurationsService.prototype.hasNotifications = function () {\n if (!this.configurations) {\n return false;\n }\n if (!this.configurations.app) {\n return false;\n }\n if (!this.configurations.app.routes) {\n return false;\n }\n var notificationRoute = this.configurations.app.routes.find(function (route) { return route.name === 'Notification'; });\n if (!notificationRoute) {\n return false;\n }\n if (!notificationRoute.allowed.includes(this.userService.html5role)) {\n return false;\n }\n return true;\n };\n return ConfigurationsService;\n}());\nexport { ConfigurationsService };\n","/**\n * @file Registers and returns app components.\n * @author Maarten Lensink\n */\n/**\n * The class is used to register and retrieve components.\n * @export\n * @class ComponentRegistry\n */\nvar ComponentRegistry = /** @class */ (function () {\n function ComponentRegistry() {\n }\n /**\n * Registers a component.\n * @static\n * @param {ComponentType} type The component type.\n * @param {string} name The name of the component.\n * @param {Function} component The component itself.\n * @memberOf ComponentRegistry\n */\n ComponentRegistry.register = function (type, name, component) {\n if (ComponentRegistry.components[type][name] !== undefined) {\n throw new Error(\"A\" + (['a', 'e', 'i', 'o'].includes(type[0]) ? 'n' : '') + \" \" + type + \" component called \\\"\" + name + \"\\\" is already registered.\");\n }\n ComponentRegistry.components[type][name] = component;\n };\n /**\n * Returns a component if it is registered.\n * @static\n * @param {ComponentType} type The component type.\n * @param {string} name The name of the component.\n * @returns {Function} The component itself.\n * @memberOf ComponentRegistry\n */\n ComponentRegistry.getComponent = function (type, name) {\n if (ComponentRegistry.components[type][name] === undefined) {\n throw new Error(\"No \" + type + \" component registered by the name \\\"\" + name + \"\\\".\");\n }\n return ComponentRegistry.components[type][name];\n };\n /**\n * The array contains all the registered components.\n * @private\n * @static\n * @type {{ [key in ComponentType]: { [key: string]: Function } }} The type and name of the component.\n * @memberOf ComponentRegistry\n */\n ComponentRegistry.components = {\n 'column': {},\n 'detail': {},\n 'fieldset': {},\n 'grid': {},\n 'insight': {},\n 'list': {},\n 'overlay': {},\n 'relation': {},\n 'route': {}\n };\n return ComponentRegistry;\n}());\nexport { ComponentRegistry };\n","/**\n * @file The Not Found component.\n * @author Heino Lenting\n */\nimport { OnInit } from '@angular/core';\nvar NotFoundComponent = /** @class */ (function () {\n function NotFoundComponent() {\n }\n NotFoundComponent.prototype.ngOnInit = function () {\n };\n return NotFoundComponent;\n}());\nexport { NotFoundComponent };\n","/**\n * Class for the canDeactivate functionality\n */\nvar CanDeactivateGuard = /** @class */ (function () {\n function CanDeactivateGuard() {\n }\n /**\n * Used to test if the component can be deactived (overridable)\n * @param component The component with can deactivate functionality\n * @returns Returns if the component is deactivatable\n */\n CanDeactivateGuard.prototype.canDeactivate = function (component) {\n return component.canDeactivate ? component.canDeactivate() : true;\n };\n return CanDeactivateGuard;\n}());\nexport { CanDeactivateGuard };\n","/**\n * @file Class to check whether the user is authorized and has a resource.\n * @author Tom Verschoore de la Houssaije.\n */\nimport { UserService } from '../../user.service';\n/**\n * Class to check whether the user is authorized and has a resource.\n */\nvar NeedsUserResourceGuard = /** @class */ (function () {\n /**\n * Constructs a AuthorizedRouteActivator\n * @param userService The router service for resolving dynamic routes.\n */\n function NeedsUserResourceGuard(\n /** The router service for resolving dynamic routes. */\n userService) {\n this.userService = userService;\n }\n /**\n * This method is part of the CanActivate interface that normally decides whether a Route can be activated.\n * In this case the method replaces the Route component reference strings with the resolved component constructors.\n * Angular does not support this capability by default (yet). We need this as default capability,\n * so every \"route activator\" we use should support this behavior.\n * @param route The route to activate.\n * @param state The state of the router.\n */\n NeedsUserResourceGuard.prototype.canActivate = function (route, state) {\n return this.userService.resourceOid !== '';\n };\n return NeedsUserResourceGuard;\n}());\nexport { NeedsUserResourceGuard };\n","/**\n * @file Service for generating the routes and the menu.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ConfigurationsService } from './configurations.service';\nimport { ComponentRegistry } from './core/component-registry';\nimport { NotFoundComponent } from './core/not-found/not-found.component';\nimport { CanDeactivateGuard } from './core/guards/can-deactivate.guard';\nimport { NeedsUserResourceGuard } from './core/guards/needs-user-resource.guard';\n/**\n * Name of Route data property to get, set the configuration reference.\n */\nexport var CONFIGURATION_ROUTE_DATA_PROPERTY = 'configKey';\n/**\n * The name of the route parameter containing the key of the entity shown.\n */\nexport var ROUTE_PARAM_ID = 'id';\nvar RoutesService = /** @class */ (function () {\n /**\n * Creates an instance of RoutesService.\n * @param {ConfigurationsService} configurationsService\n * @memberof RoutesService\n */\n function RoutesService(configurationsService) {\n this.configurationsService = configurationsService;\n this.routes = [];\n this.menuItems = [];\n this.giveWarnings = true;\n /**\n * Optional guards for a route.\n */\n this.guards = {\n 'needs-user-resource': NeedsUserResourceGuard\n };\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n RoutesService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = this.createRoutes;\n return [4 /*yield*/, this.configurationsService.configApp()];\n case 1:\n _a.apply(this, [_b.sent()]);\n this.createMenuItems();\n return [2 /*return*/];\n }\n });\n });\n };\n RoutesService.prototype.createRoutes = function (appConfiguration) {\n var _this = this;\n this.routes.length = 0;\n appConfiguration.routes.forEach(function (configuration) {\n _this.buildRoutesTree(configuration);\n });\n // Keep track of the first route\n var firstRoute = this.routes[0];\n // Create redirect to first childs of parent routes\n var routesWithChildren = this.routes.filter(function (route) { return route.children && route.children.length > 0; });\n routesWithChildren.forEach(function (routeWithChildren) {\n _this.routes.unshift({\n path: routeWithChildren.path,\n redirectTo: '/' + routeWithChildren.path + '/' + routeWithChildren.children[0].path,\n pathMatch: 'full'\n });\n });\n // Redirect / to the first route\n this.routes.unshift({\n path: '',\n redirectTo: (firstRoute.children && firstRoute.children.length > 0) ? '/' + firstRoute.path + '/' + firstRoute.children[0].path : firstRoute.path,\n pathMatch: 'full'\n });\n // Add 404 page\n this.routes.push({\n path: '**',\n component: NotFoundComponent\n });\n };\n RoutesService.prototype.buildRoutesTree = function (configuration, parentRoute) {\n var _this = this;\n var path = this.getConfigPath(configuration);\n var routes = this.getConfigRoutes(configuration);\n // The base route\n var route = {\n path: path,\n children: [],\n data: {\n labelKey: configuration.labelKey\n }\n };\n if (configuration.component) {\n // Make sure we can find the component\n var component = ComponentRegistry.getComponent('route', configuration.component);\n // Update new route\n route = tslib_1.__assign({}, route, { \n // pathMatch: 'full',\n canActivate: [], // AuthorizedRouteGuard TODO: not needed anymore?\n component: component, canDeactivate: [CanDeactivateGuard] });\n if (configuration.guards) {\n configuration.guards.forEach(function (key) {\n var guard = _this.guards[key];\n if (guard) {\n route.canActivate.push(guard);\n return;\n }\n throw new Error(\"Invalid guard \\\"\" + key + \"\\\" for route \" + configuration.path + \".\");\n });\n }\n // Add configuration to the route\n route.data[CONFIGURATION_ROUTE_DATA_PROPERTY] = configuration.configuration;\n }\n // Add global routes or add it as a child to an existing route\n if (!parentRoute) {\n this.routes.push(route);\n }\n else {\n parentRoute.children.push(route);\n }\n // Run through the subroutes for creating the routes tree\n routes.forEach(function (routeConfig) {\n _this.buildRoutesTree(routeConfig, route);\n });\n };\n RoutesService.prototype.getConfigPath = function (configuration) {\n // We prefer to use the path\n if (configuration.path) {\n if (configuration.path[0] === '/') {\n if (this.giveWarnings) {\n console.warn('Stop using slashes in the paths (' + configuration.path + ')');\n }\n configuration.path = configuration.path.substring(1);\n }\n return configuration.path;\n }\n // If no path exists we try to use the name\n if (configuration.name) {\n return configuration.name.toLowerCase();\n }\n if (this.giveWarnings) {\n console.warn('Can not create path because both path and name are missing');\n }\n return '';\n };\n RoutesService.prototype.getConfigRoutes = function (configuration) {\n // Default we have routes on configuration\n if (configuration.routes) {\n return configuration.routes.slice();\n }\n // But sometimes (at the second level), we have routes in the configuration of the configuration\n if (configuration.configuration) {\n if (configuration.configuration.routes) {\n // if (this.giveWarnings) {\n // console.warn('Nested configurations, is this really needed?');\n // }\n return configuration.configuration.routes.slice();\n }\n }\n return [];\n };\n RoutesService.prototype.createMenuItems = function () {\n var _this = this;\n this.menuItems.length = 0;\n this.routes.forEach(function (parentRoute) {\n // Ignore wildcard, redirects and empty paths's\n if (parentRoute.path === '**' || parentRoute.path === '' || parentRoute.redirectTo) {\n return;\n }\n var parentLink = (parentRoute.children[0]) ? '/' + parentRoute.path + '/' + parentRoute.children[0].path : '/' + parentRoute.path;\n var menuItem = {\n path: parentRoute.path,\n link: parentLink,\n labelKey: parentRoute.data['labelKey'],\n menuItems: []\n };\n _this.menuItems.push(menuItem);\n if (parentRoute.children) {\n parentRoute.children.forEach(function (childRoute) {\n var childLink = '/' + parentRoute.path + '/' + childRoute.path;\n var subMenuItem = {\n path: childRoute.path,\n link: childLink,\n labelKey: childRoute.data['labelKey']\n };\n menuItem.menuItems.push(subMenuItem);\n });\n }\n });\n };\n /**\n * Navigates back to the parent url.\n * @static\n * @param {Router} router The router to navigate with.\n * @param {ActivatedRoute} fromRoute The child route.\n * @param {Params} params The params for the url.\n * @returns {Promise} The promise of the navigation.\n * @memberOf RoutesService\n */\n RoutesService.navigateBack = function (router, fromRoute, params) {\n var stepBack = '';\n fromRoute.snapshot.url.forEach(function () {\n stepBack += '../';\n });\n return router.navigate([stepBack], { relativeTo: fromRoute, queryParams: params });\n };\n /**\n * Gets the id from router state when the state is a detail route otherwise returns null\n * @static\n * @param {RouterState} routerState The router state to check.\n * @returns {*} The id from the detail route otherwise null.\n * @memberOf RoutesService\n */\n RoutesService.getDetailId = function (routerState) {\n if (!routerState) {\n return null;\n }\n var route = routerState.snapshot.root;\n while (route.firstChild != null) {\n route = route.firstChild;\n }\n if (route.paramMap.keys.indexOf(ROUTE_PARAM_ID) === -1) {\n return null;\n }\n return route.params[ROUTE_PARAM_ID];\n };\n return RoutesService;\n}());\nexport { RoutesService };\n","/**\n * @file Service for current resource\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AuthenticationService } from './authentication.service';\nimport { UserService } from './user.service';\nvar ResourceService = /** @class */ (function () {\n /**\n * Creates an instance of ResourceService.\n * @param {SettingsService} settingsService\n * @param {AuthenticationService} authenticationService\n * @param {UserService} userService\n * @memberof ResourceService\n */\n function ResourceService(authenticationService, userService) {\n this.authenticationService = authenticationService;\n this.userService = userService;\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n ResourceService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.loadResource()];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n ResourceService.prototype.loadResource = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n if (!this.authenticationService.isAuthenticated()) {\n throw new Error('Can not load the Resource because the current user is unauthenticated');\n }\n if (!this.userService.hasAuthenticatedUser()) {\n throw new Error('Loading the Resource is only possible if there is an Authenticated user');\n }\n this.resource = this.userService.getResourceOfUser();\n return [2 /*return*/];\n });\n });\n };\n ResourceService.prototype.getResourceOid = function () {\n return this.userService.resourceOid;\n };\n return ResourceService;\n}());\nexport { ResourceService };\n","/**\n * @file Helper class for the international formatting of dates, times and currency\n * @author Tom Verschoore de la Houssaije.\n */\nimport { EventEmitter } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { SettingsService } from '../settings.service';\n/** Service managing formatting of dates, times and currency */\nvar LocalisationService = /** @class */ (function () {\n function LocalisationService(translateService, settingsService) {\n this.translateService = translateService;\n this.settingsService = settingsService;\n this.onLanguageChanged = new EventEmitter();\n }\n /**\n * Converts a string array to an array of RegExps and strings, used by the masking\n * @static\n * @param {[string]} values\n * @returns {any[]}\n *\n */\n LocalisationService.toMaskArray = function (values) {\n var result = [];\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n var value = values_1[_i];\n (value.startsWith('\\\\')) ? result.push(RegExp(value)) : result.push(value);\n // (value.length > 1) ? result.push(RegExp(value)) : result.push(value);\n }\n return result;\n };\n Object.defineProperty(LocalisationService.prototype, \"currentLanguage\", {\n /**\n * Gets the current Language object, if the current language isn't\n * set or the locale can not be found, the system will fall back on English.\n * @readonly\n * @type {Language}\n */\n get: function () {\n return this.language(this.translateService.currentLang);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LocalisationService.prototype, \"duration\", {\n get: function () {\n return this.currentLanguage.formats.duration;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LocalisationService.prototype, \"date\", {\n /**\n * Gets the DateFormat for the current language\n * @readonly\n * @type {DateFormat}\n */\n get: function () {\n return this.currentLanguage.formats.date;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LocalisationService.prototype, \"shortDate\", {\n /**\n * Gets the short DateFormat for the current language\n * @readonly\n * @type {DateFormat}\n */\n get: function () {\n return this.currentLanguage.formats.shortdate;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LocalisationService.prototype, \"dayMonth\", {\n /**\n * Gets the DateFormat displaying the day and abbreviated month for the current language\n * @readonly\n * @type {DateFormat}\n * @memberOf LocalisationService\n */\n get: function () {\n return this.currentLanguage.formats.daymonth;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LocalisationService.prototype, \"time\", {\n /**\n * Gets the time format based on the current language\n * @readonly\n * @type {DateFormat}\n */\n get: function () {\n return this.currentLanguage.formats.time;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LocalisationService.prototype, \"dateTime\", {\n /**\n * Gets the full DateTime format based on the current language\n * @readonly\n * @type {DateFormat}\n */\n get: function () {\n return this.currentLanguage.formats.datetime;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LocalisationService.prototype, \"languages\", {\n /**\n * Gets an array with the Language definitions from the settings\n * @readonly\n * @type {Language[]}\n */\n get: function () {\n return this.settingsService.settings.frontend.languages;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the language for the supplied locale, if the locale could\n * not be found, the default language will be returned (English)\n * @param {string} locale\n * @returns {Language}\n */\n LocalisationService.prototype.language = function (locale) {\n var ls = this.languages.filter(function (l) {\n return l.locale === locale;\n });\n if (ls.length === 0) {\n if (locale === this.settingsService.settings.frontend.default_language) {\n return this.languages[0];\n }\n else {\n return this.language(this.settingsService.settings.frontend.default_language);\n }\n }\n else {\n return ls[0];\n }\n };\n /**\n * Sets the language to the language with the supplied locale\n * @param {string} language\n */\n LocalisationService.prototype.setLanguage = function (locale) {\n this.translateService.use(locale);\n var language = this.language(locale);\n moment.locale(language.moment);\n this.onLanguageChanged.emit(language);\n };\n LocalisationService.prototype.calendarRelativeOptions = function () {\n return {\n sameDay: '[' + this.translateService.instant('APP.CORE.TODAY') + ']',\n nextDay: '[' + this.translateService.instant('APP.CORE.TOMORROW') + ']',\n lastDay: '[' + this.translateService.instant('APP.CORE.YESTERDAY') + ']',\n nextWeek: 'dddd',\n lastWeek: 'dddd',\n sameElse: 'dddd'\n };\n };\n return LocalisationService;\n}());\nexport { LocalisationService };\n","var VersionCompare = /** @class */ (function () {\n function VersionCompare() {\n }\n /**\n * Compare version strings\n *\n * @static\n * @param {string} first First version number for the compare\n * @param {string} second Second version number for the compare\n * @returns {number} 1 if the second is larger, -1 if the first is larger, 0 if the same\n */\n VersionCompare.compare = function (first, second) {\n if (first === second) {\n return 0;\n }\n var array = [first, second];\n var splitter = array.map(function (a) { return a.split('.').map(function (n) { return +n + 100000; }); });\n var max_length = 0;\n splitter.forEach(function (s) {\n if (s.length > max_length) {\n max_length = s.length;\n }\n });\n splitter.forEach(function (s) {\n for (var index = s.length; index < max_length; index++) {\n s.push(100000);\n }\n });\n var original_array = splitter.map(function (s) { return s.join('.'); })\n .map(function (a) { return a.split('.').map(function (n) { return +n - 100000; }).join('.'); });\n array = splitter.map(function (s) { return s.join('.'); }).sort()\n .map(function (a) { return a.split('.').map(function (n) { return +n - 100000; }).join('.'); });\n if (array[0] === array[1]) {\n return 0;\n }\n if (array[1] === original_array[1]) {\n return 1;\n }\n else if (array[0] === original_array[1]) {\n return -1;\n }\n };\n VersionCompare.same_or_higher = function (version, minimum) {\n return VersionCompare.compare(version, minimum) <= 0;\n };\n return VersionCompare;\n}());\nexport { VersionCompare };\n","/**\n * @file During the bootflow a few parameters are tested.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { SettingsService } from './settings.service';\nimport { HttpClient } from '@angular/common/http';\nimport { AuthenticationService } from './authentication.service';\nimport { ErrorService } from './core/error.service';\nimport { VersionCompare } from './base/helpers/version-compare';\nvar TestService = /** @class */ (function () {\n /**\n * Creates an instance of TestService.\n * @param {HttpClient} httpClient\n * @param {SettingsService} settingsService\n * @param {AuthenticationService} authenticationService\n * @param {ErrorService} errorService\n * @memberof TestService\n */\n function TestService(httpClient, settingsService, authenticationService, errorService) {\n this.httpClient = httpClient;\n this.settingsService = settingsService;\n this.authenticationService = authenticationService;\n this.errorService = errorService;\n this.results = {};\n }\n /**\n * Methode is part of Bootflow in app.module.ts\n */\n TestService.prototype.bootInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.testVersions()];\n case 1:\n _a.sent();\n return [4 /*yield*/, this.testAccountHealth()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n TestService.prototype.testVersions = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var runningVersions, requirements;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.httpClient.get(this.settingsService.settings.frontend.versions.uri).toPromise()];\n case 1:\n runningVersions = _a.sent();\n // Expect a few properties\n if (!runningVersions.Symagic) {\n this.errorService.addError(new Error('Can not retrieve the Symagic Server version.'));\n }\n if (!runningVersions.API) {\n this.errorService.addError(new Error('Can not retrieve the API Server version.'));\n }\n requirements = {\n 'symagic-server-version': this.settingsService.settings.frontend.versions.server,\n 'api-server-version': this.settingsService.settings.frontend.versions.api\n };\n if (!VersionCompare.same_or_higher(runningVersions.Symagic, requirements['symagic-server-version'])) {\n this.errorService.addError(new Error(\"Symagic Server (v\" + runningVersions.Symagic + \") does not meet requirements (v\" + requirements['symagic-server-version'] + \")\"));\n }\n if (!VersionCompare.same_or_higher(runningVersions.API, requirements['api-server-version'])) {\n this.errorService.addError(new Error(\"API Server (v\" + runningVersions.API + \") does not meet requirements (v\" + requirements['api-server-version'] + \")\"));\n }\n // Save results\n this.results['symagic-server-version'] = runningVersions.Symagic;\n this.results['api-server-version'] = runningVersions.API;\n return [2 /*return*/];\n }\n });\n });\n };\n TestService.prototype.testAccountHealth = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var planningDomain, accountHealth;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n planningDomain = this.settingsService.settings.frontend.domains.find(function (d) { return d.name === 'planning'; });\n if (!planningDomain) {\n this.errorService.addError(new Error('Can not find the Planning domain for retrieving account health data.'));\n }\n return [4 /*yield*/, this.httpClient.get(planningDomain.uri + '/AccountHealthItems').toPromise()];\n case 1:\n accountHealth = (_a.sent())[0];\n // Expect a few properties\n if (accountHealth.hasUser === undefined) {\n this.errorService.addError(new Error('Account health data is missing a property (hasUser)'));\n }\n if (accountHealth.hasResource === undefined) {\n this.errorService.addError(new Error('Account health data is missing a property (hasResource)'));\n }\n if (accountHealth.hasHTML5Role === undefined) {\n this.errorService.addError(new Error('Account health data is missing a property (hasHTML5Role)'));\n }\n if (accountHealth.isEnabled === undefined) {\n this.errorService.addError(new Error('Account health data is missing a property (isEnabled)'));\n }\n // Check if the account is healthy\n if (!accountHealth.hasUser === true) {\n this.errorService.addError(new Error('APP.ERROR_HANDLING.ACCOUNT_NO_USER'));\n }\n if (!accountHealth.hasResource === true) {\n this.errorService.addError(new Error('APP.ERROR_HANDLING.ACCOUNT_NO_RESOURCE'));\n }\n if (!accountHealth.hasHTML5Role === true) {\n this.errorService.addError(new Error('APP.ERROR_HANDLING.ACCOUNT_NO_HTML5ROLE'));\n }\n if (!accountHealth.isEnabled === true) {\n this.errorService.addError(new Error('APP.ERROR_HANDLING.ACCOUNT_DISABLED'));\n }\n return [2 /*return*/];\n }\n });\n });\n };\n return TestService;\n}());\nexport { TestService };\n","var _this = this;\nimport * as tslib_1 from \"tslib\";\nimport { HttpClient } from '@angular/common/http';\nimport * as moment from 'moment';\nimport { TranslateService } from '@ngx-translate/core';\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\nimport { SettingsService } from './settings.service';\nimport { RoutesService } from './routes.service';\nimport { ConfigurationsService } from './configurations.service';\nimport { ResourceService } from './resource.service';\nimport { UserService } from './user.service';\nimport { AuthenticationService } from './authentication.service';\nimport { LocalisationService } from './core/localisation.service';\nimport { TestService } from './test.service';\nimport { BreezeService } from './core/breeze.service';\nimport { AlertsService } from './core/alerts.service';\nimport { EntityManagerService } from './entity-manager.service';\nimport { BackendSettingsService } from './backend-settings.service';\nimport { ErrorService } from './core/error.service';\nimport { DomainService } from './domain.service';\nvar Bootflow = /** @class */ (function () {\n /**\n * Creates an instance of Bootflow.\n * @param {SettingsService} settingsService\n * @param {AuthenticationService} authenticationService\n * @param {UserService} userService\n * @param {ResourceService} resourceService\n * @param {ConfigurationsService} configurationsService\n * @param {RoutesService} routesService\n * @param {TestService} testService\n * @param {TranslateService} translateService\n * @param {LocalisationService} localisationService\n * @param {AlertsService} alertsService\n * @memberof Bootflow\n */\n function Bootflow(settingsService, authenticationService, entityManagerService, domainService, userService, resourceService, configurationsService, routesService, backendSettingsService, testService, translateService, localisationService, alertsService) {\n this.settingsService = settingsService;\n this.authenticationService = authenticationService;\n this.entityManagerService = entityManagerService;\n this.domainService = domainService;\n this.userService = userService;\n this.resourceService = resourceService;\n this.configurationsService = configurationsService;\n this.routesService = routesService;\n this.backendSettingsService = backendSettingsService;\n this.testService = testService;\n this.translateService = translateService;\n this.localisationService = localisationService;\n this.alertsService = alertsService;\n }\n Bootflow.prototype.bootProgess = function (message, percentage) {\n if (window['bootProgress']) {\n window['bootProgress'](message, percentage);\n }\n };\n Bootflow.prototype.start = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n // Start with this default\n this.translateService.setDefaultLang('en-GB');\n return [4 /*yield*/, this.settingsService.bootInit()];\n case 1:\n _a.sent();\n this.bootProgess('Settings loaded', 30);\n return [4 /*yield*/, this.authenticationService.bootInit()];\n case 2:\n _a.sent();\n this.bootProgess('Authentication', 35);\n return [4 /*yield*/, this.entityManagerService.bootInit()];\n case 3:\n _a.sent();\n this.bootProgess('Entity manager loaded', 40);\n return [4 /*yield*/, this.domainService.bootInit()];\n case 4:\n _a.sent();\n this.bootProgess('Domain service started', 45);\n return [4 /*yield*/, this.userService.bootInit()];\n case 5:\n _a.sent();\n this.bootProgess('Current user is initiated', 50);\n return [4 /*yield*/, this.resourceService.bootInit()];\n case 6:\n _a.sent();\n this.bootProgess('Resource is loaded', 60);\n return [4 /*yield*/, this.configurationsService.bootInit()];\n case 7:\n _a.sent();\n this.bootProgess('Configuration is loaded', 70);\n return [4 /*yield*/, this.routesService.bootInit()];\n case 8:\n _a.sent();\n this.bootProgess('Routes are initiated', 80);\n return [4 /*yield*/, this.backendSettingsService.bootInit()];\n case 9:\n _a.sent();\n this.bootProgess('Backend preferences loaded', 90);\n return [4 /*yield*/, this.testService.bootInit()];\n case 10:\n _a.sent();\n this.bootProgess('Initial tests are finished', 100);\n /* Adjust locale for different settings for NL-custom */\n moment.defineLocale('nl-custom', {\n parentLocale: 'nl',\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: 'een paar milliseconden',\n m: '1 minuut',\n mm: '%d minuten',\n h: '1 uur',\n hh: '%d uur',\n d: '1 dag',\n dd: '%d dagen',\n M: '1 maand',\n MM: '%d maanden',\n y: '1 jaar',\n yy: '%d jaar'\n },\n monthsShort: [\n 'Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun',\n 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'\n ],\n weekdaysShort: ['Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za'],\n weekdays: ['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag']\n });\n this.translateService.setDefaultLang(this.userService.language);\n this.localisationService.setLanguage(this.userService.language);\n BreezeService.adapterSetup(this.translateService, this.alertsService);\n return [2 /*return*/];\n }\n });\n });\n };\n return Bootflow;\n}());\nexport { Bootflow };\nvar ɵ0 = function (httpClient) {\n return new TranslateHttpLoader(httpClient, 'i18n/', '.bundle.json');\n}, ɵ1 = function (bootflow, errorService) {\n return function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, bootflow.start()];\n case 1:\n _a.sent();\n return [3 /*break*/, 3];\n case 2:\n error_1 = _a.sent();\n if (error_1) {\n errorService.addError(error_1);\n }\n return [3 /*break*/, 3];\n case 3: return [2 /*return*/];\n }\n });\n }); };\n};\nvar AppModule = /** @class */ (function () {\n function AppModule() {\n }\n return AppModule;\n}());\nexport { AppModule };\nexport { ɵ0, ɵ1 };\n","/**\n * @file The App component.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ErrorService } from './core/error.service';\nimport { AuthenticationService } from './authentication.service';\nimport { Title } from '@angular/platform-browser';\nimport { SettingsService } from './settings.service';\nimport { AbstractBase } from './core/helpers/abstract-base';\n/**\n * The root component of this application.\n */\nvar AppComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AppComponent, _super);\n /**\n * Creates an instance of AppComponent.\n * @param {ErrorService} errorService\n * @param {AuthenticationService} authenticationService\n * @param {*} document\n * @memberof AppComponent\n */\n function AppComponent(errorService, settingsService, authenticationService, titleService, document) {\n var _this = _super.call(this) || this;\n _this.errorService = errorService;\n _this.settingsService = settingsService;\n _this.authenticationService = authenticationService;\n _this.titleService = titleService;\n _this.document = document;\n // After refreshing we want to remove the iframe to\n // reduce memory consumption of the applicatin.\n _this.subscriptionPool.add(_this.authenticationService.removeRefreshIframe.subscribe(function () {\n _this.deleteSilentRefreshIFrame();\n }));\n // Set the title\n _this.titleService.setTitle(_this.settingsService.settings.frontend.title);\n return _this;\n }\n AppComponent.prototype.onFocus = function (event) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.authenticationService.doSilentRefresh()];\n case 1:\n _a.sent(); // See #3529\n return [2 /*return*/];\n }\n });\n });\n };\n // Delete the iframe used for the silent refresh method.\n AppComponent.prototype.deleteSilentRefreshIFrame = function () {\n var iframe = this.document.getElementById(this.authenticationService.getSilentRefreshIFrameName());\n if (iframe) {\n iframe.parentNode.removeChild(iframe);\n }\n else {\n console.warn('Trying to delete a non-existing silent refresh iframe...');\n }\n };\n return AppComponent;\n}(AbstractBase));\nexport { AppComponent };\n","/**\n * @file Use this component to navigate to an empty page. Technical solution making dynamic routing possible.\n * @author Tom Verschoore de la Houssaije\n */\n/**\n * Use this component to navigate to an empty page.\n */\nvar EmptyComponent = /** @class */ (function () {\n /**\n * Constructs a EmptyComponent\n */\n function EmptyComponent() {\n // Does nothing\n }\n return EmptyComponent;\n}());\nexport { EmptyComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Use this component to navigate to an empty page. Technical solution making dynamic routing possible.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./empty.component\";\nvar styles_EmptyComponent = [];\nvar RenderType_EmptyComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_EmptyComponent, data: {} });\nexport { RenderType_EmptyComponent as RenderType_EmptyComponent };\nexport function View_EmptyComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_EmptyComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-empty\", [], null, null, null, View_EmptyComponent_0, RenderType_EmptyComponent)), i0.ɵdid(1, 49152, null, 0, i1.EmptyComponent, [], null, null)], null, null); }\nvar EmptyComponentNgFactory = i0.ɵccf(\"sym-empty\", i1.EmptyComponent, View_EmptyComponent_Host_0, {}, {}, []);\nexport { EmptyComponentNgFactory as EmptyComponentNgFactory };\n","import { AuthenticationService } from '../../authentication.service';\nimport { ErrorService } from '../error.service';\nimport { SettingsService } from '../../settings.service';\nvar ErrorPageComponent = /** @class */ (function () {\n function ErrorPageComponent(authenticationService, errorService, settingsService) {\n this.authenticationService = authenticationService;\n this.errorService = errorService;\n this.settingsService = settingsService;\n }\n /**\n * Perform log out from authentication service\n */\n ErrorPageComponent.prototype.doLogout = function () {\n this.authenticationService.logOut();\n };\n /**\n * Clear errors and try again\n */\n ErrorPageComponent.prototype.clearErrors = function () {\n this.errorService.clearErrors();\n };\n return ErrorPageComponent;\n}());\nexport { ErrorPageComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./error-page.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./error-page.component\";\nimport * as i5 from \"../../authentication.service\";\nimport * as i6 from \"../error.service\";\nimport * as i7 from \"../../settings.service\";\nvar styles_ErrorPageComponent = [i0.styles];\nvar RenderType_ErrorPageComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ErrorPageComponent, data: {} });\nexport { RenderType_ErrorPageComponent as RenderType_ErrorPageComponent };\nfunction View_ErrorPageComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_v.context.$implicit.message)); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ErrorPageComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 46, \"div\", [[\"class\", \"container-fluid\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 45, \"div\", [[\"class\", \"row mt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 44, \"div\", [[\"class\", \"offset-md-3 col-md-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"img\", [[\"alt\", \"Symagic\"], [\"class\", \"img-fluid mb-2\"], [\"src\", \"images/standaard-logo-220x60.8edfbc198da7e5f8a571.png\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"alert alert-danger\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(8, null, [\", \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-pane pt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ErrorPageComponent_1)), i1.ɵdid(12, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(14, null, [\"\", \":\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(16, 0, null, null, 30, \"ul\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 8, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 7, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(21, 0, null, null, 2, \"a\", [[\"class\", \"text-muted\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(22, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(24, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 8, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 7, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(28, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(30, 0, null, null, 2, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.doLogout() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(31, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(33, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(35, 0, null, null, 5, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(36, 0, null, null, 4, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(37, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(39, 0, null, null, 1, \"a\", [[\"class\", \"text-muted\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(40, null, [\" \", \" \"])), (_l()(), i1.ɵeld(41, 0, null, null, 5, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(42, 0, null, null, 4, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(43, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(45, 0, null, null, 1, \"a\", [[\"class\", \"text-muted\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(46, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.errorService.getErrors(); _ck(_v, 12, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.ERROR_HANDLING.SORRY\")); _ck(_v, 6, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.ERROR_HANDLING.SORRY_MESSAGE\")); _ck(_v, 8, 0, currVal_1); var currVal_3 = i1.ɵunv(_v, 14, 0, i1.ɵnov(_v, 15).transform(\"APP.ERROR_HANDLING.OPTIONS\")); _ck(_v, 14, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.ERROR_HANDLING.OPTIONS_REFRESH_START\")); _ck(_v, 19, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", _co.settingsService.settings.frontend.oauth.redirectUrl, \"\"); _ck(_v, 21, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 23).transform(\"APP.ERROR_HANDLING.OPTIONS_REFRESH_LINK\")); _ck(_v, 22, 0, currVal_6); var currVal_7 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.ERROR_HANDLING.OPTIONS_REFRESH_END\")); _ck(_v, 24, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 28, 0, i1.ɵnov(_v, 29).transform(\"APP.ERROR_HANDLING.OPTIONS_LOGOUT_START\")); _ck(_v, 28, 0, currVal_8); var currVal_9 = i1.ɵunv(_v, 31, 0, i1.ɵnov(_v, 32).transform(\"APP.ERROR_HANDLING.OPTIONS_LOGOUT_LINK\")); _ck(_v, 31, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 33, 0, i1.ɵnov(_v, 34).transform(\"APP.ERROR_HANDLING.OPTIONS_LOGOUT_END\")); _ck(_v, 33, 0, currVal_10); var currVal_11 = i1.ɵunv(_v, 37, 0, i1.ɵnov(_v, 38).transform(\"APP.ERROR_HANDLING.OPTIONS_MAIL\")); _ck(_v, 37, 0, currVal_11); var currVal_12 = i1.ɵinlineInterpolate(1, \"mailto:\", _co.settingsService.settings.frontend.support.mail, \"\"); _ck(_v, 39, 0, currVal_12); var currVal_13 = _co.settingsService.settings.frontend.support.mail; _ck(_v, 40, 0, currVal_13); var currVal_14 = i1.ɵunv(_v, 43, 0, i1.ɵnov(_v, 44).transform(\"APP.ERROR_HANDLING.OPTIONS_PHONE\")); _ck(_v, 43, 0, currVal_14); var currVal_15 = i1.ɵinlineInterpolate(1, \"tel:\", _co.settingsService.settings.frontend.support.phone, \"\"); _ck(_v, 45, 0, currVal_15); var currVal_16 = _co.settingsService.settings.frontend.support.phone; _ck(_v, 46, 0, currVal_16); }); }\nexport function View_ErrorPageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-error-page\", [], null, null, null, View_ErrorPageComponent_0, RenderType_ErrorPageComponent)), i1.ɵdid(1, 49152, null, 0, i4.ErrorPageComponent, [i5.AuthenticationService, i6.ErrorService, i7.SettingsService], null, null)], null, null); }\nvar ErrorPageComponentNgFactory = i1.ɵccf(\"sym-error-page\", i4.ErrorPageComponent, View_ErrorPageComponent_Host_0, {}, {}, []);\nexport { ErrorPageComponentNgFactory as ErrorPageComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Not Found component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./not-found.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"./not-found.component\";\nvar styles_NotFoundComponent = [i0.styles];\nvar RenderType_NotFoundComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_NotFoundComponent, data: {} });\nexport { RenderType_NotFoundComponent as RenderType_NotFoundComponent };\nexport function View_NotFoundComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"container-fluid mt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-error\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 7, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"div\", [[\"class\", \"col-md-10 offset-md-1 col-lg-8 offset-lg-2 col-xl-6 offset-xl-3 mt-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.CORE.ERROR\")); _ck(_v, 5, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(\"APP.CORE.NOT_FOUND\")); _ck(_v, 12, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(\"APP.CORE.NOT_FOUND_DESCRIPTION\")); _ck(_v, 15, 0, currVal_2); }); }\nexport function View_NotFoundComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-not-found\", [], null, null, null, View_NotFoundComponent_0, RenderType_NotFoundComponent)), i1.ɵdid(1, 114688, null, 0, i3.NotFoundComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar NotFoundComponentNgFactory = i1.ɵccf(\"sym-not-found\", i3.NotFoundComponent, View_NotFoundComponent_Host_0, {}, {}, []);\nexport { NotFoundComponentNgFactory as NotFoundComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Not Found component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying report links.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-column-editor[_ngcontent-%COMP%] .sym-show-on-hover[_ngcontent-%COMP%]{display:none}.sym-column-editor[_ngcontent-%COMP%] .sym-hide-on-hover[_ngcontent-%COMP%], .sym-column-editor[_ngcontent-%COMP%]:hover .sym-show-on-hover[_ngcontent-%COMP%]{display:inline}.sym-column-editor[_ngcontent-%COMP%]:hover .sym-hide-on-hover[_ngcontent-%COMP%]{display:none}.sym-column-editor[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border:none!important}@media (max-width:1199.98px){.sym-column-editor[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}.sym-column-editor[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .icon.sym-priority-high[_ngcontent-%COMP%]{color:#d55b40}.sym-column-editor[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .icon.sym-priority-normal[_ngcontent-%COMP%]{color:#fab16a}.sym-column-editor[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .icon.sym-priority-low[_ngcontent-%COMP%]{color:#6bdea1}.sym-column-editor-color[_ngcontent-%COMP%]{height:22px;width:22px}.sym-column-notes[_ngcontent-%COMP%]{line-height:1rem}.sym-column-start-active.sym-is-not-active[_ngcontent-%COMP%]{text-decoration:line-through}\"];\nexport { styles as styles };\n","/**\n * @file Helper class for dynamically inject columns in a list.\n * @author Tom Verschoore de la Houssaije\n */\n/**\n * Helper class for dynamically inject columns in a list.\n */\nvar ColumnProvider = /** @class */ (function () {\n /**\n * Constructs a ColumnProvider\n */\n function ColumnProvider(container) {\n this.container = container;\n /** The column field configuration. */\n this.field = undefined;\n /** The block/module name. */\n this.block = undefined;\n /** Path to the value property, thus excluding the value property */\n this.path = [];\n /** The name of the value property. The value property was the last item in the path. */\n this.valueProperty = '';\n this.field = this.container.field;\n this.path = this.field.name.split('.');\n this.valueProperty = this.path.pop();\n }\n Object.defineProperty(ColumnProvider.prototype, \"entity\", {\n /** Gets the entity of the displayed value. */\n get: function () {\n if (this.container === undefined) {\n return null;\n }\n // The entity in the path that holds the value property.\n var valueEntity = this.container.entity;\n if (this.path.length === 0 || !valueEntity) {\n return valueEntity;\n }\n this.path.find(function (segment) {\n valueEntity = valueEntity[segment];\n return !valueEntity;\n });\n return valueEntity;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ColumnProvider.prototype, \"root\", {\n /**\n * Gets the root entity of the binding path\n * @readonly\n * @type {*}\n */\n get: function () {\n if (this.container === undefined) {\n return null;\n }\n // The root entity of the binding path\n return this.container.entity;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ColumnProvider.prototype, \"value\", {\n /** Gets the displayed value of the column */\n get: function () {\n // The entity in the path that holds the value property.\n var valueEntity = this.entity;\n if (valueEntity == null) {\n return null;\n }\n return valueEntity[this.valueProperty];\n },\n /** Sets the displayed value of the column */\n set: function (val) {\n // The entity in the path that holds the value property.\n var valueEntity = this.entity;\n if (valueEntity === null) {\n return;\n }\n valueEntity[this.valueProperty] = val;\n },\n enumerable: true,\n configurable: true\n });\n return ColumnProvider;\n}());\nexport { ColumnProvider };\n","import * as tslib_1 from \"tslib\";\nimport { AbstractBase } from '../../../core/helpers/abstract-base';\n/**\n * Base class for the columns in a ListComponent.\n * @see ColumnContainerComponent.\n */\nvar ColumnBase = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnBase, _super);\n /**\n * Constructs a ColumnBase\n * @param provider Provides the configuration information for the column.\n */\n function ColumnBase(provider, changeDetector) {\n var _this = _super.call(this) || this;\n _this.provider = provider;\n _this.changeDetector = changeDetector;\n /**\n * Gets, sets the breeze subscription handle of the entity property changed event.\n * Is used to optimise change detection.\n * @protected\n * @type {number}\n */\n _this.propertyChangedSubscription = undefined;\n return _this;\n }\n /** Lifecycle hook that is called after a component's view has been fully initialized. */\n ColumnBase.prototype.ngAfterViewInit = function () {\n this.startOptimisedChangeDetection();\n };\n /**\n * Called just before Angular destroys the component.\n */\n ColumnBase.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n if (this.propertyChangedSubscription && this.provider.entity) {\n var entity = this.provider.entity;\n entity.entityAspect.propertyChanged.unsubscribe(this.propertyChangedSubscription);\n }\n };\n /**\n * Tries to start an optimised change detection based upon entiy property changes.\n * The component will fallback on angular change detection when failing.\n * @protected\n */\n ColumnBase.prototype.startOptimisedChangeDetection = function () {\n var _this = this;\n if (this.provider.entity) {\n this.changeDetector.detach();\n var entity = this.provider.entity;\n this.propertyChangedSubscription = entity.entityAspect.propertyChanged.subscribe(function (data) {\n _this.changeDetector.detectChanges();\n });\n }\n };\n return ColumnBase;\n}(AbstractBase));\nexport { ColumnBase };\n","/**\n* @file Column component for displaying a phone value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { ColumnProvider } from '../../column-provider';\nimport { ColumnBase } from '../column-base/column-base';\n/**\n * Column component for displaying a phone value\n */\nvar ColumnPhoneComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnPhoneComponent, _super);\n /**\n * Constructs a ColumnPhoneComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnPhoneComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnPhoneComponent.register = function () {\n ComponentRegistry.register('column', 'phone', ColumnPhoneComponent);\n };\n return ColumnPhoneComponent;\n}(ColumnBase));\nexport { ColumnPhoneComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a phone value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-phone.component\";\nimport * as i4 from \"../../column-provider\";\nvar styles_ColumnPhoneComponent = [i0.styles];\nvar RenderType_ColumnPhoneComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnPhoneComponent, data: {} });\nexport { RenderType_ColumnPhoneComponent as RenderType_ColumnPhoneComponent };\nfunction View_ColumnPhoneComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-phone\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"a\", [[\"class\", \"sym-low-attention-link\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"tel:\", _co.provider.value, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.provider.value; _ck(_v, 2, 0, currVal_1); }); }\nexport function View_ColumnPhoneComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnPhoneComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnPhoneComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-phone\", [], null, null, null, View_ColumnPhoneComponent_0, RenderType_ColumnPhoneComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnPhoneComponent, [i4.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnPhoneComponentNgFactory = i1.ɵccf(\"sym-column-phone\", i3.ColumnPhoneComponent, View_ColumnPhoneComponent_Host_0, {}, {}, []);\nexport { ColumnPhoneComponentNgFactory as ColumnPhoneComponentNgFactory };\n","/**\n* @file Column component for displaying a number value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a number value\n */\nvar ColumnNumberComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnNumberComponent, _super);\n /**\n * Constructs a ColumnNumberComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnNumberComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnNumberComponent.register = function () {\n ComponentRegistry.register('column', 'number', ColumnNumberComponent);\n };\n return ColumnNumberComponent;\n}(ColumnBase));\nexport { ColumnNumberComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a number value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-number.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnNumberComponent = [i0.styles];\nvar RenderType_ColumnNumberComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnNumberComponent, data: {} });\nexport { RenderType_ColumnNumberComponent as RenderType_ColumnNumberComponent };\nexport function View_ColumnNumberComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-number\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnNumberComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-number\", [], null, null, null, View_ColumnNumberComponent_0, RenderType_ColumnNumberComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnNumberComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnNumberComponentNgFactory = i1.ɵccf(\"sym-column-number\", i2.ColumnNumberComponent, View_ColumnNumberComponent_Host_0, {}, {}, []);\nexport { ColumnNumberComponentNgFactory as ColumnNumberComponentNgFactory };\n","/**\n* @file Column component for displaying a url value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a url value\n */\nvar ColumnUrlComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnUrlComponent, _super);\n /**\n * Constructs a ColumnUrlComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnUrlComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnUrlComponent.register = function () {\n ComponentRegistry.register('column', 'url', ColumnUrlComponent);\n };\n /**\n * Prevents details to be opened when the link is clicked.\n * @param {any} event\n * @memberOf ColumnUrlComponent\n */\n ColumnUrlComponent.prototype.onClick = function (event) {\n event.stopPropagation();\n };\n return ColumnUrlComponent;\n}(ColumnBase));\nexport { ColumnUrlComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a url value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-url.component\";\nimport * as i4 from \"../../column-provider\";\nvar styles_ColumnUrlComponent = [i0.styles];\nvar RenderType_ColumnUrlComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnUrlComponent, data: {} });\nexport { RenderType_ColumnUrlComponent as RenderType_ColumnUrlComponent };\nfunction View_ColumnUrlComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-url\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"a\", [[\"class\", \"sym-low-attention-link\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onClick($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.provider.value, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.provider.value; _ck(_v, 2, 0, currVal_1); }); }\nexport function View_ColumnUrlComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnUrlComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnUrlComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-url\", [], null, null, null, View_ColumnUrlComponent_0, RenderType_ColumnUrlComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnUrlComponent, [i4.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnUrlComponentNgFactory = i1.ɵccf(\"sym-column-url\", i3.ColumnUrlComponent, View_ColumnUrlComponent_Host_0, {}, {}, []);\nexport { ColumnUrlComponentNgFactory as ColumnUrlComponentNgFactory };\n","/**\n* @file Column component for displaying a datetime value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a datetime value\n */\nvar ColumnDatetimeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnDatetimeComponent, _super);\n /**\n * Constructs a ColumnDatetimeComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnDatetimeComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnDatetimeComponent.register = function () {\n ComponentRegistry.register('column', 'datetime', ColumnDatetimeComponent);\n };\n return ColumnDatetimeComponent;\n}(ColumnBase));\nexport { ColumnDatetimeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a datetime value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"./column-datetime.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../core/localisation.service\";\nvar styles_ColumnDatetimeComponent = [i0.styles];\nvar RenderType_ColumnDatetimeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnDatetimeComponent, data: {} });\nexport { RenderType_ColumnDatetimeComponent as RenderType_ColumnDatetimeComponent };\nexport function View_ColumnDatetimeComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-datetime\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [[\"class\", \"sym-hide-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵppd(4, 2), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [[\"class\", \"sym-show-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v, 0), _co.provider.value, _co.localisationService.dateTime.format)); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.value)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_ColumnDatetimeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-datetime\", [], null, null, null, View_ColumnDatetimeComponent_0, RenderType_ColumnDatetimeComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnDatetimeComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.LocalisationService], null, null)], null, null); }\nvar ColumnDatetimeComponentNgFactory = i1.ɵccf(\"sym-column-datetime\", i3.ColumnDatetimeComponent, View_ColumnDatetimeComponent_Host_0, {}, {}, []);\nexport { ColumnDatetimeComponentNgFactory as ColumnDatetimeComponentNgFactory };\n","/**\n* @file Column component for displaying a contact column\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { ColumnProvider } from '../../column-provider';\nimport { ColumnBase } from '../column-base/column-base';\n/**\n * Column component for displaying a contact value\n */\nvar ColumnContactComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnContactComponent, _super);\n /**\n * Constructs a ColumnContactComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnContactComponent(provider, changeDetector) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.entity = _this.provider.entity;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnContactComponent.register = function () {\n ComponentRegistry.register('column', 'contact', ColumnContactComponent);\n };\n return ColumnContactComponent;\n}(ColumnBase));\nexport { ColumnContactComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a contact column\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-contact.component\";\nimport * as i5 from \"../../column-provider\";\nvar styles_ColumnContactComponent = [i0.styles];\nvar RenderType_ColumnContactComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnContactComponent, data: {} });\nexport { RenderType_ColumnContactComponent as RenderType_ColumnContactComponent };\nfunction View_ColumnContactComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entity[\"Function\"]; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnContactComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.CONTACT.FUNCTION-UNKNOWN\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnContactComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-contact\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnContactComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnContactComponent_3)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.entity[\"Function\"]; _ck(_v, 3, 0, currVal_1); var currVal_2 = !_co.entity[\"Function\"]; _ck(_v, 5, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnContactComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnContactComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnContactComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-contact\", [], null, null, null, View_ColumnContactComponent_0, RenderType_ColumnContactComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnContactComponent, [i5.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnContactComponentNgFactory = i1.ɵccf(\"sym-column-contact\", i4.ColumnContactComponent, View_ColumnContactComponent_Host_0, {}, {}, []);\nexport { ColumnContactComponentNgFactory as ColumnContactComponentNgFactory };\n","/**\n* Adds leading zero to hours or minutes when needed.\n* @param {number} n Number of hours or minutes.\n* @returns {string} The hours or minutes with leading zero when needed.\n*/\nexport function addZero(n) {\n return (n < 10) ? ('0' + n) : n.toString();\n}\n","import * as moment from 'moment';\nimport { addZero } from '../../base/helpers/addZero';\n/**\n * Humanize a duration value.\n * @param {any} value The value will be transformed in a duration, if it is not so already.\n * @returns {string} The duration in HH:mm format.\n */\nexport function durationToText(value) {\n if (!value) {\n return '';\n }\n var duration = moment.isDuration(value) ? value : moment.duration(value);\n if (!duration.isValid()) {\n return '';\n }\n var total = duration.asMinutes();\n var hours = Math.floor(Math.abs(total) / 60);\n var minutes = Math.floor(Math.abs(total) % 60);\n if (total < 0) {\n return '-' + addZero(hours) + ':' + addZero(minutes);\n }\n return addZero(hours) + ':' + addZero(minutes);\n}\n","/**\n * @file Pipe used for humanizing a duration value\n * @author Willem Jan Weitering\n */\nimport { PipeTransform } from '@angular/core';\nimport { durationToText } from '../../core/helpers/durationToText';\n/**\n * The class for duration to text functionality\n */\nvar DurationToTextPipe = /** @class */ (function () {\n function DurationToTextPipe() {\n }\n /**\n * Humanize a duration value\n * @param {moment.Duration} duration The duration value.\n * @returns {string} The duration in HH:nn format.\n */\n DurationToTextPipe.prototype.transform = function (duration) {\n return durationToText(duration);\n };\n return DurationToTextPipe;\n}());\nexport { DurationToTextPipe };\n","/**\n* @file Column component for displaying spendtime values.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport * as moment from 'moment';\n/**\n * Column component for displaying a spend time value\n */\nvar ColumnSpendtimeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnSpendtimeComponent, _super);\n /**\n * Constructs a ColumnSpendtimeComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnSpendtimeComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n _this.entity = _this.provider.entity;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnSpendtimeComponent.register = function () {\n ComponentRegistry.register('column', 'spendtime', ColumnSpendtimeComponent);\n };\n Object.defineProperty(ColumnSpendtimeComponent.prototype, \"duration\", {\n /**\n * Create human-readable presentation of the duraction\n */\n get: function () {\n // Todo: check if this really works (when there is data)\n return moment.duration(this.entity['Effort']);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ColumnSpendtimeComponent.prototype, \"travelTime\", {\n /**\n * Create human-readable presentation of the duraction\n */\n get: function () {\n // Todo: check if this really works (when there is data)\n return moment.duration(this.entity['TravelTime']);\n },\n enumerable: true,\n configurable: true\n });\n return ColumnSpendtimeComponent;\n}(ColumnBase));\nexport { ColumnSpendtimeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying spendtime values.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"../../pipes/duration-to-text.pipe\";\nimport * as i4 from \"./column-spendtime.component\";\nimport * as i5 from \"../../column-provider\";\nimport * as i6 from \"../../../core/localisation.service\";\nvar styles_ColumnSpendtimeComponent = [i0.styles];\nvar RenderType_ColumnSpendtimeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnSpendtimeComponent, data: {} });\nexport { RenderType_ColumnSpendtimeComponent as RenderType_ColumnSpendtimeComponent };\nexport function View_ColumnSpendtimeComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), i1.ɵpid(0, i3.DurationToTextPipe, []), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-spendtimes\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\" \", \", \"])), i1.ɵppd(4, 2), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-duration\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\" \", \", \"])), i1.ɵppd(7, 1), (_l()(), i1.ɵeld(8, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-traveltime\"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\" \", \"\\n\"])), i1.ɵppd(10, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v, 0), _co.provider.value, _co.localisationService.dateTime.format)); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v, 1), _co.duration)); _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 9, 0, _ck(_v, 10, 0, i1.ɵnov(_v, 1), _co.travelTime)); _ck(_v, 9, 0, currVal_2); }); }\nexport function View_ColumnSpendtimeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-spendtime\", [], null, null, null, View_ColumnSpendtimeComponent_0, RenderType_ColumnSpendtimeComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnSpendtimeComponent, [i5.ColumnProvider, i1.ChangeDetectorRef, i6.LocalisationService], null, null)], null, null); }\nvar ColumnSpendtimeComponentNgFactory = i1.ɵccf(\"sym-column-spendtime\", i4.ColumnSpendtimeComponent, View_ColumnSpendtimeComponent_Host_0, {}, {}, []);\nexport { ColumnSpendtimeComponentNgFactory as ColumnSpendtimeComponentNgFactory };\n","/**\n* @file Column component for displaying spendtime values.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a spend time value\n */\nvar ColumnSpendtimeContextComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnSpendtimeContextComponent, _super);\n /**\n * Constructs a ColumnSpendtimeComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnSpendtimeContextComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n _this.entity = _this.provider.entity;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnSpendtimeContextComponent.register = function () {\n ComponentRegistry.register('column', 'spendtime-context', ColumnSpendtimeContextComponent);\n };\n /**\n * Create a summary by adding the next part to the previous (prefix).\n * Get the next property value in the range and add that to the given prefix.\n * @param prefix The first part of the result, the part that is appended to.\n * @param propertyName The property name to add to the prefix.\n * @param paths The paths to find the property. If there are multiple,\n * get the first in the given order, that returns a non-empty result.\n */\n ColumnSpendtimeContextComponent.prototype.getNextPropertyValue = function (prefix, propertyName) {\n var paths = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n paths[_i - 2] = arguments[_i];\n }\n var result = prefix;\n paths.forEach(function (path) {\n // Multiple paths may be given, add just one (the first non-empty one).\n if (path && path[propertyName] && path[propertyName].trim() !== '' && result === prefix) {\n if (prefix) {\n result = result + ', ';\n }\n result = result + path[propertyName];\n }\n });\n return result;\n };\n /**\n * Get the full name of the customer using getNextPropertyValue\n */\n ColumnSpendtimeContextComponent.prototype.getCustomerFullName = function (path1, path2, path3, path4) {\n if (path3 === void 0) { path3 = null; }\n if (path4 === void 0) { path4 = null; }\n var result = this.getNextPropertyValue('', 'FirstName', path1, path2, path3, path4) + ' ' +\n this.getNextPropertyValue('', 'Prefix', path1, path2, path3, path4) + ' ' +\n this.getNextPropertyValue('', 'Name', path1, path2, path3, path4);\n if (result.trim() !== '') {\n result = ', ' + result.replace(',', '');\n result = result.replace(/ +/g, ' ');\n }\n return result;\n };\n /**\n * Create human-readable presentation of the summary.\n * The summary must contain the names of several objects (see comments below).\n */\n ColumnSpendtimeContextComponent.prototype.generateSummary = function () {\n var result = '';\n var account = this.entity.Account;\n var project = null;\n var customer = null;\n if (account) {\n switch (this.entity.AccountClass) {\n case 'ASSIGNMENT':\n case 'APPOINTMENT':\n // Return Assignment, Task, Project, Customer.\n var task = account.Deployment && account.Deployment.Demand ? account.Deployment.Demand.Task : null;\n project = task ? task.Project : null;\n customer = project == null ? null : project.Customer;\n result = this.getNextPropertyValue(result, 'Name', account);\n result = this.getNextPropertyValue(result, 'Name', task);\n result = this.getNextPropertyValue(result, 'Name', project);\n result += this.getCustomerFullName(this.entity.Customer, account.Customer, task ? task.Customer : null, customer);\n break;\n case 'ABSENCE':\n // Return Appointment.\n result = this.getNextPropertyValue(result, 'Name', account);\n break;\n case 'TASK':\n // Return Task, Project, Customer.\n project = account.Project;\n customer = project == null ? null : project.Customer;\n result = this.getNextPropertyValue(result, 'Name', account);\n result = this.getNextPropertyValue(result, 'Name', project);\n result += this.getCustomerFullName(this.entity.Customer, account.Customer, customer);\n break;\n case 'PROJECT':\n // Return Project, Customer.\n result = this.getNextPropertyValue(result, 'Name', account);\n result += this.getCustomerFullName(this.entity.Customer, account.Customer);\n break;\n case 'ATTENDANT':\n // Returns Shift Service Attendant\n var service = account.Service;\n var shift = service ? service.Shift : null;\n result = this.getNextPropertyValue(result, 'Name', account);\n result = this.getNextPropertyValue(result, 'Name', service);\n result = this.getNextPropertyValue(result, 'Name', shift);\n break;\n }\n }\n return result;\n };\n return ColumnSpendtimeContextComponent;\n}(ColumnBase));\nexport { ColumnSpendtimeContextComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying spendtime values.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-spendtime-context.component\";\nimport * as i3 from \"../../column-provider\";\nimport * as i4 from \"../../../core/localisation.service\";\nvar styles_ColumnSpendtimeContextComponent = [i0.styles];\nvar RenderType_ColumnSpendtimeContextComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnSpendtimeContextComponent, data: {} });\nexport { RenderType_ColumnSpendtimeContextComponent as RenderType_ColumnSpendtimeContextComponent };\nexport function View_ColumnSpendtimeContextComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-spendtimes-context\"]], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.generateSummary(), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.generateSummary(); _ck(_v, 1, 0, currVal_1); }); }\nexport function View_ColumnSpendtimeContextComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-spendtime-context\", [], null, null, null, View_ColumnSpendtimeContextComponent_0, RenderType_ColumnSpendtimeContextComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnSpendtimeContextComponent, [i3.ColumnProvider, i1.ChangeDetectorRef, i4.LocalisationService], null, null)], null, null); }\nvar ColumnSpendtimeContextComponentNgFactory = i1.ɵccf(\"sym-column-spendtime-context\", i2.ColumnSpendtimeContextComponent, View_ColumnSpendtimeContextComponent_Host_0, {}, {}, []);\nexport { ColumnSpendtimeContextComponentNgFactory as ColumnSpendtimeContextComponentNgFactory };\n","/**\n* @file Column component for displaying a string value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a string value\n */\nvar ColumnStringComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnStringComponent, _super);\n /**\n * Constructs a ColumnStringComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnStringComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnStringComponent.register = function () {\n ComponentRegistry.register('column', 'string', ColumnStringComponent);\n };\n /**\n * Tries to start an optimised change detection based upon entiy property changes.\n * The component will fallback on angular change detection when failing.\n * @protected\n */\n ColumnStringComponent.prototype.startOptimisedChangeDetection = function () {\n if (this.provider.field.name.split('.').length > 1) {\n // Fix: Edit op Kalender veld medewerker komt niet snel door in de medewerkerslijst. #2991\n // We weten niet naar welke entity in het pad we moeten luisteren.\n // Alternatief zou kunnen zijn dat we naar alle entities in het pad luisteren.\n // Het aantal entities in het pad kunnen dan veranderen bij een bewerking.\n // Terug vallen op anguler is makkelijker.\n return;\n }\n _super.prototype.startOptimisedChangeDetection.call(this);\n };\n return ColumnStringComponent;\n}(ColumnBase));\nexport { ColumnStringComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a string value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-string.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnStringComponent = [i0.styles];\nvar RenderType_ColumnStringComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnStringComponent, data: {} });\nexport { RenderType_ColumnStringComponent as RenderType_ColumnStringComponent };\nexport function View_ColumnStringComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-string\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnStringComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-string\", [], null, null, null, View_ColumnStringComponent_0, RenderType_ColumnStringComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnStringComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnStringComponentNgFactory = i1.ɵccf(\"sym-column-string\", i2.ColumnStringComponent, View_ColumnStringComponent_Host_0, {}, {}, []);\nexport { ColumnStringComponentNgFactory as ColumnStringComponentNgFactory };\n","/**\n* @file Column component for displaying a notes value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a notes value\n */\nvar ColumnNotesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnNotesComponent, _super);\n /**\n * Constructs a ColumnNotesComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnNotesComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnNotesComponent.register = function () {\n ComponentRegistry.register('column', 'notes', ColumnNotesComponent);\n };\n return ColumnNotesComponent;\n}(ColumnBase));\nexport { ColumnNotesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a notes value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-notes.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnNotesComponent = [i0.styles];\nvar RenderType_ColumnNotesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnNotesComponent, data: {} });\nexport { RenderType_ColumnNotesComponent as RenderType_ColumnNotesComponent };\nexport function View_ColumnNotesComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-notes text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 2, 0, currVal_0); }); }\nexport function View_ColumnNotesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-notes\", [], null, null, null, View_ColumnNotesComponent_0, RenderType_ColumnNotesComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnNotesComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnNotesComponentNgFactory = i1.ɵccf(\"sym-column-notes\", i2.ColumnNotesComponent, View_ColumnNotesComponent_Host_0, {}, {}, []);\nexport { ColumnNotesComponentNgFactory as ColumnNotesComponentNgFactory };\n","/**\n* @file Column component for displaying a time value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a time value\n */\nvar ColumnTimeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnTimeComponent, _super);\n /**\n * Constructs a ColumnTimeComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnTimeComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnTimeComponent.register = function () {\n ComponentRegistry.register('column', 'time', ColumnTimeComponent);\n };\n return ColumnTimeComponent;\n}(ColumnBase));\nexport { ColumnTimeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a time value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"./column-time.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../core/localisation.service\";\nvar styles_ColumnTimeComponent = [i0.styles];\nvar RenderType_ColumnTimeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnTimeComponent, data: {} });\nexport { RenderType_ColumnTimeComponent as RenderType_ColumnTimeComponent };\nexport function View_ColumnTimeComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-time\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [[\"class\", \"sym-hide-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵppd(4, 2), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [[\"class\", \"sym-show-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v, 0), _co.provider.value, _co.localisationService.time.format)); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.value)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_ColumnTimeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-time\", [], null, null, null, View_ColumnTimeComponent_0, RenderType_ColumnTimeComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnTimeComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.LocalisationService], null, null)], null, null); }\nvar ColumnTimeComponentNgFactory = i1.ɵccf(\"sym-column-time\", i3.ColumnTimeComponent, View_ColumnTimeComponent_Host_0, {}, {}, []);\nexport { ColumnTimeComponentNgFactory as ColumnTimeComponentNgFactory };\n","/**\n* @file Column component for displaying a date value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { Repeat } from '../../../domain/helpers/repeat';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { ColumnProvider } from '../../column-provider';\nimport { ColumnBase } from '../column-base/column-base';\n/**\n * Column component for displaying a date value\n */\nvar ColumnDateComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnDateComponent, _super);\n /**\n * Constructs a ColumnStringComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnDateComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n return _this;\n }\n Object.defineProperty(ColumnDateComponent.prototype, \"isInfinite\", {\n /**\n * Returns true when date is as infinite otherwise false.\n * @readonly\n * @type {boolean}\n * @memberOf ColumnDateComponent\n */\n get: function () {\n return Repeat.isInfinity(this.provider.value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Register this column class for the column provider.\n */\n ColumnDateComponent.register = function () {\n ComponentRegistry.register('column', 'date', ColumnDateComponent);\n };\n return ColumnDateComponent;\n}(ColumnBase));\nexport { ColumnDateComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a date value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./column-date.component\";\nimport * as i6 from \"../../column-provider\";\nimport * as i7 from \"../../../core/localisation.service\";\nvar styles_ColumnDateComponent = [i0.styles];\nvar RenderType_ColumnDateComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnDateComponent, data: {} });\nexport { RenderType_ColumnDateComponent as RenderType_ColumnDateComponent };\nfunction View_ColumnDateComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-date\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"sym-hide-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵppd(3, 2), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"span\", [[\"class\", \"sym-show-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent, 0), _co.provider.value, _co.localisationService.date.format)); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.provider.value)); _ck(_v, 5, 0, currVal_1); }); }\nfunction View_ColumnDateComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-date\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_ColumnDateComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnDateComponent_1)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnDateComponent_2)), i1.ɵdid(4, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isInfinite; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isInfinite; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_ColumnDateComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-date\", [], null, null, null, View_ColumnDateComponent_0, RenderType_ColumnDateComponent)), i1.ɵdid(1, 4374528, null, 0, i5.ColumnDateComponent, [i6.ColumnProvider, i1.ChangeDetectorRef, i7.LocalisationService], null, null)], null, null); }\nvar ColumnDateComponentNgFactory = i1.ɵccf(\"sym-column-date\", i5.ColumnDateComponent, View_ColumnDateComponent_Host_0, {}, {}, []);\nexport { ColumnDateComponentNgFactory as ColumnDateComponentNgFactory };\n","/**\n* @file Column component for displaying a item with info about the start and if the item is currently active\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { durationToText } from '../../../core/helpers/durationToText';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying info about start and active (locations, departments, competences, teams)\n */\nvar ColumnStartActiveComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnStartActiveComponent, _super);\n /**\n * Constructs a ColumStartActiveComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnStartActiveComponent(provider, changeDetector, translateService, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n // The root entity of the column\n _this.root = _this.provider.root;\n _this.html5RoleLabels = undefined;\n var labels = [\n 'APP.MISC.ROLES.SYMAGIC',\n 'APP.MISC.ROLES.ADMINISTRATOR',\n 'APP.MISC.ROLES.MANAGER',\n 'APP.MISC.ROLES.PLANNER',\n 'APP.MISC.ROLES.EMPLOYEE'\n ];\n _this.setHTML5RoleLabels(labels, translateService);\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnStartActiveComponent.register = function () {\n ComponentRegistry.register('column', 'start-active', ColumnStartActiveComponent);\n };\n /**\n * Sets the HTML5 role labels.\n * @private\n * @param {string[]} labels The labels are translated.\n * @param {TranslateService} translateService Is used to translate.\n * @memberOf ColumnStartActiveComponent\n */\n ColumnStartActiveComponent.prototype.setHTML5RoleLabels = function (labels, translateService) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = this;\n return [4 /*yield*/, translateService.get(labels).toPromise()];\n case 1:\n _a.html5RoleLabels = _b.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * The start of given item\n */\n ColumnStartActiveComponent.prototype.getStart = function () {\n // Todo: Start is part of State?\n var operational = this.root['Operational'];\n if (operational) {\n return moment(operational);\n }\n return moment(this.root['Start']);\n };\n /**\n * Gets Value of property and formats when needed.\n * @returns {string} The value of the displayed property.\n */\n ColumnStartActiveComponent.prototype.getValue = function () {\n if (this.provider.field.name === 'ContractHours') {\n return durationToText(moment.duration(this.provider.value));\n }\n var html5Role = this.provider.root ? this.provider.root['HTML5Role'] : null;\n if (html5Role && this.html5RoleLabels) {\n return this.provider.value + ' - ' + this.html5RoleLabels['APP.MISC.ROLES.' + html5Role];\n }\n return this.provider.value;\n };\n /**\n * Is item active\n */\n ColumnStartActiveComponent.prototype.isActive = function () {\n var active = this.root['Active'];\n if (active != null) {\n return active;\n }\n // Todo: Active is part of State?\n return false;\n };\n return ColumnStartActiveComponent;\n}(ColumnBase));\nexport { ColumnStartActiveComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a item with info about the start and if the item is currently active\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-start-active.component\";\nimport * as i5 from \"../../column-provider\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"../../../core/localisation.service\";\nvar styles_ColumnStartActiveComponent = [i0.styles];\nvar RenderType_ColumnStartActiveComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnStartActiveComponent, data: {} });\nexport { RenderType_ColumnStartActiveComponent as RenderType_ColumnStartActiveComponent };\nexport function View_ColumnStartActiveComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-start-active\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-is-not-active\": 0 }), (_l()(), i1.ɵted(4, null, [\" \", \" (\", \")\"])), i1.ɵppd(5, 2)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column-editor text-truncate sym-column-start-active\"; var currVal_1 = _ck(_v, 3, 0, !_co.isActive()); _ck(_v, 2, 0, currVal_0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.getValue(); var currVal_3 = i1.ɵunv(_v, 4, 1, _ck(_v, 5, 0, i1.ɵnov(_v, 0), _co.getStart(), _co.localisationService.date.format)); _ck(_v, 4, 0, currVal_2, currVal_3); }); }\nexport function View_ColumnStartActiveComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-start-active\", [], null, null, null, View_ColumnStartActiveComponent_0, RenderType_ColumnStartActiveComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnStartActiveComponent, [i5.ColumnProvider, i1.ChangeDetectorRef, i6.TranslateService, i7.LocalisationService], null, null)], null, null); }\nvar ColumnStartActiveComponentNgFactory = i1.ɵccf(\"sym-column-start-active\", i4.ColumnStartActiveComponent, View_ColumnStartActiveComponent_Host_0, {}, {}, []);\nexport { ColumnStartActiveComponentNgFactory as ColumnStartActiveComponentNgFactory };\n","/**\n* @file Column component for displaying a duration value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a duration value\n */\nvar ColumnDurationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnDurationComponent, _super);\n /**\n * Constructs a ColumnDurationComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnDurationComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnDurationComponent.register = function () {\n ComponentRegistry.register('column', 'duration', ColumnDurationComponent);\n };\n Object.defineProperty(ColumnDurationComponent.prototype, \"duration\", {\n get: function () {\n return moment.duration(this.provider.value);\n },\n enumerable: true,\n configurable: true\n });\n return ColumnDurationComponent;\n}(ColumnBase));\nexport { ColumnDurationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a duration value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../pipes/duration-to-text.pipe\";\nimport * as i3 from \"./column-duration.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../core/localisation.service\";\nvar styles_ColumnDurationComponent = [i0.styles];\nvar RenderType_ColumnDurationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnDurationComponent, data: {} });\nexport { RenderType_ColumnDurationComponent as RenderType_ColumnDurationComponent };\nexport function View_ColumnDurationComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DurationToTextPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-duration\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵppd(3, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, _ck(_v, 3, 0, i1.ɵnov(_v, 0), _co.duration)); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_ColumnDurationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-duration\", [], null, null, null, View_ColumnDurationComponent_0, RenderType_ColumnDurationComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnDurationComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.LocalisationService], null, null)], null, null); }\nvar ColumnDurationComponentNgFactory = i1.ɵccf(\"sym-column-duration\", i3.ColumnDurationComponent, View_ColumnDurationComponent_Host_0, {}, {}, []);\nexport { ColumnDurationComponentNgFactory as ColumnDurationComponentNgFactory };\n","/**\n* @file Column component for displaying a period value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a period value\n */\nvar ColumnPeriodComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnPeriodComponent, _super);\n /**\n * Constructs a ColumnPeriodComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnPeriodComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnPeriodComponent.register = function () {\n ComponentRegistry.register('column', 'period', ColumnPeriodComponent);\n };\n return ColumnPeriodComponent;\n}(ColumnBase));\nexport { ColumnPeriodComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a period value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-period.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnPeriodComponent = [i0.styles];\nvar RenderType_ColumnPeriodComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnPeriodComponent, data: {} });\nexport { RenderType_ColumnPeriodComponent as RenderType_ColumnPeriodComponent };\nexport function View_ColumnPeriodComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-period\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Period editor not implemented (\", \")\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnPeriodComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-period\", [], null, null, null, View_ColumnPeriodComponent_0, RenderType_ColumnPeriodComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnPeriodComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnPeriodComponentNgFactory = i1.ɵccf(\"sym-column-period\", i2.ColumnPeriodComponent, View_ColumnPeriodComponent_Host_0, {}, {}, []);\nexport { ColumnPeriodComponentNgFactory as ColumnPeriodComponentNgFactory };\n","/**\n* @file Column component for displaying a open slot value\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a open slot value\n */\nvar ColumnOpenSlotComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnOpenSlotComponent, _super);\n /**\n * Constructs a ColumnOpenSlotComponent\n */\n function ColumnOpenSlotComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider\n */\n ColumnOpenSlotComponent.register = function () {\n ComponentRegistry.register('column', 'open-slot', ColumnOpenSlotComponent);\n };\n /**\n * Returns a string representation of the resource\n * @returns {string} A string representation of the resource\n */\n ColumnOpenSlotComponent.prototype.getDisplayValue = function () {\n return (this.provider.value['FirstName'] + ' ' + this.provider.value['Prefix'] + ' ' + this.provider.value['Name']).trim();\n };\n return ColumnOpenSlotComponent;\n}(ColumnBase));\nexport { ColumnOpenSlotComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a open slot value\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-open-slot.component\";\nimport * as i5 from \"../../column-provider\";\nvar styles_ColumnOpenSlotComponent = [i0.styles];\nvar RenderType_ColumnOpenSlotComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnOpenSlotComponent, data: {} });\nexport { RenderType_ColumnOpenSlotComponent as RenderType_ColumnOpenSlotComponent };\nfunction View_ColumnOpenSlotComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getDisplayValue(); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnOpenSlotComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.OPEN_SLOT.OPEN_SLOT\")); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnOpenSlotComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-open-slot\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnOpenSlotComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnOpenSlotComponent_2)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.provider.value; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_ColumnOpenSlotComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-open-slot\", [], null, null, null, View_ColumnOpenSlotComponent_0, RenderType_ColumnOpenSlotComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnOpenSlotComponent, [i5.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnOpenSlotComponentNgFactory = i1.ɵccf(\"sym-column-open-slot\", i4.ColumnOpenSlotComponent, View_ColumnOpenSlotComponent_Host_0, {}, {}, []);\nexport { ColumnOpenSlotComponentNgFactory as ColumnOpenSlotComponentNgFactory };\n","/**\n* @file Column component for displaying a Twitter value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a Twitter value\n */\nvar ColumnTwitterComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnTwitterComponent, _super);\n /**\n * Constructs a ColumnTwitterComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnTwitterComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnTwitterComponent.register = function () {\n ComponentRegistry.register('column', 'twitter', ColumnTwitterComponent);\n };\n return ColumnTwitterComponent;\n}(ColumnBase));\nexport { ColumnTwitterComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a Twitter value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-twitter.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnTwitterComponent = [i0.styles];\nvar RenderType_ColumnTwitterComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnTwitterComponent, data: {} });\nexport { RenderType_ColumnTwitterComponent as RenderType_ColumnTwitterComponent };\nexport function View_ColumnTwitterComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-twitter\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Twitter editor not implemented (\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnTwitterComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-twitter\", [], null, null, null, View_ColumnTwitterComponent_0, RenderType_ColumnTwitterComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnTwitterComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnTwitterComponentNgFactory = i1.ɵccf(\"sym-column-twitter\", i2.ColumnTwitterComponent, View_ColumnTwitterComponent_Host_0, {}, {}, []);\nexport { ColumnTwitterComponentNgFactory as ColumnTwitterComponentNgFactory };\n","/**\n * @file Column component for displaying a select value.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a select value.\n */\nvar ColumnSelectComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnSelectComponent, _super);\n /**\n * Creates an instance of ColumnSelectComponent.\n *\n * @param {TranslateService} translateService Is needed to translate the different values.\n * @param {ColumnProvider} provider Provides the configuration information for the column.\n */\n function ColumnSelectComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnSelectComponent.register = function () {\n ComponentRegistry.register('column', 'select', ColumnSelectComponent);\n };\n /**\n * This returns a boolean whether or not a value is present.\n *\n * @returns {boolean}\n */\n ColumnSelectComponent.prototype.valuePresent = function () {\n return this.provider.value != null && this.provider.field.format != null;\n };\n Object.defineProperty(ColumnSelectComponent.prototype, \"labelKey\", {\n /**\n * Returns the label key of the selected value.\n */\n get: function () {\n var _this = this;\n if (!this.valuePresent()) {\n return '';\n }\n var format = this.provider.field.format;\n var value = format.find(function (element) { return element.value === _this.provider.value; });\n return value ? value.labelKey : '';\n },\n enumerable: true,\n configurable: true\n });\n return ColumnSelectComponent;\n}(ColumnBase));\nexport { ColumnSelectComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a select value.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-select.component\";\nimport * as i5 from \"../../column-provider\";\nvar styles_ColumnSelectComponent = [i0.styles];\nvar RenderType_ColumnSelectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnSelectComponent, data: {} });\nexport { RenderType_ColumnSelectComponent as RenderType_ColumnSelectComponent };\nfunction View_ColumnSelectComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-select\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\\n\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_co.labelKey)); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnSelectComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnSelectComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.valuePresent(); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnSelectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-select\", [], null, null, null, View_ColumnSelectComponent_0, RenderType_ColumnSelectComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnSelectComponent, [i5.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnSelectComponentNgFactory = i1.ɵccf(\"sym-column-select\", i4.ColumnSelectComponent, View_ColumnSelectComponent_Host_0, {}, {}, []);\nexport { ColumnSelectComponentNgFactory as ColumnSelectComponentNgFactory };\n","/**\n* @file Column component for displaying a Skype value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a Skype value\n */\nvar ColumnSkypeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnSkypeComponent, _super);\n /**\n * Constructs a ColumnSkypeComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnSkypeComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnSkypeComponent.register = function () {\n ComponentRegistry.register('column', 'skype', ColumnSkypeComponent);\n };\n return ColumnSkypeComponent;\n}(ColumnBase));\nexport { ColumnSkypeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a Skype value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-skype.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnSkypeComponent = [i0.styles];\nvar RenderType_ColumnSkypeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnSkypeComponent, data: {} });\nexport { RenderType_ColumnSkypeComponent as RenderType_ColumnSkypeComponent };\nexport function View_ColumnSkypeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-skype\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Skype editor not implemented (\", \")\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnSkypeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-skype\", [], null, null, null, View_ColumnSkypeComponent_0, RenderType_ColumnSkypeComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnSkypeComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnSkypeComponentNgFactory = i1.ɵccf(\"sym-column-skype\", i2.ColumnSkypeComponent, View_ColumnSkypeComponent_Host_0, {}, {}, []);\nexport { ColumnSkypeComponentNgFactory as ColumnSkypeComponentNgFactory };\n","/**\n* @file Column component for displaying a Google value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a Google value\n */\nvar ColumnGoogleComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnGoogleComponent, _super);\n /**\n * Constructs a ColumnGoogleComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnGoogleComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnGoogleComponent.register = function () {\n ComponentRegistry.register('column', 'google', ColumnGoogleComponent);\n };\n return ColumnGoogleComponent;\n}(ColumnBase));\nexport { ColumnGoogleComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a Google value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-google.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnGoogleComponent = [i0.styles];\nvar RenderType_ColumnGoogleComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnGoogleComponent, data: {} });\nexport { RenderType_ColumnGoogleComponent as RenderType_ColumnGoogleComponent };\nexport function View_ColumnGoogleComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-google\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Google editor not implemented (\", \")\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnGoogleComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-google\", [], null, null, null, View_ColumnGoogleComponent_0, RenderType_ColumnGoogleComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnGoogleComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnGoogleComponentNgFactory = i1.ɵccf(\"sym-column-google\", i2.ColumnGoogleComponent, View_ColumnGoogleComponent_Host_0, {}, {}, []);\nexport { ColumnGoogleComponentNgFactory as ColumnGoogleComponentNgFactory };\n","/**\n* @file Column component for displaying a Xing value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a Xing value\n */\nvar ColumnXingComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnXingComponent, _super);\n /**\n * Constructs a ColumnXingComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnXingComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnXingComponent.register = function () {\n ComponentRegistry.register('column', 'xing', ColumnXingComponent);\n };\n return ColumnXingComponent;\n}(ColumnBase));\nexport { ColumnXingComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a Xing value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-xing.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnXingComponent = [i0.styles];\nvar RenderType_ColumnXingComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnXingComponent, data: {} });\nexport { RenderType_ColumnXingComponent as RenderType_ColumnXingComponent };\nexport function View_ColumnXingComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-xing\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Xing editor not implemented (\", \")\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnXingComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-xing\", [], null, null, null, View_ColumnXingComponent_0, RenderType_ColumnXingComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnXingComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnXingComponentNgFactory = i1.ɵccf(\"sym-column-xing\", i2.ColumnXingComponent, View_ColumnXingComponent_Host_0, {}, {}, []);\nexport { ColumnXingComponentNgFactory as ColumnXingComponentNgFactory };\n","/**\n* @file Column component for displaying a Linkedin value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a Linkedin value\n */\nvar ColumnLinkedinComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnLinkedinComponent, _super);\n /**\n * Constructs a ColumnLinkedinComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnLinkedinComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnLinkedinComponent.register = function () {\n ComponentRegistry.register('column', 'linkedin', ColumnLinkedinComponent);\n };\n return ColumnLinkedinComponent;\n}(ColumnBase));\nexport { ColumnLinkedinComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a Linkedin value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-linkedin.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnLinkedinComponent = [i0.styles];\nvar RenderType_ColumnLinkedinComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnLinkedinComponent, data: {} });\nexport { RenderType_ColumnLinkedinComponent as RenderType_ColumnLinkedinComponent };\nexport function View_ColumnLinkedinComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-linkedin\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Linkedin editor not implemented (\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnLinkedinComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-linkedin\", [], null, null, null, View_ColumnLinkedinComponent_0, RenderType_ColumnLinkedinComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnLinkedinComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnLinkedinComponentNgFactory = i1.ɵccf(\"sym-column-linkedin\", i2.ColumnLinkedinComponent, View_ColumnLinkedinComponent_Host_0, {}, {}, []);\nexport { ColumnLinkedinComponentNgFactory as ColumnLinkedinComponentNgFactory };\n","/**\n* @file Column component for displaying a Facebook value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a facebook value\n */\nvar ColumnFacebookComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnFacebookComponent, _super);\n /**\n * Constructs a ColumnFacebookComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnFacebookComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnFacebookComponent.register = function () {\n ComponentRegistry.register('column', 'facebook', ColumnFacebookComponent);\n };\n return ColumnFacebookComponent;\n}(ColumnBase));\nexport { ColumnFacebookComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a Facebook value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-facebook.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnFacebookComponent = [i0.styles];\nvar RenderType_ColumnFacebookComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnFacebookComponent, data: {} });\nexport { RenderType_ColumnFacebookComponent as RenderType_ColumnFacebookComponent };\nexport function View_ColumnFacebookComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-facebook\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Facebook editor not implemented (\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnFacebookComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-facebook\", [], null, null, null, View_ColumnFacebookComponent_0, RenderType_ColumnFacebookComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnFacebookComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnFacebookComponentNgFactory = i1.ɵccf(\"sym-column-facebook\", i2.ColumnFacebookComponent, View_ColumnFacebookComponent_Host_0, {}, {}, []);\nexport { ColumnFacebookComponentNgFactory as ColumnFacebookComponentNgFactory };\n","/**\n* @file Column component for displaying a text value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a text value\n */\nvar ColumnTextComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnTextComponent, _super);\n /**\n * Constructs a ColumnTextComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnTextComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnTextComponent.register = function () {\n ComponentRegistry.register('column', 'text', ColumnTextComponent);\n };\n return ColumnTextComponent;\n}(ColumnBase));\nexport { ColumnTextComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a text value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-text.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnTextComponent = [i0.styles];\nvar RenderType_ColumnTextComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnTextComponent, data: {} });\nexport { RenderType_ColumnTextComponent as RenderType_ColumnTextComponent };\nexport function View_ColumnTextComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-text\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Text editor not implemented (\", \")\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnTextComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-text\", [], null, null, null, View_ColumnTextComponent_0, RenderType_ColumnTextComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnTextComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnTextComponentNgFactory = i1.ɵccf(\"sym-column-text\", i2.ColumnTextComponent, View_ColumnTextComponent_Host_0, {}, {}, []);\nexport { ColumnTextComponentNgFactory as ColumnTextComponentNgFactory };\n","/**\n* @file Column component for displaying a image value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a image value\n */\nvar ColumnImageComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnImageComponent, _super);\n /**\n * Constructs a ColumnImageComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnImageComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnImageComponent.register = function () {\n ComponentRegistry.register('column', 'image', ColumnImageComponent);\n };\n return ColumnImageComponent;\n}(ColumnBase));\nexport { ColumnImageComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a image value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-image.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnImageComponent = [i0.styles];\nvar RenderType_ColumnImageComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnImageComponent, data: {} });\nexport { RenderType_ColumnImageComponent as RenderType_ColumnImageComponent };\nexport function View_ColumnImageComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-image\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Image editor not implemented (\", \")\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnImageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-image\", [], null, null, null, View_ColumnImageComponent_0, RenderType_ColumnImageComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnImageComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnImageComponentNgFactory = i1.ɵccf(\"sym-column-image\", i2.ColumnImageComponent, View_ColumnImageComponent_Host_0, {}, {}, []);\nexport { ColumnImageComponentNgFactory as ColumnImageComponentNgFactory };\n","/**\n* @file Column component for displaying an email value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying an email value.\n */\nvar ColumnEmailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnEmailComponent, _super);\n /**\n * Constructs a ColumnEmailComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnEmailComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnEmailComponent.register = function () {\n ComponentRegistry.register('column', 'email', ColumnEmailComponent);\n };\n /**\n * Prevents the detail view from opening\n * @param event The click event\n */\n ColumnEmailComponent.prototype.stopPropagation = function (event) {\n event.stopPropagation();\n };\n return ColumnEmailComponent;\n}(ColumnBase));\nexport { ColumnEmailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying an email value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-email.component\";\nimport * as i4 from \"../../column-provider\";\nvar styles_ColumnEmailComponent = [i0.styles];\nvar RenderType_ColumnEmailComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnEmailComponent, data: {} });\nexport { RenderType_ColumnEmailComponent as RenderType_ColumnEmailComponent };\nfunction View_ColumnEmailComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-email\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnEmailComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnEmailComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnEmailComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-email\", [], null, null, null, View_ColumnEmailComponent_0, RenderType_ColumnEmailComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnEmailComponent, [i4.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnEmailComponentNgFactory = i1.ɵccf(\"sym-column-email\", i3.ColumnEmailComponent, View_ColumnEmailComponent_Host_0, {}, {}, []);\nexport { ColumnEmailComponentNgFactory as ColumnEmailComponentNgFactory };\n","/**\n* @file Column component for displaying a emotions value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a emotions value\n */\nvar ColumnEmotionsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnEmotionsComponent, _super);\n /**\n * Constructs a ColumnEmotionsComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnEmotionsComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnEmotionsComponent.register = function () {\n ComponentRegistry.register('column', 'emotions', ColumnEmotionsComponent);\n };\n return ColumnEmotionsComponent;\n}(ColumnBase));\nexport { ColumnEmotionsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a emotions value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-emotions.component\";\nimport * as i3 from \"../../column-provider\";\nvar styles_ColumnEmotionsComponent = [i0.styles];\nvar RenderType_ColumnEmotionsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnEmotionsComponent, data: {} });\nexport { RenderType_ColumnEmotionsComponent as RenderType_ColumnEmotionsComponent };\nexport function View_ColumnEmotionsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-emotions\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"Emotions editor not implemented (\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnEmotionsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-emotions\", [], null, null, null, View_ColumnEmotionsComponent_0, RenderType_ColumnEmotionsComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnEmotionsComponent, [i3.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnEmotionsComponentNgFactory = i1.ɵccf(\"sym-column-emotions\", i2.ColumnEmotionsComponent, View_ColumnEmotionsComponent_Host_0, {}, {}, []);\nexport { ColumnEmotionsComponentNgFactory as ColumnEmotionsComponentNgFactory };\n","/**\n* @file Column component for displaying a task\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a spend time value\n */\nvar ColumnTaskComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnTaskComponent, _super);\n /**\n * Constructs a ColumnTaskComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnTaskComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n _this.entity = _this.provider.entity;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnTaskComponent.register = function () {\n ComponentRegistry.register('column', 'task', ColumnTaskComponent);\n };\n /**\n * Check if task on marketplace\n */\n ColumnTaskComponent.prototype.onMarketplace = function () {\n return (this.entity && this.entity['Marketplace'] && this.entity['Marketplace'] === true);\n };\n return ColumnTaskComponent;\n}(ColumnBase));\nexport { ColumnTaskComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a task\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-task.component\";\nimport * as i5 from \"../../column-provider\";\nimport * as i6 from \"../../../core/localisation.service\";\nvar styles_ColumnTaskComponent = [i0.styles];\nvar RenderType_ColumnTaskComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnTaskComponent, data: {} });\nexport { RenderType_ColumnTaskComponent as RenderType_ColumnTaskComponent };\nfunction View_ColumnTaskComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-marketplace\"]], null, null, null, null, null))], null, null); }\nexport function View_ColumnTaskComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-task\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnTaskComponent_1)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(4, null, [\" \", \" (\", \" - \", \")\\n\"])), i1.ɵppd(5, 2), i1.ɵppd(6, 2)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.onMarketplace(); _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.provider.value; var currVal_2 = i1.ɵunv(_v, 4, 1, _ck(_v, 5, 0, i1.ɵnov(_v, 0), _co.entity[\"Start\"], _co.localisationService.date.format)); var currVal_3 = i1.ɵunv(_v, 4, 2, _ck(_v, 6, 0, i1.ɵnov(_v, 0), _co.entity[\"Finish\"], _co.localisationService.date.format)); _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3); }); }\nexport function View_ColumnTaskComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-task\", [], null, null, null, View_ColumnTaskComponent_0, RenderType_ColumnTaskComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnTaskComponent, [i5.ColumnProvider, i1.ChangeDetectorRef, i6.LocalisationService], null, null)], null, null); }\nvar ColumnTaskComponentNgFactory = i1.ɵccf(\"sym-column-task\", i4.ColumnTaskComponent, View_ColumnTaskComponent_Host_0, {}, {}, []);\nexport { ColumnTaskComponentNgFactory as ColumnTaskComponentNgFactory };\n","/**\n* @file Column component for displaying a service\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a spend time value\n */\nvar ColumnServiceComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnServiceComponent, _super);\n /**\n * Constructs a ColumnServiceComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnServiceComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n _this.entity = _this.provider.entity;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnServiceComponent.register = function () {\n ComponentRegistry.register('column', 'service', ColumnServiceComponent);\n };\n /**\n * Check if service on marketplace\n */\n ColumnServiceComponent.prototype.onMarketplace = function () {\n return true; // (this.entity && this.entity['Marketplace'] && this.entity['Marketplace'] === true);\n };\n return ColumnServiceComponent;\n}(ColumnBase));\nexport { ColumnServiceComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a service\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-service.component\";\nimport * as i5 from \"../../column-provider\";\nimport * as i6 from \"../../../core/localisation.service\";\nvar styles_ColumnServiceComponent = [i0.styles];\nvar RenderType_ColumnServiceComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnServiceComponent, data: {} });\nexport { RenderType_ColumnServiceComponent as RenderType_ColumnServiceComponent };\nfunction View_ColumnServiceComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-marketplace\"]], null, null, null, null, null))], null, null); }\nexport function View_ColumnServiceComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-service\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnServiceComponent_1)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(4, null, [\" \", \" (\", \" - \", \")\\n\"])), i1.ɵppd(5, 2), i1.ɵppd(6, 2)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.onMarketplace(); _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.provider.value; var currVal_2 = i1.ɵunv(_v, 4, 1, _ck(_v, 5, 0, i1.ɵnov(_v, 0), _co.entity[\"Start\"], _co.localisationService.date.format)); var currVal_3 = i1.ɵunv(_v, 4, 2, _ck(_v, 6, 0, i1.ɵnov(_v, 0), _co.entity[\"Finish\"], _co.localisationService.date.format)); _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3); }); }\nexport function View_ColumnServiceComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-service\", [], null, null, null, View_ColumnServiceComponent_0, RenderType_ColumnServiceComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnServiceComponent, [i5.ColumnProvider, i1.ChangeDetectorRef, i6.LocalisationService], null, null)], null, null); }\nvar ColumnServiceComponentNgFactory = i1.ɵccf(\"sym-column-service\", i4.ColumnServiceComponent, View_ColumnServiceComponent_Host_0, {}, {}, []);\nexport { ColumnServiceComponentNgFactory as ColumnServiceComponentNgFactory };\n","/**\n* @file Column component for displaying a datetime value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a datetime value\n */\nvar ColumnDatetimeRelativeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnDatetimeRelativeComponent, _super);\n /**\n * Constructs a ColumnDatetimeComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnDatetimeRelativeComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnDatetimeRelativeComponent.register = function () {\n ComponentRegistry.register('column', 'datetime-relative', ColumnDatetimeRelativeComponent);\n };\n return ColumnDatetimeRelativeComponent;\n}(ColumnBase));\nexport { ColumnDatetimeRelativeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a datetime value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"./column-datetime-relative.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../core/localisation.service\";\nvar styles_ColumnDatetimeRelativeComponent = [i0.styles];\nvar RenderType_ColumnDatetimeRelativeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnDatetimeRelativeComponent, data: {} });\nexport { RenderType_ColumnDatetimeRelativeComponent as RenderType_ColumnDatetimeRelativeComponent };\nexport function View_ColumnDatetimeRelativeComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-datetime-relative\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [[\"class\", \"sym-hide-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [[\"class\", \"sym-show-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 2)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.provider.value)); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v, 0), _co.provider.value, _co.localisationService.dateTime.format)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_ColumnDatetimeRelativeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-datetime-relative\", [], null, null, null, View_ColumnDatetimeRelativeComponent_0, RenderType_ColumnDatetimeRelativeComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnDatetimeRelativeComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.LocalisationService], null, null)], null, null); }\nvar ColumnDatetimeRelativeComponentNgFactory = i1.ɵccf(\"sym-column-datetime-relative\", i3.ColumnDatetimeRelativeComponent, View_ColumnDatetimeRelativeComponent_Host_0, {}, {}, []);\nexport { ColumnDatetimeRelativeComponentNgFactory as ColumnDatetimeRelativeComponentNgFactory };\n","/**\n* @file Column component for displaying a date value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { ColumnProvider } from '../../column-provider';\nimport { ColumnBase } from '../column-base/column-base';\nimport { LocalisationService } from '../../../core/localisation.service';\n/**\n * Column component for displaying a date value\n */\nvar ColumnDateRelativeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnDateRelativeComponent, _super);\n /**\n * Constructs a ColumnStringComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnDateRelativeComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnDateRelativeComponent.register = function () {\n ComponentRegistry.register('column', 'date-relative', ColumnDateRelativeComponent);\n };\n return ColumnDateRelativeComponent;\n}(ColumnBase));\nexport { ColumnDateRelativeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a date value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"./column-date-relative.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../core/localisation.service\";\nvar styles_ColumnDateRelativeComponent = [i0.styles];\nvar RenderType_ColumnDateRelativeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnDateRelativeComponent, data: {} });\nexport { RenderType_ColumnDateRelativeComponent as RenderType_ColumnDateRelativeComponent };\nexport function View_ColumnDateRelativeComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-date-relative\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [[\"class\", \"sym-hide-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [[\"class\", \"sym-show-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 2)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.provider.value)); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v, 0), _co.provider.value, _co.localisationService.date.format)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_ColumnDateRelativeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-date-relative\", [], null, null, null, View_ColumnDateRelativeComponent_0, RenderType_ColumnDateRelativeComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnDateRelativeComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.LocalisationService], null, null)], null, null); }\nvar ColumnDateRelativeComponentNgFactory = i1.ɵccf(\"sym-column-date-relative\", i3.ColumnDateRelativeComponent, View_ColumnDateRelativeComponent_Host_0, {}, {}, []);\nexport { ColumnDateRelativeComponentNgFactory as ColumnDateRelativeComponentNgFactory };\n","/**\n* @file Column component for displaying a time value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a time value\n */\nvar ColumnTimeRelativeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnTimeRelativeComponent, _super);\n /**\n * Constructs a ColumnTimeComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnTimeRelativeComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnTimeRelativeComponent.register = function () {\n ComponentRegistry.register('column', 'time-relative', ColumnTimeRelativeComponent);\n };\n return ColumnTimeRelativeComponent;\n}(ColumnBase));\nexport { ColumnTimeRelativeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a time value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"./column-time-relative.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../core/localisation.service\";\nvar styles_ColumnTimeRelativeComponent = [i0.styles];\nvar RenderType_ColumnTimeRelativeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnTimeRelativeComponent, data: {} });\nexport { RenderType_ColumnTimeRelativeComponent as RenderType_ColumnTimeRelativeComponent };\nexport function View_ColumnTimeRelativeComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-time-relative\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [[\"class\", \"sym-hide-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [[\"class\", \"sym-show-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 2)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.provider.value)); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v, 0), _co.provider.value, _co.localisationService.time.format)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_ColumnTimeRelativeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-time-relative\", [], null, null, null, View_ColumnTimeRelativeComponent_0, RenderType_ColumnTimeRelativeComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnTimeRelativeComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.LocalisationService], null, null)], null, null); }\nvar ColumnTimeRelativeComponentNgFactory = i1.ɵccf(\"sym-column-time-relative\", i3.ColumnTimeRelativeComponent, View_ColumnTimeRelativeComponent_Host_0, {}, {}, []);\nexport { ColumnTimeRelativeComponentNgFactory as ColumnTimeRelativeComponentNgFactory };\n","/**\n* @file Column component for displaying a boolean value.\n* @author Willem Jan Weitering\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { ColumnProvider } from '../../column-provider';\nimport { ColumnBase } from '../column-base/column-base';\n/**\n * Column component for displaying a boolean value\n */\nvar ColumnBooleanComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnBooleanComponent, _super);\n /**\n * Constructs a ColumnStringComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnBooleanComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnBooleanComponent.register = function () {\n ComponentRegistry.register('column', 'boolean', ColumnBooleanComponent);\n };\n return ColumnBooleanComponent;\n}(ColumnBase));\nexport { ColumnBooleanComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a boolean value.\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-boolean.component\";\nimport * as i5 from \"../../column-provider\";\nvar styles_ColumnBooleanComponent = [i0.styles];\nvar RenderType_ColumnBooleanComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnBooleanComponent, data: {} });\nexport { RenderType_ColumnBooleanComponent as RenderType_ColumnBooleanComponent };\nfunction View_ColumnBooleanComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.INPUTS.BOOLEAN_YES\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnBooleanComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.INPUTS.BOOLEAN_NO\")); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnBooleanComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-boolean\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnBooleanComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnBooleanComponent_2)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.provider.value == true); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.provider.value != true); _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_ColumnBooleanComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-boolean\", [], null, null, null, View_ColumnBooleanComponent_0, RenderType_ColumnBooleanComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnBooleanComponent, [i5.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnBooleanComponentNgFactory = i1.ɵccf(\"sym-column-boolean\", i4.ColumnBooleanComponent, View_ColumnBooleanComponent_Host_0, {}, {}, []);\nexport { ColumnBooleanComponentNgFactory as ColumnBooleanComponentNgFactory };\n","/**\n * @file Column component for displaying a weight value for an availability.\n * @author Willem Jan Weitering\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a weight value for an availability.\n */\nvar ColumnWeightComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnWeightComponent, _super);\n /**\n * Constructs a ColumnWeightComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnWeightComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnWeightComponent.register = function () {\n ComponentRegistry.register('column', 'weight', ColumnWeightComponent);\n };\n return ColumnWeightComponent;\n}(ColumnBase));\nexport { ColumnWeightComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a weight value for an availability.\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-weight.component\";\nimport * as i5 from \"../../column-provider\";\nvar styles_ColumnWeightComponent = [i0.styles];\nvar RenderType_ColumnWeightComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnWeightComponent, data: {} });\nexport { RenderType_ColumnWeightComponent as RenderType_ColumnWeightComponent };\nfunction View_ColumnWeightComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-weight\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.MISC.AVAILABILITY.PREFER_NOT_SHORT\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnWeightComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-weight\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.MISC.AVAILABILITY.I_CAN_SHORT\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnWeightComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-weight\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.MISC.AVAILABILITY.LOVE_TO_SHORT\")); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnWeightComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnWeightComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnWeightComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnWeightComponent_3)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.provider.value == (0 - 1)); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.provider.value == 0); _ck(_v, 3, 0, currVal_1); var currVal_2 = (_co.provider.value == 1); _ck(_v, 5, 0, currVal_2); }, null); }\nexport function View_ColumnWeightComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-weight\", [], null, null, null, View_ColumnWeightComponent_0, RenderType_ColumnWeightComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnWeightComponent, [i5.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnWeightComponentNgFactory = i1.ɵccf(\"sym-column-weight\", i4.ColumnWeightComponent, View_ColumnWeightComponent_Host_0, {}, {}, []);\nexport { ColumnWeightComponentNgFactory as ColumnWeightComponentNgFactory };\n","/**\n * @file Column component for displaying a value as a multi language label.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\nvar ColumnLabelComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnLabelComponent, _super);\n /**\n * Constructs a ColumnLabelComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnLabelComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnLabelComponent.register = function () {\n ComponentRegistry.register('column', 'label', ColumnLabelComponent);\n };\n return ColumnLabelComponent;\n}(ColumnBase));\nexport { ColumnLabelComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a value as a multi language label.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"./column-label.component\";\nimport * as i4 from \"../../column-provider\";\nvar styles_ColumnLabelComponent = [i0.styles];\nvar RenderType_ColumnLabelComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnLabelComponent, data: {} });\nexport { RenderType_ColumnLabelComponent as RenderType_ColumnLabelComponent };\nexport function View_ColumnLabelComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_co.provider.value)); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnLabelComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-label\", [], null, null, null, View_ColumnLabelComponent_0, RenderType_ColumnLabelComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnLabelComponent, [i4.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnLabelComponentNgFactory = i1.ɵccf(\"sym-column-label\", i3.ColumnLabelComponent, View_ColumnLabelComponent_Host_0, {}, {}, []);\nexport { ColumnLabelComponentNgFactory as ColumnLabelComponentNgFactory };\n","/**\n * @file The Overlay service\n * @author Heino Lenting\n */\nimport { EventEmitter } from '@angular/core';\nimport { AsyncSubject } from 'rxjs';\nimport { ConfigurationsService } from '../configurations.service';\nimport { UserService } from '../user.service';\n/**\n * Class for the overlay service\n */\nvar OverlayService = /** @class */ (function () {\n /**\n * Constructs a Overlay Service\n */\n function OverlayService(configurationsService, userService) {\n this.userService = userService;\n this.actions = {};\n this.open = false;\n this.params = null;\n /**\n * Is fired when the overlay is closed\n */\n this.onClosed = new EventEmitter();\n this.registerActions(configurationsService.configurations.app.actions);\n }\n /**\n * Is called to determine whether or not a link is defined to show the entity in the overlay.\n * @param {Entity} entity The entity to show.\n * @param {string} [entityType] The short name of the entitiy.\n * @returns {boolean} True when link existed.\n */\n OverlayService.prototype.entityWithOverlay = function (entity, entityType) {\n var key = entityType;\n if (!key) {\n if (!entity) {\n return false;\n }\n key = entity.entityType.shortName;\n }\n if (this.actions[key] && this.userService.isActionAllowed(this.actions[key])) {\n return true;\n }\n return false;\n };\n /**\n * Display and open the entity in the overlay.\n * @param {Entity} entity The entity to shown\n * @param {string} [entityType] The short name of the entity\n * @returns {boolean} True when the entity is shown.\n */\n OverlayService.prototype.goToEntity = function (entity, entityType) {\n var key = entityType;\n if (!key) {\n if (!entity) {\n return false;\n }\n key = entity.entityType.shortName;\n }\n var action = this.actions[key];\n if (!action) {\n return false;\n }\n this.createOverlay({\n action: action,\n entity: entity\n });\n return true;\n };\n /**\n * Is called to register the action for displaying entities in the overlay.\n * @param {ActionConfiguration[]} actions Array with actions\n * @returns void\n */\n OverlayService.prototype.registerActions = function (actions) {\n var _this = this;\n if (!actions) {\n return;\n }\n actions.forEach(function (action) {\n if (action.entity && !_this.actions[action.entity]) {\n _this.actions[action.entity] = action;\n }\n });\n };\n /**\n * Create an overlay\n * @param params The params for the overlay\n * @returns The Observable is returned\n */\n OverlayService.prototype.createOverlay = function (params) {\n // Close previous overlay\n if (this.open) {\n this.closeOverlay();\n }\n if (!params.action.configuration) {\n throw Error('Overlay is missing configuration.');\n }\n /* cross-browser solution */\n var currentScrollTop = (document.body.scrollTop) ? document.body.scrollTop : document.documentElement.scrollTop;\n if (currentScrollTop > 15) {\n document.body.scrollTop = document.documentElement.scrollTop = 1;\n }\n // Save the params\n this.params = params !== undefined ? params : null;\n // (Re)sets the overlay result value\n this.result = new AsyncSubject();\n this.params.configuration = params.action.configuration;\n this.open = true;\n return this.result;\n };\n /**\n * Closes the overlay\n * @param {any} [value=null] The parameter is passed to the onClosed event\n */\n OverlayService.prototype.closeOverlay = function (value) {\n if (value === void 0) { value = null; }\n this.open = false;\n this.params = null;\n this.onClosed.emit(value);\n if (value != null) {\n this.result.next(value);\n this.result.complete();\n }\n };\n /**\n * Is there an overlay in the service\n * @returns Returns if a overlay exists\n */\n OverlayService.prototype.isOpen = function () {\n return this.open;\n };\n /**\n * Get access to the params of the overlay\n * @returns The params\n */\n OverlayService.prototype.getParams = function () {\n return this.params;\n };\n return OverlayService;\n}());\nexport { OverlayService };\n","/**\n * @file Column component for displaying a entity value.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { OverlayService } from '../../../core/overlay.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Column component for displaying a entity value\n */\nvar ColumnEntityComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnEntityComponent, _super);\n /**\n * Constructs a ColumnEntityComponent.\n * @param provider Provides the configuration information for the column.\n * @param overlayService The router service.\n */\n function ColumnEntityComponent(provider, changeDetector, overlayService, alertsService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.overlayService = overlayService;\n _this.alertsService = alertsService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnEntityComponent.register = function () {\n ComponentRegistry.register('column', 'entity', ColumnEntityComponent);\n };\n /**\n * Go to given entity in the app\n * @param entity The entity to open\n */\n ColumnEntityComponent.prototype.goToEntity = function ($event) {\n // Stop event bubbling (and prevent opening of the edit form)\n $event.stopPropagation();\n // Go to entity\n if (!this.overlayService.goToEntity(this.provider.entity)) {\n this.alertsService.createAlert('warning', 'APP.LISTS.CAN_NOT_GO_TO_ENTITY');\n }\n };\n /**\n * Returns a string representation of the entity based on the field settings.\n * @returns {string} A string representation of the entity.\n */\n ColumnEntityComponent.prototype.getDisplayValue = function () {\n var _this = this;\n if (!this.provider.field.format) {\n console.warn('Field format is missing for column entity.');\n return '';\n }\n if (!this.provider.field.format['fields']) {\n console.warn('Fields in field format is missing for column entity.');\n return '';\n }\n var result = '';\n this.provider.field.format.fields.forEach(function (field) {\n if (result !== '') {\n result += ' ';\n }\n result += _this.provider.value[field];\n });\n return result;\n };\n return ColumnEntityComponent;\n}(ColumnBase));\nexport { ColumnEntityComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a entity value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-entity.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../core/overlay.service\";\nimport * as i6 from \"../../../core/alerts.service\";\nvar styles_ColumnEntityComponent = [i0.styles];\nvar RenderType_ColumnEntityComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnEntityComponent, data: {} });\nexport { RenderType_ColumnEntityComponent as RenderType_ColumnEntityComponent };\nfunction View_ColumnEntityComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getDisplayValue(); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnEntityComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-entity\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnEntityComponent_1)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_ColumnEntityComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-entity\", [], null, null, null, View_ColumnEntityComponent_0, RenderType_ColumnEntityComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnEntityComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.OverlayService, i6.AlertsService], null, null)], null, null); }\nvar ColumnEntityComponentNgFactory = i1.ɵccf(\"sym-column-entity\", i3.ColumnEntityComponent, View_ColumnEntityComponent_Host_0, {}, {}, []);\nexport { ColumnEntityComponentNgFactory as ColumnEntityComponentNgFactory };\n","/**\n * @file Column component for displaying a entity value.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, OnInit } from '@angular/core';\nimport { ColumnBase } from '../column-base/column-base';\nimport { ColumnProvider } from '../../column-provider';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { DomainService } from '../../../domain.service';\n/**\n * Column component for displaying a entity value\n */\nvar ColumnNameComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnNameComponent, _super);\n /**\n * Constructs a ColumnEntityComponent.\n * @param provider Provides the configuration information for the column.\n * @param overlayService The router service.\n */\n function ColumnNameComponent(provider, changeDetector, domainService, alertsService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.domainService = domainService;\n _this.alertsService = alertsService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnNameComponent.register = function () {\n ComponentRegistry.register('column', 'name', ColumnNameComponent);\n };\n ColumnNameComponent.prototype.ngOnInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = this;\n return [4 /*yield*/, this.getDisplayValue()];\n case 1:\n _a.fullName = _b.sent();\n this.changeDetector.detectChanges();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Returns a string representation of the entity based on the field settings.\n * @returns {string} A string representation of the entity.\n */\n ColumnNameComponent.prototype.getDisplayValue = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var user, name;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.getUser(this.provider.value)];\n case 1:\n user = _a.sent();\n name = user['FirstName'] + \" \" + user['Name'];\n return [2 /*return*/, Promise.resolve(name)];\n }\n });\n });\n };\n ColumnNameComponent.prototype.getUser = function (oid) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType, user;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n entityType = this.domainService.getEntityType('Resource');\n return [4 /*yield*/, this.domainService.getEntityByKey(entityType, oid).toPromise()];\n case 1:\n user = _a.sent();\n return [2 /*return*/, user];\n }\n });\n });\n };\n return ColumnNameComponent;\n}(ColumnBase));\nexport { ColumnNameComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a entity value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-name.component\";\nimport * as i4 from \"../../column-provider\";\nimport * as i5 from \"../../../domain.service\";\nimport * as i6 from \"../../../core/alerts.service\";\nvar styles_ColumnNameComponent = [i0.styles];\nvar RenderType_ColumnNameComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnNameComponent, data: {} });\nexport { RenderType_ColumnNameComponent as RenderType_ColumnNameComponent };\nfunction View_ColumnNameComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.fullName; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnNameComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-resource-name\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnNameComponent_1)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_ColumnNameComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-name\", [], null, null, null, View_ColumnNameComponent_0, RenderType_ColumnNameComponent)), i1.ɵdid(1, 4440064, null, 0, i3.ColumnNameComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.DomainService, i6.AlertsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ColumnNameComponentNgFactory = i1.ɵccf(\"sym-column-name\", i3.ColumnNameComponent, View_ColumnNameComponent_Host_0, {}, {}, []);\nexport { ColumnNameComponentNgFactory as ColumnNameComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for color input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{position:relative;height:20px;line-height:27px}.form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .sym-label-left[_ngcontent-%COMP%]{position:absolute;top:0;left:15px;right:30px}.form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .sym-label-right[_ngcontent-%COMP%]{position:absolute;top:0;right:15px}@media (min-width:768px) and (max-width:991.98px){.form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .sym-label-right[_ngcontent-%COMP%]{right:0}}@media (min-width:1200px){.form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .sym-label-right[_ngcontent-%COMP%]{right:0}}.form-group[_ngcontent-%COMP%] .sym-fieldset-output[_ngcontent-%COMP%]{min-height:29px}.form-group[_ngcontent-%COMP%] .sym-fieldset-output[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:27px}.form-group[_ngcontent-%COMP%] .sym-fieldset-output[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1.5;display:inline-block;min-width:50px}.sym-color-dropdown[_ngcontent-%COMP%]{max-width:200px}\"];\nexport { styles as styles };\n","/**\n * @file Help component for fieldsets\n * @author Heino Lenting\n */\n/**\n * Class for the help functionality\n */\nvar HelpComponent = /** @class */ (function () {\n function HelpComponent() {\n this.open = false;\n this.orientation = 'left';\n }\n /**\n * An outside click event\n */\n HelpComponent.prototype.clickOutside = function (e) {\n if (this.isOpen()) {\n this.setClose();\n }\n };\n /**\n * Test if the help is open\n * @returns Returns if help is open\n */\n HelpComponent.prototype.isOpen = function () {\n return (this.open === true);\n };\n /**\n * Test if the help is closed\n * @returns Returns if help is closed\n */\n HelpComponent.prototype.isClosed = function () {\n return (this.open === false);\n };\n /**\n * Set help component open and use auto remove after a few seconds\n */\n HelpComponent.prototype.setOpen = function () {\n // Open tooltip\n this.open = true;\n // Auto remove after 5 seconds\n this.startDelayedClose();\n };\n /**\n * Close the help component and cancel the auto remove\n */\n HelpComponent.prototype.setClose = function () {\n // Close tooltip\n this.open = false;\n // Clear existing interval\n this.cancelDelayedClose();\n };\n /**\n * Toggle between open or closed\n * @param event The click event\n */\n HelpComponent.prototype.toggle = function (event) {\n // Calculate orientation\n this.calculateOrientation(event);\n // Toggle between open en close\n if (this.isOpen()) {\n this.setClose();\n }\n else {\n this.setOpen();\n }\n };\n /**\n * Test if the orientation of the help component is right\n * @returns Return if orientation is right\n */\n HelpComponent.prototype.isRightOrientated = function () {\n return (this.orientation === 'right');\n };\n /**\n * Test if the orientation of the help component is left\n * @returns Return if orientation is left\n */\n HelpComponent.prototype.isLeftOrientated = function () {\n return (this.orientation === 'left');\n };\n /**\n * Close the dropdown if current interface element is not active\n */\n HelpComponent.prototype.closeIfNotLastOpenComponent = function (component) {\n if (this.open && this !== component) {\n this.setClose();\n }\n };\n /**\n * Start a delayed close\n */\n HelpComponent.prototype.startDelayedClose = function () {\n var _this = this;\n // Close help text after 5 seconds\n this.timeoutId = window.setTimeout(function () {\n _this.open = false;\n _this.cancelDelayedClose();\n }, 5000);\n };\n /**\n * Cancel a delayed close\n */\n HelpComponent.prototype.cancelDelayedClose = function () {\n // Clear timeout if exists\n if (this.timeoutId !== null) {\n window.clearTimeout(this.timeoutId);\n this.timeoutId = null;\n }\n };\n /**\n * Calculate the orientation of the help component based on the position of the element in browser\n * @param event The HTML event argument that triggered this method.\n */\n HelpComponent.prototype.calculateOrientation = function (event) {\n // If an event is given, calculate the orientation\n if (event) {\n if (event.pageX < window.innerWidth / 2) {\n // right orientation\n this.orientation = 'right';\n }\n else {\n // left orientation\n this.orientation = 'left';\n }\n }\n };\n return HelpComponent;\n}());\nexport { HelpComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Help component for fieldsets\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./help.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i4 from \"./help.component\";\nvar styles_HelpComponent = [i0.styles];\nvar RenderType_HelpComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_HelpComponent, data: {} });\nexport { RenderType_HelpComponent as RenderType_HelpComponent };\nexport function View_HelpComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"span\", [[\"class\", \"sym-help\"]], null, [[null, \"click\"], [null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggle($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"clickOutside\" === en)) {\n var pd_1 = (_co.clickOutside($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"open\": 0 }), i1.ɵdid(3, 737280, null, 0, i3.ClickOutsideDirective, [i1.ElementRef, i1.NgZone, i1.PLATFORM_ID], null, { clickOutside: \"clickOutside\" }), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-help\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 8, \"div\", [[\"class\", \"tooltip-container\"]], null, null, null, null, null)), i1.ɵdid(6, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(7, { \"tooltip-container-right\": 0, \"tooltip-container-left\": 1 }), (_l()(), i1.ɵeld(8, 0, null, null, 5, \"div\", [[\"class\", \"tooltip show\"]], null, null, null, null, null)), i1.ɵdid(9, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(10, { \"bs-tooltip-right\": 0, \"bs-tooltip-left\": 1 }), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"arrow\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"tooltip-inner\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-help\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); _ck(_v, 3, 0); var currVal_2 = \"tooltip-container\"; var currVal_3 = _ck(_v, 7, 0, _co.isRightOrientated(), _co.isLeftOrientated()); _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_4 = \"tooltip show\"; var currVal_5 = _ck(_v, 10, 0, _co.isRightOrientated(), _co.isLeftOrientated()); _ck(_v, 9, 0, currVal_4, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_6 = _co.text; _ck(_v, 13, 0, currVal_6); }); }\nexport function View_HelpComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-help\", [], null, null, null, View_HelpComponent_0, RenderType_HelpComponent)), i1.ɵdid(1, 49152, null, 0, i4.HelpComponent, [], null, null)], null, null); }\nvar HelpComponentNgFactory = i1.ɵccf(\"sym-help\", i4.HelpComponent, View_HelpComponent_Host_0, { text: \"text\" }, {}, []);\nexport { HelpComponentNgFactory as HelpComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Help component for fieldsets\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-help[_ngcontent-%COMP%]{position:relative;left:0;cursor:pointer}.sym-help[_ngcontent-%COMP%] i.icon.sym-icon-help[_ngcontent-%COMP%]{color:#6c757d}.sym-help[_ngcontent-%COMP%] i.icon[_ngcontent-%COMP%]:hover{color:#495057}.sym-help.open[_ngcontent-%COMP%] .tooltip-container[_ngcontent-%COMP%]{display:block}.sym-help.open[_ngcontent-%COMP%] .icon.sym-icon-help[_ngcontent-%COMP%]{color:#495057}.sym-help[_ngcontent-%COMP%] .tooltip-container[_ngcontent-%COMP%]{position:absolute;top:0;display:none}.sym-help[_ngcontent-%COMP%] .tooltip-container.tooltip-container-left[_ngcontent-%COMP%]{left:-212px}.sym-help[_ngcontent-%COMP%] .tooltip-container.tooltip-container-right[_ngcontent-%COMP%]{left:16px}.sym-help[_ngcontent-%COMP%] .tooltip-container[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{top:2px}.sym-help[_ngcontent-%COMP%] .tooltip-container[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .tooltip-inner[_ngcontent-%COMP%]{width:300px}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for xing input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"input[_ngcontent-%COMP%]{padding-left:4px!important;padding-right:4px!important}.sym-has-errors[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{border:1px solid #d55b40}.sym-has-errors[_ngcontent-%COMP%] .sym-input-feedback[_ngcontent-%COMP%]{color:#d55b40}.input-group-append[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.sym-enabled[_ngcontent-%COMP%]{opacity:1}span[_ngcontent-%COMP%]{line-height:27px}@media (min-width:992px){.input-group-append[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;min-width:50px}}\"];\nexport { styles as styles };\n","/**\n * @file Abstract base class for input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter, OnDestroy } from '@angular/core';\nimport { AbstractControl, FormControl } from '@angular/forms';\nimport { AbstractBase } from '../../../core/helpers/abstract-base';\n/**\n * Abstract base class for input\n */\nvar InputBase = /** @class */ (function (_super) {\n tslib_1.__extends(InputBase, _super);\n function InputBase() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /** The associated angular form control. */\n _this.formControl = new FormControl();\n /** Gets sets the flag that indicates whether the value is required. */\n _this.required = false;\n /** Is input in read only mode */\n _this.readOnly = false;\n /**\n * Gets, sets component in disable mode.\n * @memberOf InputBase\n */\n _this.disabled = false;\n /** Collection of of validation errors. */\n _this._validationErrors = [];\n /** Event to notify changes of value */\n _this.valueChange = new EventEmitter();\n /** Reference to the native html element that handles the display of the value. */\n _this.input = null;\n /** Whether or not the defaultControlValidator is used. */\n _this.usingDefaultValidator = false;\n return _this;\n }\n Object.defineProperty(InputBase.prototype, \"control\", {\n /** Gets the form control. */\n get: function () {\n return this.formControl;\n },\n /** Sets the form control. */\n set: function (value) {\n if (!value) {\n return;\n }\n this.setControl(value);\n this.initializeValidator();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the formControl. Override this method when needed.\n * @protected\n * @param {AbstractControl} value The control to set.\n * @memberOf InputBase\n * */\n InputBase.prototype.setControl = function (value) {\n this.ngOnDestroy();\n this.usingDefaultValidator = false;\n this.formControl = value;\n };\n Object.defineProperty(InputBase.prototype, \"value\", {\n /** Gets the value of the input component. */\n get: function () {\n return this.getValue();\n },\n /**\n * Sets the value of the input component.\n * The value property is a public twoway, input/output, property.\n */\n set: function (val) {\n this.setValue(val);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputBase.prototype, \"validationErrors\", {\n /**\n * Gets an array of validation errors. The error messages are in the right language.\n * @readonly\n * @type {string[]}\n */\n get: function () {\n if (!this.formControl) {\n return [];\n }\n if (this.formControl.dirty || this.formControl.touched) {\n return this._validationErrors;\n }\n return [];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Receive value from the HTML input element and trigger a valueChange event\n * @param event The HTML input event\n */\n InputBase.prototype.valueInput = function (event, value) {\n if (value == null) {\n this.input = event.target.value;\n }\n else {\n // Bij de radio input verandert angular de value naar 'on'.\n // Nu hebben we een work around.\n this.input = value;\n }\n if (this.isValidInput()) {\n // Updating the value bind of the entity.\n this.formControl.setValue(this.parseValue(this.input));\n this.valueChange.emit(this.value);\n // Ensure to get errors of the current entity state.\n this.getValidatorErrors();\n }\n };\n /** Lifecycle hook that is called when a directive, pipe or service is destroyed. */\n InputBase.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n this.subscriptionPool.unsubscribeAll();\n if (this.usingDefaultValidator) {\n this.formControl.clearValidators();\n }\n this.formControl = null;\n };\n /**\n * Indicated whether or not control is in error state.\n * @returns {boolean} True when control is in error state.\n */\n InputBase.prototype.hasErrors = function () {\n // Following solutions give rise to angular life cycle problems:\n // return this.formControl.status === 'INVALID'\n // return (this.validationErrors && this.validationErrors.length > 0);\n // return this._hasErrors;\n return (this.validationErrors.length !== 0);\n };\n /**\n * Gets the displayed value.\n * Override this method for specific types when needed.\n * @protected\n * @returns {*} Displayed value\n * @memberOf InputBase\n * */\n InputBase.prototype.getValue = function () {\n return this.formControl ? this.formControl.value : undefined; // Fix for #3475\n };\n /**\n * Set the value of the input.\n * Override this method when extending the value behavior.\n * @param val The new value to set.\n */\n InputBase.prototype.setValue = function (val) {\n this.input = val;\n if (this.value === val) {\n return;\n }\n if (this.formControl) {\n this.formControl.setValue(val);\n }\n this.valueChange.emit(val);\n // Ensure to get errors of the current entity state.\n this.getValidatorErrors();\n };\n /**\n * Override this method to give a specific input its validator.\n */\n InputBase.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n /**\n * @returns A value indicating if the input has content and if it is valid\n */\n InputBase.prototype.hasValidContent = function () {\n if (this.required && this.value === null) {\n return false;\n }\n return this.isValidInput();\n };\n /**\n * Validates the input\n * @returns A value indicating whether the input is valid (and can be parsed)\n */\n InputBase.prototype.isValidInput = function () {\n if (this.required && this.value === null) {\n return false;\n }\n else {\n return true;\n }\n };\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n */\n InputBase.prototype.isValidValue = function (newValue) {\n return null;\n };\n /**\n * Parses a new value into its appropriate type\n * @param newValue The value to be parsed\n * @returns The parsed value\n */\n InputBase.prototype.parseValue = function (newValue) {\n return newValue;\n };\n /**\n * Overrides the default validator when the control already has one.\n * Override this method if another behavior is needed.\n * @protected\n */\n InputBase.prototype.initializeValidator = function () {\n if (this.formControl.validator) {\n return;\n }\n this.usingDefaultValidator = true;\n this.formControl.setValidators(this.defaultControlValidator());\n };\n /**\n * Gets validation errors by revalidating the validator of the control.\n * In this way we get a validation of the current entity state and current control state.\n * @protected\n * @returns {ValidationErrors} Validation errors or null when there are none.\n */\n InputBase.prototype.getValidatorErrors = function () {\n if (this.formControl) {\n var validator = this.formControl.validator;\n if (validator) {\n var errors = validator(this.formControl);\n if (errors) {\n this.publishErrors(errors);\n return errors;\n }\n }\n }\n var inputErrors = this.isValidValue(this.input);\n if (inputErrors) {\n this.formControl.setErrors(inputErrors);\n this.publishErrors(inputErrors);\n return inputErrors;\n }\n this.clearErrors();\n return null;\n };\n /**\n * Publishes the validation messages the the validationErrors list\n */\n InputBase.prototype.publishErrors = function (errors) {\n var _this = this;\n this.clearErrors();\n Object.keys(errors).forEach(function (errorKey) {\n _this._validationErrors.push(errors[errorKey]);\n });\n };\n /**\n * Clears the validationErrors list.\n */\n InputBase.prototype.clearErrors = function () {\n this._validationErrors = [];\n };\n return InputBase;\n}(AbstractBase));\nexport { InputBase };\n","import * as tslib_1 from \"tslib\";\nimport { InputBase } from '../inputs/input-base/input-base';\n/**\n * Base class for a string based field input component\n */\nvar InputStringBase = /** @class */ (function (_super) {\n tslib_1.__extends(InputStringBase, _super);\n function InputStringBase() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(InputStringBase.prototype, \"stringValue\", {\n /**\n * Returns the value as casted as a string\n */\n get: function () {\n if (!this.value) {\n // Forcing empty string instead of null or undefined.\n // Solving problem with markdown compiler.\n return '';\n }\n return this.value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @returns A value indicating if the input has content and if it is valid\n */\n InputStringBase.prototype.hasValidContent = function () {\n if (this.stringValue.length === 0) {\n return false;\n }\n return this.isValidInput();\n };\n return InputStringBase;\n}(InputBase));\nexport { InputStringBase };\n","/**\n * @file Input component for text input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\n/**\n * Class for the text input component\n */\nvar InputTextComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputTextComponent, _super);\n function InputTextComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this._mode = 'edit';\n /**\n * Get, sets a boolean flag to force the markdown component (version 2.2.3) to refresh itself\n * when the stringValue has changed. A work around solution for a markdown bug.\n */\n _this.forceRefresh = false;\n return _this;\n }\n Object.defineProperty(InputTextComponent.prototype, \"mode\", {\n /**\n * Get the mode of the text input\n */\n get: function () {\n return this._mode;\n },\n /**\n * Set the mode of the text input\n * @param mode The new mode to set\n */\n set: function (mode) {\n this._mode = mode;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Check if text input is in given mode\n * @param mode The mode\n */\n InputTextComponent.prototype.inMode = function (mode) {\n return (mode === this._mode);\n };\n /**\n * Set the value of the input.\n * We override this method to force a refresh of the markdown component (version 2.2.3).\n * @protected\n * @param {*} val The new val to set.\n */\n InputTextComponent.prototype.setValue = function (val) {\n var _this = this;\n if ((this.readOnly || this.inMode('preview')) && this.value !== val) {\n window.setTimeout(function () {\n _this.forceRefresh = true;\n window.setTimeout(function () {\n _this.forceRefresh = false;\n });\n });\n }\n _super.prototype.setValue.call(this, val);\n };\n /**\n * Gets the displayed value.\n * Override needed for Edge, null to string becomes \"null\" instead of \"\".\n * @protected\n * @returns {*} String value\n * @memberOf InputTextComponent\n */\n InputTextComponent.prototype.getValue = function () {\n var test = _super.prototype.getValue.call(this);\n return test == null ? '' : test; // Fix issue: Edge en IE: 'null' in notitievak ruiloverlay #3567\n };\n return InputTextComponent;\n}(InputStringBase));\nexport { InputTextComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for text input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-text.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i4 from \"ngx-md\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"@angular/forms\";\nimport * as i8 from \"./input-text.component\";\nvar styles_InputTextComponent = [i0.styles, i1.styles];\nvar RenderType_InputTextComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputTextComponent, data: {} });\nexport { RenderType_InputTextComponent as RenderType_InputTextComponent };\nfunction View_InputTextComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"markdown\", [], null, null, null, i3.View_NgxMdComponent_0, i3.RenderType_NgxMdComponent)), i2.ɵdid(1, 4243456, null, 0, i4.NgxMdComponent, [i4.NgxMdService, i2.ElementRef, i2.PLATFORM_ID], { data: [0, \"data\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.stringValue; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_InputTextComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-markdown-output sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTextComponent_2)), i2.ɵdid(2, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.forceRefresh; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InputTextComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputTextComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 11, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i5.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 6, \"textarea\", [[\"class\", \"form-control form-control-sm\"], [\"rows\", \"5\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (_co.valueInput($event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i2.ɵdid(4, 16384, null, 0, i7.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i2.ɵdid(6, 540672, null, 0, i7.FormControlDirective, [[8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR], [2, i7.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i2.ɵprd(2048, null, i7.NgControl, null, [i7.FormControlDirective]), i2.ɵdid(8, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null), i2.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTextComponent_4)), i2.ɵdid(11, 278528, null, 0, i5.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 6, 0, currVal_10); var currVal_11 = _co.validationErrors; _ck(_v, 11, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 3, 0, i2.ɵnov(_v, 9).transform(\"APP.INPUTS.TEXT_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i2.ɵnov(_v, 8).ngClassUntouched; var currVal_4 = i2.ɵnov(_v, 8).ngClassTouched; var currVal_5 = i2.ɵnov(_v, 8).ngClassPristine; var currVal_6 = i2.ɵnov(_v, 8).ngClassDirty; var currVal_7 = i2.ɵnov(_v, 8).ngClassValid; var currVal_8 = i2.ɵnov(_v, 8).ngClassInvalid; var currVal_9 = i2.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nfunction View_InputTextComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-link p-0 btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.mode = \"edit\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-edit\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 1).transform(\"APP.INPUTS.EDIT\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.EDIT\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputTextComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-link p-0 btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.mode = \"preview\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-preview\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 1).transform(\"APP.INPUTS.PREVIEW\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.PREVIEW\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputTextComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"flex-grow-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 5, \"small\", [[\"class\", \"form-text text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵted(3, null, [\" \", \" \"])), i2.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"a\", [[\"class\", \"text-muted\"], [\"href\", \"https://en.wikipedia.org/wiki/Markdown\"], [\"target\", \"_blank\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"u\", [], null, null, null, null, null)), (_l()(), i2.ɵted(-1, null, [\"Markdown\"])), (_l()(), i2.ɵeld(8, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTextComponent_6)), i2.ɵdid(10, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTextComponent_7)), i2.ɵdid(12, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inMode(\"preview\"); _ck(_v, 10, 0, currVal_1); var currVal_2 = _co.inMode(\"edit\"); _ck(_v, 12, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 3, 0, i2.ɵnov(_v, 4).transform(\"APP.INPUTS.TEXT_SUPPORTS\")); _ck(_v, 3, 0, currVal_0); }); }\nexport function View_InputTextComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-input-text\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTextComponent_1)), i2.ɵdid(2, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTextComponent_3)), i2.ɵdid(4, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTextComponent_5)), i2.ɵdid(6, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (((_co.readOnly && _co.stringValue) && (_co.stringValue != \"\")) || _co.inMode(\"preview\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = (!_co.readOnly && _co.inMode(\"edit\")); _ck(_v, 4, 0, currVal_1); var currVal_2 = !_co.readOnly; _ck(_v, 6, 0, currVal_2); }, null); }\nexport function View_InputTextComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-text\", [], null, null, null, View_InputTextComponent_0, RenderType_InputTextComponent)), i2.ɵdid(1, 180224, null, 0, i8.InputTextComponent, [], null, null)], null, null); }\nvar InputTextComponentNgFactory = i2.ɵccf(\"sym-input-text\", i8.InputTextComponent, View_InputTextComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputTextComponentNgFactory as InputTextComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for text input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-input-text[_ngcontent-%COMP%] .sym-markdown-output[_ngcontent-%COMP%]{height:125px;overflow:auto;padding:5px 0}.sym-input-text[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{height:125px;resize:none;font-size:80%;line-height:1.5}.sym-input-text[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]:focus{-webkit-box-shadow:none!important;box-shadow:none!important}.sym-input-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { AbstractBase } from '../../../core/helpers/abstract-base';\n/**\n * Class for the fieldset base\n */\nvar FieldsetBase = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetBase, _super);\n /**\n * Constructs a FieldsetBase\n * @param provider FieldsetProvider that contains configuration data.\n */\n function FieldsetBase(provider) {\n var _this = _super.call(this) || this;\n _this.provider = provider;\n /** Gets, set label of field set. */\n _this.label = '';\n return _this;\n }\n return FieldsetBase;\n}(AbstractBase));\nexport { FieldsetBase };\n","/**\n * @file Helper class for dynamically inject fieldsets in a form.\n * @author Tom Verschoore de la Houssaije\n */\n/**\n * The provider for a specific fieldset class.\n * Containing configuration information.\n * This provider is injected, dynamically, by a @see FieldsetContainerComponent instance,\n * and not by the angular framework.\n */\nvar FieldsetProvider = /** @class */ (function () {\n /**\n * Constructs a FieldsetProvider\n */\n function FieldsetProvider(container) {\n this.container = container;\n /** Gets sets the field configuration of the fieldset. */\n this.field = undefined;\n /**\n * Gets or sets the name of the block.\n * Blocks are modules of functionality.\n * The block name is used to find block specific label translations.\n */\n this.block = undefined;\n /** Path to the value property, thus excluding the value property */\n this.path = [];\n /** The name of the value property. The value property was the last item in the path. */\n this.valueProperty = '';\n this.field = this.container.field;\n this.path = this.field.name.split('.');\n this.valueProperty = this.path.pop();\n }\n Object.defineProperty(FieldsetProvider.prototype, \"control\", {\n /**\n * Gets the control of the fieldset.\n * The control is used to monitor and validate field values depicted in a form.\n */\n get: function () {\n if (this.container === undefined) {\n return null;\n }\n return this.container.control;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetProvider.prototype, \"entity\", {\n /**\n * Gets the entity instance shown by this fieldset container.\n * Its the entity in the path that holds the value property.\n */\n get: function () {\n if (this.container === undefined) {\n return null;\n }\n // The entity in the path that holds the value property.\n var valueEntity = this.container.entity;\n if (this.path.length === 0 || !valueEntity) {\n return valueEntity;\n }\n this.path.find(function (segment) {\n valueEntity = valueEntity[segment];\n return !valueEntity;\n });\n return valueEntity;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetProvider.prototype, \"value\", {\n /** Gets the depicted field value. */\n get: function () {\n // The entity in the path that holds the value property.\n if (this.entity == null) {\n return null;\n }\n return this.valueProperty === '@this' ? this.entity : this.entity[this.valueProperty];\n },\n /** Sets the depicted field value. */\n set: function (val) {\n var entity = this.entity;\n var property = this.valueProperty;\n if (this.entity == null) {\n var ent = this.container.entity;\n if (!ent || !ent.entityAspect.entityState.isAdded() || this.path.length === 0 || this.field.name === '@this') {\n return;\n }\n entity = ent;\n property = '$' + this.field.name;\n }\n // When the fieldset is referring to the entity itself, it should not be (re)set.\n if (property === '@this') {\n return;\n }\n entity[property] = val;\n },\n enumerable: true,\n configurable: true\n });\n return FieldsetProvider;\n}());\nexport { FieldsetProvider };\n","/**\n* @file Fieldset component for message input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { UserService } from '../../../user.service';\n/**\n * Class for the message fieldset component\n */\nvar FieldsetMessageComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetMessageComponent, _super);\n /**\n * Constructs a FieldsetStringComponent\n */\n function FieldsetMessageComponent(provider, userService) {\n var _this = _super.call(this, provider) || this;\n _this.userService = userService;\n return _this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetMessageComponent.register = function () {\n ComponentRegistry.register('fieldset', 'message', FieldsetMessageComponent);\n };\n return FieldsetMessageComponent;\n}(FieldsetBase));\nexport { FieldsetMessageComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for message input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-text/input-text.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-text/input-text.component\";\nimport * as i8 from \"./fieldset-message.component\";\nimport * as i9 from \"../fieldset-provider\";\nimport * as i10 from \"../../../user.service\";\nvar styles_FieldsetMessageComponent = [i0.styles];\nvar RenderType_FieldsetMessageComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetMessageComponent, data: {} });\nexport { RenderType_FieldsetMessageComponent as RenderType_FieldsetMessageComponent };\nfunction View_FieldsetMessageComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetMessageComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetMessageComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"label\", [[\"class\", \"col-sm-2 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"img\", [[\"alt\", \"Symagic\"], [\"class\", \"img-fluid rounded-circle\"], [\"height\", \"60\"], [\"width\", \"60\"]], [[8, \"src\", 4]], null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetMessageComponent_1)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetMessageComponent_2)), i1.ɵdid(6, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-10 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"sym-input-text\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputTextComponent_0, i6.RenderType_InputTextComponent)), i1.ɵdid(9, 180224, null, 0, i7.InputTextComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.provider.field.helpKey; _ck(_v, 4, 0, currVal_1); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 6, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 9, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.userService.pictureUrl, \"\"); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_FieldsetMessageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-message\", [], null, null, null, View_FieldsetMessageComponent_0, RenderType_FieldsetMessageComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetMessageComponent, [i9.FieldsetProvider, i10.UserService], null, null)], null, null); }\nvar FieldsetMessageComponentNgFactory = i1.ɵccf(\"sym-fieldset-message\", i8.FieldsetMessageComponent, View_FieldsetMessageComponent_Host_0, {}, {}, []);\nexport { FieldsetMessageComponentNgFactory as FieldsetMessageComponentNgFactory };\n","/**\n * Directive to set the correct icon based on file extension\n * @author Heino Lenting\n */\n/**\n * Directive used for displaying the right file icon\n */\nvar FileIconDirective = /** @class */ (function () {\n function FileIconDirective() {\n // List of icon vs content type mapping\n this.icons = {\n 'file': [],\n 'archive': ['application/zip'],\n 'audio': ['audio/mpeg'],\n 'code': ['application/json'],\n 'excel': ['application/excel'],\n 'image': ['image/png', 'image/jpeg', 'image/gif'],\n 'movie': ['video/mp4'],\n 'pdf': ['application/pdf'],\n 'powerpoint': ['application/vnd.ms-powerpoint'],\n 'text': ['text/plain'],\n 'word': ['application/msword']\n };\n }\n Object.defineProperty(FileIconDirective.prototype, \"fileIcon\", {\n /**\n * Set the file icon based on content type\n * @param contentType The content type\n */\n set: function (contentType) {\n var _this = this;\n // Variable for holding class information\n var iconClass;\n // Run through icons the find the content type\n Object.keys(this.icons).forEach(function (icon) {\n if (_this.icons[icon].indexOf(contentType) > -1) {\n iconClass = 'icon sym-icon-' + icon;\n return;\n }\n });\n // If content type is not found, use the fallback\n if (!iconClass) {\n iconClass = 'icon sym-icon-file';\n }\n // Set icon class\n this.iconClass = iconClass;\n },\n enumerable: true,\n configurable: true\n });\n return FileIconDirective;\n}());\nexport { FileIconDirective };\n","/**\n * @file Abstract class for input with upload functionality\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the upload input component\n */\nvar UploadInput = /** @class */ (function (_super) {\n tslib_1.__extends(UploadInput, _super);\n /**\n * Constructs a UploadInput.\n * @param alertsService Service for giving user feedback\n */\n function UploadInput(alertsService, uploadService) {\n var _this = _super.call(this) || this;\n _this.alertsService = alertsService;\n _this.uploadService = uploadService;\n /** Are we in the middle of uploading */\n _this.isUploading = false;\n return _this;\n }\n /**\n * The change event indicates that the user has selected a local file\n * @param $event The event initiated by user\n */\n UploadInput.prototype.change = function ($event) {\n var _this = this;\n // Grab the user file\n var file = $event.target.files[0];\n this.fileName = file.name;\n this.isUploading = true;\n this.uploadService.validate(file).then(function (validatedFile) {\n return _this.uploadService.read(validatedFile).then(function (fileData) {\n return _this.uploadService.upload(undefined, fileData);\n });\n }).then(function () {\n _this.alertsService.createAlert('success', 'APP.INPUTS.FILE_SUCCESSFULLY_UPLOADED');\n _this.isUploading = false;\n _this.fileName = '';\n }).catch(function (error) {\n _this.isUploading = false;\n _this.fileName = '';\n _this.alertsService.createAlert('warning', 'APP.INPUTS.FILE_NOT_SUCCESSFULLY_UPLOADED', error.message);\n });\n };\n return UploadInput;\n}(InputBase));\nexport { UploadInput };\n","/**\n * @file The upload base service\n * @author Heino Lenting\n */\nimport { saveAs } from 'file-saver';\n/**\n * Class for the upload service base\n */\nvar UploadService = /** @class */ (function () {\n /**\n * Constructs an UploadService.\n * @param alertsService Service for giving user feedback\n */\n function UploadService(alertsService) {\n this.alertsService = alertsService;\n /** The allowed mime types */\n this.allowedMimeTypes = [];\n /** The allowed file size in bytes */\n this.allowedFileSizeInBytes = 1000000; // = Megabyte\n /** The available files (only for demo!) */\n this.uploads = [];\n }\n /**\n * Validates a file, returns a File promise\n * @param file The file to validate\n */\n UploadService.prototype.validate = function (file) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // If we have a file?\n if (!file) {\n return reject(new Error('No file present'));\n }\n // Check mime type\n if (_this.allowedMimeTypes.indexOf(file.type) === -1) {\n return reject(new Error('Invalid file type'));\n }\n // Check file size\n if (file.size > _this.allowedFileSizeInBytes) {\n return reject(new Error('File too large'));\n }\n resolve(file);\n });\n };\n /**\n * Reads a file, returns a FileData promise\n * @param file The file to read\n */\n UploadService.prototype.read = function (file) {\n return new Promise(function (resolve, reject) {\n // Create file reader and set onloaded\n var reader = new FileReader();\n reader.onloadend = function (e) {\n resolve({ fileName: file.name, data: reader.result });\n };\n // Start reading\n reader.readAsArrayBuffer(file);\n });\n };\n /**\n * Temporary delay function for demo purposes\n */\n UploadService.prototype.delay = function (ms) {\n return new Promise(function (resolve) { return setTimeout(resolve, ms); });\n };\n /**\n * The default upload handler, returns a FileData promise\n * @param item The entity the upload belongs to\n * @param fileData The file data\n */\n UploadService.prototype.upload = function (item, fileData) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // Demo add\n _this.delay(3000).then(function () {\n _this.uploads.push({\n id: 0,\n filename: fileData.fileName,\n url: '/Planning automation.pdf',\n type: 'application/pdf',\n size: 167300,\n user: 'Tom Verschoore de la Houssaije',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 60 * 24 * 7 * 3))\n });\n }).then(function () {\n resolve(fileData);\n });\n });\n };\n /**\n * The default delete handler\n * @param item The entity the upload belongs to\n * @param fileId The id of the file\n */\n UploadService.prototype.deleteUpload = function (item, fileId) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // Later: call to backend\n // Demo delete\n _this.uploads = _this.uploads.filter(function (upload) { return upload.id !== fileId; });\n resolve(true);\n });\n };\n /**\n * The default get file handler for only one file\n * @param item The entity the upload belongs to\n */\n UploadService.prototype.getFile = function (item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // todo call to backend\n // demo download\n var blob = new Blob(['Hello, world!'], { type: 'text/plain;charset=utf-8' });\n saveAs(blob, 'hello world.txt');\n if (_this.uploads && _this.uploads.length) {\n return resolve(_this.uploads[0]);\n }\n reject(new Error('could not download file'));\n });\n };\n /**\n * The default get file handler for all files\n * @param item The entity the upload belongs to\n */\n UploadService.prototype.getFiles = function (item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // todo call to backend\n return resolve(_this.uploads);\n });\n };\n return UploadService;\n}());\nexport { UploadService };\n","/**\n * @file The files service\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { UploadService } from './upload.service';\nimport { AlertsService } from '../core/alerts.service';\n/**\n * Class for the files service\n */\nvar FilesService = /** @class */ (function (_super) {\n tslib_1.__extends(FilesService, _super);\n /**\n * Constructs a FileService.\n * @param alertsService Service for giving user feedback\n */\n function FilesService(alertsService) {\n var _this = _super.call(this, alertsService) || this;\n /** The allowed mime types */\n _this.allowedMimeTypes = [\n 'application/pdf',\n 'application/msword',\n 'application/excel',\n 'text/plain',\n 'application/vnd.ms-powerpoint',\n 'application/zip',\n 'image/png',\n 'image/jpeg',\n 'image/gif'\n ];\n /** The available files (only for demo!) */\n _this.uploads = [\n {\n id: 1,\n filename: 'Social-software-for-workforce management.pdf',\n url: '/Social-software-for-workforce management.pdf',\n type: 'application/pdf',\n size: 2300,\n user: 'Tom Verschoore de la Houssaije',\n created: new Date()\n },\n {\n id: 2,\n filename: 'Symagic-logo.png',\n url: '/Symagic-logo.png',\n type: 'application/pdf',\n size: 67300,\n user: 'Tom Verschoore de la Houssaije',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 60 * 4))\n },\n {\n id: 3,\n filename: 'Word-document-about-social-in-planning.doc',\n url: '/Symagic-logo.png',\n type: 'application/pdf',\n size: 6087302,\n user: 'Tom Verschoore de la Houssaije',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 60 * 24 * 4))\n },\n {\n id: 4,\n filename: 'Planning_Social.pdf',\n url: '/Planning_Social.pdf',\n type: 'application/pdf',\n size: 23300,\n user: 'Tom Verschoore de la Houssaije',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 60 * 24 * 4))\n },\n {\n id: 5,\n filename: 'Planning automation.pdf',\n url: '/Planning automation.pdf',\n type: 'application/pdf',\n size: 167300,\n user: 'Tom Verschoore de la Houssaije',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 60 * 24 * 7 * 3))\n },\n {\n id: 6,\n filename: 'Word-document-about-social-in-planning.doc',\n url: '/Word-document-about-social-in-planning.doc',\n type: 'application/pdf',\n size: 60302,\n user: 'Tom Verschoore de la Houssaije',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 60 * 24 * 7 * 3))\n }\n ];\n return _this;\n }\n return FilesService;\n}(UploadService));\nexport { FilesService };\n","/**\n * @file Input component for file input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { Renderer, ElementRef } from '@angular/core';\nimport { UploadInput } from '../../../base/inputs/input-upload/input-upload.component';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { FilesService } from '../../files.service';\n/**\n * Class for the file input component\n */\nvar InputFileComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputFileComponent, _super);\n /**\n * Constructs a InputFileComponent.\n * @param renderer Render used to perform action in DOM\n * @param alertsService Service for giving user feedback\n */\n function InputFileComponent(renderer, alertsService, filesService) {\n var _this = _super.call(this, alertsService, filesService) || this;\n _this.renderer = renderer;\n _this.alertsService = alertsService;\n return _this;\n }\n /**\n * Open the file dialog\n */\n InputFileComponent.prototype.openFileDialog = function () {\n this.renderer.invokeElementMethod(this.inputFile.nativeElement, 'click', []);\n };\n return InputFileComponent;\n}(UploadInput));\nexport { InputFileComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for file input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-file.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../../directives/file-icon.directive\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"./input-file.component\";\nimport * as i7 from \"../../../core/alerts.service\";\nimport * as i8 from \"../../files.service\";\nvar styles_InputFileComponent = [i0.styles, i1.styles];\nvar RenderType_InputFileComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputFileComponent, data: {} });\nexport { RenderType_InputFileComponent as RenderType_InputFileComponent };\nfunction View_InputFileComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"a\", [[\"href\", \"http://link-naar-file.com\"], [\"target\", \"_blank\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 1, \"i\", [], [[8, \"className\", 0]], null, null, null, null)), i2.ɵdid(3, 16384, null, 0, i3.FileIconDirective, [], { fileIcon: [0, \"fileIcon\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(-1, null, [\"My-fancy-presentation.pdf\"]))], function (_ck, _v) { var currVal_1 = \"application/pdf\"; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵnov(_v, 3).iconClass; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputFileComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputFileComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 13, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i5.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(3, 0, [[1, 0], [\"inputFile\", 1]], null, 0, \"input\", [[\"class\", \"form-control-file d-none\"], [\"type\", \"file\"]], null, [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.change($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 7, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 1, \"input\", [[\"class\", \"form-control\"], [\"disabled\", \"\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(7, 0, null, null, 4, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(8, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openFileDialog() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(10, 278528, null, 0, i5.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(11, { \"sym-icon-upload\": 0, \"sym-icon-loading\": 1, \"icon-spin\": 2 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputFileComponent_3)), i2.ɵdid(13, 278528, null, 0, i5.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_3 = \"icon\"; var currVal_4 = _ck(_v, 11, 0, !_co.isUploading, _co.isUploading, _co.isUploading); _ck(_v, 10, 0, currVal_3, currVal_4); var currVal_5 = _co.validationErrors; _ck(_v, 13, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 5, 0, i2.ɵnov(_v, 6).transform(\"APP.INPUTS.FILE_PLACEHOLDER\")), \"\"); var currVal_2 = i2.ɵinlineInterpolate(1, \"\", _co.fileName, \"\"); _ck(_v, 5, 0, currVal_1, currVal_2); }); }\nexport function View_InputFileComponent_0(_l) { return i2.ɵvid(0, [i2.ɵqud(671088640, 1, { inputFile: 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputFileComponent_1)), i2.ɵdid(2, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputFileComponent_2)), i2.ɵdid(4, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_InputFileComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-file\", [], null, null, null, View_InputFileComponent_0, RenderType_InputFileComponent)), i2.ɵdid(1, 180224, null, 0, i6.InputFileComponent, [i2.Renderer, i7.AlertsService, i8.FilesService], null, null)], null, null); }\nvar InputFileComponentNgFactory = i2.ɵccf(\"sym-input-file\", i6.InputFileComponent, View_InputFileComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputFileComponentNgFactory as InputFileComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for file input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-file-picker[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{background-color:#fff!important}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for file input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the file fieldset component\n */\nvar FieldsetFileComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetFileComponent, _super);\n /**\n * Constructs a FieldsetStringComponent\n */\n function FieldsetFileComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetFileComponent.register = function () {\n ComponentRegistry.register('fieldset', 'file', FieldsetFileComponent);\n };\n return FieldsetFileComponent;\n}(FieldsetBase));\nexport { FieldsetFileComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for file input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-file/input-file.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-file/input-file.component\";\nimport * as i8 from \"../../../core/alerts.service\";\nimport * as i9 from \"../../files.service\";\nimport * as i10 from \"./fieldset-file.component\";\nimport * as i11 from \"../fieldset-provider\";\nvar styles_FieldsetFileComponent = [i0.styles];\nvar RenderType_FieldsetFileComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetFileComponent, data: {} });\nexport { RenderType_FieldsetFileComponent as RenderType_FieldsetFileComponent };\nfunction View_FieldsetFileComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetFileComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetFileComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetFileComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetFileComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-file\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputFileComponent_0, i6.RenderType_InputFileComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputFileComponent, [i1.Renderer, i8.AlertsService, i9.FilesService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetFileComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-file\", [], null, null, null, View_FieldsetFileComponent_0, RenderType_FieldsetFileComponent)), i1.ɵdid(1, 180224, null, 0, i10.FieldsetFileComponent, [i11.FieldsetProvider], null, null)], null, null); }\nvar FieldsetFileComponentNgFactory = i1.ɵccf(\"sym-fieldset-file\", i10.FieldsetFileComponent, View_FieldsetFileComponent_Host_0, {}, {}, []);\nexport { FieldsetFileComponentNgFactory as FieldsetFileComponentNgFactory };\n","/**\n * @file The image service\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { UploadService } from './upload.service';\nimport { AlertsService } from '../core/alerts.service';\n/**\n * Class for the image service\n */\nvar ImageService = /** @class */ (function (_super) {\n tslib_1.__extends(ImageService, _super);\n /**\n * Constructs a ImageService.\n * @param alertsService Service for giving user feedback\n */\n function ImageService(alertsService) {\n var _this = _super.call(this, alertsService) || this;\n /** The allowed mime types */\n _this.allowedMimeTypes = [\n 'image/png',\n 'image/jpeg',\n 'image/gif'\n ];\n /** The available files (only for demo!) */\n _this.uploads = [\n {\n id: 1,\n filename: '15922700.png',\n url: require('./assets/images/resource-300x300.png'),\n type: 'image/png',\n size: 2300,\n created: new Date(),\n user: 'Piet Klaassen'\n }\n ];\n /** The fallback profile picture image */\n _this.fallbackImage = require('./assets/images/resource-300x300.png');\n return _this;\n }\n /**\n * The custom upload handler\n * @param item The entity the upload belongs to\n * @param filename The file name\n * @param data The file data\n */\n ImageService.prototype.startUpload = function (item, fileName, data) {\n console.log('handleUpload: image');\n if (data) {\n // Add upload logic\n // Give user information about the result\n this.alertsService.createAlert('success', 'APP.INPUTS.FILE_SUCCESSFULLY_UPLOADED');\n }\n };\n return ImageService;\n}(UploadService));\nexport { ImageService };\n","/**\n * @file Input component for string input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { Renderer, ElementRef } from '@angular/core';\nimport { UploadInput } from '../../../base/inputs/input-upload/input-upload.component';\nimport { ImageService } from '../../../base/image.service';\nimport { AlertsService } from '../../../core/alerts.service';\n/**\n * Class for the image input component\n */\nvar InputImageComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputImageComponent, _super);\n /**\n * Constructs a InputImageComponent.\n * @param renderer Render used to perform action in DOM\n * @param alertsService Service for giving user feedback\n */\n function InputImageComponent(renderer, alertsService, imageService) {\n var _this = _super.call(this, alertsService, imageService) || this;\n _this.renderer = renderer;\n _this.alertsService = alertsService;\n _this.imageService = imageService;\n // We can use value instead of imageUrl\n _this.imageUrl = '';\n return _this;\n }\n /**\n * Open the file dialog\n */\n InputImageComponent.prototype.openFileDialog = function () {\n this.renderer.invokeElementMethod(this.inputImage.nativeElement, 'click', []);\n };\n /**\n * Open the file dialog\n * @return Returns true if image exist\n */\n InputImageComponent.prototype.hasImage = function () {\n // TODO: Check something with file value? (set true after uploading, file url (in this.value) must exist!)\n return true;\n };\n /**\n * Get the image\n * @return Returns a promise with the path to the image\n */\n InputImageComponent.prototype.getImageUrl = function (entity) {\n var _this = this;\n // was used in template, template now uses imageUrl\n return new Promise(function (resolve, reject) {\n // TODO: return path based on value?\n return _this.imageService.getFile(undefined).then(function (upload) {\n resolve(upload.url);\n });\n });\n };\n /**\n * Delete the image\n */\n InputImageComponent.prototype.deleteImage = function () {\n this.imageService.deleteUpload(undefined, undefined);\n };\n return InputImageComponent;\n}(UploadInput));\nexport { InputImageComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for string input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-image.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./input-image.component\";\nimport * as i6 from \"../../../core/alerts.service\";\nimport * as i7 from \"../../image.service\";\nvar styles_InputImageComponent = [i0.styles, i1.styles];\nvar RenderType_InputImageComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputImageComponent, data: {} });\nexport { RenderType_InputImageComponent as RenderType_InputImageComponent };\nfunction View_InputImageComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-upload-delete sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteImage() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null))], null, null); }\nfunction View_InputImageComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-upload-button sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openFileDialog() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-upload\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.UPLOAD_FILE\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_InputImageComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InputImageComponent_0(_l) { return i2.ɵvid(0, [i2.ɵqud(402653184, 1, { inputImage: 0 }), (_l()(), i2.ɵeld(1, 0, null, null, 11, \"div\", [], null, null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(3, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-input-image\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 0, \"img\", [[\"class\", \"img-thumbnail\"]], [[8, \"src\", 4]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputImageComponent_1)), i2.ɵdid(7, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputImageComponent_2)), i2.ɵdid(9, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(10, 0, [[1, 0], [\"inputImage\", 1]], null, 0, \"input\", [[\"class\", \"d-none\"], [\"type\", \"file\"]], null, [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.change($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputImageComponent_3)), i2.ɵdid(12, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.hasErrors()); _ck(_v, 2, 0, currVal_0); var currVal_2 = (_co.hasImage() && !_co.readOnly); _ck(_v, 7, 0, currVal_2); var currVal_3 = !_co.readOnly; _ck(_v, 9, 0, currVal_3); var currVal_4 = _co.validationErrors; _ck(_v, 12, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", _co.value, \"\"); _ck(_v, 5, 0, currVal_1); }); }\nexport function View_InputImageComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-image\", [], null, null, null, View_InputImageComponent_0, RenderType_InputImageComponent)), i2.ɵdid(1, 180224, null, 0, i5.InputImageComponent, [i2.Renderer, i6.AlertsService, i7.ImageService], null, null)], null, null); }\nvar InputImageComponentNgFactory = i2.ɵccf(\"sym-input-image\", i5.InputImageComponent, View_InputImageComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputImageComponentNgFactory as InputImageComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for string input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-input-image[_ngcontent-%COMP%]{display:inline-block;position:relative}.sym-input-image[_ngcontent-%COMP%] .sym-upload-button[_ngcontent-%COMP%], .sym-input-image[_ngcontent-%COMP%] .sym-upload-delete[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.63);color:#fff;position:absolute;padding:2px 6px}.sym-input-image[_ngcontent-%COMP%] .sym-upload-button[_ngcontent-%COMP%]:hover, .sym-input-image[_ngcontent-%COMP%] .sym-upload-delete[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.9)}.sym-input-image[_ngcontent-%COMP%] .sym-upload-button[_ngcontent-%COMP%]{z-index:1;left:10px;bottom:10px;right:10px;text-align:center}.sym-input-image[_ngcontent-%COMP%] .sym-upload-delete[_ngcontent-%COMP%]{z-index:2;top:10px;right:10px}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for image input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the image fieldset component\n */\nvar FieldsetImageComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetImageComponent, _super);\n /**\n * Constructs a FieldsetStringComponent\n */\n function FieldsetImageComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetImageComponent.register = function () {\n ComponentRegistry.register('fieldset', 'image', FieldsetImageComponent);\n };\n return FieldsetImageComponent;\n}(FieldsetBase));\nexport { FieldsetImageComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for image input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-image/input-image.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-image/input-image.component\";\nimport * as i8 from \"../../../core/alerts.service\";\nimport * as i9 from \"../../image.service\";\nimport * as i10 from \"./fieldset-image.component\";\nimport * as i11 from \"../fieldset-provider\";\nvar styles_FieldsetImageComponent = [i0.styles];\nvar RenderType_FieldsetImageComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetImageComponent, data: {} });\nexport { RenderType_FieldsetImageComponent as RenderType_FieldsetImageComponent };\nfunction View_FieldsetImageComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetImageComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetImageComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetImageComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetImageComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-image\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputImageComponent_0, i6.RenderType_InputImageComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputImageComponent, [i1.Renderer, i8.AlertsService, i9.ImageService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetImageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-image\", [], null, null, null, View_FieldsetImageComponent_0, RenderType_FieldsetImageComponent)), i1.ɵdid(1, 180224, null, 0, i10.FieldsetImageComponent, [i11.FieldsetProvider], null, null)], null, null); }\nvar FieldsetImageComponentNgFactory = i1.ɵccf(\"sym-fieldset-image\", i10.FieldsetImageComponent, View_FieldsetImageComponent_Host_0, {}, {}, []);\nexport { FieldsetImageComponentNgFactory as FieldsetImageComponentNgFactory };\n","/**\n * @file This creates a pipe which enables/disables incorrect entry for dates, datetimes, times and durations.\n */\nexport default function createAutoCorrectedDateTimePipe(format, duration) {\n if (duration === void 0) { duration = false; }\n function dateTimePipe(conformedValue) {\n var indexesOfPipedChars = [];\n var formatArray = format.toLowerCase().split(/[^dmyhi]+/);\n var maxValue = { 'dd': 31, 'mm': 12, 'yyyy': 9999, 'hh': duration ? 99 : 23, 'ii': 59 };\n var minValue = { 'dd': 1, 'mm': 1, 'yyyy': 1, 'hh': 0, 'ii': 0 };\n var conformedValueArr = conformedValue.split('');\n // Check first digit\n formatArray.forEach(function (subFormat) {\n var position = format.indexOf(subFormat);\n var maxFirstDigit = parseInt(maxValue[subFormat].toString().substr(0, 1), 10);\n if (parseInt(conformedValueArr[position], 10) > maxFirstDigit) {\n conformedValueArr[position + 1] = conformedValueArr[position];\n conformedValueArr[position] = 0;\n indexesOfPipedChars.push(position);\n }\n });\n // Check for invalid value\n var isInvalid = formatArray.some(function (subFormat) {\n var position = format.indexOf(subFormat);\n var length = subFormat.length;\n var textValue = conformedValue.substr(position, length).replace(/\\D/g, '');\n var value = parseInt(textValue, 10);\n return value > maxValue[subFormat] || (textValue.length === length && value < minValue[subFormat]);\n });\n if (isInvalid) {\n return false;\n }\n return {\n value: conformedValueArr.join(''),\n indexesOfPipedChars: indexesOfPipedChars\n };\n }\n return dateTimePipe;\n}\n","/**\n* @file Input component for duration\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\nimport { Validator } from 'breeze-client';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport createAutoCorrectedDateTimePipe from '../../pipes/create-datetime.pipe';\nimport { durationToText } from '../../../core/helpers/durationToText';\n/**\n * Class for the duration input component\n */\nvar InputDurationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputDurationComponent, _super);\n /**\n * Creates an instance of InputDurationComponent.\n * @param {LocalisationService} localisationService The localisation service is used for the pipe.\n * @memberOf InputDurationComponent\n */\n function InputDurationComponent(localisationService) {\n var _this = _super.call(this) || this;\n _this.localisationService = localisationService;\n _this.duration = null;\n _this.placeholderKey = 'APP.INPUTS.DURATION_PLACEHOLDER';\n return _this;\n }\n Object.defineProperty(InputDurationComponent.prototype, \"mask\", {\n /**\n * Gets the mask.\n * @memberOf InputDurationComponent\n */\n get: function () {\n return function (value) {\n if (!value || value.length <= 2) {\n return LocalisationService.toMaskArray(['\\\\d', '\\\\d']);\n }\n var msk = [];\n var numberOfNumbers = 0;\n for (var i = 0; i < value.length; i++) {\n if (value[i] >= '0' && value[i] <= '9') {\n numberOfNumbers++;\n }\n }\n if (numberOfNumbers <= 2) {\n return LocalisationService.toMaskArray(['\\\\d', '\\\\d']);\n }\n for (var i = 0; i < numberOfNumbers - 2; i++) {\n msk.push('\\\\d');\n }\n msk.push(':');\n msk.push('\\\\d');\n msk.push('\\\\d');\n return LocalisationService.toMaskArray(msk);\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDurationComponent.prototype, \"pipe\", {\n /**\n * Gets the pipe.\n * @memberOf InputDurationComponent\n */\n get: function () {\n return createAutoCorrectedDateTimePipe(this.localisationService.duration.correctionFormat, true);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDurationComponent.prototype, \"valueAsText\", {\n /** Gets the value of the duration component in HH:mm format. */\n get: function () {\n return this.valueText;\n },\n /** Sets the value of the duration from a text in format HH:mm. */\n set: function (value) {\n if (this.valueText === value) {\n return;\n }\n this.valueText = value;\n this.duration = this.textToDuration(value);\n if (this.duration) {\n this.value = this.duration.isValid() ? this.duration.toISOString() : '';\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Test if string is valid based on format 'h:mm', 'hh:mm', 'hhh:mm' etc.\n * But also hh, hh:, :m, h:m etc.\n * The latter to support a better input flow.\n * @returns Returns a RegExpMatchArray when valid otherwise a null.\n */\n InputDurationComponent.prototype.isValidFormat = function (text) {\n if (!text) {\n return null;\n }\n return text.match(/(^[0-9][0-9]*:[0-5][0-9]$)|(^:[0-5][0-9]$)|(^:[0-5]$)|(^[0-9]*$)|(^:$)|(^[0-9]*:$)|(^[0-9]*:[0-5]$)/);\n };\n Object.defineProperty(InputDurationComponent.prototype, \"hours\", {\n get: function () {\n return (this.duration) ? Math.floor(this.duration.asMinutes() / 60) : 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDurationComponent.prototype, \"minutes\", {\n get: function () {\n return (this.duration) ? this.duration.asMinutes() % 60 : 0;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called when the user leaves the input and enforces the right display format (HH:mm).\n */\n InputDurationComponent.prototype.leaveInput = function () {\n var durationText = this.textToDuration(this.valueText);\n if (durationText === null) {\n // valueText is not valid so\n // we force a validation error by setting\n // the value with the valueText which not complying to the ISO 8601 standard.\n // This will stop committing the ChangeSet.\n // and we can restore the invalid valueText\n this.value = this.valueText;\n }\n };\n /**\n * Override of base method that sets the value.\n * Now extended for updating also the displayed value when needed.\n * @param val The new duration value.\n */\n InputDurationComponent.prototype.setValue = function (val) {\n _super.prototype.setValue.call(this, val);\n if (val !== 'ERROR') {\n var durationText = this.textToDuration(this.valueText);\n if (durationText && durationText.toISOString() === val) {\n return;\n }\n if (val) {\n if (val.length > 2 && (val[0] === 'P' || (val[0] === '-' && val[1] === 'P'))) {\n // Assuming the ISO 8601 standard\n var durationValue = moment.duration(val);\n this.valueText = durationToText(durationValue);\n }\n else {\n // Restoring the invalid valueText, see also leaveInput\n this.valueText = val;\n }\n }\n }\n };\n /**\n * The default control validator for date time.\n */\n InputDurationComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputDurationComponent\n */\n InputDurationComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (this.textToDuration(newValue) != null) {\n var errorKey = Validator.duration().name;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * Overrides the default validator when the control already has one.\n * Override this method if another behavior is needed.\n * @protected\n */\n InputDurationComponent.prototype.initializeValidator = function () {\n this.usingDefaultValidator = true;\n this.control.setValidators(this.defaultControlValidator());\n };\n /**\n * Converts valid text input to a duration object.\n * @param text The text to convert.\n * @returns The duration otherwise null.\n */\n InputDurationComponent.prototype.textToDuration = function (text) {\n if (text === '') {\n return moment.duration(NaN);\n }\n if (text) {\n text = text.split('_').join('');\n text = text.split('.').join('');\n text = text.split(',').join('');\n }\n var test = this.isValidFormat(text);\n if (test === null) {\n return null;\n }\n if (test[7]) {\n // match with ^[0-9]*:[0-5]$\n return moment.duration(text + '0');\n }\n if (test[6]) {\n // match with ^[0-9]*:$\n return moment.duration(text + '00');\n }\n if (test[5]) {\n // match with ^:$\n return moment.duration('0:00');\n }\n if (test[4]) {\n // match with ^[0-9]*$\n return moment.duration('0:0' + text);\n }\n if (test[3]) {\n // match with ^:[0-5]$\n return moment.duration('0' + text + '0');\n }\n if (test[2]) {\n // match with ^:[0-5][0-9]$\n return moment.duration('0' + text);\n }\n if (test[1]) {\n // match with ^[0-9][0-9]*):[0-5][0-9]$\n return moment.duration(text);\n }\n return null;\n };\n return InputDurationComponent;\n}(InputBase));\nexport { InputDurationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for duration\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"angular2-text-mask\";\nimport * as i6 from \"./input-duration.component\";\nimport * as i7 from \"../../../core/localisation.service\";\nvar styles_InputDurationComponent = [i0.styles];\nvar RenderType_InputDurationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputDurationComponent, data: {} });\nexport { RenderType_InputDurationComponent as RenderType_InputDurationComponent };\nfunction View_InputDurationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.valueAsText; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDurationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDurationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 10, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 9, \"div\", [[\"class\", \"col-6 col-md-12 col-lg-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 8, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"style\", \"text-align:right\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"blur\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 6)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 6)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 6)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 7)._handleInput($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 7)._compositionStart() !== false);\n ad = (pd_6 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_7 = (i1.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.valueAsText = $event) !== false);\n ad = (pd_8 && ad);\n } if ((\"blur\" === en)) {\n var pd_9 = (_co.leaveInput() !== false);\n ad = (pd_9 && ad);\n } return ad; }, null, null)), i1.ɵdid(6, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(7, 540672, null, 0, i5.MaskedInputDirective, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], { textMaskConfig: [0, \"textMaskConfig\"] }, null), i1.ɵpod(8, { mask: 0, guide: 1, placeholderChar: 2 }), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i4.DefaultValueAccessor, i5.MaskedInputDirective]), i1.ɵdid(10, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(12, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputDurationComponent_3)), i1.ɵdid(15, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_9 = _ck(_v, 8, 0, _co.mask, false, \"_\"); _ck(_v, 7, 0, currVal_9); var currVal_10 = _co.valueAsText; _ck(_v, 10, 0, currVal_10); var currVal_11 = _co.validationErrors; _ck(_v, 15, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 13).transform(_co.placeholderKey)), \"\"); var currVal_2 = i1.ɵnov(_v, 12).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 12).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 12).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 12).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 12).ngClassValid; var currVal_7 = i1.ɵnov(_v, 12).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 12).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nexport function View_InputDurationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputDurationComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputDurationComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputDurationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-duration\", [], null, null, null, View_InputDurationComponent_0, RenderType_InputDurationComponent)), i1.ɵdid(1, 180224, null, 0, i6.InputDurationComponent, [i7.LocalisationService], null, null)], null, null); }\nvar InputDurationComponentNgFactory = i1.ɵccf(\"sym-input-duration\", i6.InputDurationComponent, View_InputDurationComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputDurationComponentNgFactory as InputDurationComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the duration fieldset component\n */\nvar FieldsetDurationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetDurationComponent, _super);\n /**\n * Constructs a FieldsetStringComponent\n */\n function FieldsetDurationComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetDurationComponent.register = function () {\n ComponentRegistry.register('fieldset', 'duration', FieldsetDurationComponent);\n };\n return FieldsetDurationComponent;\n}(FieldsetBase));\nexport { FieldsetDurationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-duration/input-duration.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-duration/input-duration.component\";\nimport * as i8 from \"../../../core/localisation.service\";\nimport * as i9 from \"./fieldset-duration.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetDurationComponent = [i0.styles];\nvar RenderType_FieldsetDurationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetDurationComponent, data: {} });\nexport { RenderType_FieldsetDurationComponent as RenderType_FieldsetDurationComponent };\nfunction View_FieldsetDurationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetDurationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetDurationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetDurationComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetDurationComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-duration\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputDurationComponent_0, i6.RenderType_InputDurationComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputDurationComponent, [i8.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetDurationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-duration\", [], null, null, null, View_FieldsetDurationComponent_0, RenderType_FieldsetDurationComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetDurationComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetDurationComponentNgFactory = i1.ɵccf(\"sym-fieldset-duration\", i9.FieldsetDurationComponent, View_FieldsetDurationComponent_Host_0, {}, {}, []);\nexport { FieldsetDurationComponentNgFactory as FieldsetDurationComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-datetime-dropdown[_ngcontent-%COMP%]{background-color:#f8f9fa}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%]{overflow:hidden;height:30px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{height:30px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{color:#212529}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .sym-datetime-header-center[_ngcontent-%COMP%], .sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .sym-datetime-header-left[_ngcontent-%COMP%], .sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .sym-datetime-header-right[_ngcontent-%COMP%]{position:absolute}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .sym-datetime-header-left[_ngcontent-%COMP%]{left:0;width:40px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .sym-datetime-header-center[_ngcontent-%COMP%]{left:40px;right:40px;text-align:center}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-header[_ngcontent-%COMP%] .sym-datetime-header-right[_ngcontent-%COMP%]{right:0;width:40px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-footer[_ngcontent-%COMP%]{text-align:center}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-footer[_ngcontent-%COMP%] .sym-active[_ngcontent-%COMP%]{background-color:#324b4b;color:#fff}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%]{overflow:visible}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-header[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%], .sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%]{float:left;text-align:center;width:12.5%;height:25px;line-height:25px;font-size:.8rem}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-header[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%]:first-child, .sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%]:first-child{color:#324b4b}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%]{cursor:pointer;border-top:1px solid #ced4da;background-color:#fff}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell.sym-outside-month[_ngcontent-%COMP%]{background-color:#f8f9fa;color:#dee2e6}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%]:hover{background-color:#ced4da}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%]:first-child{cursor:default;border-top:0;padding-top:1px;border-right:1px solid #ced4da;background-color:unset}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell[_ngcontent-%COMP%]:last-child{border-right:1px solid #ced4da}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell.sym-range[_ngcontent-%COMP%]{background-color:#b1cbcb}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell.sym-active[_ngcontent-%COMP%]{background-color:#324b4b;color:#fff}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%] .sym-day-grid-cell.sym-today[_ngcontent-%COMP%]{font-weight:bolder}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%]:last-child .sym-day-grid-cell[_ngcontent-%COMP%]{height:26px;line-height:26px;border-bottom:1px solid #ced4da}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-day-grid[_ngcontent-%COMP%] .sym-day-grid-row[_ngcontent-%COMP%]:last-child .sym-day-grid-cell[_ngcontent-%COMP%]:first-child{border-bottom:0}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%]{border-style:solid;border-color:#ced4da;border-width:0 0 1px 1px;overflow:hidden}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%] .sym-datetime-slot[_ngcontent-%COMP%]{cursor:pointer;float:left;text-align:center;font-size:.8rem;background-color:#fff;border-style:solid;border-color:#ced4da;border-width:1px 1px 0 0}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%] .sym-datetime-slot[_ngcontent-%COMP%]:hover{background-color:#ced4da}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%] .sym-datetime-slot.sym-active[_ngcontent-%COMP%]{background-color:#324b4b;color:#fff}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%] .sym-month-slot[_ngcontent-%COMP%], .sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%] .sym-year-slot[_ngcontent-%COMP%]{width:25%;height:30px;line-height:30px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%] .sym-hours-slot[_ngcontent-%COMP%], .sym-datetime-dropdown[_ngcontent-%COMP%] .sym-datetime-content[_ngcontent-%COMP%] .sym-minutes-slot[_ngcontent-%COMP%]{width:16.66666667%;height:25px;line-height:25px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-month-set[_ngcontent-%COMP%], .sym-datetime-dropdown[_ngcontent-%COMP%] .sym-year-set[_ngcontent-%COMP%]{height:91px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-hours-set[_ngcontent-%COMP%]{height:101px}.sym-datetime-dropdown[_ngcontent-%COMP%] .sym-minutes-set[_ngcontent-%COMP%]{height:51px}\"];\nexport { styles as styles };\n","/**\n * @file Abstract class for input with a dropdown\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the dropdown input component\n */\nvar DropdownInput = /** @class */ (function (_super) {\n tslib_1.__extends(DropdownInput, _super);\n function DropdownInput() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.open = false;\n return _this;\n }\n /**\n * An outside click event\n */\n DropdownInput.prototype.clickOutside = function (e) {\n if (this.isOpen()) {\n this.setClose();\n }\n };\n /**\n * Returns whether the dropdown is open\n * @returns Returns if dropwn is open\n */\n DropdownInput.prototype.isOpen = function () {\n return (this.open === true);\n };\n /**\n * Returns whether the dropdown is closed\n * @returns Returns if dropwn is closed\n */\n DropdownInput.prototype.isClosed = function () {\n return (this.open === false);\n };\n /**\n * Used to open the dropdown and inform others about opening an interface element\n */\n DropdownInput.prototype.setOpen = function () {\n // Open dropdown\n this.open = true;\n this.dropDownOpened();\n };\n /**\n * Used to close the dropdown\n */\n DropdownInput.prototype.setClose = function () {\n // Close dropdown\n this.open = false;\n };\n /**\n * Toggle between the open en closed state of the dropdown\n */\n DropdownInput.prototype.toggle = function () {\n // Toggle between open en close\n if (this.isOpen()) {\n this.setClose();\n }\n else {\n this.setOpen();\n }\n };\n /**\n * Close the dropdown if current interface element is not active\n */\n DropdownInput.prototype.closeIfNotLastOpenComponent = function (element) {\n if (this.open && this !== element) {\n this.setClose();\n }\n };\n /**\n * Method that is called after setOpen is called, can be overridden\n *\n */\n DropdownInput.prototype.dropDownOpened = function () {\n };\n return DropdownInput;\n}(InputBase));\nexport { DropdownInput };\n","/**\n * @file Input component for date input\n * @author Heino Lenting, Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropdownInput } from '../../../base/inputs/input-dropdown/input-dropdown.component';\nimport * as moment from 'moment';\nimport { Validator } from 'breeze-client';\nimport createAutoCorrectedDateTimePipe from '../../pipes/create-datetime.pipe';\nimport { LocalisationService } from '../../../core/localisation.service';\n/**\n * Class for input component for datetime input\n */\nvar InputDateTimeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputDateTimeComponent, _super);\n /**\n * Constructs date time input editor\n * @param localisationService Localization service to support multi language.\n */\n function InputDateTimeComponent(localisationService) {\n var _this = _super.call(this) || this;\n _this.localisationService = localisationService;\n _this.placeholderKey = 'APP.INPUTS.DATETIME_PLACEHOLDER';\n _this.linkedDate = null;\n _this.allowedStates = ['year', 'month', 'day', 'hours', 'minutes'];\n _this.initialState = 'day';\n /**\n * Dummy moment object, to use for localization\n *\n * @type {moment.Moment}\n */\n _this.dayMoment = moment();\n /**\n * Whether the infinite button should be displayed\n * @type {boolean}\n */\n _this.allowInfinity = false;\n /**\n * Whether the today button should be displayed\n * @type {boolean}\n */\n _this.allowToday = true;\n _this._displayDate = moment();\n return _this;\n }\n Object.defineProperty(InputDateTimeComponent.prototype, \"format\", {\n /**\n * Sets the datetime format\n */\n set: function (value) {\n if (value) {\n if (value.allowInfinity != null) {\n this.allowInfinity = value.allowInfinity;\n }\n if (value.allowToday != null) {\n this.allowToday = value.allowToday;\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateTimeComponent.prototype, \"displayDate\", {\n get: function () {\n if (this._displayDate.isValid()) {\n return this._displayDate;\n }\n else {\n return moment();\n }\n },\n set: function (value) {\n if (value.isValid()) {\n this._displayDate = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateTimeComponent.prototype, \"formatString\", {\n get: function () {\n return this.localisationService.dateTime.format;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateTimeComponent.prototype, \"mask\", {\n get: function () {\n return LocalisationService.toMaskArray(this.localisationService.dateTime.mask);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateTimeComponent.prototype, \"pipe\", {\n get: function () {\n return createAutoCorrectedDateTimePipe(this.localisationService.dateTime.correctionFormat);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateTimeComponent.prototype, \"valueAsText\", {\n get: function () {\n return this.valueText;\n },\n set: function (value) {\n this.setValueFromString(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateTimeComponent.prototype, \"valueAsMoment\", {\n /** Gets the value of the input component as moment. */\n get: function () {\n if (moment.isMoment(this.value)) {\n return this.value;\n }\n if (moment.isDate(this.value)) {\n return moment(this.value);\n }\n return null;\n },\n /** Sets the value of the input component as moment. */\n set: function (val) {\n if (!moment.isMoment(val)) {\n return;\n }\n this.value = val.toDate();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * User leaves input field (blur)\n */\n InputDateTimeComponent.prototype.leaveViaBlur = function () {\n var _this = this;\n this.valueText = null;\n setTimeout(function () {\n if (_this.value && (moment.isDate(_this.value) || moment.isMoment(_this.value))) {\n _this.valueText = moment(_this.value).format(_this.formatString);\n }\n else {\n _this.valueText = '';\n }\n // Workaround angular bug?\n // Needed when using input without fieldset.\n _this.control.reset(_this.value);\n }, 0);\n };\n /**\n * The default control validator for date time.\n */\n InputDateTimeComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n /**\n * Validates whether the parameter is a Moment object or can parsed into one\n * @protected\n * @param {*} newValue The new value\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputDateTimeComponent\n */\n InputDateTimeComponent.prototype.isValidValue = function (newValue) {\n var _a;\n var errorKey = Validator.date().name;\n var validationError = (_a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a);\n if (newValue === undefined || newValue === null || newValue === '') {\n return !this.required ? validationError : null;\n }\n if (typeof newValue === 'string') {\n var result = this.parseValue(newValue);\n if (!result) {\n return validationError;\n }\n return !result.isValid() ? validationError : null;\n }\n return !moment.isMoment(newValue) ? validationError : null;\n };\n /**\n * Parses a string into a Moment object\n * @param newValue The string to be parsed\n * @returns The moment object parsed from the parameter\n */\n InputDateTimeComponent.prototype.parseValue = function (newValue) {\n if (moment.isMoment(newValue)) {\n return newValue;\n }\n if (typeof newValue === 'string' && newValue !== '') {\n var result = moment(newValue, this.formatString, true);\n if (result === null || !result.isValid()) {\n return null;\n }\n else {\n return result;\n }\n }\n return null;\n };\n /**\n * Switches the dropdown between open or closed state; goes to the initial template state if the dropdown is opened\n */\n InputDateTimeComponent.prototype.toggleDropdown = function () {\n if (!this.isOpen()) {\n this.changeState(this.initialState);\n }\n this.toggle();\n };\n /**\n * Used to close the dropdown\n */\n InputDateTimeComponent.prototype.setClose = function () {\n _super.prototype.setClose.call(this);\n if (this.control) {\n // TODO: Uitzoeken waarom dit niet nodig is bij de InputColorComponent.\n this.control.updateValueAndValidity();\n }\n };\n /**\n * Converts the datetime value to a string according to the format\n * @returns The string representation of the datetime value\n */\n InputDateTimeComponent.prototype.getDateString = function () {\n if (!moment.isMoment(this.valueAsMoment)) {\n return '';\n }\n if (this.isValueInfinity()) {\n return 'Infinity';\n }\n return this.valueAsMoment.format(this.formatString);\n };\n /**\n * Checks if the datetime value is set to infinity\n * @returns A value indicating whether the datetime value is set to infinity\n */\n InputDateTimeComponent.prototype.isValueInfinity = function () {\n return moment.isMoment(this.valueAsMoment) && this.valueAsMoment.toDate().getUTCFullYear() === 9999;\n };\n /**\n * Checks if the date component of the value is today\n * @returns A value indicating whether set date is today\n */\n InputDateTimeComponent.prototype.isValueToday = function () {\n return this.isDate(moment(), 'day');\n };\n /**\n * Checks if the parameter is today\n * @param date The date is compared with today\n * @returns A value indicating whether the parameter is today\n */\n InputDateTimeComponent.prototype.isToday = function (date) {\n if (!moment.isMoment(date)) {\n return false;\n }\n return date.clone().startOf('day').isSame(moment().startOf('day'));\n };\n /**\n * Checks whether the given date equals the date of the value\n * @param date The date is compared with the value\n * @param unitOfTime The precision of the comparison\n * @returns A value indicating whether the date parameter is equal to the value up to the precision of the unit of time parameter\n */\n InputDateTimeComponent.prototype.isDate = function (date, unitOfTime) {\n if (!moment.isMoment(this.valueAsMoment)) {\n return false;\n }\n var testDate = date.clone().startOf(unitOfTime);\n var thisDate = this.valueAsMoment.clone().startOf(unitOfTime);\n return thisDate.isSame(testDate);\n };\n /**\n * Checks whether the given time equals the time of the value\n * @param time The hours or minutes is compared with the same component of the value\n * @param unitOfTime The unit of time to be compared\n * @returns A value indicating whether the time parameter is equal to the same unit of time of the value\n */\n InputDateTimeComponent.prototype.isTime = function (time, unitOfTime) {\n return moment.isMoment(this.valueAsMoment) && this.valueAsMoment.get(unitOfTime) === time;\n };\n /**\n * Checks whether the given date falls in range\n * @param date The date that falls or does not fall in range\n * @returns A value indicating whether the parameter falls in range of the selected date and\n * the date to which the datetime component is linked\n */\n InputDateTimeComponent.prototype.inRange = function (date) {\n if (!moment.isMoment(this.valueAsMoment) ||\n !moment.isMoment(this.linkedDate) ||\n this.isValueInfinity() ||\n this.linkedDate.year() === 9999) {\n return false;\n }\n return (date > this.valueAsMoment && date <= this.linkedDate) || (date < this.valueAsMoment && date >= this.linkedDate);\n };\n /**\n * Sets the datetime value to today and goes to the 'hours' template state or closes the dropdown\n */\n InputDateTimeComponent.prototype.setToday = function () {\n this.setDate(moment().startOf('day'), 'day');\n };\n /**\n * Sets the datetime value to 9999-12-31 and closes the dropdown\n */\n InputDateTimeComponent.prototype.setInfinity = function () {\n // Makes 9999/12/31 +01:00 moment independent of time-zone client.\n this.valueAsMoment = moment(new Date(Date.UTC(9999, 11, 30, 23)));\n this.setClose();\n };\n /**\n * Sets the date component of the value\n * @param date The date to which the value is changed\n * @param unitOfTime The unit of time that was selected - the template state\n */\n InputDateTimeComponent.prototype.setDate = function (date, unitOfTime) {\n // this.valueAsMoment = date.clone().startOf(unitOfTime);\n // this.value = date.startOf(unitOfTime).toDate();\n if (moment.isMoment(this.valueAsMoment)) {\n date.hours(this.valueAsMoment.hours());\n date.minutes(this.valueAsMoment.minutes());\n }\n this.valueAsText = date.format(this.formatString);\n this.nextTemplateStateFrom(unitOfTime);\n };\n /**\n * Sets the time component of the value\n * @param time The hours or minutes to which the time component of the value is changed\n * @param unitOfTime The unit of time to be set - the template state\n */\n InputDateTimeComponent.prototype.setTime = function (time, unitOfTime) {\n var date = moment.isMoment(this.valueAsMoment) ? this.valueAsMoment.clone() : moment();\n date = date.set(unitOfTime, time).startOf(unitOfTime);\n this.valueAsText = date.format(this.formatString);\n this.nextTemplateStateFrom(unitOfTime);\n };\n /**\n * Checks whether the given template state is available\n * @param state The template state\n * @returns A value indicating whether the state parameter is an allowed template state.\n */\n InputDateTimeComponent.prototype.isAllowed = function (state) {\n return this.allowedStates.indexOf(state) !== -1;\n };\n /**\n * Changes the dropdown template state\n * @param state The template state\n */\n InputDateTimeComponent.prototype.changeState = function (state) {\n if (!this.isAllowed(state)) {\n return;\n }\n if (moment.isMoment(this.valueAsMoment) && this.valueAsMoment.year() === 9999) {\n this.displayDate = moment();\n }\n else if (moment.isMoment(this.valueAsMoment)) {\n this.displayDate = this.valueAsMoment.clone();\n }\n else {\n this.displayDate = moment();\n }\n /*\n this.displayDate = !moment.isMoment(this.valueAsMoment) || this.valueAsMoment.year() === 9999\n ? moment() : this.valueAsMoment.clone();\n */\n switch (state) {\n case 'year':\n this.setDisplayYears();\n break;\n case 'month':\n this.setDisplayMonths();\n break;\n case 'day':\n this.setDisplayWeeks();\n break;\n default:\n break;\n }\n this.state = state;\n };\n /**\n * Changes the year to be displayed in the dropdown\n * @param years The year is displayed in the dropdown\n */\n InputDateTimeComponent.prototype.changeDisplayYear = function (years) {\n this.displayDate.add(years, 'year');\n this.setDisplayYears();\n this.setDisplayMonths();\n };\n /**\n * Moves the displayed month forwards or backwards\n * @param months The number of months the displayed date is moved\n */\n InputDateTimeComponent.prototype.changeDisplayMonth = function (months) {\n this.displayDate.add(months, 'month');\n this.setDisplayWeeks();\n };\n /**\n * Set the value of the input.\n * Override this method when extending the value behavior.\n * @param val The new value to set.\n */\n InputDateTimeComponent.prototype.setValue = function (val) {\n _super.prototype.setValue.call(this, val);\n this.valueText = moment(this.value).format(this.formatString);\n };\n /**\n * Accepts a string, which is parsed to a Javascript data object.\n * Display and subtitle are also updated\n * @param value A parsable value for the date time\n */\n InputDateTimeComponent.prototype.setValueFromString = function (value) {\n // Only the User should provoke this.\n // It is not the user when: value == null or value == undefined\n if (value !== null && typeof value !== 'undefined') {\n this.valueText = value;\n var parsedValue = this.parseValue(value);\n if (parsedValue) {\n this.safeTranslateFromString(parsedValue);\n }\n }\n };\n /**\n * Safe translate string date to value.\n * Is needed for InputDateComponent when used in different time zones.\n * @protected\n * @param {Moment} translated The value translated from the string.\n */\n InputDateTimeComponent.prototype.safeTranslateFromString = function (translated) {\n this.value = translated.toDate();\n };\n /**\n * Moves to the next template state or closes the dropdown\n * @param unitOfTime The current template\n */\n InputDateTimeComponent.prototype.nextTemplateStateFrom = function (unitOfTime) {\n var state = this.allowedStates.indexOf(unitOfTime);\n if (this.allowedStates.length > state + 1) {\n this.changeState(this.allowedStates[state + 1]);\n }\n else {\n this.setClose();\n }\n };\n /**\n * Sets the years to be displayed in the 'year' template state\n */\n InputDateTimeComponent.prototype.setDisplayYears = function () {\n var decade = this.displayDate.year();\n decade -= decade % 10;\n this.displayYears = [];\n for (var year = decade; year < decade + 12; year += 1) {\n this.displayYears.push(moment({ year: year, month: 0, day: 1 }));\n }\n };\n /**\n * Sets the months to be displayed in the 'month' template state\n */\n InputDateTimeComponent.prototype.setDisplayMonths = function () {\n var year = this.displayDate.year();\n this.displayMonths = [];\n for (var month = 0; month < 12; month += 1) {\n this.displayMonths.push(moment({ year: year, month: month, day: 1 }));\n }\n };\n /**\n * Sets the weeks to be displayed in the 'day' template state\n */\n InputDateTimeComponent.prototype.setDisplayWeeks = function () {\n var day = moment([this.displayDate.year(), this.displayDate.month(), 1]);\n var lastDay = moment([this.displayDate.year(), this.displayDate.month(), this.displayDate.daysInMonth()]);\n day.day(day.day() === 0 ? -6 : 1);\n this.displayWeeks = [];\n while (day <= lastDay) {\n var week = { number: day.isoWeek(), days: [] };\n for (var d = 0; d < 7; d += 1) {\n week.days.push(day.clone().add(d, 'day'));\n }\n this.displayWeeks.push(week);\n day.add(7, 'day');\n }\n };\n return InputDateTimeComponent;\n}(DropdownInput));\nexport { InputDateTimeComponent };\n","import * as tslib_1 from \"tslib\";\nimport * as moment from 'moment';\nimport { InputDateTimeComponent } from '../input-datetime/input-datetime.component';\nimport createAutoCorrectedDateTimePipe from '../../pipes/create-datetime.pipe';\nimport { LocalisationService } from '../../../core/localisation.service';\n/**\n * Class for input component for date input\n */\nvar InputDateComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputDateComponent, _super);\n function InputDateComponent(localisationService) {\n var _this = _super.call(this, localisationService) || this;\n _this.allowedStates = ['year', 'month', 'day'];\n _this.placeholderKey = 'APP.INPUTS.DATE_PLACEHOLDER';\n return _this;\n }\n Object.defineProperty(InputDateComponent.prototype, \"formatString\", {\n get: function () {\n return this.localisationService.date.format;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateComponent.prototype, \"pipe\", {\n get: function () {\n return createAutoCorrectedDateTimePipe(this.localisationService.date.correctionFormat);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputDateComponent.prototype, \"mask\", {\n get: function () {\n return LocalisationService.toMaskArray(this.localisationService.date.mask);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Safe translate string date to value.\n * Is needed for InputDateComponent when used in different time zones.\n * @protected\n * @param {Moment} translated The value translated from the string.\n */\n InputDateComponent.prototype.safeTranslateFromString = function (translated) {\n var newValue = translated.toDate();\n var oldValue = this.value;\n this.value = moment.isDate(oldValue)\n ? new Date(newValue.getFullYear(), newValue.getMonth(), newValue.getDate(), oldValue.getHours(), oldValue.getMinutes())\n : this.value = translated.toDate();\n };\n return InputDateComponent;\n}(InputDateTimeComponent));\nexport { InputDateComponent };\n","import * as tslib_1 from \"tslib\";\nimport * as moment from 'moment';\nimport { InputDateComponent } from '../input-date/input-date.component';\nimport { LocalisationService } from '../../../core/localisation.service';\n/**\n * Class for input component for birthday input.\n */\nvar InputBirthdayComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputBirthdayComponent, _super);\n /**\n * Initializes a new instance of the InputBirthdayComponent.\n */\n function InputBirthdayComponent(localisationService) {\n var _this = _super.call(this, localisationService) || this;\n _this.placeholderKey = 'APP.INPUTS.DATE_PLACEHOLDER';\n /** The relative URL of the picture celebrating one's birthday. */\n _this.celebrateUrl = require('../../assets/images/hooray.png');\n return _this;\n }\n Object.defineProperty(InputBirthdayComponent.prototype, \"birthdayString\", {\n /**\n * Gets the format for displaying birthdays in readonly.\n */\n get: function () {\n return this.localisationService.currentLanguage.formats.agenda.week.start;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a value indicating whether the set birthday is today.\n */\n InputBirthdayComponent.prototype.isBirthdayToday = function () {\n if (!this.valueAsMoment) {\n return false;\n }\n return this.valueAsMoment.date() === moment().date() && this.valueAsMoment.month() === moment().month();\n };\n return InputBirthdayComponent;\n}(InputDateComponent));\nexport { InputBirthdayComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"../input-datetime/input-datetime.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i6 from \"@angular/forms\";\nimport * as i7 from \"angular2-text-mask\";\nimport * as i8 from \"ngx-moment\";\nimport * as i9 from \"./input-birthday.component\";\nimport * as i10 from \"../../../core/localisation.service\";\nvar styles_InputBirthdayComponent = [i0.styles, i1.styles];\nvar RenderType_InputBirthdayComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputBirthdayComponent, data: {} });\nexport { RenderType_InputBirthdayComponent as RenderType_InputBirthdayComponent };\nfunction View_InputBirthdayComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.celebrateUrl; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_InputBirthdayComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\" \", \" \"])), i2.ɵppd(2, 2), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_2)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.isBirthdayToday(); _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i2.ɵnov(_v.parent, 0), _co.value, _co.birthdayString)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputBirthdayComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-year-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-year-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"year\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"YYYY\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputBirthdayComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputBirthdayComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputBirthdayComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 10)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \" - \", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(10) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-year-set sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_6)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_7)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_8)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_3 = _co.displayYears; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.allowToday; _ck(_v, 15, 0, currVal_4); var currVal_5 = _co.allowInfinity; _ck(_v, 17, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayYears[0].format(\"YYYY\"); var currVal_2 = _co.displayYears[11].format(\"YYYY\"); _ck(_v, 7, 0, currVal_1, currVal_2); }); }\nfunction View_InputBirthdayComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-month-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-month-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"month\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"MMM\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputBirthdayComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputBirthdayComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputBirthdayComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-month-set sym-m-t sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_10)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_11)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_12)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.displayMonths; _ck(_v, 12, 0, currVal_2); var currVal_3 = _co.allowToday; _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.allowInfinity; _ck(_v, 17, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"YYYY\"); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_InputBirthdayComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"day\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-outside-month\": 0, \"sym-range\": 1, \"sym-active\": 2, \"sym-today\": 3 }), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"sym-day-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-day-grid-cell\"; var currVal_1 = _ck(_v, 2, 0, (_v.context.$implicit.month() != _co.displayDate.month()), _co.inRange(_v.context.$implicit), _co.isDate(_v.context.$implicit, \"day\"), _co.isToday(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.date(); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_InputBirthdayComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-row clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_15)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.days; _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.number; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputBirthdayComponent_16(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputBirthdayComponent_17(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputBirthdayComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 37, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 9, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 20, \"div\", [[\"class\", \"sym-day-grid sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(13, 0, null, null, 17, \"div\", [[\"class\", \"sym-day-grid-header clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(15, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(17, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(18, null, [\"\", \"\"])), (_l()(), i2.ɵeld(19, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(20, null, [\"\", \"\"])), (_l()(), i2.ɵeld(21, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(22, null, [\"\", \"\"])), (_l()(), i2.ɵeld(23, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(24, null, [\"\", \"\"])), (_l()(), i2.ɵeld(25, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(26, null, [\"\", \"\"])), (_l()(), i2.ɵeld(27, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(28, null, [\"\", \"\"])), (_l()(), i2.ɵeld(29, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(30, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_14)), i2.ɵdid(32, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(33, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_16)), i2.ɵdid(35, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_17)), i2.ɵdid(37, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_11 = _co.displayWeeks; _ck(_v, 32, 0, currVal_11); var currVal_12 = _co.allowToday; _ck(_v, 35, 0, currVal_12); var currVal_13 = _co.allowInfinity; _ck(_v, 37, 0, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"MMM\"); _ck(_v, 7, 0, currVal_1); var currVal_2 = _co.displayDate.format(\"YYYY\"); _ck(_v, 9, 0, currVal_2); var currVal_3 = i2.ɵunv(_v, 15, 0, i2.ɵnov(_v, 16).transform(\"APP.INPUTS.WK\")); _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.dayMoment.day(1).format(\"dd\"); _ck(_v, 18, 0, currVal_4); var currVal_5 = _co.dayMoment.day(2).format(\"dd\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = _co.dayMoment.day(3).format(\"dd\"); _ck(_v, 22, 0, currVal_6); var currVal_7 = _co.dayMoment.day(4).format(\"dd\"); _ck(_v, 24, 0, currVal_7); var currVal_8 = _co.dayMoment.day(5).format(\"dd\"); _ck(_v, 26, 0, currVal_8); var currVal_9 = _co.dayMoment.day(6).format(\"dd\"); _ck(_v, 28, 0, currVal_9); var currVal_10 = _co.dayMoment.day(0).format(\"dd\"); _ck(_v, 30, 0, currVal_10); }); }\nfunction View_InputBirthdayComponent_18(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 102, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 96, \"div\", [[\"class\", \"sym-datetime-content sym-hours-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(1, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 01 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(2, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 02 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(3, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 03 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(4, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 04 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(6, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 06 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(7, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 07 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(8, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 08 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(9, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 09 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(11, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 11 \"])), (_l()(), i2.ɵeld(55, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(12, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(56, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(57, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 12 \"])), (_l()(), i2.ɵeld(59, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(13, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(60, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(61, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 13 \"])), (_l()(), i2.ɵeld(63, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(14, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(64, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(65, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 14 \"])), (_l()(), i2.ɵeld(67, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(68, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(69, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(71, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(16, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(72, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(73, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 16 \"])), (_l()(), i2.ɵeld(75, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(17, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(76, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(77, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 17 \"])), (_l()(), i2.ɵeld(79, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(18, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(80, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(81, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 18 \"])), (_l()(), i2.ɵeld(83, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(19, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(84, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(85, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 19 \"])), (_l()(), i2.ɵeld(87, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(88, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(89, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(91, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(21, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(92, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(93, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 21 \"])), (_l()(), i2.ɵeld(95, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(22, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(96, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(97, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 22 \"])), (_l()(), i2.ɵeld(99, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(23, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(100, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(101, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 23 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-hours-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"hours\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-hours-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(1, \"hours\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-hours-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(2, \"hours\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-hours-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(3, \"hours\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-hours-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(4, \"hours\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-hours-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(5, \"hours\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-hours-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(6, \"hours\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-hours-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(7, \"hours\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-hours-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(8, \"hours\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-hours-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(9, \"hours\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-hours-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(10, \"hours\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-hours-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(11, \"hours\")); _ck(_v, 52, 0, currVal_24, currVal_25); var currVal_26 = \"sym-datetime-slot sym-hours-slot\"; var currVal_27 = _ck(_v, 57, 0, _co.isTime(12, \"hours\")); _ck(_v, 56, 0, currVal_26, currVal_27); var currVal_28 = \"sym-datetime-slot sym-hours-slot\"; var currVal_29 = _ck(_v, 61, 0, _co.isTime(13, \"hours\")); _ck(_v, 60, 0, currVal_28, currVal_29); var currVal_30 = \"sym-datetime-slot sym-hours-slot\"; var currVal_31 = _ck(_v, 65, 0, _co.isTime(14, \"hours\")); _ck(_v, 64, 0, currVal_30, currVal_31); var currVal_32 = \"sym-datetime-slot sym-hours-slot\"; var currVal_33 = _ck(_v, 69, 0, _co.isTime(15, \"hours\")); _ck(_v, 68, 0, currVal_32, currVal_33); var currVal_34 = \"sym-datetime-slot sym-hours-slot\"; var currVal_35 = _ck(_v, 73, 0, _co.isTime(16, \"hours\")); _ck(_v, 72, 0, currVal_34, currVal_35); var currVal_36 = \"sym-datetime-slot sym-hours-slot\"; var currVal_37 = _ck(_v, 77, 0, _co.isTime(17, \"hours\")); _ck(_v, 76, 0, currVal_36, currVal_37); var currVal_38 = \"sym-datetime-slot sym-hours-slot\"; var currVal_39 = _ck(_v, 81, 0, _co.isTime(18, \"hours\")); _ck(_v, 80, 0, currVal_38, currVal_39); var currVal_40 = \"sym-datetime-slot sym-hours-slot\"; var currVal_41 = _ck(_v, 85, 0, _co.isTime(19, \"hours\")); _ck(_v, 84, 0, currVal_40, currVal_41); var currVal_42 = \"sym-datetime-slot sym-hours-slot\"; var currVal_43 = _ck(_v, 89, 0, _co.isTime(20, \"hours\")); _ck(_v, 88, 0, currVal_42, currVal_43); var currVal_44 = \"sym-datetime-slot sym-hours-slot\"; var currVal_45 = _ck(_v, 93, 0, _co.isTime(21, \"hours\")); _ck(_v, 92, 0, currVal_44, currVal_45); var currVal_46 = \"sym-datetime-slot sym-hours-slot\"; var currVal_47 = _ck(_v, 97, 0, _co.isTime(22, \"hours\")); _ck(_v, 96, 0, currVal_46, currVal_47); var currVal_48 = \"sym-datetime-slot sym-hours-slot\"; var currVal_49 = _ck(_v, 101, 0, _co.isTime(23, \"hours\")); _ck(_v, 100, 0, currVal_48, currVal_49); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_HOURS\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputBirthdayComponent_19(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 54, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 48, \"div\", [[\"class\", \"sym-datetime-content sym-minutes-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(25, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 25 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(30, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 30 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(35, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 35 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(40, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 40 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(45, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 45 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(50, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 50 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(55, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 55 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"minutes\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(5, \"minutes\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(10, \"minutes\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(15, \"minutes\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(20, \"minutes\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(25, \"minutes\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(30, \"minutes\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(35, \"minutes\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(40, \"minutes\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(45, \"minutes\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(50, \"minutes\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(55, \"minutes\")); _ck(_v, 52, 0, currVal_24, currVal_25); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_MINUTES\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputBirthdayComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"dropdown-menu sym-datetime-dropdown sym-p-a\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_5)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_9)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_13)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_18)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_19)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown-menu sym-datetime-dropdown sym-p-a\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = (_co.state === \"year\"); _ck(_v, 4, 0, currVal_2); var currVal_3 = (_co.state === \"month\"); _ck(_v, 6, 0, currVal_3); var currVal_4 = (_co.state === \"day\"); _ck(_v, 8, 0, currVal_4); var currVal_5 = (_co.state === \"hours\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_co.state === \"minutes\"); _ck(_v, 12, 0, currVal_6); }, null); }\nfunction View_InputBirthdayComponent_20(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputBirthdayComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 23, \"div\", [[\"class\", \"dropdown\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0, \"sym-has-errors\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 10, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"focus\"], [null, \"blur\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 7)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 7)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (i2.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i2.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_6 = (i2.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_6 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_7 = (i2.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.valueAsText = $event) !== false);\n ad = (pd_8 && ad);\n } if ((\"focus\" === en)) {\n var pd_9 = (_co.setClose() !== false);\n ad = (pd_9 && ad);\n } if ((\"blur\" === en)) {\n var pd_10 = (_co.leaveViaBlur() !== false);\n ad = (pd_10 && ad);\n } return ad; }, null, null)), i2.ɵdid(5, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(6, { \"sym-invalid\": 0 }), i2.ɵdid(7, 16384, null, 0, i6.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵdid(8, 540672, null, 0, i7.MaskedInputDirective, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], { textMaskConfig: [0, \"textMaskConfig\"] }, null), i2.ɵpod(9, { mask: 0, pipe: 1, keepCharPositions: 2 }), i2.ɵprd(1024, null, i6.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i6.DefaultValueAccessor, i7.MaskedInputDirective]), i2.ɵdid(11, 671744, null, 0, i6.NgModel, [[8, null], [8, null], [8, null], [6, i6.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i6.NgControl, null, [i6.NgModel]), i2.ɵdid(13, 16384, null, 0, i6.NgControlStatus, [[4, i6.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(15, 0, null, null, 4, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleDropdown() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(17, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(18, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(19, { \"sym-icon-date\": 0, \"sym-icon-time\": 1 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_4)), i2.ɵdid(21, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_20)), i2.ɵdid(23, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen(), _co.hasErrors()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_10 = \"form-control\"; var currVal_11 = _ck(_v, 6, 0, !_co.isValidInput()); _ck(_v, 5, 0, currVal_10, currVal_11); var currVal_12 = _ck(_v, 9, 0, _co.mask, _co.pipe, true); _ck(_v, 8, 0, currVal_12); var currVal_13 = _co.valueAsText; _ck(_v, 11, 0, currVal_13); var currVal_14 = \"icon\"; var currVal_15 = _ck(_v, 19, 0, _co.isAllowed(\"day\"), !_co.isAllowed(\"day\")); _ck(_v, 18, 0, currVal_14, currVal_15); var currVal_16 = _co.isOpen(); _ck(_v, 21, 0, currVal_16); var currVal_17 = _co.validationErrors; _ck(_v, 23, 0, currVal_17); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 14).transform(_co.placeholderKey)); var currVal_3 = i2.ɵnov(_v, 13).ngClassUntouched; var currVal_4 = i2.ɵnov(_v, 13).ngClassTouched; var currVal_5 = i2.ɵnov(_v, 13).ngClassPristine; var currVal_6 = i2.ɵnov(_v, 13).ngClassDirty; var currVal_7 = i2.ɵnov(_v, 13).ngClassValid; var currVal_8 = i2.ɵnov(_v, 13).ngClassInvalid; var currVal_9 = i2.ɵnov(_v, 13).ngClassPending; _ck(_v, 4, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nexport function View_InputBirthdayComponent_0(_l) { return i2.ɵvid(0, [i2.ɵpid(0, i8.DateFormatPipe, []), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBirthdayComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_InputBirthdayComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-birthday\", [], null, null, null, View_InputBirthdayComponent_0, RenderType_InputBirthdayComponent)), i2.ɵdid(1, 180224, null, 0, i9.InputBirthdayComponent, [i10.LocalisationService], null, null)], null, null); }\nvar InputBirthdayComponentNgFactory = i2.ɵccf(\"sym-input-birthday\", i9.InputBirthdayComponent, View_InputBirthdayComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", format: \"format\" }, { valueChange: \"valueChange\" }, []);\nexport { InputBirthdayComponentNgFactory as InputBirthdayComponentNgFactory };\n","/**\n * @file Fieldset component for birthday input\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the birthday fieldset component\n */\nvar FieldsetBirthdayComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetBirthdayComponent, _super);\n /**\n * Constructs a FieldsetBirthdayComponent\n */\n function FieldsetBirthdayComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetBirthdayComponent.register = function () {\n ComponentRegistry.register('fieldset', 'birthday', FieldsetBirthdayComponent);\n };\n return FieldsetBirthdayComponent;\n}(FieldsetBase));\nexport { FieldsetBirthdayComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for birthday input\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-birthday/input-birthday.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-birthday/input-birthday.component\";\nimport * as i8 from \"../../../core/localisation.service\";\nimport * as i9 from \"./fieldset-birthday.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetBirthdayComponent = [i0.styles];\nvar RenderType_FieldsetBirthdayComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetBirthdayComponent, data: {} });\nexport { RenderType_FieldsetBirthdayComponent as RenderType_FieldsetBirthdayComponent };\nfunction View_FieldsetBirthdayComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetBirthdayComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetBirthdayComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetBirthdayComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetBirthdayComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-birthday\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputBirthdayComponent_0, i6.RenderType_InputBirthdayComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputBirthdayComponent, [i8.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetBirthdayComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-birthday\", [], null, null, null, View_FieldsetBirthdayComponent_0, RenderType_FieldsetBirthdayComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetBirthdayComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetBirthdayComponentNgFactory = i1.ɵccf(\"sym-fieldset-birthday\", i9.FieldsetBirthdayComponent, View_FieldsetBirthdayComponent_Host_0, {}, {}, []);\nexport { FieldsetBirthdayComponentNgFactory as FieldsetBirthdayComponentNgFactory };\n","/**\n* @file Input component for boolean input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for input component for boolean input\n */\nvar InputBooleanComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputBooleanComponent, _super);\n function InputBooleanComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Toggle between boolean value (true or false)\n */\n InputBooleanComponent.prototype.toggle = function () {\n this.setValue(!this.value);\n };\n /**\n * Set value is true\n */\n InputBooleanComponent.prototype.setTrue = function () {\n this.setValue(true);\n };\n /**\n * Set value is false\n */\n InputBooleanComponent.prototype.setFalse = function () {\n this.setValue(false);\n };\n return InputBooleanComponent;\n}(InputBase));\nexport { InputBooleanComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for boolean input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-boolean.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./input-boolean.component\";\nvar styles_InputBooleanComponent = [i0.styles, i1.styles];\nvar RenderType_InputBooleanComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputBooleanComponent, data: {} });\nexport { RenderType_InputBooleanComponent as RenderType_InputBooleanComponent };\nfunction View_InputBooleanComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 2).transform(\"APP.INPUTS.BOOLEAN_YES\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputBooleanComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 2).transform(\"APP.INPUTS.BOOLEAN_NO\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputBooleanComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBooleanComponent_2)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBooleanComponent_3)), i2.ɵdid(4, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value == true); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.value != true); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InputBooleanComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputBooleanComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 9, \"div\", [[\"class\", \"sym-input-switch\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-switch-true\": 0, \"sym-switch-false\": 1 }), (_l()(), i2.ɵeld(6, 0, null, null, 0, \"div\", [[\"class\", \"sym-switch-marker\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"sym-switch-option sym-switch-left text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTrue() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(8, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-switch-option sym-switch-right text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setFalse() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(11, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBooleanComponent_5)), i2.ɵdid(14, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = \"sym-input-switch\"; var currVal_2 = _ck(_v, 5, 0, (_co.value == true), (_co.value != true)); _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_5 = _co.validationErrors; _ck(_v, 14, 0, currVal_5); }, function (_ck, _v) { var currVal_3 = i2.ɵunv(_v, 8, 0, i2.ɵnov(_v, 9).transform(\"APP.INPUTS.BOOLEAN_YES\")); _ck(_v, 8, 0, currVal_3); var currVal_4 = i2.ɵunv(_v, 11, 0, i2.ɵnov(_v, 12).transform(\"APP.INPUTS.BOOLEAN_NO\")); _ck(_v, 11, 0, currVal_4); }); }\nexport function View_InputBooleanComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBooleanComponent_1)), i2.ɵdid(1, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputBooleanComponent_4)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputBooleanComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-boolean\", [], null, null, null, View_InputBooleanComponent_0, RenderType_InputBooleanComponent)), i2.ɵdid(1, 180224, null, 0, i5.InputBooleanComponent, [], null, null)], null, null); }\nvar InputBooleanComponentNgFactory = i2.ɵccf(\"sym-input-boolean\", i5.InputBooleanComponent, View_InputBooleanComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputBooleanComponentNgFactory as InputBooleanComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for boolean input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-input-switch[_ngcontent-%COMP%]{border:1px solid #ced4da;width:100px;position:relative;height:calc(1.5em + .5rem + 2px);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sym-input-switch.sym-switch-true[_ngcontent-%COMP%] .sym-switch-marker[_ngcontent-%COMP%]{left:0}.sym-input-switch.sym-switch-true[_ngcontent-%COMP%] .sym-switch-left[_ngcontent-%COMP%]{color:#fff}.sym-input-switch.sym-switch-false[_ngcontent-%COMP%] .sym-switch-marker[_ngcontent-%COMP%]{left:50%}.sym-input-switch.sym-switch-false[_ngcontent-%COMP%] .sym-switch-right[_ngcontent-%COMP%]{color:#fff}.sym-input-switch[_ngcontent-%COMP%] .sym-switch-marker[_ngcontent-%COMP%], .sym-input-switch[_ngcontent-%COMP%] .sym-switch-option[_ngcontent-%COMP%]{width:50%;position:absolute;top:0;bottom:0}.sym-input-switch[_ngcontent-%COMP%] .sym-switch-marker[_ngcontent-%COMP%]{background-color:#324b4b;-webkit-transition:left .5s;transition:left .5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.sym-input-switch[_ngcontent-%COMP%] .sym-switch-option[_ngcontent-%COMP%]{text-align:center;font-size:.875rem;line-height:calc(1.5em + .5rem + 2px);-webkit-transition:color .5s;transition:color .5s;color:#ced4da}.sym-input-switch[_ngcontent-%COMP%] .sym-switch-option.sym-switch-left[_ngcontent-%COMP%]{left:0}.sym-input-switch[_ngcontent-%COMP%] .sym-switch-option.sym-switch-right[_ngcontent-%COMP%]{right:0}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for boolean input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the boolean fieldset component\n */\nvar FieldsetBooleanComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetBooleanComponent, _super);\n /**\n * Constructs a FieldsetBooleanComponent\n */\n function FieldsetBooleanComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetBooleanComponent.register = function () {\n ComponentRegistry.register('fieldset', 'boolean', FieldsetBooleanComponent);\n };\n return FieldsetBooleanComponent;\n}(FieldsetBase));\nexport { FieldsetBooleanComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for boolean input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-boolean/input-boolean.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-boolean/input-boolean.component\";\nimport * as i8 from \"./fieldset-boolean.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetBooleanComponent = [i0.styles];\nvar RenderType_FieldsetBooleanComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetBooleanComponent, data: {} });\nexport { RenderType_FieldsetBooleanComponent as RenderType_FieldsetBooleanComponent };\nfunction View_FieldsetBooleanComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetBooleanComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetBooleanComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetBooleanComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetBooleanComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-boolean\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputBooleanComponent_0, i6.RenderType_InputBooleanComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputBooleanComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetBooleanComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-boolean\", [], null, null, null, View_FieldsetBooleanComponent_0, RenderType_FieldsetBooleanComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetBooleanComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetBooleanComponentNgFactory = i1.ɵccf(\"sym-fieldset-boolean\", i8.FieldsetBooleanComponent, View_FieldsetBooleanComponent_Host_0, {}, {}, []);\nexport { FieldsetBooleanComponentNgFactory as FieldsetBooleanComponentNgFactory };\n","/**\n * Directive to use with checkboxes to compose a string as a kind of enumerator list.\n * @author Tom Verschoore de la Houssaije\n * @see https://github.com/amaanm/ng2-checklist/blob/master/src/checklist.ts\n */\nimport { ElementRef, EventEmitter } from '@angular/core';\n/**\n * Directive to use with checkboxes to compose a string as a kind of enumerator list.\n */\nvar ChecklistDirective = /** @class */ (function () {\n /**\n * Constructs a ChecklistDirective.\n * @param element Reference to HTML element.\n */\n function ChecklistDirective(element) {\n this.element = element;\n /** The value containing the composed enumerator string */\n this.symChecklist = '';\n /** Event to notify when the value has changed. */\n this.symChecklistChange = new EventEmitter();\n }\n /**\n * Listens to changes whether a checkbox is checked or not,\n * constructs a new value accordingly and emit a checklist changed evet.\n * @param $event HTML event.\n */\n ChecklistDirective.prototype.onChange = function ($event) {\n if (this.symChecklist == null) {\n this.symChecklist = '';\n }\n // Split the items into an array\n var checkItems = this.symChecklist.split(' ');\n // clean up input\n checkItems = checkItems.filter(function (item) { return item !== ''; });\n // add or delete from selection?\n if ($event.target.checked) {\n // items is checked, so add to items\n if (checkItems.indexOf($event.target.value) === -1) {\n // if it does not exist\n checkItems.push($event.target.value);\n }\n }\n else {\n // items is not checked, remove from check items\n checkItems = checkItems.filter(function (item) { return item !== $event.target.value; });\n }\n // Join the results because backend expect this input for checkboxes\n this.symChecklist = checkItems.join(' ');\n // Fire an event\n this.symChecklistChange.emit(this.symChecklist);\n };\n Object.defineProperty(ChecklistDirective.prototype, \"isChecked\", {\n /**\n * Gets a boolean flag indicated whether or not the associated checkbox should be checked or not according the checklist.\n */\n get: function () {\n if (this.symChecklist == null) {\n return false;\n }\n return this.symChecklist.indexOf(this.element.nativeElement.value) !== -1;\n },\n enumerable: true,\n configurable: true\n });\n return ChecklistDirective;\n}());\nexport { ChecklistDirective };\n","/**\n * @file Input component for checkboxes input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnChanges, ChangeDetectorRef } from '@angular/core';\nimport { InputBase } from '../input-base/input-base';\nimport { FormGroup, FormControl } from '@angular/forms';\n/**\n * Class for input component for checkboxes input\n */\nvar InputCheckboxesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputCheckboxesComponent, _super);\n /**\n * Constructs a InputCheckboxesComponent.\n * @param cdRef Is used to detect changes.\n */\n function InputCheckboxesComponent(cdRef) {\n var _this = _super.call(this) || this;\n _this.cdRef = cdRef;\n /** Name of block that configures this instance. */\n _this.blockName = undefined;\n /**\n * Form Group of checkboxes\n * @memberOf InputCheckboxesComponent\n */\n _this.checkBoxGroup = new FormGroup({});\n /** The values to be displayed. */\n _this.valueLabelKeys = [];\n /** List of values and label keys of the options. */\n _this._format = undefined;\n return _this;\n }\n Object.defineProperty(InputCheckboxesComponent.prototype, \"format\", {\n /** Gets the list of values and label keys of the options. */\n get: function () {\n return this._format;\n },\n /** Sets the options and checks whether the value is one of the options' keys. */\n set: function (value) {\n var _this = this;\n if (this._format === value) {\n return;\n }\n this._format = value;\n this.valueToLabel();\n this.checkBoxGroup.reset({});\n if (value == null) {\n return;\n }\n value.forEach(function (item) {\n var control = new FormControl();\n _this.checkBoxGroup.addControl(item.value + '', control);\n });\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the values and label keys.\n * @param val The space separated keys of the checked values.\n */\n InputCheckboxesComponent.prototype.setValue = function (val) {\n _super.prototype.setValue.call(this, val);\n this.valueToLabel();\n };\n /**\n * Sets the display values to the label keys based on the value.\n */\n InputCheckboxesComponent.prototype.valueToLabel = function () {\n var _this = this;\n this.valueLabelKeys = [];\n if (!this.value || !this.value.split || !this.format) {\n return;\n }\n var keys = Object.keys(this.format);\n var values = this.value.split(' ');\n values.forEach(function (item) {\n var index = keys.find(function (key) { return _this.format[key].value === item; });\n if (index) {\n _this.valueLabelKeys.push(_this.format[index].labelKey);\n }\n });\n };\n /**\n * Hook method called in the angular 2 lifecycle.\n */\n InputCheckboxesComponent.prototype.ngOnChanges = function () {\n this.cdRef.detectChanges();\n };\n return InputCheckboxesComponent;\n}(InputBase));\nexport { InputCheckboxesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for checkboxes input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-checkboxes.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@angular/forms\";\nimport * as i6 from \"../../directives/checklist.directive\";\nimport * as i7 from \"./input-checkboxes.component\";\nvar styles_InputCheckboxesComponent = [i0.styles, i1.styles];\nvar RenderType_InputCheckboxesComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputCheckboxesComponent, data: {} });\nexport { RenderType_InputCheckboxesComponent as RenderType_InputCheckboxesComponent };\nfunction View_InputCheckboxesComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"li\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputCheckboxesComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"ul\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputCheckboxesComponent_2)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.valueLabelKeys; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_InputCheckboxesComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"form-check\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 1).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 540672, null, 0, i5.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i2.ɵprd(2048, null, i5.ControlContainer, null, [i5.FormGroupDirective]), i2.ɵdid(3, 16384, null, 0, i5.NgControlStatusGroup, [[4, i5.ControlContainer]], null, null), (_l()(), i2.ɵeld(4, 0, null, null, 9, \"label\", [[\"class\", \"form-check-label\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 6, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null], [8, \"checked\", 0]], [[null, \"symChecklistChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 6).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 11).onChange($event) !== false);\n ad = (pd_2 && ad);\n } if ((\"symChecklistChange\" === en)) {\n var pd_3 = ((_co.value = $event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i2.ɵdid(6, 16384, null, 0, i5.CheckboxControlValueAccessor, [i2.Renderer2, i2.ElementRef], null, null), i2.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i2.ɵdid(8, 540672, null, 0, i5.FormControlDirective, [[8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR], [2, i5.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i2.ɵprd(2048, null, i5.NgControl, null, [i5.FormControlDirective]), i2.ɵdid(10, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), i2.ɵdid(11, 16384, null, 0, i6.ChecklistDirective, [i2.ElementRef], { symChecklist: [0, \"symChecklist\"] }, { symChecklistChange: \"symChecklistChange\" }), (_l()(), i2.ɵted(12, null, [\" \", \" \"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.checkBoxGroup; _ck(_v, 1, 0, currVal_7); var currVal_17 = _co.checkBoxGroup.controls[(_v.context.$implicit.value + \"\")]; _ck(_v, 8, 0, currVal_17); var currVal_18 = _co.value; _ck(_v, 11, 0, currVal_18); }, function (_ck, _v) { var currVal_0 = i2.ɵnov(_v, 3).ngClassUntouched; var currVal_1 = i2.ɵnov(_v, 3).ngClassTouched; var currVal_2 = i2.ɵnov(_v, 3).ngClassPristine; var currVal_3 = i2.ɵnov(_v, 3).ngClassDirty; var currVal_4 = i2.ɵnov(_v, 3).ngClassValid; var currVal_5 = i2.ɵnov(_v, 3).ngClassInvalid; var currVal_6 = i2.ɵnov(_v, 3).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = _v.context.$implicit.value; var currVal_9 = i2.ɵnov(_v, 10).ngClassUntouched; var currVal_10 = i2.ɵnov(_v, 10).ngClassTouched; var currVal_11 = i2.ɵnov(_v, 10).ngClassPristine; var currVal_12 = i2.ɵnov(_v, 10).ngClassDirty; var currVal_13 = i2.ɵnov(_v, 10).ngClassValid; var currVal_14 = i2.ɵnov(_v, 10).ngClassInvalid; var currVal_15 = i2.ɵnov(_v, 10).ngClassPending; var currVal_16 = i2.ɵnov(_v, 11).isChecked; _ck(_v, 5, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_19 = i2.ɵunv(_v, 12, 0, i2.ɵnov(_v, 13).transform(_v.context.$implicit.labelKey)); _ck(_v, 12, 0, currVal_19); }); }\nfunction View_InputCheckboxesComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputCheckboxesComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 6, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputCheckboxesComponent_4)), i2.ɵdid(4, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputCheckboxesComponent_5)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.format; _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.validationErrors; _ck(_v, 6, 0, currVal_2); }, null); }\nexport function View_InputCheckboxesComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputCheckboxesComponent_1)), i2.ɵdid(1, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputCheckboxesComponent_3)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputCheckboxesComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-checkboxes\", [], null, null, null, View_InputCheckboxesComponent_0, RenderType_InputCheckboxesComponent)), i2.ɵdid(1, 704512, null, 0, i7.InputCheckboxesComponent, [i2.ChangeDetectorRef], null, null)], null, null); }\nvar InputCheckboxesComponentNgFactory = i2.ɵccf(\"sym-input-checkboxes\", i7.InputCheckboxesComponent, View_InputCheckboxesComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", blockName: \"blockName\", format: \"format\" }, { valueChange: \"valueChange\" }, []);\nexport { InputCheckboxesComponentNgFactory as InputCheckboxesComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for checkboxes input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".form-check-inline[_ngcontent-%COMP%]{margin-left:0;margin-top:0;padding-left:0;padding-right:10px}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for checkboxes input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the checkboxes fieldset component\n */\nvar FieldsetCheckboxesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetCheckboxesComponent, _super);\n /**\n * Constructs a FieldsetCheckboxesComponent\n */\n function FieldsetCheckboxesComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetCheckboxesComponent.register = function () {\n ComponentRegistry.register('fieldset', 'checkboxes', FieldsetCheckboxesComponent);\n };\n return FieldsetCheckboxesComponent;\n}(FieldsetBase));\nexport { FieldsetCheckboxesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for checkboxes input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-checkboxes/input-checkboxes.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-checkboxes/input-checkboxes.component\";\nimport * as i8 from \"./fieldset-checkboxes.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetCheckboxesComponent = [i0.styles];\nvar RenderType_FieldsetCheckboxesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetCheckboxesComponent, data: {} });\nexport { RenderType_FieldsetCheckboxesComponent as RenderType_FieldsetCheckboxesComponent };\nfunction View_FieldsetCheckboxesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetCheckboxesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetCheckboxesComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetCheckboxesComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetCheckboxesComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-checkboxes\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputCheckboxesComponent_0, i6.RenderType_InputCheckboxesComponent)), i1.ɵdid(12, 704512, null, 0, i7.InputCheckboxesComponent, [i1.ChangeDetectorRef], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetCheckboxesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-checkboxes\", [], null, null, null, View_FieldsetCheckboxesComponent_0, RenderType_FieldsetCheckboxesComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetCheckboxesComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetCheckboxesComponentNgFactory = i1.ɵccf(\"sym-fieldset-checkboxes\", i8.FieldsetCheckboxesComponent, View_FieldsetCheckboxesComponent_Host_0, {}, {}, []);\nexport { FieldsetCheckboxesComponentNgFactory as FieldsetCheckboxesComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"../input-datetime/input-datetime.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i6 from \"@angular/forms\";\nimport * as i7 from \"angular2-text-mask\";\nimport * as i8 from \"ngx-moment\";\nimport * as i9 from \"./input-date.component\";\nimport * as i10 from \"../../../core/localisation.service\";\nvar styles_InputDateComponent = [i0.styles, i1.styles];\nvar RenderType_InputDateComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputDateComponent, data: {} });\nexport { RenderType_InputDateComponent as RenderType_InputDateComponent };\nfunction View_InputDateComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵppd(3, 2)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 2, 0, _ck(_v, 3, 0, i2.ɵnov(_v.parent, 0), _co.value, _co.formatString)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDateComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-year-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-year-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"year\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"YYYY\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputDateComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 10)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \" - \", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(10) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-year-set sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_5)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_6)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_7)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_3 = _co.displayYears; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.allowToday; _ck(_v, 15, 0, currVal_4); var currVal_5 = _co.allowInfinity; _ck(_v, 17, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayYears[0].format(\"YYYY\"); var currVal_2 = _co.displayYears[11].format(\"YYYY\"); _ck(_v, 7, 0, currVal_1, currVal_2); }); }\nfunction View_InputDateComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-month-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-month-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"month\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"MMM\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputDateComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-month-set sym-m-t sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_9)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_10)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_11)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.displayMonths; _ck(_v, 12, 0, currVal_2); var currVal_3 = _co.allowToday; _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.allowInfinity; _ck(_v, 17, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"YYYY\"); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_InputDateComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"day\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-outside-month\": 0, \"sym-range\": 1, \"sym-active\": 2, \"sym-today\": 3 }), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"sym-day-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-day-grid-cell\"; var currVal_1 = _ck(_v, 2, 0, (_v.context.$implicit.month() != _co.displayDate.month()), _co.inRange(_v.context.$implicit), _co.isDate(_v.context.$implicit, \"day\"), _co.isToday(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.date(); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_InputDateComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-row clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_14)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.days; _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.number; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDateComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateComponent_16(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 37, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 9, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 20, \"div\", [[\"class\", \"sym-day-grid sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(13, 0, null, null, 17, \"div\", [[\"class\", \"sym-day-grid-header clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(15, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(17, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(18, null, [\"\", \"\"])), (_l()(), i2.ɵeld(19, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(20, null, [\"\", \"\"])), (_l()(), i2.ɵeld(21, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(22, null, [\"\", \"\"])), (_l()(), i2.ɵeld(23, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(24, null, [\"\", \"\"])), (_l()(), i2.ɵeld(25, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(26, null, [\"\", \"\"])), (_l()(), i2.ɵeld(27, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(28, null, [\"\", \"\"])), (_l()(), i2.ɵeld(29, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(30, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_13)), i2.ɵdid(32, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(33, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_15)), i2.ɵdid(35, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_16)), i2.ɵdid(37, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_11 = _co.displayWeeks; _ck(_v, 32, 0, currVal_11); var currVal_12 = _co.allowToday; _ck(_v, 35, 0, currVal_12); var currVal_13 = _co.allowInfinity; _ck(_v, 37, 0, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"MMM\"); _ck(_v, 7, 0, currVal_1); var currVal_2 = _co.displayDate.format(\"YYYY\"); _ck(_v, 9, 0, currVal_2); var currVal_3 = i2.ɵunv(_v, 15, 0, i2.ɵnov(_v, 16).transform(\"APP.INPUTS.WK\")); _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.dayMoment.day(1).format(\"dd\"); _ck(_v, 18, 0, currVal_4); var currVal_5 = _co.dayMoment.day(2).format(\"dd\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = _co.dayMoment.day(3).format(\"dd\"); _ck(_v, 22, 0, currVal_6); var currVal_7 = _co.dayMoment.day(4).format(\"dd\"); _ck(_v, 24, 0, currVal_7); var currVal_8 = _co.dayMoment.day(5).format(\"dd\"); _ck(_v, 26, 0, currVal_8); var currVal_9 = _co.dayMoment.day(6).format(\"dd\"); _ck(_v, 28, 0, currVal_9); var currVal_10 = _co.dayMoment.day(0).format(\"dd\"); _ck(_v, 30, 0, currVal_10); }); }\nfunction View_InputDateComponent_17(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 102, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 96, \"div\", [[\"class\", \"sym-datetime-content sym-hours-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(1, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 01 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(2, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 02 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(3, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 03 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(4, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 04 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(6, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 06 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(7, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 07 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(8, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 08 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(9, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 09 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(11, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 11 \"])), (_l()(), i2.ɵeld(55, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(12, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(56, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(57, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 12 \"])), (_l()(), i2.ɵeld(59, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(13, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(60, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(61, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 13 \"])), (_l()(), i2.ɵeld(63, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(14, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(64, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(65, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 14 \"])), (_l()(), i2.ɵeld(67, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(68, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(69, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(71, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(16, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(72, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(73, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 16 \"])), (_l()(), i2.ɵeld(75, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(17, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(76, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(77, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 17 \"])), (_l()(), i2.ɵeld(79, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(18, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(80, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(81, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 18 \"])), (_l()(), i2.ɵeld(83, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(19, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(84, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(85, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 19 \"])), (_l()(), i2.ɵeld(87, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(88, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(89, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(91, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(21, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(92, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(93, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 21 \"])), (_l()(), i2.ɵeld(95, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(22, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(96, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(97, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 22 \"])), (_l()(), i2.ɵeld(99, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(23, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(100, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(101, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 23 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-hours-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"hours\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-hours-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(1, \"hours\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-hours-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(2, \"hours\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-hours-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(3, \"hours\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-hours-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(4, \"hours\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-hours-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(5, \"hours\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-hours-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(6, \"hours\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-hours-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(7, \"hours\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-hours-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(8, \"hours\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-hours-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(9, \"hours\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-hours-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(10, \"hours\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-hours-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(11, \"hours\")); _ck(_v, 52, 0, currVal_24, currVal_25); var currVal_26 = \"sym-datetime-slot sym-hours-slot\"; var currVal_27 = _ck(_v, 57, 0, _co.isTime(12, \"hours\")); _ck(_v, 56, 0, currVal_26, currVal_27); var currVal_28 = \"sym-datetime-slot sym-hours-slot\"; var currVal_29 = _ck(_v, 61, 0, _co.isTime(13, \"hours\")); _ck(_v, 60, 0, currVal_28, currVal_29); var currVal_30 = \"sym-datetime-slot sym-hours-slot\"; var currVal_31 = _ck(_v, 65, 0, _co.isTime(14, \"hours\")); _ck(_v, 64, 0, currVal_30, currVal_31); var currVal_32 = \"sym-datetime-slot sym-hours-slot\"; var currVal_33 = _ck(_v, 69, 0, _co.isTime(15, \"hours\")); _ck(_v, 68, 0, currVal_32, currVal_33); var currVal_34 = \"sym-datetime-slot sym-hours-slot\"; var currVal_35 = _ck(_v, 73, 0, _co.isTime(16, \"hours\")); _ck(_v, 72, 0, currVal_34, currVal_35); var currVal_36 = \"sym-datetime-slot sym-hours-slot\"; var currVal_37 = _ck(_v, 77, 0, _co.isTime(17, \"hours\")); _ck(_v, 76, 0, currVal_36, currVal_37); var currVal_38 = \"sym-datetime-slot sym-hours-slot\"; var currVal_39 = _ck(_v, 81, 0, _co.isTime(18, \"hours\")); _ck(_v, 80, 0, currVal_38, currVal_39); var currVal_40 = \"sym-datetime-slot sym-hours-slot\"; var currVal_41 = _ck(_v, 85, 0, _co.isTime(19, \"hours\")); _ck(_v, 84, 0, currVal_40, currVal_41); var currVal_42 = \"sym-datetime-slot sym-hours-slot\"; var currVal_43 = _ck(_v, 89, 0, _co.isTime(20, \"hours\")); _ck(_v, 88, 0, currVal_42, currVal_43); var currVal_44 = \"sym-datetime-slot sym-hours-slot\"; var currVal_45 = _ck(_v, 93, 0, _co.isTime(21, \"hours\")); _ck(_v, 92, 0, currVal_44, currVal_45); var currVal_46 = \"sym-datetime-slot sym-hours-slot\"; var currVal_47 = _ck(_v, 97, 0, _co.isTime(22, \"hours\")); _ck(_v, 96, 0, currVal_46, currVal_47); var currVal_48 = \"sym-datetime-slot sym-hours-slot\"; var currVal_49 = _ck(_v, 101, 0, _co.isTime(23, \"hours\")); _ck(_v, 100, 0, currVal_48, currVal_49); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_HOURS\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputDateComponent_18(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 54, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 48, \"div\", [[\"class\", \"sym-datetime-content sym-minutes-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(25, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 25 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(30, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 30 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(35, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 35 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(40, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 40 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(45, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 45 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(50, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 50 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(55, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 55 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"minutes\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(5, \"minutes\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(10, \"minutes\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(15, \"minutes\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(20, \"minutes\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(25, \"minutes\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(30, \"minutes\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(35, \"minutes\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(40, \"minutes\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(45, \"minutes\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(50, \"minutes\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(55, \"minutes\")); _ck(_v, 52, 0, currVal_24, currVal_25); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_MINUTES\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputDateComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"dropdown-menu sym-datetime-dropdown sym-p-a\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_4)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_8)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_12)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_17)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_18)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown-menu sym-datetime-dropdown sym-p-a\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = (_co.state === \"year\"); _ck(_v, 4, 0, currVal_2); var currVal_3 = (_co.state === \"month\"); _ck(_v, 6, 0, currVal_3); var currVal_4 = (_co.state === \"day\"); _ck(_v, 8, 0, currVal_4); var currVal_5 = (_co.state === \"hours\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_co.state === \"minutes\"); _ck(_v, 12, 0, currVal_6); }, null); }\nfunction View_InputDateComponent_19(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDateComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 23, \"div\", [[\"class\", \"dropdown\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0, \"sym-has-errors\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 10, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"focus\"], [null, \"blur\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 7)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 7)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (i2.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i2.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_6 = (i2.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_6 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_7 = (i2.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.valueAsText = $event) !== false);\n ad = (pd_8 && ad);\n } if ((\"focus\" === en)) {\n var pd_9 = (_co.setClose() !== false);\n ad = (pd_9 && ad);\n } if ((\"blur\" === en)) {\n var pd_10 = (_co.leaveViaBlur() !== false);\n ad = (pd_10 && ad);\n } return ad; }, null, null)), i2.ɵdid(5, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(6, { \"sym-invalid\": 0 }), i2.ɵdid(7, 16384, null, 0, i6.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵdid(8, 540672, null, 0, i7.MaskedInputDirective, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], { textMaskConfig: [0, \"textMaskConfig\"] }, null), i2.ɵpod(9, { mask: 0, pipe: 1, keepCharPositions: 2 }), i2.ɵprd(1024, null, i6.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i6.DefaultValueAccessor, i7.MaskedInputDirective]), i2.ɵdid(11, 671744, null, 0, i6.NgModel, [[8, null], [8, null], [8, null], [6, i6.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i6.NgControl, null, [i6.NgModel]), i2.ɵdid(13, 16384, null, 0, i6.NgControlStatus, [[4, i6.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(15, 0, null, null, 4, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleDropdown() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(17, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(18, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(19, { \"sym-icon-date\": 0, \"sym-icon-time\": 1 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_3)), i2.ɵdid(21, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_19)), i2.ɵdid(23, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen(), _co.hasErrors()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_10 = \"form-control\"; var currVal_11 = _ck(_v, 6, 0, !_co.isValidInput()); _ck(_v, 5, 0, currVal_10, currVal_11); var currVal_12 = _ck(_v, 9, 0, _co.mask, _co.pipe, true); _ck(_v, 8, 0, currVal_12); var currVal_13 = _co.valueAsText; _ck(_v, 11, 0, currVal_13); var currVal_14 = \"icon\"; var currVal_15 = _ck(_v, 19, 0, _co.isAllowed(\"day\"), !_co.isAllowed(\"day\")); _ck(_v, 18, 0, currVal_14, currVal_15); var currVal_16 = _co.isOpen(); _ck(_v, 21, 0, currVal_16); var currVal_17 = _co.validationErrors; _ck(_v, 23, 0, currVal_17); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 14).transform(_co.placeholderKey)); var currVal_3 = i2.ɵnov(_v, 13).ngClassUntouched; var currVal_4 = i2.ɵnov(_v, 13).ngClassTouched; var currVal_5 = i2.ɵnov(_v, 13).ngClassPristine; var currVal_6 = i2.ɵnov(_v, 13).ngClassDirty; var currVal_7 = i2.ɵnov(_v, 13).ngClassValid; var currVal_8 = i2.ɵnov(_v, 13).ngClassInvalid; var currVal_9 = i2.ɵnov(_v, 13).ngClassPending; _ck(_v, 4, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nexport function View_InputDateComponent_0(_l) { return i2.ɵvid(0, [i2.ɵpid(0, i8.DateFormatPipe, []), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateComponent_2)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_InputDateComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-date\", [], null, null, null, View_InputDateComponent_0, RenderType_InputDateComponent)), i2.ɵdid(1, 180224, null, 0, i9.InputDateComponent, [i10.LocalisationService], null, null)], null, null); }\nvar InputDateComponentNgFactory = i2.ɵccf(\"sym-input-date\", i9.InputDateComponent, View_InputDateComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", format: \"format\" }, { valueChange: \"valueChange\" }, []);\nexport { InputDateComponentNgFactory as InputDateComponentNgFactory };\n","/**\n* @file Fieldset component for date input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the date fieldset component\n */\nvar FieldsetDateComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetDateComponent, _super);\n /**\n * Constructs a FieldsetDateComponent\n */\n function FieldsetDateComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetDateComponent.register = function () {\n ComponentRegistry.register('fieldset', 'date', FieldsetDateComponent);\n };\n return FieldsetDateComponent;\n}(FieldsetBase));\nexport { FieldsetDateComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for date input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-date/input-date.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-date/input-date.component\";\nimport * as i8 from \"../../../core/localisation.service\";\nimport * as i9 from \"./fieldset-date.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetDateComponent = [i0.styles];\nvar RenderType_FieldsetDateComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetDateComponent, data: {} });\nexport { RenderType_FieldsetDateComponent as RenderType_FieldsetDateComponent };\nfunction View_FieldsetDateComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetDateComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetDateComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetDateComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetDateComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-date\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputDateComponent_0, i6.RenderType_InputDateComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputDateComponent, [i8.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetDateComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-date\", [], null, null, null, View_FieldsetDateComponent_0, RenderType_FieldsetDateComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetDateComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetDateComponentNgFactory = i1.ɵccf(\"sym-fieldset-date\", i9.FieldsetDateComponent, View_FieldsetDateComponent_Host_0, {}, {}, []);\nexport { FieldsetDateComponentNgFactory as FieldsetDateComponentNgFactory };\n","/**\n * @file Pipe used for capitalizing a string\n * @author Heino Lenting\n */\nimport { PipeTransform } from '@angular/core';\n/**\n * The class for capitalize functionality\n */\nvar CapitalizePipe = /** @class */ (function () {\n function CapitalizePipe() {\n }\n /**\n * Returns the string parameter with the first character capitalized\n * @param {*} value The string to be capitalized\n * @param {*} [restLower=false] The rest of the string is in lower case if the parameter is true\n * @returns A capitalized string\n */\n CapitalizePipe.prototype.transform = function (value, restLower) {\n if (restLower === void 0) { restLower = false; }\n if (value) {\n return value.charAt(0).toUpperCase() + (restLower ? value.toLowerCase() : value).slice(1);\n }\n return value;\n };\n return CapitalizePipe;\n}());\nexport { CapitalizePipe };\n","/**\n * @file Input component for label input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the label input component\n */\nvar InputLabelComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputLabelComponent, _super);\n function InputLabelComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.translate = false;\n return _this;\n }\n Object.defineProperty(InputLabelComponent.prototype, \"isAllCaps\", {\n /**\n * Gets a value indicating whether the value is all in capitals.\n *\n * @readonly\n * @type {boolean}\n */\n get: function () {\n if (!this.value) {\n return false;\n }\n return this.value.toUpperCase() === this.value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputLabelComponent.prototype, \"diplayMode\", {\n get: function () {\n if (this.translate) {\n return 'TRANSLATE';\n }\n if (this.isAllCaps) {\n return 'ALL-CAPITALS';\n }\n return 'DEFAULT';\n },\n enumerable: true,\n configurable: true\n });\n return InputLabelComponent;\n}(InputBase));\nexport { InputLabelComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for label input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../pipes/capitalize.pipe\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./input-label.component\";\nvar styles_InputLabelComponent = [i0.styles];\nvar RenderType_InputLabelComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputLabelComponent, data: {} });\nexport { RenderType_InputLabelComponent as RenderType_InputLabelComponent };\nfunction View_InputLabelComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_co.value)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputLabelComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent, 0), _co.value.toLowerCase())); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputLabelComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.value; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputLabelComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InputLabelComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.CapitalizePipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"div\", [], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-has-errors\": 0 }), i1.ɵdid(4, 16384, null, 0, i4.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputLabelComponent_1)), i1.ɵdid(6, 278528, null, 0, i4.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputLabelComponent_2)), i1.ɵdid(8, 278528, null, 0, i4.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputLabelComponent_3)), i1.ɵdid(10, 278528, null, 0, i4.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputLabelComponent_4)), i1.ɵdid(12, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.hasErrors()); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.diplayMode; _ck(_v, 4, 0, currVal_1); var currVal_2 = \"TRANSLATE\"; _ck(_v, 6, 0, currVal_2); var currVal_3 = \"ALL-CAPITALS\"; _ck(_v, 8, 0, currVal_3); var currVal_4 = \"DEFAULT\"; _ck(_v, 10, 0, currVal_4); var currVal_5 = _co.validationErrors; _ck(_v, 12, 0, currVal_5); }, null); }\nexport function View_InputLabelComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-label\", [], null, null, null, View_InputLabelComponent_0, RenderType_InputLabelComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputLabelComponent, [], null, null)], null, null); }\nvar InputLabelComponentNgFactory = i1.ɵccf(\"sym-input-label\", i5.InputLabelComponent, View_InputLabelComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", translate: \"translate\" }, { valueChange: \"valueChange\" }, []);\nexport { InputLabelComponentNgFactory as InputLabelComponentNgFactory };\n","/**\n* @file Fieldset component for label input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the label fieldset component\n */\nvar FieldsetLabelComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetLabelComponent, _super);\n /**\n * Constructs a FieldsetLabelComponent\n */\n function FieldsetLabelComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetLabelComponent.register = function () {\n ComponentRegistry.register('fieldset', 'label', FieldsetLabelComponent);\n };\n Object.defineProperty(FieldsetLabelComponent.prototype, \"translate\", {\n get: function () {\n return this.provider.field.format ? this.provider.field.format.isLabelKey : false;\n },\n enumerable: true,\n configurable: true\n });\n return FieldsetLabelComponent;\n}(FieldsetBase));\nexport { FieldsetLabelComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for label input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-label/input-label.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-label/input-label.component\";\nimport * as i8 from \"./fieldset-label.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetLabelComponent = [i0.styles];\nvar RenderType_FieldsetLabelComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetLabelComponent, data: {} });\nexport { RenderType_FieldsetLabelComponent as RenderType_FieldsetLabelComponent };\nfunction View_FieldsetLabelComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetLabelComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetLabelComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLabelComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLabelComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"sym-input-label\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputLabelComponent_0, i6.RenderType_InputLabelComponent)), i1.ɵdid(12, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), i1.ɵdid(13, 180224, null, 0, i7.InputLabelComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], translate: [4, \"translate\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.translate; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.provider.field.required; var currVal_5 = _co.provider.field.readonly; var currVal_6 = _co.provider.control; var currVal_7 = _co.provider.value; var currVal_8 = _co.translate; _ck(_v, 13, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetLabelComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-label\", [], null, null, null, View_FieldsetLabelComponent_0, RenderType_FieldsetLabelComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetLabelComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetLabelComponentNgFactory = i1.ɵccf(\"sym-fieldset-label\", i8.FieldsetLabelComponent, View_FieldsetLabelComponent_Host_0, {}, {}, []);\nexport { FieldsetLabelComponentNgFactory as FieldsetLabelComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for date input\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-datetime.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i6 from \"@angular/forms\";\nimport * as i7 from \"angular2-text-mask\";\nimport * as i8 from \"ngx-moment\";\nimport * as i9 from \"./input-datetime.component\";\nimport * as i10 from \"../../../core/localisation.service\";\nvar styles_InputDateTimeComponent = [i0.styles, i1.styles];\nvar RenderType_InputDateTimeComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputDateTimeComponent, data: {} });\nexport { RenderType_InputDateTimeComponent as RenderType_InputDateTimeComponent };\nfunction View_InputDateTimeComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵppd(3, 2)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 2, 0, _ck(_v, 3, 0, i2.ɵnov(_v.parent, 0), _co.value, _co.formatString)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDateTimeComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-year-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-year-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"year\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"YYYY\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputDateTimeComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateTimeComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateTimeComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 10)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \" - \", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(10) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-year-set sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_5)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_6)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_7)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_3 = _co.displayYears; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.allowToday; _ck(_v, 15, 0, currVal_4); var currVal_5 = _co.allowInfinity; _ck(_v, 17, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayYears[0].format(\"YYYY\"); var currVal_2 = _co.displayYears[11].format(\"YYYY\"); _ck(_v, 7, 0, currVal_1, currVal_2); }); }\nfunction View_InputDateTimeComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-month-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-month-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"month\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"MMM\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputDateTimeComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateTimeComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateTimeComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-month-set sym-m-t sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_9)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_10)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_11)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.displayMonths; _ck(_v, 12, 0, currVal_2); var currVal_3 = _co.allowToday; _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.allowInfinity; _ck(_v, 17, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"YYYY\"); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_InputDateTimeComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"day\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-outside-month\": 0, \"sym-range\": 1, \"sym-active\": 2, \"sym-today\": 3 }), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"sym-day-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-day-grid-cell\"; var currVal_1 = _ck(_v, 2, 0, (_v.context.$implicit.month() != _co.displayDate.month()), _co.inRange(_v.context.$implicit), _co.isDate(_v.context.$implicit, \"day\"), _co.isToday(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.date(); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_InputDateTimeComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-row clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_14)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.days; _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.number; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDateTimeComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateTimeComponent_16(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputDateTimeComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 37, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 9, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 20, \"div\", [[\"class\", \"sym-day-grid sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(13, 0, null, null, 17, \"div\", [[\"class\", \"sym-day-grid-header clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(15, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(17, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(18, null, [\"\", \"\"])), (_l()(), i2.ɵeld(19, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(20, null, [\"\", \"\"])), (_l()(), i2.ɵeld(21, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(22, null, [\"\", \"\"])), (_l()(), i2.ɵeld(23, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(24, null, [\"\", \"\"])), (_l()(), i2.ɵeld(25, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(26, null, [\"\", \"\"])), (_l()(), i2.ɵeld(27, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(28, null, [\"\", \"\"])), (_l()(), i2.ɵeld(29, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(30, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_13)), i2.ɵdid(32, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(33, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_15)), i2.ɵdid(35, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_16)), i2.ɵdid(37, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_11 = _co.displayWeeks; _ck(_v, 32, 0, currVal_11); var currVal_12 = _co.allowToday; _ck(_v, 35, 0, currVal_12); var currVal_13 = _co.allowInfinity; _ck(_v, 37, 0, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"MMM\"); _ck(_v, 7, 0, currVal_1); var currVal_2 = _co.displayDate.format(\"YYYY\"); _ck(_v, 9, 0, currVal_2); var currVal_3 = i2.ɵunv(_v, 15, 0, i2.ɵnov(_v, 16).transform(\"APP.INPUTS.WK\")); _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.dayMoment.day(1).format(\"dd\"); _ck(_v, 18, 0, currVal_4); var currVal_5 = _co.dayMoment.day(2).format(\"dd\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = _co.dayMoment.day(3).format(\"dd\"); _ck(_v, 22, 0, currVal_6); var currVal_7 = _co.dayMoment.day(4).format(\"dd\"); _ck(_v, 24, 0, currVal_7); var currVal_8 = _co.dayMoment.day(5).format(\"dd\"); _ck(_v, 26, 0, currVal_8); var currVal_9 = _co.dayMoment.day(6).format(\"dd\"); _ck(_v, 28, 0, currVal_9); var currVal_10 = _co.dayMoment.day(0).format(\"dd\"); _ck(_v, 30, 0, currVal_10); }); }\nfunction View_InputDateTimeComponent_17(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 102, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 96, \"div\", [[\"class\", \"sym-datetime-content sym-hours-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(1, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 01 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(2, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 02 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(3, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 03 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(4, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 04 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(6, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 06 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(7, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 07 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(8, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 08 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(9, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 09 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(11, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 11 \"])), (_l()(), i2.ɵeld(55, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(12, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(56, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(57, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 12 \"])), (_l()(), i2.ɵeld(59, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(13, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(60, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(61, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 13 \"])), (_l()(), i2.ɵeld(63, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(14, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(64, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(65, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 14 \"])), (_l()(), i2.ɵeld(67, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(68, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(69, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(71, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(16, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(72, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(73, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 16 \"])), (_l()(), i2.ɵeld(75, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(17, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(76, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(77, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 17 \"])), (_l()(), i2.ɵeld(79, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(18, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(80, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(81, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 18 \"])), (_l()(), i2.ɵeld(83, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(19, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(84, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(85, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 19 \"])), (_l()(), i2.ɵeld(87, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(88, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(89, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(91, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(21, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(92, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(93, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 21 \"])), (_l()(), i2.ɵeld(95, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(22, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(96, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(97, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 22 \"])), (_l()(), i2.ɵeld(99, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(23, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(100, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(101, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 23 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-hours-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"hours\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-hours-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(1, \"hours\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-hours-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(2, \"hours\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-hours-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(3, \"hours\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-hours-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(4, \"hours\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-hours-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(5, \"hours\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-hours-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(6, \"hours\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-hours-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(7, \"hours\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-hours-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(8, \"hours\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-hours-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(9, \"hours\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-hours-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(10, \"hours\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-hours-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(11, \"hours\")); _ck(_v, 52, 0, currVal_24, currVal_25); var currVal_26 = \"sym-datetime-slot sym-hours-slot\"; var currVal_27 = _ck(_v, 57, 0, _co.isTime(12, \"hours\")); _ck(_v, 56, 0, currVal_26, currVal_27); var currVal_28 = \"sym-datetime-slot sym-hours-slot\"; var currVal_29 = _ck(_v, 61, 0, _co.isTime(13, \"hours\")); _ck(_v, 60, 0, currVal_28, currVal_29); var currVal_30 = \"sym-datetime-slot sym-hours-slot\"; var currVal_31 = _ck(_v, 65, 0, _co.isTime(14, \"hours\")); _ck(_v, 64, 0, currVal_30, currVal_31); var currVal_32 = \"sym-datetime-slot sym-hours-slot\"; var currVal_33 = _ck(_v, 69, 0, _co.isTime(15, \"hours\")); _ck(_v, 68, 0, currVal_32, currVal_33); var currVal_34 = \"sym-datetime-slot sym-hours-slot\"; var currVal_35 = _ck(_v, 73, 0, _co.isTime(16, \"hours\")); _ck(_v, 72, 0, currVal_34, currVal_35); var currVal_36 = \"sym-datetime-slot sym-hours-slot\"; var currVal_37 = _ck(_v, 77, 0, _co.isTime(17, \"hours\")); _ck(_v, 76, 0, currVal_36, currVal_37); var currVal_38 = \"sym-datetime-slot sym-hours-slot\"; var currVal_39 = _ck(_v, 81, 0, _co.isTime(18, \"hours\")); _ck(_v, 80, 0, currVal_38, currVal_39); var currVal_40 = \"sym-datetime-slot sym-hours-slot\"; var currVal_41 = _ck(_v, 85, 0, _co.isTime(19, \"hours\")); _ck(_v, 84, 0, currVal_40, currVal_41); var currVal_42 = \"sym-datetime-slot sym-hours-slot\"; var currVal_43 = _ck(_v, 89, 0, _co.isTime(20, \"hours\")); _ck(_v, 88, 0, currVal_42, currVal_43); var currVal_44 = \"sym-datetime-slot sym-hours-slot\"; var currVal_45 = _ck(_v, 93, 0, _co.isTime(21, \"hours\")); _ck(_v, 92, 0, currVal_44, currVal_45); var currVal_46 = \"sym-datetime-slot sym-hours-slot\"; var currVal_47 = _ck(_v, 97, 0, _co.isTime(22, \"hours\")); _ck(_v, 96, 0, currVal_46, currVal_47); var currVal_48 = \"sym-datetime-slot sym-hours-slot\"; var currVal_49 = _ck(_v, 101, 0, _co.isTime(23, \"hours\")); _ck(_v, 100, 0, currVal_48, currVal_49); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_HOURS\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputDateTimeComponent_18(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 54, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 48, \"div\", [[\"class\", \"sym-datetime-content sym-minutes-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(25, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 25 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(30, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 30 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(35, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 35 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(40, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 40 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(45, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 45 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(50, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 50 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(55, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 55 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"minutes\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(5, \"minutes\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(10, \"minutes\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(15, \"minutes\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(20, \"minutes\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(25, \"minutes\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(30, \"minutes\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(35, \"minutes\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(40, \"minutes\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(45, \"minutes\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(50, \"minutes\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(55, \"minutes\")); _ck(_v, 52, 0, currVal_24, currVal_25); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_MINUTES\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputDateTimeComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"dropdown-menu sym-datetime-dropdown sym-p-a\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_4)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_8)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_12)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_17)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_18)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown-menu sym-datetime-dropdown sym-p-a\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = (_co.state === \"year\"); _ck(_v, 4, 0, currVal_2); var currVal_3 = (_co.state === \"month\"); _ck(_v, 6, 0, currVal_3); var currVal_4 = (_co.state === \"day\"); _ck(_v, 8, 0, currVal_4); var currVal_5 = (_co.state === \"hours\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_co.state === \"minutes\"); _ck(_v, 12, 0, currVal_6); }, null); }\nfunction View_InputDateTimeComponent_19(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputDateTimeComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 23, \"div\", [[\"class\", \"dropdown\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0, \"sym-has-errors\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 10, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"focus\"], [null, \"blur\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 7)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 7)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (i2.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i2.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_6 = (i2.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_6 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_7 = (i2.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.valueAsText = $event) !== false);\n ad = (pd_8 && ad);\n } if ((\"focus\" === en)) {\n var pd_9 = (_co.setClose() !== false);\n ad = (pd_9 && ad);\n } if ((\"blur\" === en)) {\n var pd_10 = (_co.leaveViaBlur() !== false);\n ad = (pd_10 && ad);\n } return ad; }, null, null)), i2.ɵdid(5, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(6, { \"sym-invalid\": 0 }), i2.ɵdid(7, 16384, null, 0, i6.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵdid(8, 540672, null, 0, i7.MaskedInputDirective, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], { textMaskConfig: [0, \"textMaskConfig\"] }, null), i2.ɵpod(9, { mask: 0, pipe: 1, keepCharPositions: 2 }), i2.ɵprd(1024, null, i6.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i6.DefaultValueAccessor, i7.MaskedInputDirective]), i2.ɵdid(11, 671744, null, 0, i6.NgModel, [[8, null], [8, null], [8, null], [6, i6.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i6.NgControl, null, [i6.NgModel]), i2.ɵdid(13, 16384, null, 0, i6.NgControlStatus, [[4, i6.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(15, 0, null, null, 4, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleDropdown() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(17, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(18, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(19, { \"sym-icon-date\": 0, \"sym-icon-time\": 1 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_3)), i2.ɵdid(21, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_19)), i2.ɵdid(23, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen(), _co.hasErrors()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_10 = \"form-control\"; var currVal_11 = _ck(_v, 6, 0, !_co.isValidInput()); _ck(_v, 5, 0, currVal_10, currVal_11); var currVal_12 = _ck(_v, 9, 0, _co.mask, _co.pipe, true); _ck(_v, 8, 0, currVal_12); var currVal_13 = _co.valueAsText; _ck(_v, 11, 0, currVal_13); var currVal_14 = \"icon\"; var currVal_15 = _ck(_v, 19, 0, _co.isAllowed(\"day\"), !_co.isAllowed(\"day\")); _ck(_v, 18, 0, currVal_14, currVal_15); var currVal_16 = _co.isOpen(); _ck(_v, 21, 0, currVal_16); var currVal_17 = _co.validationErrors; _ck(_v, 23, 0, currVal_17); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 14).transform(_co.placeholderKey)); var currVal_3 = i2.ɵnov(_v, 13).ngClassUntouched; var currVal_4 = i2.ɵnov(_v, 13).ngClassTouched; var currVal_5 = i2.ɵnov(_v, 13).ngClassPristine; var currVal_6 = i2.ɵnov(_v, 13).ngClassDirty; var currVal_7 = i2.ɵnov(_v, 13).ngClassValid; var currVal_8 = i2.ɵnov(_v, 13).ngClassInvalid; var currVal_9 = i2.ɵnov(_v, 13).ngClassPending; _ck(_v, 4, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nexport function View_InputDateTimeComponent_0(_l) { return i2.ɵvid(0, [i2.ɵpid(0, i8.DateFormatPipe, []), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputDateTimeComponent_2)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_InputDateTimeComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-datetime\", [], null, null, null, View_InputDateTimeComponent_0, RenderType_InputDateTimeComponent)), i2.ɵdid(1, 180224, null, 0, i9.InputDateTimeComponent, [i10.LocalisationService], null, null)], null, null); }\nvar InputDateTimeComponentNgFactory = i2.ɵccf(\"sym-input-datetime\", i9.InputDateTimeComponent, View_InputDateTimeComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", format: \"format\" }, { valueChange: \"valueChange\" }, []);\nexport { InputDateTimeComponentNgFactory as InputDateTimeComponentNgFactory };\n","/**\n* @file Fieldset component for datetime input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the datetime fieldset component\n */\nvar FieldsetDatetimeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetDatetimeComponent, _super);\n /**\n * Constructs a FieldsetDatetimeComponent\n */\n function FieldsetDatetimeComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetDatetimeComponent.register = function () {\n ComponentRegistry.register('fieldset', 'datetime', FieldsetDatetimeComponent);\n };\n return FieldsetDatetimeComponent;\n}(FieldsetBase));\nexport { FieldsetDatetimeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for datetime input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-datetime/input-datetime.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-datetime/input-datetime.component\";\nimport * as i8 from \"../../../core/localisation.service\";\nimport * as i9 from \"./fieldset-datetime.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetDatetimeComponent = [i0.styles];\nvar RenderType_FieldsetDatetimeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetDatetimeComponent, data: {} });\nexport { RenderType_FieldsetDatetimeComponent as RenderType_FieldsetDatetimeComponent };\nfunction View_FieldsetDatetimeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetDatetimeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetDatetimeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetDatetimeComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetDatetimeComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-datetime\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputDateTimeComponent_0, i6.RenderType_InputDateTimeComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputDateTimeComponent, [i8.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetDatetimeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-datetime\", [], null, null, null, View_FieldsetDatetimeComponent_0, RenderType_FieldsetDatetimeComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetDatetimeComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetDatetimeComponentNgFactory = i1.ɵccf(\"sym-fieldset-datetime\", i9.FieldsetDatetimeComponent, View_FieldsetDatetimeComponent_Host_0, {}, {}, []);\nexport { FieldsetDatetimeComponentNgFactory as FieldsetDatetimeComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { Validator } from 'breeze-client';\n/**\n * Class for the email input component\n */\nvar InputEmailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputEmailComponent, _super);\n function InputEmailComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputEmailComponent\n */\n InputEmailComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (Validator.emailAddress().validate(newValue)) {\n var errorKey = 'emailAddress';\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputEmailComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputEmailComponent;\n}(InputStringBase));\nexport { InputEmailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-email.component\";\nvar styles_InputEmailComponent = [i0.styles];\nvar RenderType_InputEmailComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputEmailComponent, data: {} });\nexport { RenderType_InputEmailComponent as RenderType_InputEmailComponent };\nfunction View_InputEmailComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"a\", [], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"mailto:\", _co.value, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.value, \"\"); _ck(_v, 2, 0, currVal_1); var currVal_2 = _co.value; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputEmailComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputEmailComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-email\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputEmailComponent_3)), i1.ɵdid(20, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_11 = _co.control; _ck(_v, 7, 0, currVal_11); var currVal_13 = \"btn btn-secondary btn-sm\"; var currVal_14 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_13, currVal_14); var currVal_16 = _co.validationErrors; _ck(_v, 20, 0, currVal_16); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.EMAIL_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵinlineInterpolate(1, \"\", _co.value, \"\"); var currVal_4 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_6 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_7 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_8 = i1.ɵnov(_v, 9).ngClassValid; var currVal_9 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_10 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); var currVal_12 = i1.ɵinlineInterpolate(1, \"mailto:\", _co.value, \"\"); _ck(_v, 12, 0, currVal_12); var currVal_15 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.MAIL\")); _ck(_v, 17, 0, currVal_15); }); }\nexport function View_InputEmailComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputEmailComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputEmailComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputEmailComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-email\", [], null, null, null, View_InputEmailComponent_0, RenderType_InputEmailComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputEmailComponent, [], null, null)], null, null); }\nvar InputEmailComponentNgFactory = i1.ɵccf(\"sym-input-email\", i5.InputEmailComponent, View_InputEmailComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputEmailComponentNgFactory as InputEmailComponentNgFactory };\n","/**\n* @file Fieldset component for email input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the email fieldset component\n */\nvar FieldsetEmailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetEmailComponent, _super);\n /**\n * Constructs a FieldsetEmailComponent\n */\n function FieldsetEmailComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetEmailComponent.register = function () {\n ComponentRegistry.register('fieldset', 'email', FieldsetEmailComponent);\n };\n return FieldsetEmailComponent;\n}(FieldsetBase));\nexport { FieldsetEmailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for email input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-email/input-email.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-email/input-email.component\";\nimport * as i8 from \"./fieldset-email.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetEmailComponent = [i0.styles];\nvar RenderType_FieldsetEmailComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetEmailComponent, data: {} });\nexport { RenderType_FieldsetEmailComponent as RenderType_FieldsetEmailComponent };\nfunction View_FieldsetEmailComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetEmailComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetEmailComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetEmailComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetEmailComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-email\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputEmailComponent_0, i6.RenderType_InputEmailComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputEmailComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetEmailComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-email\", [], null, null, null, View_FieldsetEmailComponent_0, RenderType_FieldsetEmailComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetEmailComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetEmailComponentNgFactory = i1.ɵccf(\"sym-fieldset-email\", i8.FieldsetEmailComponent, View_FieldsetEmailComponent_Host_0, {}, {}, []);\nexport { FieldsetEmailComponentNgFactory as FieldsetEmailComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the number input component\n */\nvar InputNumberComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputNumberComponent, _super);\n function InputNumberComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return InputNumberComponent;\n}(InputBase));\nexport { InputNumberComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-number.component\";\nvar styles_InputNumberComponent = [i0.styles];\nvar RenderType_InputNumberComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputNumberComponent, data: {} });\nexport { RenderType_InputNumberComponent as RenderType_InputNumberComponent };\nfunction View_InputNumberComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.value; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputNumberComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputNumberComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 9, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"col-6 col-md-12 col-lg-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"max\", \"999\"], [\"min\", \"0\"], [\"step\", \"1\"], [\"type\", \"number\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 6)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 6)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 6)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"input\" === en)) {\n var pd_7 = (_co.valueInput($event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(6, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(7, 16384, null, 0, i4.ɵangular_packages_forms_forms_be, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i4.DefaultValueAccessor, i4.ɵangular_packages_forms_forms_be]), i1.ɵdid(9, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(11, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputNumberComponent_3)), i1.ɵdid(14, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 9, 0, currVal_10); var currVal_11 = _co.validationErrors; _ck(_v, 14, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 12).transform(\"APP.INPUTS.NUMBER_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 11).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 11).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 11).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 11).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 11).ngClassValid; var currVal_8 = i1.ɵnov(_v, 11).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 11).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nexport function View_InputNumberComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputNumberComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputNumberComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputNumberComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-number\", [], null, null, null, View_InputNumberComponent_0, RenderType_InputNumberComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputNumberComponent, [], null, null)], null, null); }\nvar InputNumberComponentNgFactory = i1.ɵccf(\"sym-input-number\", i5.InputNumberComponent, View_InputNumberComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputNumberComponentNgFactory as InputNumberComponentNgFactory };\n","/**\n* @file Fieldset component for number input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the number fieldset component\n */\nvar FieldsetNumberComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetNumberComponent, _super);\n /**\n * Constructs a FieldsetNumberComponent\n */\n function FieldsetNumberComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetNumberComponent.register = function () {\n ComponentRegistry.register('fieldset', 'number', FieldsetNumberComponent);\n };\n return FieldsetNumberComponent;\n}(FieldsetBase));\nexport { FieldsetNumberComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for number input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-number/input-number.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-number/input-number.component\";\nimport * as i8 from \"./fieldset-number.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetNumberComponent = [i0.styles];\nvar RenderType_FieldsetNumberComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetNumberComponent, data: {} });\nexport { RenderType_FieldsetNumberComponent as RenderType_FieldsetNumberComponent };\nfunction View_FieldsetNumberComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetNumberComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetNumberComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetNumberComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetNumberComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-number\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputNumberComponent_0, i6.RenderType_InputNumberComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputNumberComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetNumberComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-number\", [], null, null, null, View_FieldsetNumberComponent_0, RenderType_FieldsetNumberComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetNumberComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetNumberComponentNgFactory = i1.ɵccf(\"sym-fieldset-number\", i8.FieldsetNumberComponent, View_FieldsetNumberComponent_Host_0, {}, {}, []);\nexport { FieldsetNumberComponentNgFactory as FieldsetNumberComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { Validator } from 'breeze-client';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { CurrencyValidator, NAME_CURRENCY_VALIDATOR } from '../../../core/validators/currency.validator';\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the number currency component\n */\nvar InputCurrencyComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputCurrencyComponent, _super);\n /**\n * Creates an instance of InputCurrencyComponent.\n * @memberOf InputCurrencyComponent\n */\n function InputCurrencyComponent(localisationService) {\n var _this = _super.call(this) || this;\n _this.decimalSeparator = localisationService.currentLanguage.formats.decimal;\n return _this;\n }\n Object.defineProperty(InputCurrencyComponent.prototype, \"stringValue\", {\n /**\n * Gets or sets the displayed value and converts it to the real value.\n * @type {string}\n * @memberOf InputCurrencyComponent\n */\n get: function () {\n return this._stringValue;\n },\n set: function (value) {\n this._stringValue = value;\n this.value = value ? Number.parseFloat(value) : null;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Cancels the input when the user pressed an invalid key.\n * @param {any} event The parameters contains the pressed key.\n * @returns {boolean} True if the user pressed a numeric character, period, comma, backspace, delete, or arrow left/right.\n * @memberOf InputCurrencyComponent\n */\n InputCurrencyComponent.prototype.validateKey = function (event) {\n return event.key === 'Delete' ||\n event.key === 'Backspace' ||\n event.key === 'ArrowLeft' ||\n event.key === 'ArrowRight' ||\n event.key === '.' ||\n /\\d/.test(event.key);\n };\n /**\n * Sets the displayed string value as well as the real value.\n * @param {*} val\n * @memberOf InputCurrencyComponent\n */\n InputCurrencyComponent.prototype.setValue = function (val) {\n this._stringValue = val ? val.toString() : null;\n _super.prototype.setValue.call(this, val);\n };\n /**\n * Validates a new value with the currency validator.\n * @protected\n * @param {*} newValue The new value\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputCurrencyComponent\n */\n InputCurrencyComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (CurrencyValidator().validate(newValue)) {\n var errorKey = NAME_CURRENCY_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the currency validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An Angular control validator.\n * @memberOf InputCurrencyComponent\n */\n InputCurrencyComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputCurrencyComponent;\n}(InputBase));\nexport { InputCurrencyComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-currency.component\";\nimport * as i6 from \"../../../core/localisation.service\";\nvar styles_InputCurrencyComponent = [i0.styles];\nvar RenderType_InputCurrencyComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputCurrencyComponent, data: {} });\nexport { RenderType_InputCurrencyComponent as RenderType_InputCurrencyComponent };\nfunction View_InputCurrencyComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.value; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputCurrencyComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputCurrencyComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 12, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 11, \"div\", [[\"class\", \"col-6 col-md-12 col-lg-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 10, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"input-group-prepend\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary sym-enabled\"], [\"disabled\", \"\"], [\"type\", \"button\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-euro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 6, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"keydown\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 10)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 10).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 10)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 10)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.stringValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } if ((\"keydown\" === en)) {\n var pd_6 = (_co.validateKey($event) !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(10, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(12, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(14, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputCurrencyComponent_3)), i1.ɵdid(17, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 12, 0, currVal_10); var currVal_11 = _co.validationErrors; _ck(_v, 17, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 15).transform(\"APP.INPUTS.CURRENCY_PLACEHOLDER\")), \"\"); var currVal_2 = _co.stringValue; var currVal_3 = i1.ɵnov(_v, 14).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 14).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 14).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 14).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 14).ngClassValid; var currVal_8 = i1.ɵnov(_v, 14).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 14).ngClassPending; _ck(_v, 9, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nexport function View_InputCurrencyComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputCurrencyComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputCurrencyComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputCurrencyComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-currency\", [], null, null, null, View_InputCurrencyComponent_0, RenderType_InputCurrencyComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputCurrencyComponent, [i6.LocalisationService], null, null)], null, null); }\nvar InputCurrencyComponentNgFactory = i1.ɵccf(\"sym-input-currency\", i5.InputCurrencyComponent, View_InputCurrencyComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputCurrencyComponentNgFactory as InputCurrencyComponentNgFactory };\n","/**\n* @file Fieldset component for currency input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the currency fieldset component\n */\nvar FieldsetCurrencyComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetCurrencyComponent, _super);\n /**\n * Constructs a FieldsetCurrencyComponent.\n * @memberOf FieldsetCurrencyComponent\n */\n function FieldsetCurrencyComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider.\n * @memberOf FieldsetCurrencyComponent\n */\n FieldsetCurrencyComponent.register = function () {\n ComponentRegistry.register('fieldset', 'currency', FieldsetCurrencyComponent);\n };\n return FieldsetCurrencyComponent;\n}(FieldsetBase));\nexport { FieldsetCurrencyComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for currency input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-currency/input-currency.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-currency/input-currency.component\";\nimport * as i8 from \"../../../core/localisation.service\";\nimport * as i9 from \"./fieldset-currency.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetCurrencyComponent = [i0.styles];\nvar RenderType_FieldsetCurrencyComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetCurrencyComponent, data: {} });\nexport { RenderType_FieldsetCurrencyComponent as RenderType_FieldsetCurrencyComponent };\nfunction View_FieldsetCurrencyComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetCurrencyComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetCurrencyComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetCurrencyComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetCurrencyComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-currency\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputCurrencyComponent_0, i6.RenderType_InputCurrencyComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputCurrencyComponent, [i8.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetCurrencyComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-currency\", [], null, null, null, View_FieldsetCurrencyComponent_0, RenderType_FieldsetCurrencyComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetCurrencyComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetCurrencyComponentNgFactory = i1.ɵccf(\"sym-fieldset-currency\", i9.FieldsetCurrencyComponent, View_FieldsetCurrencyComponent_Host_0, {}, {}, []);\nexport { FieldsetCurrencyComponentNgFactory as FieldsetCurrencyComponentNgFactory };\n","/**\n * @file Input component for signature input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ElementRef, AfterViewInit, ChangeDetectorRef } from '@angular/core';\nimport { InputBase } from '../input-base/input-base';\nimport { SignaturePad } from 'angular2-signaturepad/signature-pad';\n/**\n * Class for the signature input component\n */\nvar InputSignatureComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputSignatureComponent, _super);\n /**\n * Constructs a Signature Input\n * @param elementRef Reference to the component (in DOM)\n */\n function InputSignatureComponent(elementRef, changeDetectorRef) {\n var _this = _super.call(this) || this;\n _this.elementRef = elementRef;\n _this.changeDetectorRef = changeDetectorRef;\n // Keep track of the signature data\n _this.rawSignatureData = '';\n return _this;\n }\n /** Lifecycle hook that is called after a component's view has been fully initialized. */\n InputSignatureComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n this.canvasContainer = this.elementRef.nativeElement.querySelector('.sym-canvas-container');\n this.canvasSignature = this.elementRef.nativeElement.querySelector('canvas');\n this.setCanvasSize();\n this.changeDetectorRef.detectChanges();\n setTimeout(function () {\n _this.setRawSignatureData(_this.value);\n });\n // Handles the change (outside this component) of value\n this.subscriptionPool.add(this.valueChange.subscribe(function (value) {\n // Fix issue: Error bij zetten handtekening in werkbon #2606\n // Geen relead behalve bij clearSignature\n // signaturePad.clear() in loadSignature gaf issue #2606\n _this.setRawSignatureData(value, value === '');\n _this.loadSignature();\n }));\n };\n /**\n * When the window is resized this event is called\n */\n InputSignatureComponent.prototype.setCanvasSize = function () {\n // Calculate new width and height based on the parent\n var newWidth = this.canvasContainer.clientWidth;\n var newHeight = this.canvasContainer.clientWidth * 0.5;\n if (this.oldWidth !== newWidth || this.oldHeight !== newHeight) {\n this.oldWidth = newWidth;\n this.oldHeight = newHeight;\n // Set display size (css pixels).\n this.signaturePad.set('canvasWidth', newWidth); // Updates the property 'width' of the canvas\n this.signaturePad.set('canvasHeight', newHeight); // Updates the property 'height' of the canvas\n this.canvasSignature.style.width = newWidth + 'px';\n this.canvasSignature.style.height = newHeight + 'px';\n // Resize based on correct ratio\n this.signaturePad.resizeCanvas();\n // this.ratio = Math.max(window.devicePixelRatio || 1, 1);\n // this.canvasSignature.width = newWidth;\n // this.canvasSignature.height = newHeight;\n // this.canvasSignature.style.width = newWidth;\n // this.canvasSignature.style.height = newHeight;\n // this.canvasSignature.getContext('2d').scale(ratio, ratio);\n // Clear the signature canvas and reload content\n this.loadSignature();\n }\n };\n /**\n * Set the lcoal raw signature data and perform a load signature call\n */\n InputSignatureComponent.prototype.setRawSignatureData = function (value, reload) {\n if (reload === void 0) { reload = true; }\n if (value && value.length > 0) {\n this.rawSignatureData = value;\n }\n else {\n this.rawSignatureData = '';\n }\n if (reload) {\n this.loadSignature();\n }\n };\n /**\n * Check if there is a signature in the canvas\n */\n InputSignatureComponent.prototype.hasSignature = function () {\n return (this.rawSignatureData && this.rawSignatureData.length > 0);\n // return (this.signatureData.length > 0);\n };\n /**\n * Clear both the canvas and value\n */\n InputSignatureComponent.prototype.clearSignature = function () {\n this.rawSignatureData = '';\n this.customSetValue(this.rawSignatureData);\n };\n /**\n * After setting the new value alwasy emit an event even\n * if the reference is the same.\n */\n InputSignatureComponent.prototype.customSetValue = function (value) {\n this.setValue(value);\n this.valueChange.emit(value);\n };\n /**\n * Load the signature data\n */\n InputSignatureComponent.prototype.loadSignature = function () {\n this.signaturePad.clear();\n if (this.rawSignatureData && this.rawSignatureData.length > 0) {\n this.signaturePad.fromDataURL(this.rawSignatureData);\n }\n };\n /**\n * After finishing a drawing this function is called to\n * store the signature as a value.\n */\n InputSignatureComponent.prototype.drawComplete = function () {\n this.rawSignatureData = this.signaturePad.toDataURL();\n // this.signaturePad.clear();\n this.customSetValue(this.rawSignatureData);\n };\n return InputSignatureComponent;\n}(InputBase));\nexport { InputSignatureComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for signature input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-signature.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"../../../../../node_modules/angular2-signaturepad/signature-pad.ngfactory\";\nimport * as i6 from \"angular2-signaturepad/signature-pad\";\nimport * as i7 from \"./input-signature.component\";\nvar styles_InputSignatureComponent = [i0.styles, i1.styles];\nvar RenderType_InputSignatureComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputSignatureComponent, data: {} });\nexport { RenderType_InputSignatureComponent as RenderType_InputSignatureComponent };\nfunction View_InputSignatureComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 2).transform(\"APP.INPUTS.PLEASE_SIGN\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputSignatureComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-canvas-touch-click-blocker\"]], null, null, null, null, null))], null, null); }\nfunction View_InputSignatureComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputSignatureComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-link btn-sm pull-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.clearSignature() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-clear\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.CLEAR\")); _ck(_v, 4, 0, currVal_0); }); }\nexport function View_InputSignatureComponent_0(_l) { return i2.ɵvid(0, [i2.ɵqud(402653184, 1, { signaturePad: 0 }), (_l()(), i2.ɵeld(1, 0, null, null, 15, \"div\", [], null, null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(3, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(4, 0, null, null, 10, \"div\", [[\"class\", \"sym-canvas-container\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-canvas-message\"]], null, null, null, null, null)), i2.ɵdid(6, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(7, { \"sym-readonly\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputSignatureComponent_1)), i2.ɵdid(9, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"signature-pad\", [], null, [[null, \"onEndEvent\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onEndEvent\" === en)) {\n var pd_0 = (_co.drawComplete() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_SignaturePad_0, i5.RenderType_SignaturePad)), i2.ɵdid(11, 1228800, [[1, 4]], 0, i6.SignaturePad, [i2.ElementRef], { options: [0, \"options\"] }, { onEndEvent: \"onEndEvent\" }), i2.ɵpod(12, { penColor: 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputSignatureComponent_2)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputSignatureComponent_3)), i2.ɵdid(16, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputSignatureComponent_4)), i2.ɵdid(18, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.hasErrors()); _ck(_v, 2, 0, currVal_0); var currVal_1 = \"sym-canvas-message\"; var currVal_2 = _ck(_v, 7, 0, _co.readOnly); _ck(_v, 6, 0, currVal_1, currVal_2); var currVal_3 = (!_co.hasSignature() && !_co.readOnly); _ck(_v, 9, 0, currVal_3); var currVal_4 = _ck(_v, 12, 0, \"rgb(66, 133, 244)\"); _ck(_v, 11, 0, currVal_4); var currVal_5 = _co.readOnly; _ck(_v, 14, 0, currVal_5); var currVal_6 = _co.validationErrors; _ck(_v, 16, 0, currVal_6); var currVal_7 = !_co.readOnly; _ck(_v, 18, 0, currVal_7); }, null); }\nexport function View_InputSignatureComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-signature\", [], null, [[\"window\", \"resize\"]], function (_v, en, $event) { var ad = true; if ((\"window:resize\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1).setCanvasSize() !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_InputSignatureComponent_0, RenderType_InputSignatureComponent)), i2.ɵdid(1, 4374528, null, 0, i7.InputSignatureComponent, [i2.ElementRef, i2.ChangeDetectorRef], null, null)], null, null); }\nvar InputSignatureComponentNgFactory = i2.ɵccf(\"sym-input-signature\", i7.InputSignatureComponent, View_InputSignatureComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputSignatureComponentNgFactory as InputSignatureComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for signature input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-canvas-container[_ngcontent-%COMP%]{width:100%;padding-top:50%;position:relative}.sym-canvas-container[_ngcontent-%COMP%] .sym-canvas-message[_ngcontent-%COMP%]{position:absolute;left:7.5%;right:7.5%;bottom:15%;top:15%;border:4px dashed #adb5bd;background-color:#fff}.sym-canvas-container[_ngcontent-%COMP%] .sym-canvas-message[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;bottom:10%;left:0;right:0;color:#adb5bd;text-align:center}.sym-canvas-container[_ngcontent-%COMP%] .sym-canvas-message.sym-readonly[_ngcontent-%COMP%]{background-color:unset}.sym-canvas-container[_ngcontent-%COMP%] .sym-canvas-touch-click-blocker[_ngcontent-%COMP%], .sym-canvas-container[_ngcontent-%COMP%] signature-pad[_ngcontent-%COMP%]{position:absolute;top:0;left:0}.sym-canvas-container[_ngcontent-%COMP%] .sym-canvas-touch-click-blocker[_ngcontent-%COMP%]{width:100%;padding-top:50%}.sym-canvas-container.sym-readonly[_ngcontent-%COMP%]{border-color:#e9ecef;background-color:unset}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for signature input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the signature fieldset component\n */\nvar FieldsetSignatureComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetSignatureComponent, _super);\n /**\n * Constructs a FieldsetSignatureComponent\n */\n function FieldsetSignatureComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetSignatureComponent.register = function () {\n ComponentRegistry.register('fieldset', 'signature', FieldsetSignatureComponent);\n };\n return FieldsetSignatureComponent;\n}(FieldsetBase));\nexport { FieldsetSignatureComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for signature input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-signature/input-signature.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-signature/input-signature.component\";\nimport * as i8 from \"./fieldset-signature.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetSignatureComponent = [i0.styles];\nvar RenderType_FieldsetSignatureComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetSignatureComponent, data: {} });\nexport { RenderType_FieldsetSignatureComponent as RenderType_FieldsetSignatureComponent };\nfunction View_FieldsetSignatureComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetSignatureComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetSignatureComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSignatureComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSignatureComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-signature\", [], null, [[null, \"valueChange\"], [\"window\", \"resize\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"window:resize\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 12).setCanvasSize() !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.provider.value = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputSignatureComponent_0, i6.RenderType_InputSignatureComponent)), i1.ɵdid(12, 4374528, null, 0, i7.InputSignatureComponent, [i1.ElementRef, i1.ChangeDetectorRef], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetSignatureComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-signature\", [], null, null, null, View_FieldsetSignatureComponent_0, RenderType_FieldsetSignatureComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetSignatureComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetSignatureComponentNgFactory = i1.ɵccf(\"sym-fieldset-signature\", i8.FieldsetSignatureComponent, View_FieldsetSignatureComponent_Host_0, {}, {}, []);\nexport { FieldsetSignatureComponentNgFactory as FieldsetSignatureComponentNgFactory };\n","/**\n * @file Input component for password input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\n/**\n * Class for the password input component\n */\nvar InputPasswordComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputPasswordComponent, _super);\n function InputPasswordComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return InputPasswordComponent;\n}(InputStringBase));\nexport { InputPasswordComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for password input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-password.component\";\nvar styles_InputPasswordComponent = [i0.styles];\nvar RenderType_InputPasswordComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputPasswordComponent, data: {} });\nexport { RenderType_InputPasswordComponent as RenderType_InputPasswordComponent };\nfunction View_InputPasswordComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" *********\\n\"]))], null, null); }\nfunction View_InputPasswordComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputPasswordComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"type\", \"password\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (_co.valueInput($event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(6, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(8, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputPasswordComponent_3)), i1.ɵdid(11, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 6, 0, currVal_10); var currVal_11 = _co.validationErrors; _ck(_v, 11, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 9).transform(\"APP.INPUTS.PASSWORD_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 8).ngClassValid; var currVal_8 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nexport function View_InputPasswordComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputPasswordComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputPasswordComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputPasswordComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-password\", [], null, null, null, View_InputPasswordComponent_0, RenderType_InputPasswordComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputPasswordComponent, [], null, null)], null, null); }\nvar InputPasswordComponentNgFactory = i1.ɵccf(\"sym-input-password\", i5.InputPasswordComponent, View_InputPasswordComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputPasswordComponentNgFactory as InputPasswordComponentNgFactory };\n","/**\n* @file Fieldset component for password input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the password fieldset component\n */\nvar FieldsetPasswordComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetPasswordComponent, _super);\n /**\n * Constructs a FieldsetPasswordComponent\n */\n function FieldsetPasswordComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetPasswordComponent.register = function () {\n ComponentRegistry.register('fieldset', 'password', FieldsetPasswordComponent);\n };\n return FieldsetPasswordComponent;\n}(FieldsetBase));\nexport { FieldsetPasswordComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for password input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-password/input-password.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-password/input-password.component\";\nimport * as i8 from \"./fieldset-password.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetPasswordComponent = [i0.styles];\nvar RenderType_FieldsetPasswordComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetPasswordComponent, data: {} });\nexport { RenderType_FieldsetPasswordComponent as RenderType_FieldsetPasswordComponent };\nfunction View_FieldsetPasswordComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetPasswordComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetPasswordComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetPasswordComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetPasswordComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-password\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputPasswordComponent_0, i6.RenderType_InputPasswordComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputPasswordComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetPasswordComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-password\", [], null, null, null, View_FieldsetPasswordComponent_0, RenderType_FieldsetPasswordComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetPasswordComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetPasswordComponentNgFactory = i1.ɵccf(\"sym-fieldset-password\", i8.FieldsetPasswordComponent, View_FieldsetPasswordComponent_Host_0, {}, {}, []);\nexport { FieldsetPasswordComponentNgFactory as FieldsetPasswordComponentNgFactory };\n","/**\n * @file Fieldset component for change password link.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { SettingsService } from '../../../settings.service';\nimport { UserService } from '../../../user.service';\n/**\n * Class for the change password link fieldset component. Only used in AccountComponent.\n *\n * @export\n * @class FieldsetPasswordlinkComponent\n * @extends {FieldsetBase}\n */\nvar FieldsetPasswordlinkComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetPasswordlinkComponent, _super);\n /**\n * Constructs a FieldsetPasswordlinkComponent.\n */\n function FieldsetPasswordlinkComponent(provider, settingsService, userService) {\n var _this = _super.call(this, provider) || this;\n _this.url = '';\n var passwordChangeUrl = settingsService.settings.frontend.oauth.passwordChangeUrl;\n _this.visible = passwordChangeUrl !== '' && passwordChangeUrl !== undefined;\n if (_this.visible) {\n _this.url = passwordChangeUrl + userService.user.Name;\n }\n return _this;\n }\n /**\n * Register component by the fieldset provider.\n */\n FieldsetPasswordlinkComponent.register = function () {\n ComponentRegistry.register('fieldset', 'passwordlink', FieldsetPasswordlinkComponent);\n };\n return FieldsetPasswordlinkComponent;\n}(FieldsetBase));\nexport { FieldsetPasswordlinkComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for change password link.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"./fieldset-passwordlink.component\";\nimport * as i7 from \"../fieldset-provider\";\nimport * as i8 from \"../../../settings.service\";\nimport * as i9 from \"../../../user.service\";\nvar styles_FieldsetPasswordlinkComponent = [i0.styles];\nvar RenderType_FieldsetPasswordlinkComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetPasswordlinkComponent, data: {} });\nexport { RenderType_FieldsetPasswordlinkComponent as RenderType_FieldsetPasswordlinkComponent };\nfunction View_FieldsetPasswordlinkComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetPasswordlinkComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetPasswordlinkComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetPasswordlinkComponent_2)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetPasswordlinkComponent_3)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); var currVal_3 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 11, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(\"APP.FORMS.CHANGE_PASSWORD\")); _ck(_v, 12, 0, currVal_4); }); }\nexport function View_FieldsetPasswordlinkComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetPasswordlinkComponent_1)), i1.ɵdid(1, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.visible; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_FieldsetPasswordlinkComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-passwordlink\", [], null, null, null, View_FieldsetPasswordlinkComponent_0, RenderType_FieldsetPasswordlinkComponent)), i1.ɵdid(1, 180224, null, 0, i6.FieldsetPasswordlinkComponent, [i7.FieldsetProvider, i8.SettingsService, i9.UserService], null, null)], null, null); }\nvar FieldsetPasswordlinkComponentNgFactory = i1.ɵccf(\"sym-fieldset-passwordlink\", i6.FieldsetPasswordlinkComponent, View_FieldsetPasswordlinkComponent_Host_0, {}, {}, []);\nexport { FieldsetPasswordlinkComponentNgFactory as FieldsetPasswordlinkComponentNgFactory };\n","/**\n * @file Input component for phone input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\n/**\n * Class for the phone input component\n */\nvar InputPhoneComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputPhoneComponent, _super);\n function InputPhoneComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Holds the displayed value which includes the mask.\n * @private\n */\n _this._displayValue = '';\n /**\n * The input mask for phone numbers.\n * @type {*}\n */\n _this.mask = ['+', /[1-9]+/, /[0-9]/, ' ',\n /[1-9]/, /[0-9 ]/, /[0-9 ]/,\n /[0-9 ]/, /[0-9 ]/, /[0-9 ]/,\n /[0-9 ]/, /[0-9 ]/, /[0-9 ]/,\n /[0-9 ]/, /[0-9 ]/, /[0-9 ]/];\n return _this;\n }\n Object.defineProperty(InputPhoneComponent.prototype, \"displayValue\", {\n /**\n * Gets the displayed value which includes the mask.\n * @type {string}\n */\n get: function () {\n var masked = this.convertValueToDisplayValue();\n if (masked !== this._displayValue) {\n // Synchronize display value with binded value\n this._displayValue = masked;\n }\n return this._displayValue;\n },\n /**\n * Sets the displayed value which includes the mask.\n */\n set: function (newValue) {\n // Synchronize binded value with display value\n this.value = this.parseValue(newValue);\n // Setting the display value.\n this._displayValue = newValue;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Converts the display value to binded value format.\n * The input mask is stripped from the binded value.\n * @protected\n * @param {*} newValue The display value which includes the input mask.\n * @returns {*} The binded value lacking the input mask.\n */\n InputPhoneComponent.prototype.parseValue = function (newValue) {\n var parsed = newValue.replace(/ /g, '#');\n parsed = parsed.replace(/_/g, ' ').trimRight();\n parsed = parsed.replace(/#/g, ' ');\n if (parsed.length === 4) {\n parsed = parsed.trimRight();\n }\n return parsed;\n };\n /**\n * Converts the binded value to the display value which includes the input mask.\n * @private\n * @returns {string} The display value which includes the input mask.\n */\n InputPhoneComponent.prototype.convertValueToDisplayValue = function () {\n var masked = this.value + '';\n if (masked.length === 0) {\n return masked;\n }\n while (masked.length < 16) {\n if (masked.length === 3) {\n masked += ' ';\n }\n else {\n masked += '_';\n }\n }\n return masked;\n };\n return InputPhoneComponent;\n}(InputStringBase));\nexport { InputPhoneComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for phone input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"angular2-text-mask\";\nimport * as i6 from \"./input-phone.component\";\nvar styles_InputPhoneComponent = [i0.styles];\nvar RenderType_InputPhoneComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputPhoneComponent, data: {} });\nexport { RenderType_InputPhoneComponent as RenderType_InputPhoneComponent };\nfunction View_InputPhoneComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"a\", [], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"tel:\", _co.value, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.value; _ck(_v, 3, 0, currVal_1); }); }\nfunction View_InputPhoneComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputPhoneComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 17, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 8, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 6)._handleInput($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 6)._compositionStart() !== false);\n ad = (pd_6 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_7 = (i1.ɵnov(_v, 6)._compositionEnd($event.target.value) !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.displayValue = $event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(6, 540672, null, 0, i5.MaskedInputDirective, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], { textMaskConfig: [0, \"textMaskConfig\"] }, null), i1.ɵpod(7, { mask: 0, guide: 1 }), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i4.DefaultValueAccessor, i5.MaskedInputDirective]), i1.ɵdid(9, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(11, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(13, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(15, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(16, { \"disabled\": 0 }), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-phone\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputPhoneComponent_3)), i1.ɵdid(22, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_9 = _ck(_v, 7, 0, _co.mask, false); _ck(_v, 6, 0, currVal_9); var currVal_10 = _co.displayValue; _ck(_v, 9, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 16, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 15, 0, currVal_12, currVal_13); var currVal_15 = _co.validationErrors; _ck(_v, 22, 0, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 12).transform(\"APP.INPUTS.PHONE_PLACEHOLDER\")), \"\"); var currVal_2 = i1.ɵnov(_v, 11).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 11).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 11).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 11).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 11).ngClassValid; var currVal_7 = i1.ɵnov(_v, 11).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 11).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_11 = i1.ɵinlineInterpolate(1, \"tel:\", _co.value, \"\"); _ck(_v, 14, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.INPUTS.CALL\")); _ck(_v, 19, 0, currVal_14); }); }\nexport function View_InputPhoneComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputPhoneComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputPhoneComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputPhoneComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-phone\", [], null, null, null, View_InputPhoneComponent_0, RenderType_InputPhoneComponent)), i1.ɵdid(1, 180224, null, 0, i6.InputPhoneComponent, [], null, null)], null, null); }\nvar InputPhoneComponentNgFactory = i1.ɵccf(\"sym-input-phone\", i6.InputPhoneComponent, View_InputPhoneComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputPhoneComponentNgFactory as InputPhoneComponentNgFactory };\n","/**\n* @file Fieldset component for phone input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the phone fieldset component\n */\nvar FieldsetPhoneComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetPhoneComponent, _super);\n /**\n * Constructs a FieldsetPhoneComponent\n */\n function FieldsetPhoneComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetPhoneComponent.register = function () {\n ComponentRegistry.register('fieldset', 'phone', FieldsetPhoneComponent);\n };\n return FieldsetPhoneComponent;\n}(FieldsetBase));\nexport { FieldsetPhoneComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for phone input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-phone/input-phone.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-phone/input-phone.component\";\nimport * as i8 from \"./fieldset-phone.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetPhoneComponent = [i0.styles];\nvar RenderType_FieldsetPhoneComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetPhoneComponent, data: {} });\nexport { RenderType_FieldsetPhoneComponent as RenderType_FieldsetPhoneComponent };\nfunction View_FieldsetPhoneComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetPhoneComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetPhoneComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetPhoneComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetPhoneComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-phone\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputPhoneComponent_0, i6.RenderType_InputPhoneComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputPhoneComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetPhoneComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-phone\", [], null, null, null, View_FieldsetPhoneComponent_0, RenderType_FieldsetPhoneComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetPhoneComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetPhoneComponentNgFactory = i1.ɵccf(\"sym-fieldset-phone\", i8.FieldsetPhoneComponent, View_FieldsetPhoneComponent_Host_0, {}, {}, []);\nexport { FieldsetPhoneComponentNgFactory as FieldsetPhoneComponentNgFactory };\n","/**\n* @file Input component for radio input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\nimport { FormGroup } from '@angular/forms';\n/**\n * Class for the radio input component\n */\nvar InputRadioComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputRadioComponent, _super);\n /**\n * Creates an instance of InputRadioComponent.\n */\n function InputRadioComponent() {\n var _this = _super.call(this) || this;\n /** The value to be displayed. */\n _this.valueLabelKey = '';\n /** List of values and label keys of the options. */\n _this._format = undefined;\n /**\n * Indicates whether the radio buttons are aligned horizontally instead of vertically\n */\n _this.inline = false;\n _this.radioGroup = new FormGroup({});\n // Generates a random string for the HTML name attribute of the radio button tags,\n // in order to separate these radio buttons from possible other radio inputs.\n _this.name = _this.generateRandomString(8);\n return _this;\n }\n Object.defineProperty(InputRadioComponent.prototype, \"format\", {\n /** Gets the list of values and label keys of the options. */\n get: function () {\n return this._format;\n },\n /** Sets the options and checks whether the value is one of the options' keys. */\n set: function (value) {\n if (this._format === value) {\n return;\n }\n this._format = value;\n this.valueToLabel();\n // this.radioGroup.reset();\n // if (value == null) {\n // return;\n // }\n // (>value).forEach(item => {\n // this.radioGroup.addControl(item.value + '', this.control);\n // });\n },\n enumerable: true,\n configurable: true\n });\n InputRadioComponent.prototype.setControl = function (value) {\n if (this.formControl !== value) {\n this.radioGroup.reset({});\n if (value) {\n this.radioGroup.addControl(this.name, value);\n }\n }\n _super.prototype.setControl.call(this, value);\n };\n /**\n * Sets the value and label key.\n * @param val The key of the selected value.\n */\n InputRadioComponent.prototype.setValue = function (val) {\n _super.prototype.setValue.call(this, val);\n this.valueToLabel();\n };\n /**\n * Sets the display value to the label key based on the value.\n */\n InputRadioComponent.prototype.valueToLabel = function () {\n var _this = this;\n if (!this.value || !this.format) {\n return;\n }\n var keys = Object.keys(this.format);\n var index = keys.find(function (key) { return _this.format[key].value === _this.value; });\n if (this.format[index]) {\n this.valueLabelKey = this.format[index].labelKey;\n }\n };\n /**\n * Returns a pseudo-random string.\n */\n InputRadioComponent.prototype.generateRandomString = function (length) {\n var text = '';\n var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n for (var i = 0; i < length; i++) {\n text += characters.charAt(Math.floor(Math.random() * characters.length));\n }\n return text;\n };\n return InputRadioComponent;\n}(InputBase));\nexport { InputRadioComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for radio input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-radio.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@angular/forms\";\nimport * as i6 from \"./input-radio.component\";\nvar styles_InputRadioComponent = [i0.styles, i1.styles];\nvar RenderType_InputRadioComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputRadioComponent, data: {} });\nexport { RenderType_InputRadioComponent as RenderType_InputRadioComponent };\nfunction View_InputRadioComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_co.valueLabelKey)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputRadioComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"form-check\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"form-check-inline\": 0 }), i2.ɵdid(3, 540672, null, 0, i5.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i2.ɵprd(2048, null, i5.ControlContainer, null, [i5.FormGroupDirective]), i2.ɵdid(5, 16384, null, 0, i5.NgControlStatusGroup, [[4, i5.ControlContainer]], null, null), (_l()(), i2.ɵeld(6, 0, null, null, 9, \"label\", [[\"class\", \"form-check-label\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 6, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"radio\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i2.ɵnov(_v, 9).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i2.ɵnov(_v, 9).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"change\" === en)) {\n var pd_6 = (_co.valueInput($event, _v.context.$implicit.value) !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 16384, null, 0, i5.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵdid(9, 212992, null, 0, i5.RadioControlValueAccessor, [i2.Renderer2, i2.ElementRef, i5.ɵangular_packages_forms_forms_j, i2.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i2.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.RadioControlValueAccessor]), i2.ɵdid(11, 540672, null, 0, i5.FormControlDirective, [[8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR], [2, i5.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i2.ɵprd(2048, null, i5.NgControl, null, [i5.FormControlDirective]), i2.ɵdid(13, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i2.ɵted(14, null, [\" \", \" \"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_7 = \"form-check\"; var currVal_8 = _ck(_v, 2, 0, _co.inline); _ck(_v, 1, 0, currVal_7, currVal_8); var currVal_9 = _co.radioGroup; _ck(_v, 3, 0, currVal_9); var currVal_17 = _co.name; var currVal_18 = _v.context.$implicit.value; _ck(_v, 9, 0, currVal_17, currVal_18); var currVal_19 = _co.control; _ck(_v, 11, 0, currVal_19); }, function (_ck, _v) { var currVal_0 = i2.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i2.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i2.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i2.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i2.ɵnov(_v, 5).ngClassValid; var currVal_5 = i2.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i2.ɵnov(_v, 5).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = i2.ɵnov(_v, 13).ngClassUntouched; var currVal_11 = i2.ɵnov(_v, 13).ngClassTouched; var currVal_12 = i2.ɵnov(_v, 13).ngClassPristine; var currVal_13 = i2.ɵnov(_v, 13).ngClassDirty; var currVal_14 = i2.ɵnov(_v, 13).ngClassValid; var currVal_15 = i2.ɵnov(_v, 13).ngClassInvalid; var currVal_16 = i2.ɵnov(_v, 13).ngClassPending; _ck(_v, 7, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_20 = i2.ɵunv(_v, 14, 0, i2.ɵnov(_v, 15).transform(_v.context.$implicit.labelKey)); _ck(_v, 14, 0, currVal_20); }); }\nfunction View_InputRadioComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputRadioComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 6, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputRadioComponent_3)), i2.ɵdid(4, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputRadioComponent_4)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.format; _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.validationErrors; _ck(_v, 6, 0, currVal_2); }, null); }\nexport function View_InputRadioComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputRadioComponent_1)), i2.ɵdid(1, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputRadioComponent_2)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputRadioComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-radio\", [], null, null, null, View_InputRadioComponent_0, RenderType_InputRadioComponent)), i2.ɵdid(1, 180224, null, 0, i6.InputRadioComponent, [], null, null)], null, null); }\nvar InputRadioComponentNgFactory = i2.ɵccf(\"sym-input-radio\", i6.InputRadioComponent, View_InputRadioComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", format: \"format\", inline: \"inline\" }, { valueChange: \"valueChange\" }, []);\nexport { InputRadioComponentNgFactory as InputRadioComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for radio input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".form-check[_ngcontent-%COMP%]{margin-bottom:0}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for radio input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the radio fieldset component\n */\nvar FieldsetRadioComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetRadioComponent, _super);\n /**\n * Constructs a FieldsetRadioComponent\n */\n function FieldsetRadioComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetRadioComponent.register = function () {\n ComponentRegistry.register('fieldset', 'radio', FieldsetRadioComponent);\n };\n return FieldsetRadioComponent;\n}(FieldsetBase));\nexport { FieldsetRadioComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for radio input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-radio/input-radio.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-radio/input-radio.component\";\nimport * as i8 from \"./fieldset-radio.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetRadioComponent = [i0.styles];\nvar RenderType_FieldsetRadioComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetRadioComponent, data: {} });\nexport { RenderType_FieldsetRadioComponent as RenderType_FieldsetRadioComponent };\nfunction View_FieldsetRadioComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRadioComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetRadioComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRadioComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRadioComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputRadioComponent_0, i6.RenderType_InputRadioComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetRadioComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-radio\", [], null, null, null, View_FieldsetRadioComponent_0, RenderType_FieldsetRadioComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetRadioComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetRadioComponentNgFactory = i1.ɵccf(\"sym-fieldset-radio\", i8.FieldsetRadioComponent, View_FieldsetRadioComponent_Host_0, {}, {}, []);\nexport { FieldsetRadioComponentNgFactory as FieldsetRadioComponentNgFactory };\n","import { ElementRef } from '@angular/core';\n/**\n * @file Directive to add or remove the required attribute from a html element.\n * @author Win Haanstra.\n */\n/**\n * DESCRIBE-THE-CLASS\n */\nvar ToggleRequiredDirective = /** @class */ (function () {\n /**\n * Constructs a ToggleRequiredDirective\n */\n function ToggleRequiredDirective(element) {\n this.element = element;\n }\n Object.defineProperty(ToggleRequiredDirective.prototype, \"symToggleRequired\", {\n /**\n * DESCRIBE-THE-FUNCTIONALITY-OF-THE-FUNCTION\n * @param PARAM-NAME DESCRIBE-THE-PARAM\n * @param PARAM-NAME DESCRIBE-THE-PARAM\n * @returns DESCRIBE-THE-RETURN\n */\n set: function (condition) {\n if (condition) {\n this.element.nativeElement.setAttribute('required', 'true');\n }\n else {\n this.element.nativeElement.removeAttribute('required');\n }\n },\n enumerable: true,\n configurable: true\n });\n return ToggleRequiredDirective;\n}());\nexport { ToggleRequiredDirective };\n","/**\n * @file Input component for select input\n * @author Heino Lenting, Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the select input component\n */\nvar InputSelectComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputSelectComponent, _super);\n function InputSelectComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /** The value to be displayed. */\n _this.valueLabelKey = '';\n /** List of values and label keys of the options. */\n _this._format = undefined;\n return _this;\n }\n Object.defineProperty(InputSelectComponent.prototype, \"format\", {\n /** Gets the list of values and label keys of the options. */\n get: function () {\n return this._format;\n },\n /** Sets the options and checks whether the value is one of the options' keys. */\n set: function (value) {\n this._format = value;\n this.valueToLabel();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the value and label key.\n * @param val The key of the selected value.\n */\n InputSelectComponent.prototype.setValue = function (val) {\n _super.prototype.setValue.call(this, val);\n this.valueToLabel();\n };\n /**\n * Sets the display value to the label key based on the value.\n */\n InputSelectComponent.prototype.valueToLabel = function () {\n var _this = this;\n // this.value == null is true when this.value is null or undefined\n if (this.value == null || this.format == null) {\n // Previous check was !this.value... ...but what when this.value is a boolean.\n return;\n }\n var keys = Object.keys(this.format);\n var index = keys.find(function (key) { return _this.format[key].value === _this.value; });\n if (this.format[index]) {\n this.valueLabelKey = this.format[index].labelKey;\n }\n };\n return InputSelectComponent;\n}(InputBase));\nexport { InputSelectComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for select input\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"../../directives/toggle-required.directive\";\nimport * as i6 from \"./input-select.component\";\nvar styles_InputSelectComponent = [i0.styles];\nvar RenderType_InputSelectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputSelectComponent, data: {} });\nexport { RenderType_InputSelectComponent as RenderType_InputSelectComponent };\nfunction View_InputSelectComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.valueLabelKey)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputSelectComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i3.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i3.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(2, 147456, null, 0, i3.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.value; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.value; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_v.context.$implicit.labelKey)); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputSelectComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputSelectComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 13, \"select\", [[\"class\", \"form-control c-select\"]], [[8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_2 = ((_co.value = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.valueInput($event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i3.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.SelectControlValueAccessor]), i1.ɵdid(7, 540672, null, 0, i3.FormControlDirective, [[8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR], [2, i3.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i3.NgControl, null, [i3.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), i1.ɵdid(10, 16384, null, 0, i5.ToggleRequiredDirective, [i1.ElementRef], { symToggleRequired: [0, \"symToggleRequired\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 4, \"option\", [[\"class\", \"placeholder\"], [\"disabled\", \"\"], [\"hidden\", \"\"], [\"selected\", \"\"], [\"value\", \"\"]], null, null, null, null, null)), i1.ɵdid(12, 147456, null, 0, i3.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i3.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(13, 147456, null, 0, i3.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i1.ɵted(14, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSelectComponent_3)), i1.ɵdid(17, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSelectComponent_4)), i1.ɵdid(19, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_9 = _co.control; _ck(_v, 7, 0, currVal_9); var currVal_10 = _co.required; _ck(_v, 10, 0, currVal_10); var currVal_11 = \"\"; _ck(_v, 12, 0, currVal_11); var currVal_12 = \"\"; _ck(_v, 13, 0, currVal_12); var currVal_14 = _co.format; _ck(_v, 17, 0, currVal_14); var currVal_15 = _co.validationErrors; _ck(_v, 19, 0, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.value; var currVal_2 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 9).ngClassValid; var currVal_7 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_13 = i1.ɵunv(_v, 14, 0, i1.ɵnov(_v, 15).transform(\"APP.INPUTS.SELECT_ONE\")); _ck(_v, 14, 0, currVal_13); }); }\nexport function View_InputSelectComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSelectComponent_1)), i1.ɵdid(1, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSelectComponent_2)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputSelectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-select\", [], null, null, null, View_InputSelectComponent_0, RenderType_InputSelectComponent)), i1.ɵdid(1, 180224, null, 0, i6.InputSelectComponent, [], null, null)], null, null); }\nvar InputSelectComponentNgFactory = i1.ɵccf(\"sym-input-select\", i6.InputSelectComponent, View_InputSelectComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", format: \"format\" }, { valueChange: \"valueChange\" }, []);\nexport { InputSelectComponentNgFactory as InputSelectComponentNgFactory };\n","/**\n* @file Fieldset component for select input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the select fieldset component\n */\nvar FieldsetSelectComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetSelectComponent, _super);\n /**\n * Constructs a FieldsetSelectComponent\n */\n function FieldsetSelectComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetSelectComponent.register = function () {\n ComponentRegistry.register('fieldset', 'select', FieldsetSelectComponent);\n };\n return FieldsetSelectComponent;\n}(FieldsetBase));\nexport { FieldsetSelectComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for select input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-select/input-select.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-select/input-select.component\";\nimport * as i8 from \"./fieldset-select.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetSelectComponent = [i0.styles];\nvar RenderType_FieldsetSelectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetSelectComponent, data: {} });\nexport { RenderType_FieldsetSelectComponent as RenderType_FieldsetSelectComponent };\nfunction View_FieldsetSelectComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetSelectComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetSelectComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSelectComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSelectComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-select\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputSelectComponent_0, i6.RenderType_InputSelectComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputSelectComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetSelectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-select\", [], null, null, null, View_FieldsetSelectComponent_0, RenderType_FieldsetSelectComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetSelectComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetSelectComponentNgFactory = i1.ɵccf(\"sym-fieldset-select\", i8.FieldsetSelectComponent, View_FieldsetSelectComponent_Host_0, {}, {}, []);\nexport { FieldsetSelectComponentNgFactory as FieldsetSelectComponentNgFactory };\n","/**\n * @file Input component for string input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\n/**\n * Class for the string input component\n */\nvar InputStringComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputStringComponent, _super);\n function InputStringComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return InputStringComponent;\n}(InputStringBase));\nexport { InputStringComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for string input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"../../directives/toggle-required.directive\";\nimport * as i6 from \"./input-string.component\";\nvar styles_InputStringComponent = [i0.styles];\nvar RenderType_InputStringComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputStringComponent, data: {} });\nexport { RenderType_InputStringComponent as RenderType_InputStringComponent };\nfunction View_InputStringComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-selectable\"]], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.value, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.value; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_InputStringComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputStringComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 7, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"type\", \"text\"]], [[8, \"value\", 0], [8, \"placeholder\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (_co.valueInput($event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(6, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(8, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵdid(9, 16384, null, 0, i5.ToggleRequiredDirective, [i1.ElementRef], { symToggleRequired: [0, \"symToggleRequired\"] }, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputStringComponent_3)), i1.ɵdid(12, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_11 = _co.control; _ck(_v, 6, 0, currVal_11); var currVal_12 = _co.required; _ck(_v, 9, 0, currVal_12); var currVal_13 = _co.validationErrors; _ck(_v, 12, 0, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.value; var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.STRING_PLACEHOLDER\")), \"\"); var currVal_3 = i1.ɵinlineInterpolate(1, \"\", _co.value, \"\"); var currVal_4 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_5 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_6 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_7 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_8 = i1.ɵnov(_v, 8).ngClassValid; var currVal_9 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_10 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); }); }\nexport function View_InputStringComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputStringComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputStringComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputStringComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-string\", [], null, null, null, View_InputStringComponent_0, RenderType_InputStringComponent)), i1.ɵdid(1, 180224, null, 0, i6.InputStringComponent, [], null, null)], null, null); }\nvar InputStringComponentNgFactory = i1.ɵccf(\"sym-input-string\", i6.InputStringComponent, View_InputStringComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputStringComponentNgFactory as InputStringComponentNgFactory };\n","/**\n* @file Fieldset component for string input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the string fieldset component\n */\nvar FieldsetStringComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetStringComponent, _super);\n /**\n * Constructs a FieldsetStringComponent\n */\n function FieldsetStringComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetStringComponent.register = function () {\n ComponentRegistry.register('fieldset', 'string', FieldsetStringComponent);\n };\n return FieldsetStringComponent;\n}(FieldsetBase));\nexport { FieldsetStringComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for string input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-string/input-string.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-string/input-string.component\";\nimport * as i8 from \"./fieldset-string.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetStringComponent = [i0.styles];\nvar RenderType_FieldsetStringComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetStringComponent, data: {} });\nexport { RenderType_FieldsetStringComponent as RenderType_FieldsetStringComponent };\nfunction View_FieldsetStringComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetStringComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetStringComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetStringComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetStringComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetStringComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-string\", [], null, null, null, View_FieldsetStringComponent_0, RenderType_FieldsetStringComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetStringComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetStringComponentNgFactory = i1.ɵccf(\"sym-fieldset-string\", i8.FieldsetStringComponent, View_FieldsetStringComponent_Host_0, {}, {}, []);\nexport { FieldsetStringComponentNgFactory as FieldsetStringComponentNgFactory };\n","/**\n* @file Fieldset component for text input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the text fieldset component\n */\nvar FieldsetTextComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetTextComponent, _super);\n /**\n * Constructs a FieldsetTextComponent\n */\n function FieldsetTextComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetTextComponent.register = function () {\n ComponentRegistry.register('fieldset', 'text', FieldsetTextComponent);\n };\n return FieldsetTextComponent;\n}(FieldsetBase));\nexport { FieldsetTextComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for text input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"./fieldset-text.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../help/help.component.ngfactory\";\nimport * as i4 from \"../help/help.component\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"@angular/common\";\nimport * as i7 from \"../../inputs/input-text/input-text.component.ngfactory\";\nimport * as i8 from \"../../inputs/input-text/input-text.component\";\nimport * as i9 from \"./fieldset-text.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetTextComponent = [i0.styles, i1.styles];\nvar RenderType_FieldsetTextComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_FieldsetTextComponent, data: {} });\nexport { RenderType_FieldsetTextComponent as RenderType_FieldsetTextComponent };\nfunction View_FieldsetTextComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i3.View_HelpComponent_0, i3.RenderType_HelpComponent)), i2.ɵdid(2, 49152, null, 0, i4.HelpComponent, [], { text: [0, \"text\"] }, null), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetTextComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetTextComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_FieldsetTextComponent_1)), i2.ɵdid(3, 16384, null, 0, i6.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \":\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_FieldsetTextComponent_2)), i2.ɵdid(9, 16384, null, 0, i6.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(11, 0, null, null, 1, \"sym-input-text\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i7.View_InputTextComponent_0, i7.RenderType_InputTextComponent)), i2.ɵdid(12, 180224, null, 0, i8.InputTextComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetTextComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-fieldset-text\", [], null, null, null, View_FieldsetTextComponent_0, RenderType_FieldsetTextComponent)), i2.ɵdid(1, 180224, null, 0, i9.FieldsetTextComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetTextComponentNgFactory = i2.ɵccf(\"sym-fieldset-text\", i9.FieldsetTextComponent, View_FieldsetTextComponent_Host_0, {}, {}, []);\nexport { FieldsetTextComponentNgFactory as FieldsetTextComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for text input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-fieldset-output[_ngcontent-%COMP%]{min-height:125px!important}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { InputDateTimeComponent } from '../input-datetime/input-datetime.component';\nimport createAutoCorrectedDateTimePipe from '../../pipes/create-datetime.pipe';\nimport { LocalisationService } from '../../../core/localisation.service';\n/**\n * Class for the time input component\n */\nvar InputTimeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputTimeComponent, _super);\n function InputTimeComponent(localisationService) {\n var _this = _super.call(this, localisationService) || this;\n _this.allowedStates = ['hours', 'minutes'];\n _this.initialState = 'hours';\n _this.placeholderKey = 'APP.INPUTS.TIME_PLACEHOLDER';\n return _this;\n }\n Object.defineProperty(InputTimeComponent.prototype, \"formatString\", {\n get: function () {\n return this.localisationService.time.format;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputTimeComponent.prototype, \"pipe\", {\n get: function () {\n return createAutoCorrectedDateTimePipe(this.localisationService.time.correctionFormat);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InputTimeComponent.prototype, \"mask\", {\n get: function () {\n return LocalisationService.toMaskArray(this.localisationService.time.mask);\n },\n enumerable: true,\n configurable: true\n });\n return InputTimeComponent;\n}(InputDateTimeComponent));\nexport { InputTimeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"../input-datetime/input-datetime.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i6 from \"@angular/forms\";\nimport * as i7 from \"angular2-text-mask\";\nimport * as i8 from \"ngx-moment\";\nimport * as i9 from \"./input-time.component\";\nimport * as i10 from \"../../../core/localisation.service\";\nvar styles_InputTimeComponent = [i0.styles, i1.styles];\nvar RenderType_InputTimeComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputTimeComponent, data: {} });\nexport { RenderType_InputTimeComponent as RenderType_InputTimeComponent };\nfunction View_InputTimeComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵppd(3, 2)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 2, 0, _ck(_v, 3, 0, i2.ɵnov(_v.parent, 0), _co.value, _co.formatString)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputTimeComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-year-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-year-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"year\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"YYYY\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputTimeComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputTimeComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputTimeComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 10)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \" - \", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(10) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-year-set sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_5)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_6)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_7)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_3 = _co.displayYears; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.allowToday; _ck(_v, 15, 0, currVal_4); var currVal_5 = _co.allowInfinity; _ck(_v, 17, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayYears[0].format(\"YYYY\"); var currVal_2 = _co.displayYears[11].format(\"YYYY\"); _ck(_v, 7, 0, currVal_1, currVal_2); }); }\nfunction View_InputTimeComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-month-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-datetime-slot sym-month-slot\"; var currVal_1 = _ck(_v, 2, 0, _co.isDate(_v.context.$implicit, \"month\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.format(\"MMM\"); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputTimeComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputTimeComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputTimeComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayYear(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-content sym-month-set sym-m-t sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_9)), i2.ɵdid(12, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_10)), i2.ɵdid(15, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_11)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.displayMonths; _ck(_v, 12, 0, currVal_2); var currVal_3 = _co.allowToday; _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.allowInfinity; _ck(_v, 17, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"YYYY\"); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_InputTimeComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setDate(_v.context.$implicit, \"day\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-outside-month\": 0, \"sym-range\": 1, \"sym-active\": 2, \"sym-today\": 3 }), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"sym-day-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-day-grid-cell\"; var currVal_1 = _ck(_v, 2, 0, (_v.context.$implicit.month() != _co.displayDate.month()), _co.inRange(_v.context.$implicit), _co.isDate(_v.context.$implicit, \"day\"), _co.isToday(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.date(); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_InputTimeComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-day-grid-row clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_14)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.days; _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.number; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputTimeComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setToday() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueToday()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.TODAY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.TODAY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputTimeComponent_16(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setInfinity() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-active\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.isValueInfinity()); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.INFINITY\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.INFINITY\")); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputTimeComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 37, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 9, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-left\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth((0 - 1)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"month\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeState(\"year\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-link btn-sm sym-datetime-header-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.changeDisplayMonth(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 20, \"div\", [[\"class\", \"sym-day-grid sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(13, 0, null, null, 17, \"div\", [[\"class\", \"sym-day-grid-header clearfix\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(15, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(17, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(18, null, [\"\", \"\"])), (_l()(), i2.ɵeld(19, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(20, null, [\"\", \"\"])), (_l()(), i2.ɵeld(21, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(22, null, [\"\", \"\"])), (_l()(), i2.ɵeld(23, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(24, null, [\"\", \"\"])), (_l()(), i2.ɵeld(25, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(26, null, [\"\", \"\"])), (_l()(), i2.ɵeld(27, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(28, null, [\"\", \"\"])), (_l()(), i2.ɵeld(29, 0, null, null, 1, \"div\", [[\"class\", \"sym-day-grid-cell\"]], null, null, null, null, null)), (_l()(), i2.ɵted(30, null, [\"\", \"\"])), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_13)), i2.ɵdid(32, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(33, 0, null, null, 4, \"div\", [[\"class\", \"sym-datetime-footer\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_15)), i2.ɵdid(35, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_16)), i2.ɵdid(37, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_11 = _co.displayWeeks; _ck(_v, 32, 0, currVal_11); var currVal_12 = _co.allowToday; _ck(_v, 35, 0, currVal_12); var currVal_13 = _co.allowInfinity; _ck(_v, 37, 0, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.displayDate.format(\"MMM\"); _ck(_v, 7, 0, currVal_1); var currVal_2 = _co.displayDate.format(\"YYYY\"); _ck(_v, 9, 0, currVal_2); var currVal_3 = i2.ɵunv(_v, 15, 0, i2.ɵnov(_v, 16).transform(\"APP.INPUTS.WK\")); _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.dayMoment.day(1).format(\"dd\"); _ck(_v, 18, 0, currVal_4); var currVal_5 = _co.dayMoment.day(2).format(\"dd\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = _co.dayMoment.day(3).format(\"dd\"); _ck(_v, 22, 0, currVal_6); var currVal_7 = _co.dayMoment.day(4).format(\"dd\"); _ck(_v, 24, 0, currVal_7); var currVal_8 = _co.dayMoment.day(5).format(\"dd\"); _ck(_v, 26, 0, currVal_8); var currVal_9 = _co.dayMoment.day(6).format(\"dd\"); _ck(_v, 28, 0, currVal_9); var currVal_10 = _co.dayMoment.day(0).format(\"dd\"); _ck(_v, 30, 0, currVal_10); }); }\nfunction View_InputTimeComponent_17(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 102, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 96, \"div\", [[\"class\", \"sym-datetime-content sym-hours-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(1, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 01 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(2, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 02 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(3, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 03 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(4, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 04 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(6, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 06 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(7, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 07 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(8, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 08 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(9, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 09 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(11, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 11 \"])), (_l()(), i2.ɵeld(55, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(12, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(56, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(57, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 12 \"])), (_l()(), i2.ɵeld(59, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(13, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(60, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(61, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 13 \"])), (_l()(), i2.ɵeld(63, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(14, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(64, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(65, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 14 \"])), (_l()(), i2.ɵeld(67, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(68, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(69, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(71, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(16, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(72, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(73, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 16 \"])), (_l()(), i2.ɵeld(75, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(17, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(76, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(77, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 17 \"])), (_l()(), i2.ɵeld(79, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(18, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(80, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(81, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 18 \"])), (_l()(), i2.ɵeld(83, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(19, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(84, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(85, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 19 \"])), (_l()(), i2.ɵeld(87, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(88, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(89, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(91, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(21, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(92, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(93, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 21 \"])), (_l()(), i2.ɵeld(95, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(22, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(96, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(97, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 22 \"])), (_l()(), i2.ɵeld(99, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-hours-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(23, \"hours\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(100, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(101, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 23 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-hours-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"hours\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-hours-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(1, \"hours\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-hours-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(2, \"hours\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-hours-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(3, \"hours\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-hours-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(4, \"hours\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-hours-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(5, \"hours\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-hours-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(6, \"hours\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-hours-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(7, \"hours\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-hours-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(8, \"hours\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-hours-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(9, \"hours\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-hours-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(10, \"hours\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-hours-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(11, \"hours\")); _ck(_v, 52, 0, currVal_24, currVal_25); var currVal_26 = \"sym-datetime-slot sym-hours-slot\"; var currVal_27 = _ck(_v, 57, 0, _co.isTime(12, \"hours\")); _ck(_v, 56, 0, currVal_26, currVal_27); var currVal_28 = \"sym-datetime-slot sym-hours-slot\"; var currVal_29 = _ck(_v, 61, 0, _co.isTime(13, \"hours\")); _ck(_v, 60, 0, currVal_28, currVal_29); var currVal_30 = \"sym-datetime-slot sym-hours-slot\"; var currVal_31 = _ck(_v, 65, 0, _co.isTime(14, \"hours\")); _ck(_v, 64, 0, currVal_30, currVal_31); var currVal_32 = \"sym-datetime-slot sym-hours-slot\"; var currVal_33 = _ck(_v, 69, 0, _co.isTime(15, \"hours\")); _ck(_v, 68, 0, currVal_32, currVal_33); var currVal_34 = \"sym-datetime-slot sym-hours-slot\"; var currVal_35 = _ck(_v, 73, 0, _co.isTime(16, \"hours\")); _ck(_v, 72, 0, currVal_34, currVal_35); var currVal_36 = \"sym-datetime-slot sym-hours-slot\"; var currVal_37 = _ck(_v, 77, 0, _co.isTime(17, \"hours\")); _ck(_v, 76, 0, currVal_36, currVal_37); var currVal_38 = \"sym-datetime-slot sym-hours-slot\"; var currVal_39 = _ck(_v, 81, 0, _co.isTime(18, \"hours\")); _ck(_v, 80, 0, currVal_38, currVal_39); var currVal_40 = \"sym-datetime-slot sym-hours-slot\"; var currVal_41 = _ck(_v, 85, 0, _co.isTime(19, \"hours\")); _ck(_v, 84, 0, currVal_40, currVal_41); var currVal_42 = \"sym-datetime-slot sym-hours-slot\"; var currVal_43 = _ck(_v, 89, 0, _co.isTime(20, \"hours\")); _ck(_v, 88, 0, currVal_42, currVal_43); var currVal_44 = \"sym-datetime-slot sym-hours-slot\"; var currVal_45 = _ck(_v, 93, 0, _co.isTime(21, \"hours\")); _ck(_v, 92, 0, currVal_44, currVal_45); var currVal_46 = \"sym-datetime-slot sym-hours-slot\"; var currVal_47 = _ck(_v, 97, 0, _co.isTime(22, \"hours\")); _ck(_v, 96, 0, currVal_46, currVal_47); var currVal_48 = \"sym-datetime-slot sym-hours-slot\"; var currVal_49 = _ck(_v, 101, 0, _co.isTime(23, \"hours\")); _ck(_v, 100, 0, currVal_48, currVal_49); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_HOURS\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputTimeComponent_18(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 54, \"div\", [], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-header\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-datetime-header-center\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 48, \"div\", [[\"class\", \"sym-datetime-content sym-minutes-set\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(0, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 00 \"])), (_l()(), i2.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(5, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(12, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(13, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 05 \"])), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(10, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(16, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(17, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 10 \"])), (_l()(), i2.ɵeld(19, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(15, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 15 \"])), (_l()(), i2.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(20, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(24, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(25, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 20 \"])), (_l()(), i2.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(25, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(28, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(29, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 25 \"])), (_l()(), i2.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(30, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(32, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(33, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 30 \"])), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(35, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(36, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(37, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 35 \"])), (_l()(), i2.ɵeld(39, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(40, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(40, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(41, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 40 \"])), (_l()(), i2.ɵeld(43, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(45, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(44, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(45, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 45 \"])), (_l()(), i2.ɵeld(47, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(50, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(48, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(49, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 50 \"])), (_l()(), i2.ɵeld(51, 0, null, null, 3, \"div\", [[\"class\", \"sym-datetime-slot sym-minutes-slot\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setTime(55, \"minutes\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(52, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(53, { \"sym-active\": 0 }), (_l()(), i2.ɵted(-1, null, [\" 55 \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_3 = _ck(_v, 9, 0, _co.isTime(0, \"minutes\")); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_5 = _ck(_v, 13, 0, _co.isTime(5, \"minutes\")); _ck(_v, 12, 0, currVal_4, currVal_5); var currVal_6 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_7 = _ck(_v, 17, 0, _co.isTime(10, \"minutes\")); _ck(_v, 16, 0, currVal_6, currVal_7); var currVal_8 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_9 = _ck(_v, 21, 0, _co.isTime(15, \"minutes\")); _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_10 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_11 = _ck(_v, 25, 0, _co.isTime(20, \"minutes\")); _ck(_v, 24, 0, currVal_10, currVal_11); var currVal_12 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_13 = _ck(_v, 29, 0, _co.isTime(25, \"minutes\")); _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_15 = _ck(_v, 33, 0, _co.isTime(30, \"minutes\")); _ck(_v, 32, 0, currVal_14, currVal_15); var currVal_16 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_17 = _ck(_v, 37, 0, _co.isTime(35, \"minutes\")); _ck(_v, 36, 0, currVal_16, currVal_17); var currVal_18 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_19 = _ck(_v, 41, 0, _co.isTime(40, \"minutes\")); _ck(_v, 40, 0, currVal_18, currVal_19); var currVal_20 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_21 = _ck(_v, 45, 0, _co.isTime(45, \"minutes\")); _ck(_v, 44, 0, currVal_20, currVal_21); var currVal_22 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_23 = _ck(_v, 49, 0, _co.isTime(50, \"minutes\")); _ck(_v, 48, 0, currVal_22, currVal_23); var currVal_24 = \"sym-datetime-slot sym-minutes-slot\"; var currVal_25 = _ck(_v, 53, 0, _co.isTime(55, \"minutes\")); _ck(_v, 52, 0, currVal_24, currVal_25); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.RESOURCES_MINUTES\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputTimeComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"dropdown-menu sym-datetime-dropdown sym-p-a\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_4)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_8)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_12)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_17)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_18)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown-menu sym-datetime-dropdown sym-p-a\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = (_co.state === \"year\"); _ck(_v, 4, 0, currVal_2); var currVal_3 = (_co.state === \"month\"); _ck(_v, 6, 0, currVal_3); var currVal_4 = (_co.state === \"day\"); _ck(_v, 8, 0, currVal_4); var currVal_5 = (_co.state === \"hours\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_co.state === \"minutes\"); _ck(_v, 12, 0, currVal_6); }, null); }\nfunction View_InputTimeComponent_19(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputTimeComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 23, \"div\", [[\"class\", \"dropdown\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"show\": 0, \"sym-has-errors\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 10, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"focus\"], [null, \"blur\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 7)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 7)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (i2.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i2.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_6 = (i2.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_6 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_7 = (i2.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.valueAsText = $event) !== false);\n ad = (pd_8 && ad);\n } if ((\"focus\" === en)) {\n var pd_9 = (_co.setClose() !== false);\n ad = (pd_9 && ad);\n } if ((\"blur\" === en)) {\n var pd_10 = (_co.leaveViaBlur() !== false);\n ad = (pd_10 && ad);\n } return ad; }, null, null)), i2.ɵdid(5, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(6, { \"sym-invalid\": 0 }), i2.ɵdid(7, 16384, null, 0, i6.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵdid(8, 540672, null, 0, i7.MaskedInputDirective, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], { textMaskConfig: [0, \"textMaskConfig\"] }, null), i2.ɵpod(9, { mask: 0, pipe: 1, keepCharPositions: 2 }), i2.ɵprd(1024, null, i6.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i6.DefaultValueAccessor, i7.MaskedInputDirective]), i2.ɵdid(11, 671744, null, 0, i6.NgModel, [[8, null], [8, null], [8, null], [6, i6.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i6.NgControl, null, [i6.NgModel]), i2.ɵdid(13, 16384, null, 0, i6.NgControlStatus, [[4, i6.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(15, 0, null, null, 4, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleDropdown() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(17, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(18, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(19, { \"sym-icon-date\": 0, \"sym-icon-time\": 1 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_3)), i2.ɵdid(21, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_19)), i2.ɵdid(23, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dropdown\"; var currVal_1 = _ck(_v, 2, 0, _co.isOpen(), _co.hasErrors()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_10 = \"form-control\"; var currVal_11 = _ck(_v, 6, 0, !_co.isValidInput()); _ck(_v, 5, 0, currVal_10, currVal_11); var currVal_12 = _ck(_v, 9, 0, _co.mask, _co.pipe, true); _ck(_v, 8, 0, currVal_12); var currVal_13 = _co.valueAsText; _ck(_v, 11, 0, currVal_13); var currVal_14 = \"icon\"; var currVal_15 = _ck(_v, 19, 0, _co.isAllowed(\"day\"), !_co.isAllowed(\"day\")); _ck(_v, 18, 0, currVal_14, currVal_15); var currVal_16 = _co.isOpen(); _ck(_v, 21, 0, currVal_16); var currVal_17 = _co.validationErrors; _ck(_v, 23, 0, currVal_17); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 14).transform(_co.placeholderKey)); var currVal_3 = i2.ɵnov(_v, 13).ngClassUntouched; var currVal_4 = i2.ɵnov(_v, 13).ngClassTouched; var currVal_5 = i2.ɵnov(_v, 13).ngClassPristine; var currVal_6 = i2.ɵnov(_v, 13).ngClassDirty; var currVal_7 = i2.ɵnov(_v, 13).ngClassValid; var currVal_8 = i2.ɵnov(_v, 13).ngClassInvalid; var currVal_9 = i2.ɵnov(_v, 13).ngClassPending; _ck(_v, 4, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nexport function View_InputTimeComponent_0(_l) { return i2.ɵvid(0, [i2.ɵpid(0, i8.DateFormatPipe, []), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputTimeComponent_2)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_InputTimeComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-time\", [], null, null, null, View_InputTimeComponent_0, RenderType_InputTimeComponent)), i2.ɵdid(1, 180224, null, 0, i9.InputTimeComponent, [i10.LocalisationService], null, null)], null, null); }\nvar InputTimeComponentNgFactory = i2.ɵccf(\"sym-input-time\", i9.InputTimeComponent, View_InputTimeComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", format: \"format\" }, { valueChange: \"valueChange\" }, []);\nexport { InputTimeComponentNgFactory as InputTimeComponentNgFactory };\n","/**\n* @file Fieldset component for time input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the time fieldset component\n */\nvar FieldsetTimeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetTimeComponent, _super);\n /**\n * Constructs a FieldsetTimeComponent\n */\n function FieldsetTimeComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetTimeComponent.register = function () {\n ComponentRegistry.register('fieldset', 'time', FieldsetTimeComponent);\n };\n return FieldsetTimeComponent;\n}(FieldsetBase));\nexport { FieldsetTimeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for time input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-time/input-time.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-time/input-time.component\";\nimport * as i8 from \"../../../core/localisation.service\";\nimport * as i9 from \"./fieldset-time.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetTimeComponent = [i0.styles];\nvar RenderType_FieldsetTimeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetTimeComponent, data: {} });\nexport { RenderType_FieldsetTimeComponent as RenderType_FieldsetTimeComponent };\nfunction View_FieldsetTimeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetTimeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetTimeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetTimeComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetTimeComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-time\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputTimeComponent_0, i6.RenderType_InputTimeComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputTimeComponent, [i8.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetTimeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-time\", [], null, null, null, View_FieldsetTimeComponent_0, RenderType_FieldsetTimeComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetTimeComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetTimeComponentNgFactory = i1.ɵccf(\"sym-fieldset-time\", i9.FieldsetTimeComponent, View_FieldsetTimeComponent_Host_0, {}, {}, []);\nexport { FieldsetTimeComponentNgFactory as FieldsetTimeComponentNgFactory };\n","/**\n * @file Input component for url input\n * @author Heino Lenting, Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { Validator } from 'breeze-client';\n/**\n * Class for the url input component\n */\nvar InputUrlComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputUrlComponent, _super);\n function InputUrlComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputUrlComponent\n */\n InputUrlComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (Validator.url().validate(newValue)) {\n var errorKey = 'url';\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputUrlComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputUrlComponent;\n}(InputStringBase));\nexport { InputUrlComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for url input\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-url.component\";\nvar styles_InputUrlComponent = [i0.styles];\nvar RenderType_InputUrlComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputUrlComponent, data: {} });\nexport { RenderType_InputUrlComponent as RenderType_InputUrlComponent };\nfunction View_InputUrlComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.value, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.value; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_InputUrlComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputUrlComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-url\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputUrlComponent_3)), i1.ɵdid(20, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 7, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_12, currVal_13); var currVal_15 = _co.validationErrors; _ck(_v, 20, 0, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.URL_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 9).ngClassValid; var currVal_8 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", _co.value, \"\"); _ck(_v, 12, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.OPEN\")); _ck(_v, 17, 0, currVal_14); }); }\nexport function View_InputUrlComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputUrlComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputUrlComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputUrlComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-url\", [], null, null, null, View_InputUrlComponent_0, RenderType_InputUrlComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputUrlComponent, [], null, null)], null, null); }\nvar InputUrlComponentNgFactory = i1.ɵccf(\"sym-input-url\", i5.InputUrlComponent, View_InputUrlComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputUrlComponentNgFactory as InputUrlComponentNgFactory };\n","/**\n* @file Fieldset component for url input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the url fieldset component\n */\nvar FieldsetUrlComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetUrlComponent, _super);\n /**\n * Constructs a FieldsetUrlComponent\n */\n function FieldsetUrlComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetUrlComponent.register = function () {\n ComponentRegistry.register('fieldset', 'url', FieldsetUrlComponent);\n };\n return FieldsetUrlComponent;\n}(FieldsetBase));\nexport { FieldsetUrlComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for url input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-url/input-url.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-url/input-url.component\";\nimport * as i8 from \"./fieldset-url.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetUrlComponent = [i0.styles];\nvar RenderType_FieldsetUrlComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetUrlComponent, data: {} });\nexport { RenderType_FieldsetUrlComponent as RenderType_FieldsetUrlComponent };\nfunction View_FieldsetUrlComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetUrlComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetUrlComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetUrlComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetUrlComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-url\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputUrlComponent_0, i6.RenderType_InputUrlComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputUrlComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetUrlComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-url\", [], null, null, null, View_FieldsetUrlComponent_0, RenderType_FieldsetUrlComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetUrlComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetUrlComponentNgFactory = i1.ɵccf(\"sym-fieldset-url\", i8.FieldsetUrlComponent, View_FieldsetUrlComponent_Host_0, {}, {}, []);\nexport { FieldsetUrlComponentNgFactory as FieldsetUrlComponentNgFactory };\n","/**\n* @file Google profile URL validator\n* @author Wim Haanstra\n*/\nimport { Validator } from 'breeze-client';\nexport var NAME_GOOGLE_VALIDATOR = 'google';\n/**\n * This validator validates the given URL\n */\nexport function GoogleValidator() {\n var contxt = {};\n var validator = new Validator(NAME_GOOGLE_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /^[0-9]{1,21}$/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_GOOGLE_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.GOOGLE';\nValidator.register(GoogleValidator());\n","/**\n* @file Input component for google input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { GoogleValidator, NAME_GOOGLE_VALIDATOR } from '../../../core/validators/google.validator';\nimport { Validator } from 'breeze-client';\nimport { SettingsService } from '../../../settings.service';\n/**\n * Class for the google input component\n */\nvar InputGoogleComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputGoogleComponent, _super);\n /**\n * Creates an instance of InputGoogleComponent.\n * @param {SettingsService} settingsService Service to get the application settings.\n * */\n function InputGoogleComponent(settingsService) {\n var _this = _super.call(this) || this;\n _this.settingsService = settingsService;\n return _this;\n }\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputGoogleComponent\n */\n InputGoogleComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (GoogleValidator().validate(newValue)) {\n var errorKey = NAME_GOOGLE_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputGoogleComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n Object.defineProperty(InputGoogleComponent.prototype, \"url\", {\n get: function () {\n return this.settingsService.settings.frontend.social.google + this.value;\n },\n enumerable: true,\n configurable: true\n });\n return InputGoogleComponent;\n}(InputStringBase));\nexport { InputGoogleComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for google input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-google.component\";\nimport * as i6 from \"../../../settings.service\";\nvar styles_InputGoogleComponent = [i0.styles];\nvar RenderType_InputGoogleComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputGoogleComponent, data: {} });\nexport { RenderType_InputGoogleComponent as RenderType_InputGoogleComponent };\nfunction View_InputGoogleComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"a\", [[\"class\", \"btn btn-secondary btn-sm btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-google\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputGoogleComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputGoogleComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 23, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-google\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"small\", [[\"class\", \"form-text text-muted text-truncate\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputGoogleComponent_3)), i1.ɵdid(23, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 7, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_12, currVal_13); var currVal_18 = _co.validationErrors; _ck(_v, 23, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.GOOGLE_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 9).ngClassValid; var currVal_8 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 12, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 17, 0, currVal_14); var currVal_15 = !_co.hasValidContent(); _ck(_v, 19, 0, currVal_15); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 20, 0, currVal_16); var currVal_17 = _co.url; _ck(_v, 21, 0, currVal_17); }); }\nexport function View_InputGoogleComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputGoogleComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputGoogleComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputGoogleComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-google\", [], null, null, null, View_InputGoogleComponent_0, RenderType_InputGoogleComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputGoogleComponent, [i6.SettingsService], null, null)], null, null); }\nvar InputGoogleComponentNgFactory = i1.ɵccf(\"sym-input-google\", i5.InputGoogleComponent, View_InputGoogleComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputGoogleComponentNgFactory as InputGoogleComponentNgFactory };\n","/**\n* @file Fieldset component for google input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the google fieldset component\n */\nvar FieldsetGoogleComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetGoogleComponent, _super);\n /**\n * Constructs a FieldsetGoogleComponent\n */\n function FieldsetGoogleComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetGoogleComponent.register = function () {\n ComponentRegistry.register('fieldset', 'google', FieldsetGoogleComponent);\n };\n return FieldsetGoogleComponent;\n}(FieldsetBase));\nexport { FieldsetGoogleComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for google input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-google/input-google.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-google/input-google.component\";\nimport * as i8 from \"../../../settings.service\";\nimport * as i9 from \"./fieldset-google.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetGoogleComponent = [i0.styles];\nvar RenderType_FieldsetGoogleComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetGoogleComponent, data: {} });\nexport { RenderType_FieldsetGoogleComponent as RenderType_FieldsetGoogleComponent };\nfunction View_FieldsetGoogleComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetGoogleComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetGoogleComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetGoogleComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetGoogleComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-google\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputGoogleComponent_0, i6.RenderType_InputGoogleComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputGoogleComponent, [i8.SettingsService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetGoogleComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-google\", [], null, null, null, View_FieldsetGoogleComponent_0, RenderType_FieldsetGoogleComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetGoogleComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetGoogleComponentNgFactory = i1.ɵccf(\"sym-fieldset-google\", i9.FieldsetGoogleComponent, View_FieldsetGoogleComponent_Host_0, {}, {}, []);\nexport { FieldsetGoogleComponentNgFactory as FieldsetGoogleComponentNgFactory };\n","/**\n * @file Twitter URL validator\n * @author Wim Haanstra\n */\nimport { Validator } from 'breeze-client';\nexport var NAME_TWITTER_VALIDATOR = 'twitter';\n/**\n * This validator validates the given URL\n */\nexport function TwitterValidator() {\n var contxt = {};\n var validator = new Validator(NAME_TWITTER_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /^[a-zA-Z0-9_]{1,15}$/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_TWITTER_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.TWITTER';\nValidator.register(TwitterValidator());\n","/**\n * @file Input component for twitter input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { TwitterValidator, NAME_TWITTER_VALIDATOR } from '../../../core/validators/twitter.validator';\nimport { Validator } from 'breeze-client';\nimport { SettingsService } from '../../../settings.service';\n/**\n * Class for the twitter input component\n */\nvar InputTwitterComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputTwitterComponent, _super);\n /**\n * Creates an instance of InputTwitterComponent.\n * @param {SettingsService} settingsService Service to get the application settings.\n * */\n function InputTwitterComponent(settingsService) {\n var _this = _super.call(this) || this;\n _this.settingsService = settingsService;\n return _this;\n }\n Object.defineProperty(InputTwitterComponent.prototype, \"url\", {\n get: function () {\n return this.settingsService.settings.frontend.social.twitter + this.value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputTwitterComponent\n */\n InputTwitterComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (TwitterValidator().validate(newValue)) {\n var errorKey = NAME_TWITTER_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputTwitterComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputTwitterComponent;\n}(InputStringBase));\nexport { InputTwitterComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for twitter input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-twitter.component\";\nimport * as i6 from \"../../../settings.service\";\nvar styles_InputTwitterComponent = [i0.styles];\nvar RenderType_InputTwitterComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputTwitterComponent, data: {} });\nexport { RenderType_InputTwitterComponent as RenderType_InputTwitterComponent };\nfunction View_InputTwitterComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-twitter\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.INPUTS.TWEETS\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputTwitterComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputTwitterComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 23, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-twitter\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"small\", [[\"class\", \"form-text text-muted text-truncate\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputTwitterComponent_3)), i1.ɵdid(23, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 7, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_12, currVal_13); var currVal_18 = _co.validationErrors; _ck(_v, 23, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.TWITTER_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 9).ngClassValid; var currVal_8 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 12, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.TWEETS\")); _ck(_v, 17, 0, currVal_14); var currVal_15 = !_co.hasValidContent(); _ck(_v, 19, 0, currVal_15); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 20, 0, currVal_16); var currVal_17 = _co.url; _ck(_v, 21, 0, currVal_17); }); }\nexport function View_InputTwitterComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputTwitterComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputTwitterComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputTwitterComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-twitter\", [], null, null, null, View_InputTwitterComponent_0, RenderType_InputTwitterComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputTwitterComponent, [i6.SettingsService], null, null)], null, null); }\nvar InputTwitterComponentNgFactory = i1.ɵccf(\"sym-input-twitter\", i5.InputTwitterComponent, View_InputTwitterComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputTwitterComponentNgFactory as InputTwitterComponentNgFactory };\n","/**\n* @file Fieldset component for twitter input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the twitter fieldset component\n */\nvar FieldsetTwitterComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetTwitterComponent, _super);\n /**\n * Constructs a FieldsetTwitterComponent\n */\n function FieldsetTwitterComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetTwitterComponent.register = function () {\n ComponentRegistry.register('fieldset', 'twitter', FieldsetTwitterComponent);\n };\n return FieldsetTwitterComponent;\n}(FieldsetBase));\nexport { FieldsetTwitterComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for twitter input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-twitter/input-twitter.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-twitter/input-twitter.component\";\nimport * as i8 from \"../../../settings.service\";\nimport * as i9 from \"./fieldset-twitter.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetTwitterComponent = [i0.styles];\nvar RenderType_FieldsetTwitterComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetTwitterComponent, data: {} });\nexport { RenderType_FieldsetTwitterComponent as RenderType_FieldsetTwitterComponent };\nfunction View_FieldsetTwitterComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetTwitterComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetTwitterComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetTwitterComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetTwitterComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-twitter\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputTwitterComponent_0, i6.RenderType_InputTwitterComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputTwitterComponent, [i8.SettingsService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetTwitterComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-twitter\", [], null, null, null, View_FieldsetTwitterComponent_0, RenderType_FieldsetTwitterComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetTwitterComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetTwitterComponentNgFactory = i1.ɵccf(\"sym-fieldset-twitter\", i9.FieldsetTwitterComponent, View_FieldsetTwitterComponent_Host_0, {}, {}, []);\nexport { FieldsetTwitterComponentNgFactory as FieldsetTwitterComponentNgFactory };\n","/**\n * @file Xing URL validator\n * @author Wim Haanstra\n */\nimport { Validator } from 'breeze-client';\nexport var NAME_XING_VALIDATOR = 'xing';\n/**\n * This validator validates that given URL\n */\nexport function XingValidator() {\n var contxt = {};\n var validator = new Validator(NAME_XING_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /^[a-zA-Z\\._0-9]+$/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_XING_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.XING';\nValidator.register(XingValidator());\n","/**\n * @file Input component for xing input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { XingValidator, NAME_XING_VALIDATOR } from '../../../core/validators/xing.validator';\nimport { Validator } from 'breeze-client';\nimport { SettingsService } from '../../../settings.service';\n/**\n * Class for the xing input component\n */\nvar InputXingComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputXingComponent, _super);\n /**\n * Creates an instance of InputTwitterComponent.\n * @param {SettingsService} settingsService Service to get the application settings.\n * */\n function InputXingComponent(settingsService) {\n var _this = _super.call(this) || this;\n _this.settingsService = settingsService;\n return _this;\n }\n Object.defineProperty(InputXingComponent.prototype, \"url\", {\n get: function () {\n return this.settingsService.settings.frontend.social.xing + this.value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputXingComponent\n */\n InputXingComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (XingValidator().validate(newValue)) {\n var errorKey = NAME_XING_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputXingComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputXingComponent;\n}(InputStringBase));\nexport { InputXingComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for xing input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-xing.component\";\nimport * as i6 from \"../../../settings.service\";\nvar styles_InputXingComponent = [i0.styles];\nvar RenderType_InputXingComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputXingComponent, data: {} });\nexport { RenderType_InputXingComponent as RenderType_InputXingComponent };\nfunction View_InputXingComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"a\", [[\"class\", \"btn btn-secondary btn-sm btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-xing\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputXingComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputXingComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 23, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-xing\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"small\", [[\"class\", \"form-text text-muted text-truncate\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputXingComponent_3)), i1.ɵdid(23, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 7, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_12, currVal_13); var currVal_18 = _co.validationErrors; _ck(_v, 23, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.XING_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 9).ngClassValid; var currVal_8 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 12, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 17, 0, currVal_14); var currVal_15 = !_co.hasValidContent(); _ck(_v, 19, 0, currVal_15); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 20, 0, currVal_16); var currVal_17 = _co.url; _ck(_v, 21, 0, currVal_17); }); }\nexport function View_InputXingComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputXingComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputXingComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputXingComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-xing\", [], null, null, null, View_InputXingComponent_0, RenderType_InputXingComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputXingComponent, [i6.SettingsService], null, null)], null, null); }\nvar InputXingComponentNgFactory = i1.ɵccf(\"sym-input-xing\", i5.InputXingComponent, View_InputXingComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputXingComponentNgFactory as InputXingComponentNgFactory };\n","/**\n* @file Fieldset component for xing input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the xing fieldset component\n */\nvar FieldsetXingComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetXingComponent, _super);\n /**\n * Constructs a FieldsetXingComponent\n */\n function FieldsetXingComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetXingComponent.register = function () {\n ComponentRegistry.register('fieldset', 'xing', FieldsetXingComponent);\n };\n return FieldsetXingComponent;\n}(FieldsetBase));\nexport { FieldsetXingComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for xing input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-xing/input-xing.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-xing/input-xing.component\";\nimport * as i8 from \"../../../settings.service\";\nimport * as i9 from \"./fieldset-xing.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetXingComponent = [i0.styles];\nvar RenderType_FieldsetXingComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetXingComponent, data: {} });\nexport { RenderType_FieldsetXingComponent as RenderType_FieldsetXingComponent };\nfunction View_FieldsetXingComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetXingComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetXingComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetXingComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetXingComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-xing\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputXingComponent_0, i6.RenderType_InputXingComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputXingComponent, [i8.SettingsService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetXingComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-xing\", [], null, null, null, View_FieldsetXingComponent_0, RenderType_FieldsetXingComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetXingComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetXingComponentNgFactory = i1.ɵccf(\"sym-fieldset-xing\", i9.FieldsetXingComponent, View_FieldsetXingComponent_Host_0, {}, {}, []);\nexport { FieldsetXingComponentNgFactory as FieldsetXingComponentNgFactory };\n","/**\n* @file Facebook profile URL validator\n* @author Wim Haanstra\n*/\nimport { Validator } from 'breeze-client';\nexport var NAME_FACEBOOK_VALIDATOR = 'facebook';\n/**\n * This validator validates the given URL\n */\nexport function FacebookValidator() {\n var contxt = {};\n var validator = new Validator(NAME_FACEBOOK_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /^([a-zA-Z0-9\\.])+$/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_FACEBOOK_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.FACEBOOK';\nValidator.register(FacebookValidator());\n","/**\n* @file Input component for facebook input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { FacebookValidator, NAME_FACEBOOK_VALIDATOR } from '../../../core/validators/facebook.validator';\nimport { Validator } from 'breeze-client';\nimport { SettingsService } from '../../../settings.service';\n/**\n * Class for the facebook input component\n */\nvar InputFacebookComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputFacebookComponent, _super);\n /**\n * Creates an instance of InputFacebookComponent.\n * @param {SettingsService} settingsService Service to get the application settings.\n */\n function InputFacebookComponent(settingsService) {\n var _this = _super.call(this) || this;\n _this.settingsService = settingsService;\n return _this;\n }\n Object.defineProperty(InputFacebookComponent.prototype, \"url\", {\n get: function () {\n return this.settingsService.settings.frontend.social.facebook + this.value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputFacebookComponent\n */\n InputFacebookComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (FacebookValidator().validate(newValue)) {\n var errorKey = NAME_FACEBOOK_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n this.clearErrors();\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputFacebookComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputFacebookComponent;\n}(InputStringBase));\nexport { InputFacebookComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for facebook input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-facebook.component\";\nimport * as i6 from \"../../../settings.service\";\nvar styles_InputFacebookComponent = [i0.styles];\nvar RenderType_InputFacebookComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputFacebookComponent, data: {} });\nexport { RenderType_InputFacebookComponent as RenderType_InputFacebookComponent };\nfunction View_InputFacebookComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"a\", [[\"class\", \"btn btn-secondary btn-sm btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-facebook\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputFacebookComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputFacebookComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 23, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-facebook\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"small\", [[\"class\", \"form-text text-muted text-truncate\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputFacebookComponent_3)), i1.ɵdid(23, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 7, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_12, currVal_13); var currVal_18 = _co.validationErrors; _ck(_v, 23, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.FACEBOOK_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 9).ngClassValid; var currVal_8 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 12, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 17, 0, currVal_14); var currVal_15 = !_co.hasValidContent(); _ck(_v, 19, 0, currVal_15); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 20, 0, currVal_16); var currVal_17 = _co.url; _ck(_v, 21, 0, currVal_17); }); }\nexport function View_InputFacebookComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputFacebookComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputFacebookComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputFacebookComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-facebook\", [], null, null, null, View_InputFacebookComponent_0, RenderType_InputFacebookComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputFacebookComponent, [i6.SettingsService], null, null)], null, null); }\nvar InputFacebookComponentNgFactory = i1.ɵccf(\"sym-input-facebook\", i5.InputFacebookComponent, View_InputFacebookComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputFacebookComponentNgFactory as InputFacebookComponentNgFactory };\n","/**\n* @file Fieldset component for facebook input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the facebook fieldset component\n */\nvar FieldsetFacebookComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetFacebookComponent, _super);\n /**\n * Constructs a FieldsetFacebookComponent\n */\n function FieldsetFacebookComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetFacebookComponent.register = function () {\n ComponentRegistry.register('fieldset', 'facebook', FieldsetFacebookComponent);\n };\n return FieldsetFacebookComponent;\n}(FieldsetBase));\nexport { FieldsetFacebookComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for facebook input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-facebook/input-facebook.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-facebook/input-facebook.component\";\nimport * as i8 from \"../../../settings.service\";\nimport * as i9 from \"./fieldset-facebook.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetFacebookComponent = [i0.styles];\nvar RenderType_FieldsetFacebookComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetFacebookComponent, data: {} });\nexport { RenderType_FieldsetFacebookComponent as RenderType_FieldsetFacebookComponent };\nfunction View_FieldsetFacebookComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetFacebookComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetFacebookComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetFacebookComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetFacebookComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-facebook\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputFacebookComponent_0, i6.RenderType_InputFacebookComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputFacebookComponent, [i8.SettingsService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetFacebookComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-facebook\", [], null, null, null, View_FieldsetFacebookComponent_0, RenderType_FieldsetFacebookComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetFacebookComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetFacebookComponentNgFactory = i1.ɵccf(\"sym-fieldset-facebook\", i9.FieldsetFacebookComponent, View_FieldsetFacebookComponent_Host_0, {}, {}, []);\nexport { FieldsetFacebookComponentNgFactory as FieldsetFacebookComponentNgFactory };\n","/**\n* @file LinkedIn URL validator\n* @author Wim Haanstra\n*/\nimport { Validator } from 'breeze-client';\nexport var NAME_LINKEDIN_VALIDATOR = 'linkedin';\n/**\n * This validator validates that given URL\n */\nexport function LinkedInValidator() {\n var contxt = {};\n var validator = new Validator(NAME_LINKEDIN_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /^[a-zA-Z0-9_-]+$/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_LINKEDIN_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.LINKEDIN';\nValidator.register(LinkedInValidator());\n","/**\n * @file Input component for linkedin input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { LinkedInValidator, NAME_LINKEDIN_VALIDATOR } from '../../../core/validators/linkedin.validator';\nimport { Validator } from 'breeze-client';\nimport { SettingsService } from '../../../settings.service';\n/**\n * Class for the linkedin input component\n */\nvar InputLinkedinComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputLinkedinComponent, _super);\n /**\n * Creates an instance of InputLinkedinComponent.\n * @param {SettingsService} settingsService Service to get the application settings.\n * */\n function InputLinkedinComponent(settingsService) {\n var _this = _super.call(this) || this;\n _this.settingsService = settingsService;\n return _this;\n }\n Object.defineProperty(InputLinkedinComponent.prototype, \"url\", {\n get: function () {\n return this.settingsService.settings.frontend.social.linkedin + this.value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputLinkedinComponent\n */\n InputLinkedinComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (LinkedInValidator().validate(newValue)) {\n var errorKey = NAME_LINKEDIN_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputLinkedinComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputLinkedinComponent;\n}(InputStringBase));\nexport { InputLinkedinComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for linkedin input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-linkedin.component\";\nimport * as i6 from \"../../../settings.service\";\nvar styles_InputLinkedinComponent = [i0.styles];\nvar RenderType_InputLinkedinComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputLinkedinComponent, data: {} });\nexport { RenderType_InputLinkedinComponent as RenderType_InputLinkedinComponent };\nfunction View_InputLinkedinComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"a\", [[\"class\", \"btn btn-secondary btn-sm btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-linkedin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputLinkedinComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputLinkedinComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 23, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-linkedin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"small\", [[\"class\", \"form-text text-muted text-truncate\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputLinkedinComponent_3)), i1.ɵdid(23, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 7, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_12, currVal_13); var currVal_18 = _co.validationErrors; _ck(_v, 23, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.LINKEDIN_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 9).ngClassValid; var currVal_8 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 12, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.PROFILE\")); _ck(_v, 17, 0, currVal_14); var currVal_15 = !_co.hasValidContent(); _ck(_v, 19, 0, currVal_15); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", _co.url, \"\"); _ck(_v, 20, 0, currVal_16); var currVal_17 = _co.url; _ck(_v, 21, 0, currVal_17); }); }\nexport function View_InputLinkedinComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputLinkedinComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputLinkedinComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputLinkedinComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-linkedin\", [], null, null, null, View_InputLinkedinComponent_0, RenderType_InputLinkedinComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputLinkedinComponent, [i6.SettingsService], null, null)], null, null); }\nvar InputLinkedinComponentNgFactory = i1.ɵccf(\"sym-input-linkedin\", i5.InputLinkedinComponent, View_InputLinkedinComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputLinkedinComponentNgFactory as InputLinkedinComponentNgFactory };\n","/**\n* @file Fieldset component for linkedin input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the linkedin fieldset component\n */\nvar FieldsetLinkedinComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetLinkedinComponent, _super);\n /**\n * Constructs a FieldsetLinkedinComponent\n */\n function FieldsetLinkedinComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetLinkedinComponent.register = function () {\n ComponentRegistry.register('fieldset', 'linkedin', FieldsetLinkedinComponent);\n };\n return FieldsetLinkedinComponent;\n}(FieldsetBase));\nexport { FieldsetLinkedinComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for linkedin input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-linkedin/input-linkedin.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-linkedin/input-linkedin.component\";\nimport * as i8 from \"../../../settings.service\";\nimport * as i9 from \"./fieldset-linkedin.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetLinkedinComponent = [i0.styles];\nvar RenderType_FieldsetLinkedinComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetLinkedinComponent, data: {} });\nexport { RenderType_FieldsetLinkedinComponent as RenderType_FieldsetLinkedinComponent };\nfunction View_FieldsetLinkedinComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetLinkedinComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetLinkedinComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLinkedinComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLinkedinComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-linkedin\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputLinkedinComponent_0, i6.RenderType_InputLinkedinComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputLinkedinComponent, [i8.SettingsService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetLinkedinComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-linkedin\", [], null, null, null, View_FieldsetLinkedinComponent_0, RenderType_FieldsetLinkedinComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetLinkedinComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetLinkedinComponentNgFactory = i1.ɵccf(\"sym-fieldset-linkedin\", i9.FieldsetLinkedinComponent, View_FieldsetLinkedinComponent_Host_0, {}, {}, []);\nexport { FieldsetLinkedinComponentNgFactory as FieldsetLinkedinComponentNgFactory };\n","/**\n* @file Skype username validator\n* @author Wim Haanstra\n*/\nimport { Validator } from 'breeze-client';\nexport var NAME_SKYPE_VALIDATOR = 'skype';\n/**\n * This validator validates a skype username\n */\nexport function SkypeValidator() {\n var contxt = {};\n var validator = new Validator(NAME_SKYPE_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /[a-zA-Z]{1}[a-zA-Z0-9\\.,\\-_]{5,31}/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_SKYPE_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.SKYPE';\nValidator.register(SkypeValidator());\n","/**\n * @file Input component for skype input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { InputStringBase } from '../../../base/helpers/input-string-base';\nimport { SkypeValidator, NAME_SKYPE_VALIDATOR } from '../../../core/validators/skype.validator';\nimport { Validator } from 'breeze-client';\n/**\n * Class for the skype input component\n */\nvar InputSkypeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputSkypeComponent, _super);\n function InputSkypeComponent(sanitizer) {\n var _this = _super.call(this) || this;\n _this.sanitizer = sanitizer;\n return _this;\n }\n Object.defineProperty(InputSkypeComponent.prototype, \"url\", {\n /**\n * Returns a safe URL for the browser to execute\n */\n get: function () {\n var url = \"skype:\" + this.value + \"?call\";\n return this.sanitizer.bypassSecurityTrustUrl(url);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputSkypeComponent\n */\n InputSkypeComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (SkypeValidator().validate(newValue)) {\n var errorKey = NAME_SKYPE_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * The default angular control validator based upon the url breeze.js validator.\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])} An angular control validator.\n */\n InputSkypeComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n return InputSkypeComponent;\n}(InputStringBase));\nexport { InputSkypeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for skype input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-skype.component\";\nimport * as i6 from \"@angular/platform-browser\";\nvar styles_InputSkypeComponent = [i0.styles];\nvar RenderType_InputSkypeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputSkypeComponent, data: {} });\nexport { RenderType_InputSkypeComponent as RenderType_InputSkypeComponent };\nfunction View_InputSkypeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"a\", [[\"class\", \"btn btn-secondary btn-sm btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-skype\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"skype:\", _co.value, \"?call\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.INPUTS.CALL\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InputSkypeComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputSkypeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"value\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (_co.valueInput($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(7, 540672, null, 0, i4.FormControlDirective, [[8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR], [2, i4.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i4.NgControl, null, [i4.FormControlDirective]), i1.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"a\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-skype\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSkypeComponent_3)), i1.ɵdid(20, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_10 = _co.control; _ck(_v, 7, 0, currVal_10); var currVal_12 = \"btn btn-secondary btn-sm\"; var currVal_13 = _ck(_v, 14, 0, (!_co.value || !_co.isValidInput())); _ck(_v, 13, 0, currVal_12, currVal_13); var currVal_15 = _co.validationErrors; _ck(_v, 20, 0, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 10).transform(\"APP.INPUTS.SKYPE_PLACEHOLDER\")), \"\"); var currVal_2 = _co.value; var currVal_3 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 9).ngClassValid; var currVal_8 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = _co.url; _ck(_v, 12, 0, currVal_11); var currVal_14 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.INPUTS.CALL\")); _ck(_v, 17, 0, currVal_14); }); }\nexport function View_InputSkypeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSkypeComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSkypeComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputSkypeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-skype\", [], null, null, null, View_InputSkypeComponent_0, RenderType_InputSkypeComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputSkypeComponent, [i6.DomSanitizer], null, null)], null, null); }\nvar InputSkypeComponentNgFactory = i1.ɵccf(\"sym-input-skype\", i5.InputSkypeComponent, View_InputSkypeComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputSkypeComponentNgFactory as InputSkypeComponentNgFactory };\n","/**\n* @file Fieldset component for skype input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the skype fieldset component\n */\nvar FieldsetSkypeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetSkypeComponent, _super);\n /**\n * Constructs a FieldsetSkypeComponent\n */\n function FieldsetSkypeComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetSkypeComponent.register = function () {\n ComponentRegistry.register('fieldset', 'skype', FieldsetSkypeComponent);\n };\n return FieldsetSkypeComponent;\n}(FieldsetBase));\nexport { FieldsetSkypeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for skype input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-skype/input-skype.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-skype/input-skype.component\";\nimport * as i8 from \"@angular/platform-browser\";\nimport * as i9 from \"./fieldset-skype.component\";\nimport * as i10 from \"../fieldset-provider\";\nvar styles_FieldsetSkypeComponent = [i0.styles];\nvar RenderType_FieldsetSkypeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetSkypeComponent, data: {} });\nexport { RenderType_FieldsetSkypeComponent as RenderType_FieldsetSkypeComponent };\nfunction View_FieldsetSkypeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetSkypeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetSkypeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSkypeComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSkypeComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-skype\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputSkypeComponent_0, i6.RenderType_InputSkypeComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputSkypeComponent, [i8.DomSanitizer], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetSkypeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-skype\", [], null, null, null, View_FieldsetSkypeComponent_0, RenderType_FieldsetSkypeComponent)), i1.ɵdid(1, 180224, null, 0, i9.FieldsetSkypeComponent, [i10.FieldsetProvider], null, null)], null, null); }\nvar FieldsetSkypeComponentNgFactory = i1.ɵccf(\"sym-fieldset-skype\", i9.FieldsetSkypeComponent, View_FieldsetSkypeComponent_Host_0, {}, {}, []);\nexport { FieldsetSkypeComponentNgFactory as FieldsetSkypeComponentNgFactory };\n","/**\n * @file Input component for emotions input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the emotions input component\n */\nvar InputEmotionsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputEmotionsComponent, _super);\n function InputEmotionsComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.valueOptions = [0, 1, 2, 3, 4, 5]; // (0 = unset)\n return _this;\n }\n /**\n * Set the value of the emotions input\n * @param newValue The new value of het emotions input\n */\n InputEmotionsComponent.prototype.setEmotion = function (newValue) {\n if (this.value !== newValue) {\n // Other value is clicked, so store this new value\n this.setValue(newValue);\n }\n else {\n // Same value is clicked, so reset value\n this.setValue(0);\n }\n };\n /**\n * Check if value exists\n */\n InputEmotionsComponent.prototype.hasEmotion = function () {\n return (this.value in this.valueOptions);\n };\n return InputEmotionsComponent;\n}(InputBase));\nexport { InputEmotionsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for emotions input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-emotions.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./input-emotions.component\";\nvar styles_InputEmotionsComponent = [i0.styles, i1.styles];\nvar RenderType_InputEmotionsComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputEmotionsComponent, data: {} });\nexport { RenderType_InputEmotionsComponent as RenderType_InputEmotionsComponent };\nfunction View_InputEmotionsComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"emotion emotion-emoticon-square-smile\"]], null, null, null, null, null))], null, null); }\nfunction View_InputEmotionsComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"emotion emotion-smiling-emoticon-square-face-1\"]], null, null, null, null, null))], null, null); }\nfunction View_InputEmotionsComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"emotion emotion-emoticon-square-face-with-closed-eyes-and-mouth-of-straight-lines\"]], null, null, null, null, null))], null, null); }\nfunction View_InputEmotionsComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"emotion emotion-sleepy-emoticon-square-face\"]], null, null, null, null, null))], null, null); }\nfunction View_InputEmotionsComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"emotion emotion-sad-face-in-rounded-square\"]], null, null, null, null, null))], null, null); }\nfunction View_InputEmotionsComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 2).transform(\"APP.INPUTS.EMOTION_NOT_GIVE\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputEmotionsComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 12, \"div\", [[\"class\", \"sym-input-emoticons\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_2)), i2.ɵdid(4, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_3)), i2.ɵdid(6, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_4)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_5)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_6)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_7)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value === 5); _ck(_v, 4, 0, currVal_0); var currVal_1 = (_co.value === 4); _ck(_v, 6, 0, currVal_1); var currVal_2 = (_co.value === 3); _ck(_v, 8, 0, currVal_2); var currVal_3 = (_co.value === 2); _ck(_v, 10, 0, currVal_3); var currVal_4 = (_co.value === 1); _ck(_v, 12, 0, currVal_4); var currVal_5 = !_co.value; _ck(_v, 14, 0, currVal_5); }, null); }\nfunction View_InputEmotionsComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputEmotionsComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 23, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 18, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 17, \"div\", [[\"class\", \"sym-input-emoticons\"]], null, null, null, null, null)), i2.ɵdid(5, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(6, { \"sym-has-emotion\": 0 }), (_l()(), i2.ɵeld(7, 0, null, null, 2, \"i\", [[\"class\", \"emotion emotion-emoticon-square-smile sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setEmotion(5) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(8, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(9, { \"active\": 0 }), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"i\", [[\"class\", \"emotion emotion-smiling-emoticon-square-face-1 sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setEmotion(4) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(11, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(12, { \"active\": 0 }), (_l()(), i2.ɵeld(13, 0, null, null, 2, \"i\", [[\"class\", \"emotion emotion-emoticon-square-face-with-closed-eyes-and-mouth-of-straight-lines sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setEmotion(3) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(14, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(15, { \"active\": 0 }), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"i\", [[\"class\", \"emotion emotion-sleepy-emoticon-square-face sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setEmotion(2) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(17, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(18, { \"active\": 0 }), (_l()(), i2.ɵeld(19, 0, null, null, 2, \"i\", [[\"class\", \"emotion emotion-sad-face-in-rounded-square sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setEmotion(1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(20, 278528, null, 0, i4.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(21, { \"active\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_9)), i2.ɵdid(23, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = \"sym-input-emoticons\"; var currVal_2 = _ck(_v, 6, 0, _co.hasEmotion()); _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"emotion emotion-emoticon-square-smile sym-clickable\"; var currVal_4 = _ck(_v, 9, 0, (_co.value === 5)); _ck(_v, 8, 0, currVal_3, currVal_4); var currVal_5 = \"emotion emotion-smiling-emoticon-square-face-1 sym-clickable\"; var currVal_6 = _ck(_v, 12, 0, (_co.value === 4)); _ck(_v, 11, 0, currVal_5, currVal_6); var currVal_7 = \"emotion emotion-emoticon-square-face-with-closed-eyes-and-mouth-of-straight-lines sym-clickable\"; var currVal_8 = _ck(_v, 15, 0, (_co.value === 3)); _ck(_v, 14, 0, currVal_7, currVal_8); var currVal_9 = \"emotion emotion-sleepy-emoticon-square-face sym-clickable\"; var currVal_10 = _ck(_v, 18, 0, (_co.value === 2)); _ck(_v, 17, 0, currVal_9, currVal_10); var currVal_11 = \"emotion emotion-sad-face-in-rounded-square sym-clickable\"; var currVal_12 = _ck(_v, 21, 0, (_co.value === 1)); _ck(_v, 20, 0, currVal_11, currVal_12); var currVal_13 = _co.validationErrors; _ck(_v, 23, 0, currVal_13); }, null); }\nexport function View_InputEmotionsComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_1)), i2.ɵdid(1, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEmotionsComponent_8)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputEmotionsComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-emotions\", [], null, null, null, View_InputEmotionsComponent_0, RenderType_InputEmotionsComponent)), i2.ɵdid(1, 180224, null, 0, i5.InputEmotionsComponent, [], null, null)], null, null); }\nvar InputEmotionsComponentNgFactory = i2.ɵccf(\"sym-input-emotions\", i5.InputEmotionsComponent, View_InputEmotionsComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputEmotionsComponentNgFactory as InputEmotionsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for emotions input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"@font-face{font-family:Flaticon;src:url(fonts/Flaticon.3fb5b6e067a69840a441.eot);src:url(fonts/Flaticon.3fb5b6e067a69840a441.eot?#iefix&v=4.6.1) format(\\\"embedded-opentype\\\"),url(fonts/Flaticon.f7b8b1b0fa556da7b5a1.woff) format(\\\"woff\\\"),url(fonts/Flaticon.1d218633f9549629b28f.ttf) format(\\\"truetype\\\"),url(images/Flaticon.463ed97dda2403ff5746.svg#fontawesomeregular) format(\\\"svg\\\");font-weight:400;font-style:normal}.emotion[_ngcontent-%COMP%]{display:inline-block;font:normal normal normal 14px/1 Flaticon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.sym-input-emoticons[_ngcontent-%COMP%] i.emotion[_ngcontent-%COMP%]{font-size:1.7rem;color:#6c757d;-webkit-transition:.25s;transition:.25s}.sym-input-emoticons.sym-has-emotion[_ngcontent-%COMP%] i.emotion[_ngcontent-%COMP%]{color:#ced4da}.sym-input-emoticons[_ngcontent-%COMP%] i.emotion[_ngcontent-%COMP%]:hover{color:#212529;-webkit-transform:scale(1.25);transform:scale(1.25)}.sym-input-emoticons[_ngcontent-%COMP%] i.emotion.active[_ngcontent-%COMP%], .sym-input-emoticons[_ngcontent-%COMP%] i.emotion.active[_ngcontent-%COMP%]:hover{color:#324b4b}.emotion-emoticon-square-smile[_ngcontent-%COMP%]:before{content:\\\"\\\\F121\\\"}.emotion-smiling-emoticon-square-face-1[_ngcontent-%COMP%]:before{content:\\\"\\\\F14C\\\"}.emotion-emoticon-square-face-with-closed-eyes-and-mouth-of-straight-lines[_ngcontent-%COMP%]:before{content:\\\"\\\\F119\\\"}.emotion-sleepy-emoticon-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F141\\\"}.emotion-sad-face-in-rounded-square[_ngcontent-%COMP%]:before{content:\\\"\\\\F13A\\\"}.emotion-smiling-emoticon-square-face-with-closed-eyes[_ngcontent-%COMP%]:before{content:\\\"\\\\F14D\\\"}.emotion-smiling-emoticon-with-raised-eyebrows-and-closed-eyes[_ngcontent-%COMP%]:before{content:\\\"\\\\F14E\\\"}.emotion-smiling-happy-emoticon-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F14F\\\"}.emotion-smiling-happy-emoticon-square-face-with-eyes-like-stars[_ngcontent-%COMP%]:before{content:\\\"\\\\F150\\\"}.emotion-smiling-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F151\\\"}.emotion-square-emoticon-angry-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F152\\\"}.emotion-student-smiling-emoticon-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F153\\\"}.emotion-surprised-emoticon-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F154\\\"}.emotion-surprised-emoticon-square-face-with-open-eyes-and-mouth[_ngcontent-%COMP%]:before{content:\\\"\\\\F155\\\"}.emotion-surprised-rounded-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F156\\\"}.emotion-surprised-square-face-with-eyes-and-mouth-opened[_ngcontent-%COMP%]:before{content:\\\"\\\\F157\\\"}.emotion-sweating-emoticon-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F158\\\"}.emotion-teardrop-falling-on-sad-emoticon-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F159\\\"}.emotion-tired-emoticon-face-with-open-mouth-and-closed-eyes[_ngcontent-%COMP%]:before{content:\\\"\\\\F15A\\\"}.emotion-very-angry-emoticon-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F15B\\\"}.emotion-wink-emoticon-of-rounded-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F15C\\\"}.emotion-wink-face-square[_ngcontent-%COMP%]:before{content:\\\"\\\\F15D\\\"}.emotion-winking-emoticon-smiling-face-with-tongue-out-of-the-mouth-in-square-rounded-outline-shape[_ngcontent-%COMP%]:before{content:\\\"\\\\F15E\\\"}.emotion-winking-emoticon-with-tongue-out-of-mouth-and-square-face-shape[_ngcontent-%COMP%]:before{content:\\\"\\\\F15F\\\"}.emotion-wound-cross-on-emoticon-sad-face-of-rounded-square-shape[_ngcontent-%COMP%]:before{content:\\\"\\\\F160\\\"}.emotion-yawning-emoticon-face-in-rounded-square-with-open-oval-mouth-and-closed-small-eyes[_ngcontent-%COMP%]:before{content:\\\"\\\\F161\\\"}.emotion-yawning-emoticon-square-face[_ngcontent-%COMP%]:before{content:\\\"\\\\F162\\\"}.emotion-yawning-emoticon-square-face-1[_ngcontent-%COMP%]:before{content:\\\"\\\\F163\\\"}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for emotions input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the emotions fieldset component\n */\nvar FieldsetEmotionsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetEmotionsComponent, _super);\n /**\n * Constructs a FieldsetEmotionsComponent\n */\n function FieldsetEmotionsComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetEmotionsComponent.register = function () {\n ComponentRegistry.register('fieldset', 'emotions', FieldsetEmotionsComponent);\n };\n return FieldsetEmotionsComponent;\n}(FieldsetBase));\nexport { FieldsetEmotionsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for emotions input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-emotions/input-emotions.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-emotions/input-emotions.component\";\nimport * as i8 from \"./fieldset-emotions.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetEmotionsComponent = [i0.styles];\nvar RenderType_FieldsetEmotionsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetEmotionsComponent, data: {} });\nexport { RenderType_FieldsetEmotionsComponent as RenderType_FieldsetEmotionsComponent };\nfunction View_FieldsetEmotionsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetEmotionsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetEmotionsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetEmotionsComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetEmotionsComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-emotions\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputEmotionsComponent_0, i6.RenderType_InputEmotionsComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputEmotionsComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetEmotionsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-emotions\", [], null, null, null, View_FieldsetEmotionsComponent_0, RenderType_FieldsetEmotionsComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetEmotionsComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetEmotionsComponentNgFactory = i1.ɵccf(\"sym-fieldset-emotions\", i8.FieldsetEmotionsComponent, View_FieldsetEmotionsComponent_Host_0, {}, {}, []);\nexport { FieldsetEmotionsComponentNgFactory as FieldsetEmotionsComponentNgFactory };\n","/**\n * @file Input component for resources input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\nimport { OverlayService } from '../../../core/overlay.service';\nimport { AlertsService } from '../../../core/alerts.service';\n/**\n * Class for the resources input component\n */\nvar InputReadByComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputReadByComponent, _super);\n /**\n * Constructs a InputReadbyComponent.\n */\n function InputReadByComponent(overlayService, alertsService) {\n var _this = _super.call(this) || this;\n _this.overlayService = overlayService;\n _this.alertsService = alertsService;\n /** Number of resources visible in view */\n _this.visibleRecipients = 3;\n return _this;\n }\n /**\n * Open any given entity in the app\n * @param entity The entity to open\n */\n InputReadByComponent.prototype.openEntity = function ($event, entity) {\n // Stop event bubbling\n $event.stopPropagation();\n if (!entity) {\n return;\n }\n // Go to entity\n if (!this.overlayService.goToEntity(entity)) {\n this.alertsService.createAlert('warning', 'APP.LISTS.CAN_NOT_GO_TO_ENTITY');\n }\n };\n InputReadByComponent.prototype.selection = function () {\n return (this.value ? this.value.slice(0, this.visibleRecipients) : []);\n };\n return InputReadByComponent;\n}(InputBase));\nexport { InputReadByComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for resources input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"./input-readby.component\";\nimport * as i5 from \"../../../core/overlay.service\";\nimport * as i6 from \"../../../core/alerts.service\";\nvar styles_InputReadByComponent = [i0.styles];\nvar RenderType_InputReadByComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputReadByComponent, data: {} });\nexport { RenderType_InputReadByComponent as RenderType_InputReadByComponent };\nfunction View_InputReadByComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\", \"]))], null, null); }\nfunction View_InputReadByComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openEntity($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputReadByComponent_4)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = ((_v.context.index < (_co.visibleRecipients - 1)) && (_v.context.index < (_co.value.length - 1))); _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.displayName; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputReadByComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputReadByComponent_3)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.selection(); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InputReadByComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.visibleRecipients = _co.value.length) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), (_l()(), i1.ɵted(5, null, [\" \", \".\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.INPUTS.RESOURCES_AND\")); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.value.length - _co.visibleRecipients); _ck(_v, 4, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.INPUTS.RESOURCES_MORE\")); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_InputReadByComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputReadByComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputReadByComponent_5)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.value; _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.value != null) && ((_co.value.length - _co.visibleRecipients) > 0)); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InputReadByComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputReadByComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Please put the resources input in readonly!\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputReadByComponent_7)), i1.ɵdid(6, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.validationErrors; _ck(_v, 6, 0, currVal_1); }, null); }\nexport function View_InputReadByComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputReadByComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputReadByComponent_6)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputReadByComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-readby\", [], null, null, null, View_InputReadByComponent_0, RenderType_InputReadByComponent)), i1.ɵdid(1, 180224, null, 0, i4.InputReadByComponent, [i5.OverlayService, i6.AlertsService], null, null)], null, null); }\nvar InputReadByComponentNgFactory = i1.ɵccf(\"sym-input-readby\", i4.InputReadByComponent, View_InputReadByComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputReadByComponentNgFactory as InputReadByComponentNgFactory };\n","/**\n* @file Fieldset component for resources input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the resources fieldset component\n */\nvar FieldsetReadByComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetReadByComponent, _super);\n /**\n * Constructs a FieldsetStringComponent\n */\n function FieldsetReadByComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetReadByComponent.register = function () {\n ComponentRegistry.register('fieldset', 'readby', FieldsetReadByComponent);\n };\n return FieldsetReadByComponent;\n}(FieldsetBase));\nexport { FieldsetReadByComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for resources input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-readby/input-readby.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-readby/input-readby.component\";\nimport * as i8 from \"../../../core/overlay.service\";\nimport * as i9 from \"../../../core/alerts.service\";\nimport * as i10 from \"./fieldset-readby.component\";\nimport * as i11 from \"../fieldset-provider\";\nvar styles_FieldsetReadByComponent = [i0.styles];\nvar RenderType_FieldsetReadByComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetReadByComponent, data: {} });\nexport { RenderType_FieldsetReadByComponent as RenderType_FieldsetReadByComponent };\nfunction View_FieldsetReadByComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetReadByComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetReadByComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetReadByComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetReadByComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-readby\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputReadByComponent_0, i6.RenderType_InputReadByComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputReadByComponent, [i8.OverlayService, i9.AlertsService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetReadByComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-readby\", [], null, null, null, View_FieldsetReadByComponent_0, RenderType_FieldsetReadByComponent)), i1.ɵdid(1, 180224, null, 0, i10.FieldsetReadByComponent, [i11.FieldsetProvider], null, null)], null, null); }\nvar FieldsetReadByComponentNgFactory = i1.ɵccf(\"sym-fieldset-readby\", i10.FieldsetReadByComponent, View_FieldsetReadByComponent_Host_0, {}, {}, []);\nexport { FieldsetReadByComponentNgFactory as FieldsetReadByComponentNgFactory };\n","/**\n * @file Fieldset component for Location Region property.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { FormControl } from '@angular/forms';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Fieldset component to edit the Region property of the Location entity.\n * @export\n * @class FieldsetRegionComponent\n * @extends {FieldsetBase}\n */\nvar FieldsetRegionComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetRegionComponent, _super);\n /**\n * Creates an instance of FieldsetRegionComponent.\n * @param {FieldsetProvider} provider Provides the entity and the binding field.\n */\n function FieldsetRegionComponent(provider) {\n var _this = _super.call(this, provider) || this;\n /**\n * Holds the last region type of the Location.\n * @private\n */\n _this._regionType = 'C';\n /**\n * Holds the last value of the Loaction Region property.\n * @private\n */\n _this.lastRegion = '';\n /**\n * Holds the value of the region type.\n * @private\n */\n _this._value1 = '';\n /**\n * Holds one of the two values of a ZipCode region type 'Z', namely:\n * The until value of the ZipCode range.\n * @private\n */\n _this._value2 = '';\n /**\n * The FormControl binded to the input for the region type.\n * @type {FormControl}\n */\n _this.regionTypeControl = new FormControl();\n /**\n * The FormControl binded to the input for the second until ZipCode value of the ZipCode range.\n * @type {FormControl}\n */\n _this.valueControl = new FormControl();\n /**\n * The FormControl binded to the input for the longitude.\n * The longitude is shown when the region type is Radius 'R'\n * @type {FormControl}\n */\n _this.longitudeControl = new FormControl();\n /**\n * The FormControl binded to the input for the latitude.\n * The latitude is shown when the region type is Radius 'R'\n * @type {FormControl}\n */\n _this.latitudeControl = new FormControl();\n /**\n * The 5 region types one can choose from.\n * The region type Address 'A' is not really a region, it is a waypoint.\n */\n _this.regionTypes = [\n { labelKey: 'APP.FORMS.REGION.CITY', value: 'C' },\n { labelKey: 'APP.FORMS.REGION.PROVINCE', value: 'P' },\n { labelKey: 'APP.FORMS.REGION.ZIPCODE', value: 'Z' },\n { labelKey: 'APP.FORMS.REGION.RADIUS', value: 'R' },\n ];\n return _this;\n }\n Object.defineProperty(FieldsetRegionComponent.prototype, \"value1\", {\n /**\n * Gets the value of the region type.\n * @type {string}\n */\n get: function () {\n return this._value1;\n },\n /**\n * Sets the value of a region type.\n */\n set: function (value) {\n this._value1 = value;\n var region = '{\"' + this._regionType + '\":';\n switch (this._regionType) {\n case 'R':\n var test = Number.parseFloat(value);\n if (isNaN(test)) {\n this._value1 = '0';\n this.provider.value = region + '0}';\n break;\n }\n this.provider.value = region + test + '}';\n break;\n case 'Z':\n this.setZipCodeRegion();\n break;\n default:\n this.provider.value = region + '\"' + (value + '').trim() + '\"}';\n break;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetRegionComponent.prototype, \"value2\", {\n /**\n * Gets the second until ZipCode value of a ZipCode range\n * @type {string}\n */\n get: function () {\n return this._value2;\n },\n /**\n * Sets the second until ZipCode value of a ZipCode range\n */\n set: function (value) {\n this._value2 = value;\n if (this._regionType === 'Z') {\n this.setZipCodeRegion();\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Register component by the fieldset provider\n * @static\n */\n FieldsetRegionComponent.register = function () {\n ComponentRegistry.register('fieldset', 'region', FieldsetRegionComponent);\n };\n Object.defineProperty(FieldsetRegionComponent.prototype, \"regionType\", {\n /**\n * Gets the type of the region property.\n * @readonly\n * @type {string}\n */\n get: function () {\n this.synchronizeValues();\n return this._regionType;\n },\n /**\n * Sets the type of the Region property.\n */\n set: function (value) {\n if (this._regionType === value) {\n return;\n }\n this._regionType = value;\n var region = '{\"' + value + '\":';\n switch (value) {\n case 'R':\n this.provider.value = region + '0}';\n break;\n case 'Z':\n this.provider.value = region + '[]}';\n break;\n default:\n this.provider.value = region + '\"\"}';\n break;\n }\n this.synchronizeValues();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetRegionComponent.prototype, \"longitude\", {\n /**\n * Gets the value Longitude property of the Location.\n * @type {string}\n */\n get: function () {\n if (!this.provider.entity) {\n return '';\n }\n return this.provider.entity['Longitude'];\n },\n /**\n * Sets the value Longitude property of the Location.\n */\n set: function (value) {\n if (!this.provider.entity) {\n return;\n }\n this.provider.entity['Longitude'] = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetRegionComponent.prototype, \"latitude\", {\n /**\n * Gets the value Latitude property of the Location.\n * @type {string}\n */\n get: function () {\n if (!this.provider.entity) {\n return '';\n }\n return this.provider.entity['Latitude'];\n },\n /**\n * Sets the value Latitude property of the Location.\n */\n set: function (value) {\n if (!this.provider.entity) {\n return;\n }\n this.provider.entity['Latitude'] = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Synchronize the region type values with the Region Location property.\n * @private\n */\n FieldsetRegionComponent.prototype.synchronizeValues = function () {\n var region = (this.provider.value + '').trim();\n if (region !== this.lastRegion) {\n this.lastRegion = region;\n if (region === '') {\n this._regionType = 'C';\n this._value1 = '';\n this._value2 = '';\n return;\n }\n this._value2 = '';\n var regionObject = JSON.parse(region);\n this._regionType = Object.keys(regionObject)[0];\n if (this._regionType === 'Z') {\n var values = regionObject['Z'];\n switch (values.length) {\n case 0:\n this._value1 = '';\n return;\n case 1:\n this._value1 = values[0];\n return;\n default:\n this._value1 = values[0];\n this._value2 = values[1];\n return;\n }\n }\n this._value1 = regionObject[this._regionType];\n }\n };\n /**\n * Sets the Region Location property when the region type 'Z' ZipCode is selected.\n * @private\n */\n FieldsetRegionComponent.prototype.setZipCodeRegion = function () {\n var zipcodes = '';\n var val1 = this._value1.trim();\n if (val1 !== '') {\n zipcodes = ',\"' + val1 + '\"';\n }\n var val2 = this._value2.trim();\n if (val2 !== '') {\n zipcodes += ',\"' + val2 + '\"';\n }\n this.provider.value = '{\"Z\":[' + zipcodes.substring(1) + ']}';\n };\n return FieldsetRegionComponent;\n}(FieldsetBase));\nexport { FieldsetRegionComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for Location Region property.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-string/input-string.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-string/input-string.component\";\nimport * as i8 from \"../../inputs/input-select/input-select.component.ngfactory\";\nimport * as i9 from \"../../inputs/input-select/input-select.component\";\nimport * as i10 from \"./fieldset-region.component\";\nimport * as i11 from \"../fieldset-provider\";\nvar styles_FieldsetRegionComponent = [i0.styles];\nvar RenderType_FieldsetRegionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetRegionComponent, data: {} });\nexport { RenderType_FieldsetRegionComponent as RenderType_FieldsetRegionComponent };\nfunction View_FieldsetRegionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.MISC.ENTITYTYPE.#SINGULAR?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.MISC.ENTITYTYPE.#SINGULAR?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRegionComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRegionComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_4)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_5)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.value1 = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.value1; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.REGION.CITY\")); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRegionComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_7)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_8)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.value1 = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.value1; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.REGION.PROVINCE\")); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REGION.RADIUS?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REGION.RADIUS?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRegionComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRegionComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRegionComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 39, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_10)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_11)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.value1 = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(13, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(14, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_12)), i1.ɵdid(17, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(18, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(20, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_13)), i1.ɵdid(23, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.longitude = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(26, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(27, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_14)), i1.ɵdid(30, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(31, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(33, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_15)), i1.ɵdid(36, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(37, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(38, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.latitude = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(39, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REGION.RADIUS?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.value1; _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_7 = _co.provider.field.helpKey; _ck(_v, 17, 0, currVal_7); var currVal_9 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 23, 0, currVal_9); var currVal_10 = _co.provider.field.required; var currVal_11 = _co.provider.field.readonly; var currVal_12 = _co.longitudeControl; var currVal_13 = _co.longitude; _ck(_v, 26, 0, currVal_10, currVal_11, currVal_12, currVal_13); var currVal_14 = _co.provider.field.helpKey; _ck(_v, 30, 0, currVal_14); var currVal_16 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 36, 0, currVal_16); var currVal_17 = _co.provider.field.required; var currVal_18 = _co.provider.field.readonly; var currVal_19 = _co.latitudeControl; var currVal_20 = _co.latitude; _ck(_v, 39, 0, currVal_17, currVal_18, currVal_19, currVal_20); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REGION.RADIUS\")); _ck(_v, 7, 0, currVal_1); var currVal_8 = i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.FORMS.REGION.LONGITUDE\")); _ck(_v, 20, 0, currVal_8); var currVal_15 = i1.ɵunv(_v, 33, 0, i1.ɵnov(_v, 34).transform(\"APP.FORMS.REGION.LATITUDE\")); _ck(_v, 33, 0, currVal_15); }); }\nfunction View_FieldsetRegionComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRegionComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRegionComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_17)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_18)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-5 col-md-3 col-lg-5 col-xl-3 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.value1 = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"-\"])), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"col-5 col-md-3 col-lg-5 col-xl-3 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.value2 = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(17, 180224, null, 0, i7.InputStringComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.value1; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_7 = _co.provider.field.required; var currVal_8 = _co.provider.field.readonly; var currVal_9 = _co.valueControl; var currVal_10 = _co.value2; _ck(_v, 17, 0, currVal_7, currVal_8, currVal_9, currVal_10); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.REGION.ZIPCODE\")); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetRegionComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b sym-m-t\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_1)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_2)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"sym-input-select\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.regionType = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_InputSelectComponent_0, i8.RenderType_InputSelectComponent)), i1.ɵdid(13, 180224, null, 0, i9.InputSelectComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(14, 0, null, null, 9, \"div\", [], null, null, null, null, null)), i1.ɵdid(15, 16384, null, 0, i5.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_3)), i1.ɵdid(17, 278528, null, 0, i5.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i5.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_6)), i1.ɵdid(19, 278528, null, 0, i5.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i5.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_9)), i1.ɵdid(21, 278528, null, 0, i5.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i5.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRegionComponent_16)), i1.ɵdid(23, 278528, null, 0, i5.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i5.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b sym-m-t\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.MISC.ENTITYTYPE.#SINGULAR?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.regionTypeControl; var currVal_6 = _co.regionType; var currVal_7 = _co.regionTypes; _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_8 = _co.regionType; _ck(_v, 15, 0, currVal_8); var currVal_9 = \"C\"; _ck(_v, 17, 0, currVal_9); var currVal_10 = \"P\"; _ck(_v, 19, 0, currVal_10); var currVal_11 = \"R\"; _ck(_v, 21, 0, currVal_11); var currVal_12 = \"Z\"; _ck(_v, 23, 0, currVal_12); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.MISC.ENTITYTYPE.#SINGULAR\")); _ck(_v, 7, 0, currVal_1); }); }\nexport function View_FieldsetRegionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-region\", [], null, null, null, View_FieldsetRegionComponent_0, RenderType_FieldsetRegionComponent)), i1.ɵdid(1, 180224, null, 0, i10.FieldsetRegionComponent, [i11.FieldsetProvider], null, null)], null, null); }\nvar FieldsetRegionComponentNgFactory = i1.ɵccf(\"sym-fieldset-region\", i10.FieldsetRegionComponent, View_FieldsetRegionComponent_Host_0, {}, {}, []);\nexport { FieldsetRegionComponentNgFactory as FieldsetRegionComponentNgFactory };\n","/**\n * @file Input component for seconds\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport * as moment from 'moment';\nimport { InputNumberComponent } from '../input-number/input-number.component';\n/**\n * The input component allows the user to give a duration in seconds\n * @export\n * @class InputSecondsComponent\n * @extends {InputNumberComponent}\n */\nvar InputSecondsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputSecondsComponent, _super);\n function InputSecondsComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(InputSecondsComponent.prototype, \"valueAsSeconds\", {\n /**\n * Gets the value in seconds.\n * @type {number}\n * @memberOf InputSecondsComponent\n */\n get: function () {\n return this.seconds;\n },\n /**\n * Sets the value in seconds.\n * @memberOf InputSecondsComponent\n */\n set: function (val) {\n this.seconds = val;\n var iso = val === null ? 'PT0S' : val === 0 ? 'PT0S' : moment.duration(val, 'seconds').toISOString();\n if (this.value !== iso) {\n this.value = iso;\n }\n },\n enumerable: true,\n configurable: true\n });\n InputSecondsComponent.prototype.checkPasteValue = function (event) {\n var clipboardData = event.clipboardData;\n var pastedText = clipboardData.getData('text');\n var value = Number.parseInt(pastedText.replace(/[^0-9]/g, ''), 10);\n var input = event.target;\n if (Number.isNaN(value)) {\n input.value = '0';\n this.beep();\n event.preventDefault();\n return;\n }\n var max = Number.parseInt(input.max, 10);\n if (max < value) {\n value = max;\n this.beep();\n }\n var min = Number.parseInt(input.min, 10);\n if (min > value) {\n value = min;\n this.beep();\n }\n input.value = value.toString();\n if (pastedText !== value.toString()) {\n this.beep();\n }\n event.preventDefault();\n };\n /**\n * Suppressing of none number user input.\n * @param {KeyboardEvent} event The event when the user presses a key.\n * @returns {Boolean} True when accepted otherwise false.\n * @memberOf InputSecondsComponent\n */\n InputSecondsComponent.prototype.suppressInvalidKeys = function (event) {\n var input = event.target;\n if (event.key >= '0' && event.key <= '9') {\n if (input.max.length === (input.value + '').length) {\n this.beep();\n return false;\n }\n return true;\n }\n if (input.max.length === (input.value + '').length) {\n this.beep();\n return false;\n }\n return false;\n };\n /**\n * Clears leading zero's when user leaves the input.\n * @param {Event} event The event when the user leave the input.\n * @memberOf InputSecondsComponent\n */\n InputSecondsComponent.prototype.removeLeadingZeros = function (event) {\n var original = event.target['value'];\n var test = original + '';\n if (test.length === 0) {\n // Leeg veld is een niet geldigge waarde.\n // Oplossen.\n this.seconds = 0;\n this.value = 'PT0S';\n event.target['value'] = '0';\n return;\n }\n while (test.length > 0) {\n if (test[0] === '0') {\n test = test.substr(1);\n }\n else {\n if (original !== test) {\n this.beep();\n }\n event.target['value'] = test;\n return;\n }\n }\n };\n /*\n * Sets the value also as duration.\n * @protected\n * @param {*} val The value to be set.\n * @memberOf InputSecondsComponent\n */\n InputSecondsComponent.prototype.setValue = function (val) {\n if (typeof val === 'string' && (val.length === 0 || val[0] === 'P')) {\n _super.prototype.setValue.call(this, val);\n this.seconds = val.length === 0 ? null : moment.duration(val).asSeconds();\n }\n };\n /**\n * Sound to alert the user to his mistake\n * @private\n * @memberOf InputSecondsComponent\n */\n InputSecondsComponent.prototype.beep = function () {\n // TODO: Consider finding a \"Heeee asshole\" sound to alert the user to his mistake.\n // tslint:disable-next-line:max-line-length\n var snd = new Audio('data:audio/wav;base64,//uQRAAAAWMSLwUIYAAsYkXgoQwAEaYLWfkWgAI0wWs/ItAAAGDgYtAgAyN+QWaAAihwMWm4G8QQRDiMcCBcH3Cc+CDv/7xA4Tvh9Rz/y8QADBwMWgQAZG/ILNAARQ4GLTcDeIIIhxGOBAuD7hOfBB3/94gcJ3w+o5/5eIAIAAAVwWgQAVQ2ORaIQwEMAJiDg95G4nQL7mQVWI6GwRcfsZAcsKkJvxgxEjzFU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////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////VEFHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU291bmRib3kuZGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjAwNGh0dHA6Ly93d3cuc291bmRib3kuZGUAAAAAAAAAACU=');\n snd.play();\n };\n return InputSecondsComponent;\n}(InputNumberComponent));\nexport { InputSecondsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for seconds\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"./input-seconds.component\";\nvar styles_InputSecondsComponent = [i0.styles];\nvar RenderType_InputSecondsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputSecondsComponent, data: {} });\nexport { RenderType_InputSecondsComponent as RenderType_InputSecondsComponent };\nfunction View_InputSecondsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"text-truncate sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.valueAsSeconds; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputSecondsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputSecondsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 9, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"col-6 col-md-12 col-lg-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"max\", \"9999\"], [\"min\", \"0\"], [\"step\", \"1\"], [\"type\", \"number\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keypress\"], [null, \"paste\"], [null, \"focusout\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 6)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 6)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 6)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.valueAsSeconds = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"keypress\" === en)) {\n var pd_8 = (_co.suppressInvalidKeys($event) !== false);\n ad = (pd_8 && ad);\n } if ((\"paste\" === en)) {\n var pd_9 = (_co.checkPasteValue($event) !== false);\n ad = (pd_9 && ad);\n } if ((\"focusout\" === en)) {\n var pd_10 = (_co.removeLeadingZeros($event) !== false);\n ad = (pd_10 && ad);\n } return ad; }, null, null)), i1.ɵdid(6, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(7, 16384, null, 0, i4.ɵangular_packages_forms_forms_be, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i4.DefaultValueAccessor, i4.ɵangular_packages_forms_forms_be]), i1.ɵdid(9, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(11, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSecondsComponent_3)), i1.ɵdid(14, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_9 = _co.valueAsSeconds; _ck(_v, 9, 0, currVal_9); var currVal_10 = _co.validationErrors; _ck(_v, 14, 0, currVal_10); }, function (_ck, _v) { var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 12).transform(\"APP.INPUTS.SECONDS_PLACEHOLDER\")), \"\"); var currVal_2 = i1.ɵnov(_v, 11).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 11).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 11).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 11).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 11).ngClassValid; var currVal_7 = i1.ɵnov(_v, 11).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 11).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nexport function View_InputSecondsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSecondsComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputSecondsComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputSecondsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-seconds\", [], null, null, null, View_InputSecondsComponent_0, RenderType_InputSecondsComponent)), i1.ɵdid(1, 180224, null, 0, i5.InputSecondsComponent, [], null, null)], null, null); }\nvar InputSecondsComponentNgFactory = i1.ɵccf(\"sym-input-seconds\", i5.InputSecondsComponent, View_InputSecondsComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\" }, { valueChange: \"valueChange\" }, []);\nexport { InputSecondsComponentNgFactory as InputSecondsComponentNgFactory };\n","/**\n * @file Fieldset component for seconds input\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Allows the user to set a duration field in seconds.\n * @export\n * @class FieldsetSecondsComponent\n * @extends {FieldsetBase}\n */\nvar FieldsetSecondsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetSecondsComponent, _super);\n /**\n * Constructs a FieldsetNumberComponent.\n */\n function FieldsetSecondsComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider.\n */\n FieldsetSecondsComponent.register = function () {\n ComponentRegistry.register('fieldset', 'seconds', FieldsetSecondsComponent);\n };\n return FieldsetSecondsComponent;\n}(FieldsetBase));\nexport { FieldsetSecondsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for seconds input\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-seconds/input-seconds.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-seconds/input-seconds.component\";\nimport * as i8 from \"./fieldset-seconds.component\";\nimport * as i9 from \"../fieldset-provider\";\nvar styles_FieldsetSecondsComponent = [i0.styles];\nvar RenderType_FieldsetSecondsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetSecondsComponent, data: {} });\nexport { RenderType_FieldsetSecondsComponent as RenderType_FieldsetSecondsComponent };\nfunction View_FieldsetSecondsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetSecondsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetSecondsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSecondsComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetSecondsComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-seconds\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputSecondsComponent_0, i6.RenderType_InputSecondsComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputSecondsComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetSecondsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-seconds\", [], null, null, null, View_FieldsetSecondsComponent_0, RenderType_FieldsetSecondsComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetSecondsComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetSecondsComponentNgFactory = i1.ɵccf(\"sym-fieldset-seconds\", i8.FieldsetSecondsComponent, View_FieldsetSecondsComponent_Host_0, {}, {}, []);\nexport { FieldsetSecondsComponentNgFactory as FieldsetSecondsComponentNgFactory };\n","/**\n * @file Enumerator of currently supported filter operators.\n * @author Tom Verschoore de la Houssaije\n */\n/**\n * The current Symagic Server does not support the following operators:\n * StartsWith, Any, All, Contains, EndsWith and IsTypeOf.\n */\nexport var FilterOperators;\n(function (FilterOperators) {\n /** Concatenate '&&' operator */\n FilterOperators[FilterOperators[\"And\"] = 0] = \"And\";\n /** Concatenate '||' operator */\n FilterOperators[FilterOperators[\"Or\"] = 1] = \"Or\";\n /** Comparison '===' operator */\n FilterOperators[FilterOperators[\"Equals\"] = 2] = \"Equals\";\n /** Comparison '>' operator */\n FilterOperators[FilterOperators[\"GreaterThan\"] = 3] = \"GreaterThan\";\n /** Comparison '>=' operator */\n FilterOperators[FilterOperators[\"GreaterThanOrEqual\"] = 4] = \"GreaterThanOrEqual\";\n /** Comparison '<' operator */\n FilterOperators[FilterOperators[\"LessThan\"] = 5] = \"LessThan\";\n /** Comparison '<=' operator */\n FilterOperators[FilterOperators[\"LessThanOrEqual\"] = 6] = \"LessThanOrEqual\";\n /** Comparison '!==' operator */\n FilterOperators[FilterOperators[\"NotEquals\"] = 7] = \"NotEquals\";\n /** Negate '!' operator */\n FilterOperators[FilterOperators[\"Not\"] = 8] = \"Not\";\n /** Contains operatpr */\n FilterOperators[FilterOperators[\"Contains\"] = 9] = \"Contains\";\n})(FilterOperators || (FilterOperators = {}));\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-lookup[_ngcontent-%COMP%] .sym-dropdown-menu[_ngcontent-%COMP%]{background-clip:border-box;max-height:250px;min-width:330px;overflow-y:auto}.sym-lookup[_ngcontent-%COMP%] .sym-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]{padding-right:5px;padding-left:.3rem!important}.icon.sym-match[_ngcontent-%COMP%]{color:#6bdea1}.icon.sym-no-match[_ngcontent-%COMP%]{color:#ced4da}\"];\nexport { styles as styles };\n","/**\n * @file Filter descriptor to concatenate other filter descriptors.\n * @author Tom Verschoore de la Houssaije\n */\nimport { FilterOperators } from './filter-operators';\nimport { Predicate } from 'breeze-client';\n/**\n * Set of filter descriptors to be organized and grouped with \"And\" and \"Or\" operators.\n */\nvar GroupFilter = /** @class */ (function () {\n /**\n * Constructor GroupFilter.\n * The created GroupFilter auto concatenate with the existing filters of the associated DataController.\n *\n * @param component The associated data component to add this filter descriptor.\n * @param left The left filter descriptor to concatenate.\n * @param right The right filter descriptor to concatenate.\n * @param operator The operator to use to concatenate left, right and associated data component filter.\n * Only FilterOperators.And and FilterOperators.Or are valid.\n * The default value is FilterOperators.And.\n */\n function GroupFilter(component, left, right, operator) {\n if (operator === void 0) { operator = FilterOperators.And; }\n /**\n * The concatenate operator. Only FilterOperators.And and FilterOperators.Or are valid.\n *\n * @default FilterOperators.And\n */\n this._operator = FilterOperators.And;\n /**\n * Array of filter descriptors to be concatenated.\n */\n this._value = [];\n if (operator !== FilterOperators.And && operator !== FilterOperators.Or) {\n throw new Error('Invalid value for operator parameter.');\n }\n this._operator = operator;\n if (left !== null || typeof left !== 'undefined') {\n this.value.push(left);\n }\n if (right !== null || typeof right !== 'undefined') {\n this.value.push(right);\n }\n if (component === null || typeof component === 'undefined') {\n return;\n }\n if (this.value.length === 0) {\n throw new Error('Cannot concatenate empty group filter');\n }\n if (component.filter) {\n this.value.push(component.filter);\n component.filter = this;\n return;\n }\n if (this.value.length < 2) {\n throw new Error('Cannot concatenate incomplete group filter.');\n }\n component.filter = this;\n }\n Object.defineProperty(GroupFilter.prototype, \"value\", {\n /**\n * Gets array of filter descriptors to be concatenated.\n */\n get: function () {\n return this._value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GroupFilter.prototype, \"operator\", {\n /**\n * Gets the concatenate operator. Only FilterOperators.And and FilterOperators.Or are valid.\n *\n * @default FilterOperators.And\n */\n get: function () {\n return this._operator;\n },\n /**\n * Sets the concatenate operator. Only FilterOperators.And and FilterOperators.Or are valid.\n */\n set: function (value) {\n this._operator = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Create method without auto concatenate behavior.\n *\n * @param left The left filter descriptor to concatenate.\n * @param right The right filter descriptor to concatenate.\n * @param operator The operator to use to concatenate left, right filter descriptor.\n * Only FilterOperators.And and FilterOperators.Or are valid.\n * The default value is FilterOperators.And.\n *\n * @returns new GroupFilter\n */\n GroupFilter.create = function (left, right, operator) {\n if (operator === void 0) { operator = FilterOperators.And; }\n return new GroupFilter(undefined, left, right, operator);\n };\n /**\n * Gives a textual representation of the descriptor.\n *\n * @returns The description in pseudocode.\n */\n GroupFilter.prototype.toText = function () {\n if (this.value.length < 2) {\n return '(Error)';\n }\n var concatenator = ' && ';\n if (this.operator === FilterOperators.Or) {\n concatenator = ' || ';\n }\n var result = '(' + this.value[0].toText();\n /* tslint:disable:no-increment-decrement */\n for (var index = 1; index < this.value.length; index++) {\n result += concatenator + this.value[index].toText();\n }\n /* tslint:enable:no-increment-decrement */\n return result + ')';\n };\n /**\n * Called internally to build the described query.\n * @param entityType The entity type getting filtered.\n * @returns The Predicate of this description.\n */\n GroupFilter.prototype.createPredicate = function (entityType) {\n if (this._value.length === 0) {\n return null;\n }\n var predicates = [];\n this._value.forEach(function (item) {\n var predicate = item.createPredicate(entityType);\n if (predicate !== null) {\n predicates.push(predicate);\n }\n });\n switch (this._operator) {\n case FilterOperators.Or:\n if (predicates.length === 0) {\n return predicates[0];\n }\n return Predicate.or(predicates);\n case FilterOperators.And:\n if (predicates.length === 0) {\n return predicates[0];\n }\n return Predicate.and(predicates);\n default:\n throw new Error('Operator not supported by group filter.');\n }\n };\n return GroupFilter;\n}());\nexport { GroupFilter };\n","/**\n * @file Filter descriptor to compare an entity property with a value.\n * @author Tom Verschoore de la Houssaije\n */\nimport { FilterOperators } from './filter-operators';\nimport { GroupFilter } from './group-filter';\nimport { Predicate, FilterQueryOp, DataType } from 'breeze-client';\nimport { HttpUrlEncodingCodec } from '@angular/common/http';\nimport * as moment from 'moment';\n/**\n * Compares a entity property value with another value with a specific boolean operator.\n */\nvar PropertyFilter = /** @class */ (function () {\n /**\n * Constructor PropertyFilter.\n * The created PropertyFilter auto concatenate with the existing filters of the associated DataController\n *\n * @param component The associated DataController to add this filter descriptor.\n * @param concatenate The operator to use in the auto concatenation.\n * Only FilterOperators.And and FilterOperators.Or are valid.\n * The default value is FilterOperators.And.\n */\n function PropertyFilter(component, \n /** Name of the entity property to evaluate in the comparison. */\n property, \n /**\n * The compare operator. All FilterOperators are valid as operator, except the following:\n * FilterOperators.And\n * FilterOperators.Or\n * FilterOperators.Not\n */\n operator, \n /** The value to compare with. */\n value, concatenate) {\n if (concatenate === void 0) { concatenate = FilterOperators.And; }\n this.property = property;\n this.operator = operator;\n this.value = value;\n // TODO: Do we need this?\n /** Gets sets the id for storing. */\n this.storeId = undefined;\n if (typeof component === 'undefined') {\n return;\n }\n if (concatenate !== FilterOperators.And && concatenate !== FilterOperators.Or) {\n throw new Error('Invalid value for concatenate parameter.');\n }\n if (component.filter) {\n component.filter = PropertyFilter.autoConcatenate(this, component.filter, concatenate);\n return;\n }\n component.filter = this;\n }\n /**\n * Method to support auto concatenate behavior.\n *\n * @param self The calling filter descriptor to be added.\n * @param filter The current filter to be incremented.\n * @param concatenate The operator to use in the auto concatenation. Only FilterOperators.And and FilterOperators.Or are valid.\n *\n * @returns Current filter after auto concatenation.\n */\n PropertyFilter.autoConcatenate = function (self, filter, concatenate) {\n if (concatenate === void 0) { concatenate = FilterOperators.And; }\n if (filter.operator === concatenate) {\n var group = filter;\n group.value.push(self);\n return filter;\n }\n return GroupFilter.create(filter, self, concatenate);\n };\n /**\n * Create method without auto concatenate behavior.\n *\n * @param property Name of the entity property to evaluate in the comparison.\n * @param operator The compare operator. All FilterOperators are valid as operator, except the following:\n * FilterOperators.And\n * FilterOperators.Or\n * FilterOperators.Not\n * @param value The value to compare with.\n *\n * @returns new PropertyFilter\n */\n PropertyFilter.create = function (property, operator, value) {\n return new PropertyFilter(undefined, property, operator, value);\n };\n /**\n * Gives a textual representation of the descriptor.\n *\n * @returns The description in pseudocode.\n */\n PropertyFilter.prototype.toText = function () {\n var result = this.property;\n switch (this.operator) {\n case FilterOperators.Equals:\n result += ' === ';\n break;\n case FilterOperators.GreaterThan:\n result += ' > ';\n break;\n case FilterOperators.GreaterThanOrEqual:\n result += ' >= ';\n break;\n case FilterOperators.LessThan:\n result += ' < ';\n break;\n case FilterOperators.LessThanOrEqual:\n result += ' <= ';\n break;\n case FilterOperators.NotEquals:\n result += ' !== ';\n break;\n case FilterOperators.Contains:\n result += ' contains ';\n break;\n default:\n throw new Error('Invalid operator!');\n }\n return result + this.value;\n };\n /**\n * Called internally to build the described query.\n * @param entityType The entity type getting filtered.\n * @returns The Predicate of this description.\n */\n PropertyFilter.prototype.createPredicate = function (entityType) {\n var encoder = new HttpUrlEncodingCodec();\n var breezeOperator = null;\n switch (this.operator) {\n case FilterOperators.Equals:\n breezeOperator = FilterQueryOp.Equals;\n break;\n case FilterOperators.GreaterThan:\n breezeOperator = FilterQueryOp.GreaterThan;\n break;\n case FilterOperators.GreaterThanOrEqual:\n breezeOperator = FilterQueryOp.GreaterThanOrEqual;\n break;\n case FilterOperators.LessThan:\n breezeOperator = FilterQueryOp.LessThan;\n break;\n case FilterOperators.LessThanOrEqual:\n breezeOperator = FilterQueryOp.LessThanOrEqual;\n break;\n case FilterOperators.NotEquals:\n breezeOperator = FilterQueryOp.NotEquals;\n break;\n case FilterOperators.Contains:\n breezeOperator = FilterQueryOp.Contains;\n // Making contains operator case insensitive.\n return Predicate.create('tolower(' + this.property + ')', breezeOperator, (encoder.encodeValue(this.value + '')).toLowerCase());\n default:\n throw new Error('Operator not supported by property filter for ' + this.property);\n }\n switch (entityType.getDataProperty(this.property).dataType) {\n case DataType.DateTime:\n // Vanwege IE, gebruik moment voor string naar date.\n return Predicate.create(this.property, breezeOperator, moment(this.value).toDate());\n default:\n return Predicate.create(this.property, breezeOperator, encoder.encodeValue(this.value));\n }\n };\n return PropertyFilter;\n}());\nexport { PropertyFilter };\n","/**\n * Descripes a sort rule. Is used to generate a breeze data set.\n */\nvar SortDescriptor = /** @class */ (function () {\n function SortDescriptor(name, property, direction, order) {\n this.name = name;\n this.property = property;\n this.direction = direction;\n this.order = order;\n }\n return SortDescriptor;\n}());\nexport { SortDescriptor };\n","/**\n * @file Mapping between key name and key codes\n * @author Heino Lenting\n */\nexport var keyCodes = {\n 'up': 38,\n 'right': 39,\n 'down': 40,\n 'left': 37,\n 'enter': 13\n};\n","/**\n * @file Abstract class for input with a lookup functionality\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, EventEmitter } from '@angular/core';\nimport { DropdownInput } from '../../../base/inputs/input-dropdown/input-dropdown.component';\nimport { DataType } from 'breeze-client';\nimport { FilterOperators } from '../../../core/helpers/filter-operators';\nimport { PropertyFilter } from '../../../core/helpers/property-filter';\nimport { SortDescriptor } from '../../../core/helpers/sort-descriptor';\nimport { keyCodes } from '../../../base/helpers/key-codes';\nimport { SortDirection } from '../../../core/helpers/sort-direction';\nimport { DataSet } from '../../../core/helpers/data-set';\nimport * as moment from 'moment';\n/**\n * Class for the lookup input component\n */\nvar LookupInput = /** @class */ (function (_super) {\n tslib_1.__extends(LookupInput, _super);\n /**\n * Constructs a LookupInput\n */\n function LookupInput(breezeService, alertsService, translateService, localisationService) {\n var _this = _super.call(this) || this;\n _this.breezeService = breezeService;\n _this.alertsService = alertsService;\n _this.translateService = translateService;\n _this.localisationService = localisationService;\n /** Event triggered when a new data set is retrieved from the backend api.\n * @type {EventEmitter}\n * @memberOf LookupInput\n */\n _this.onRefresh = new EventEmitter();\n /**\n * Triggered when the dropdown opens (true) or closes (false).\n * @type {EventEmitter}\n * @memberOf LookupInput\n */\n _this.onDropdownChanged = new EventEmitter();\n // Use to hide the loading button\n _this.showButton = true;\n /**\n * Gets, sets the place holder text of the lookup.\n * @see setPlaceHolderText method.\n */\n _this.placeHolderText = '';\n /**\n * Holds the reference of the entity format.\n * @private\n * @type {EntityFormat}\n */\n _this.formatValue = undefined;\n /**\n * Holds the last search criteria.\n * @private\n * @type {string}\n */\n _this.lastSearchCriteria = '';\n /**\n * The items found with matching score.\n * @private\n * @type {{item: Entity, match: number}[]}\n */\n _this.foundItems = [];\n /** Keep track of loading state */\n _this.loading = false;\n /** Show not found message */\n _this.notFound = false;\n /** If in editmode do not update textValue */\n _this.inEditMode = false;\n _this.timeoutId = 0;\n _this.showItems = 1000;\n /** Total found items (in interface are only five visible) */\n _this.inlineCount = 0;\n /** The found items */\n _this.items = [];\n /** Sorting rules used to create the EntityQuery. */\n _this.sorting = [];\n /** The source name of the requested entities. */\n _this.sourceName = undefined;\n /** The item the dropdown is focussed on */\n _this.focussedValue = null;\n return _this;\n }\n Object.defineProperty(LookupInput.prototype, \"placeholder\", {\n /**\n * Sets the placeholder text\n * @memberOf LookupInput\n */\n set: function (value) {\n this.placeHolderText = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LookupInput.prototype, \"format\", {\n /**\n * Sets the entity format of the lookup, which entity and properties are used.\n */\n get: function () {\n return this.formatValue;\n },\n /**\n * Sets the entity format of the lookup, which entity and properties are used.\n */\n set: function (value) {\n var _this = this;\n if (value === this.formatValue) {\n return;\n }\n this.formatValue = value;\n this.sourceName = this.formatValue.dataSource;\n if (this.formatValue.displayFormat) {\n // Sort fields in display order to get the appropriate dataSet sorting order.\n this.formatValue.fields.sort(function (a, b) {\n return _this.formatValue.displayFormat.indexOf('[' + a + ']') - _this.formatValue.displayFormat.indexOf('[' + b + ']');\n });\n }\n this.breezeService.registerSource(this.formatValue.entity, this);\n if (this.formatValue.fields) {\n // Clear the sorting and add sort descriptor\n this.sorting.length = 0;\n this.formatValue.fields.forEach(function (field) {\n _this.sorting.push(new SortDescriptor(field, field, SortDirection.Descending, 0));\n });\n }\n // Not just for dropdown. Also forces to listen. This will set this.entityType.\n if (this.formatValue.dropdown) {\n this.lookup(null);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LookupInput.prototype, \"queryOptions\", {\n /** Aditional options to generate the requested EntityQuery */\n get: function () {\n var result = {\n skip: 0\n };\n if (!this.formatValue.dropdown) {\n result['take'] = this.showItems;\n }\n if (this.formatValue.parameters) {\n result['parameters'] = this.formatValue.parameters;\n }\n return result;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LookupInput.prototype, \"oid\", {\n /** Gets the oid from the selected entity. */\n get: function () {\n var entity = this.value;\n if (entity) {\n return entity.entityAspect.getKey().values[0];\n }\n return '';\n },\n /** Tries to sets the oid by finding the entity. */\n set: function (newValue) {\n if (this.oid === newValue) {\n return;\n }\n var nameKey = this.entityType.keyProperties[0].nameOnServer;\n this.filter = new PropertyFilter(this, nameKey, FilterOperators.Equals, newValue);\n this.afterSetOid();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the string representation of the lookup value.\n */\n LookupInput.prototype.getDisplayValue = function () {\n return this.getDisplayValueForItem(this.value);\n };\n /**\n * Gets text representation of selected entity.\n * @param {*} item The selected entity.\n * @returns The representation text.\n */\n LookupInput.prototype.getDisplayValueForItem = function (item) {\n var _this = this;\n // No item case\n if (item == null) {\n return '';\n }\n // No format given\n if (!this.formatValue || !this.formatValue.fields) {\n return this.translateService.instant('APP.INPUTS.NO_FORMAT');\n }\n // Item and formatValue are given\n var text = (this.formatValue.displayFormat) ? this.formatValue.displayFormat : '';\n if (this.formatValue.displayFormat) {\n this.formatValue.fields.forEach(function (field) {\n var value = item[field];\n if (moment.isDate(value) || moment.isMoment(value)) {\n value = moment(value).format(_this.localisationService.currentLanguage.formats.datetime.format);\n }\n text = text.replace(\"[\" + field + \"]\", value ? value : '');\n });\n }\n else {\n this.formatValue.fields.forEach(function (field) {\n var value = item[field];\n if (moment.isDate(value) || moment.isMoment(value)) {\n value = moment(value).format(_this.localisationService.currentLanguage.formats.datetime.format);\n }\n text += value + ' ';\n });\n }\n return text.trim();\n };\n /**\n * Is called right after the directive's data-bound properties have been checked for the\n * first time, and before any of its children have been checked.It is invoked only once when the\n * directive is instantiated.\n */\n LookupInput.prototype.ngOnInit = function () {\n this.setPlaceHolderText();\n if (!this.formatValue) {\n return;\n }\n if (this.value) {\n // Forcing to set this.textValue now we have this.format.\n this.setValue(this.value);\n }\n };\n /**\n * Is component in loading state\n * @return Returns true if component is loading\n */\n LookupInput.prototype.isLoading = function () {\n return this.loading;\n };\n /**\n * Returns whether the dropdown is open\n * @returns Returns if dropdown is open\n */\n LookupInput.prototype.isOpen = function () {\n return this.items.length > 0 || this.notFound;\n };\n /** Refresh the domain data source */\n LookupInput.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result, _a, _b;\n return tslib_1.__generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n result = this.breezeService.getDataSet(this, this.items);\n _b = (_a = this.onRefresh).emit;\n return [4 /*yield*/, result];\n case 1:\n _b.apply(_a, [_c.sent()]);\n return [2 /*return*/, result];\n }\n });\n });\n };\n /**\n * User selects an item.\n * @param Entity The selected item.\n */\n LookupInput.prototype.select = function (item) {\n // Not in edit mode anymore.\n this.inEditMode = false;\n // Set the entity field.\n this.value = item;\n // Clean up the items list.\n this.items.length = 0;\n // Notifies that the dropdown closes.\n this.onDropdownChanged.emit(false);\n };\n /**\n * Is called on focus event.\n * To reset the textValue.\n */\n LookupInput.prototype.onFocus = function () {\n if (this.oid === '') {\n this.textValue = '';\n }\n this.lookup(null);\n };\n /**\n * Is called on focusout event.\n * Sets value to null when textValue is empty\n * @memberOf LookupInput\n */\n LookupInput.prototype.onFocusOut = function () {\n // Fix: Leegmaken Entity input heeft soms geen effect #2806\n if (this.textValue === '') {\n this.inEditMode = false;\n this.setValue(null);\n }\n };\n /**\n * Function called when the menu is opened\n */\n LookupInput.prototype.dropDownOpened = function () {\n if (this.focussedValue === null) {\n this.focussedValue = this.value;\n }\n var position = this.items.indexOf(this.focussedValue);\n if (position === -1 && this.items.length > 0) {\n this.focussedValue = this.items[0];\n }\n };\n /**\n * Listener for global key down events\n * @param $event The event\n */\n LookupInput.prototype.keyDown = function (event) {\n /**\n * We gebruiken out-zone vanwege performance issue:\n * Het type in input wordt langzaam wanneer je ook een groot gevulde agenda open hebt.\n * Zover ik kan zien werkt het hier zonder this.changeDetector.detectChanges().\n * Bij problemen implementeer toch this.changeDetector.detectChanges()\n * See https://stackoverflow.com/questions/45227486/hostlistener-slowing-down-application-angular2\n */\n if (this.focussedValue === null) {\n this.focussedValue = this.value;\n }\n // Only proceed if the dropdown is *actually* open\n if (this.isOpen()) {\n var position = this.items.indexOf(this.focussedValue);\n // Stop if current item is not found in items\n if (position === -1) {\n position = 0;\n this.focussedValue = null;\n }\n // Based on key code go up or down\n if (event.keyCode === keyCodes['up']) {\n // Stop if current is at the top of the items\n if (position === 0) {\n return;\n }\n // Set previous position\n position = position - 1;\n }\n else if (event.keyCode === keyCodes['down']) {\n // Stop if current is at the bottom of the items\n if (position === this.items.length - 1) {\n return;\n }\n // Set next position\n position = position + 1;\n }\n else if (event.keyCode === keyCodes['enter']) {\n if (this.focussedValue !== null) {\n // this.value = this.focussedValue;\n this.setValue(this.focussedValue);\n }\n }\n // Set the new value\n this.focussedValue = this.items[position];\n }\n };\n LookupInput.prototype.isActive = function (item) {\n if (this.focussedValue !== null) {\n return item === this.focussedValue;\n }\n return false;\n };\n /**\n * Used to close the dropdown\n */\n LookupInput.prototype.setClose = function () {\n // Make items list empty (but keep reference)\n this.items.length = 0;\n this.inlineCount = 0;\n // Not in edit mode anymore\n this.inEditMode = false;\n };\n /**\n * Update the text value\n */\n LookupInput.prototype.updateTextValue = function () {\n this.textValue = this.getDisplayValue();\n };\n /**\n * Set the value of the input and the text displayed.\n * @param val The new val to set.\n */\n LookupInput.prototype.setValue = function (val) {\n // Set the value\n _super.prototype.setValue.call(this, val);\n // If not in edit mode update the text value\n if (!this.inEditMode) {\n this.updateTextValue();\n }\n };\n /**\n * User hits enter in input element; update input field\n * @param Entity The selected item\n */\n LookupInput.prototype.leaveViaEnter = function (event) {\n if (this.focussedValue !== null) {\n this.setValue(this.focussedValue);\n }\n // Update the value in input element\n this.updateTextValue();\n // Close dropdown etc\n this.setClose();\n // Stop the enter event from bubbling\n event.preventDefault();\n };\n /**\n * An outside click event\n */\n LookupInput.prototype.clickOutside = function (e) {\n this.updateTextValue();\n if (this.isOpen()) {\n this.setClose();\n }\n };\n /**\n * Handles the user input per character\n */\n LookupInput.prototype.lookup = function (event) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n // IMPROVE: use key codes (key-codes.ts)\n if (event) {\n switch (event.keyCode) {\n case 38: // Ignore Arrow up see HostListener document:keydown\n case 40: // Ignore Arrow down see HostListener document:keydown\n case 13: // Ignore enter key?\n return [2 /*return*/];\n default:\n break;\n }\n }\n // Set in edit mode\n this.inEditMode = true;\n // Optimistic approach :-)\n this.notFound = false;\n // Set in loading state only when we go to search.\n this.loading = this.formatValue.dropdown || (!(this.lastSearchCriteria === this.textValue && this.items.length > 0) && !((this.textValue + '').trim() === ''));\n // this.loading = this.formatValue.dropdown || (!(this.lastSearchCriteria === this.textValue && this.items.length > 0)); // && !((this.textValue + '').trim() === ''));\n clearTimeout(this.timeoutId);\n this.timeoutId = window.setTimeout(function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var dataset, index;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n // Clear filter.\n this.filter = null;\n if (!this.formatValue.dropdown) {\n if (this.lastSearchCriteria === this.textValue && this.items.length > 0) {\n this.loading = false;\n this.onDropdownChanged.emit(false);\n return [2 /*return*/];\n }\n this.inlineCount = 0;\n if ((this.textValue + '').trim() === '' && event !== null) {\n // this.items.splice(0, this.items.length);\n this.items.length = 0;\n this.loading = false;\n this.onDropdownChanged.emit(false);\n return [2 /*return*/];\n }\n this.lastSearchCriteria = this.textValue;\n this.loading = true;\n this.onDropdownChanged.emit(true);\n this.incrementalSearch(this.textValue, event === null, function () {\n var index = _this.items.length;\n var _loop_1 = function () {\n index--;\n var item = _this.items[index];\n if (_this.foundItems.findIndex(function (it) { return item === it.item; }) === -1) {\n _this.items.splice(index, 1);\n }\n };\n while (index > 0) {\n _loop_1();\n }\n _this.clientSideMatch();\n _this.items.sort(function (itemA, itemB) {\n var foundA = _this.foundItems.find(function (it) { return it.item === itemA; });\n var foundB = _this.foundItems.find(function (it) { return it.item === itemB; });\n var matchA = foundA == null ? 0 : foundA.match;\n var matchB = foundB == null ? 0 : foundB.match;\n return matchB - matchA;\n });\n if (_this.items.length !== 0) {\n var found = _this.items.indexOf(_this.value);\n if (found === -1) {\n _this.focussedValue = _this.items[0];\n }\n else {\n _this.focussedValue = _this.items[found];\n }\n }\n // Stop loading state\n _this.loading = false;\n _this.onDropdownChanged.emit(false);\n });\n return [2 /*return*/];\n }\n return [4 /*yield*/, this.refresh()];\n case 1:\n dataset = _a.sent();\n if (this.items.length !== 0) {\n index = this.items.indexOf(this.value);\n if (index === -1) {\n this.focussedValue = this.items[0];\n }\n else {\n this.focussedValue = this.items[index];\n }\n }\n // Stop loading state\n this.loading = false;\n this.onDropdownChanged.emit(true);\n // Store inline count\n this.inlineCount = dataset.inlineCount;\n return [2 /*return*/];\n }\n });\n }); }, 500);\n return [2 /*return*/];\n });\n });\n };\n /**\n * Sets the place holder to the default text for lookup inputs.\n * Override this method when you want a more specific place holder text.\n * @protected\n */\n LookupInput.prototype.setPlaceHolderText = function () {\n var _this = this;\n if (this.placeHolderText !== '') {\n // It was set in the code.\n return;\n }\n if (this.entityType) {\n var entityPlaceHolder_1 = 'APP.MISC.' + this.entityType.shortName.toUpperCase() + '.#SEARCH';\n this.subscriptionPool.add(this.translateService.get(['APP.INPUTS.SEARCH_BY_TYPING', entityPlaceHolder_1]).subscribe(function (result) {\n if (result[entityPlaceHolder_1] === entityPlaceHolder_1) {\n _this.placeHolderText = result['APP.INPUTS.SEARCH_BY_TYPING'];\n return;\n }\n _this.placeHolderText = result[entityPlaceHolder_1];\n }));\n return;\n }\n this.subscriptionPool.add(this.translateService.get('APP.INPUTS.SEARCH_BY_TYPING').subscribe(function (result) {\n _this.placeHolderText = result;\n }));\n };\n /**\n * Search incrementally to approximate the feeling of a Google like search.\n * @protected\n * @param {string} searchText The text to match.\n * @param {Function} callback Callback with the next stap in the search.\n */\n LookupInput.prototype.incrementalSearch = function (searchText, onFocus, callback) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var match, dataSet_1, result_1, dataSet, splitAt, queryResult, left, right, result, lastSearch;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n match = (searchText + '').trim();\n if (!onFocus) return [3 /*break*/, 2];\n dataSet_1 = this.makeDataSet();\n return [4 /*yield*/, dataSet_1.refresh()];\n case 1:\n result_1 = _a.sent();\n this.inlineCount = result_1.inlineCount;\n result_1.results.forEach(function (item) {\n var found = _this.items.indexOf(item);\n if (found === -1) {\n _this.items.splice(0, 0, item);\n }\n else {\n _this.items.splice(found, 1);\n _this.items.splice(0, 0, item);\n }\n _this.foundItems.push({ item: item, match: match.length });\n });\n callback();\n return [2 /*return*/];\n case 2:\n if (!(match === '')) return [3 /*break*/, 4];\n return [4 /*yield*/, this.refresh()];\n case 3:\n _a.sent();\n callback();\n return [2 /*return*/];\n case 4:\n dataSet = this.makeDataSet();\n this.formatValue.fields.forEach(function (field) {\n // Match the full searchText\n // Hier wordt op alle getoonde \"String\" velden gezocht.\n // https://github.com/Symagic/html5/issues/3946\n // https://github.com/Symagic/html5/issues/4046\n var property = _this.entityType.getDataProperty(field);\n if (property.dataType === DataType.String) {\n // Aanmaak van een OR filter van alle getoonde \"String\" velden.\n // Ik gebruik hier een dummy anders klaagt ts-lint.\n var dummy = new PropertyFilter(dataSet, field, FilterOperators.Contains, match, FilterOperators.Or);\n }\n });\n splitAt = match.lastIndexOf(' ');\n if (!(splitAt === -1)) return [3 /*break*/, 6];\n return [4 /*yield*/, dataSet.refresh()];\n case 5:\n queryResult = _a.sent();\n if ((this.lastSearchCriteria + '').trim() === match) {\n this.inlineCount = queryResult.inlineCount;\n // this.foundItems.splice(0, this.foundItems.length);\n this.foundItems.length = 0;\n if (queryResult.results.length === 0) {\n // this.items.splice(0, this.items.length);\n this.items.length = 0;\n }\n else {\n queryResult.results.forEach(function (item) {\n var found = _this.items.indexOf(item);\n if (found === -1) {\n _this.items.splice(0, 0, item);\n }\n else {\n _this.items.splice(found, 1);\n _this.items.splice(0, 0, item);\n }\n _this.foundItems.push({ item: item, match: match.length });\n });\n }\n }\n else {\n queryResult.results.forEach(function (item) {\n if (_this.items.find(function (it) { return it === item; }) == null) {\n _this.items.push(item);\n }\n var found = _this.foundItems.find(function (it) { return item === it.item; });\n if (found == null) {\n _this.foundItems.push({ item: item, match: match.length });\n }\n else {\n found.match += match.length;\n }\n });\n }\n callback();\n return [2 /*return*/];\n case 6:\n left = match.substring(0, splitAt).trim();\n right = match.substring(splitAt + 1).trim();\n return [4 /*yield*/, dataSet.refresh()];\n case 7:\n result = _a.sent();\n lastSearch = (this.lastSearchCriteria + '').trim();\n if (lastSearch === match) {\n this.inlineCount = result.inlineCount;\n // this.foundItems.splice(0, this.foundItems.length);\n this.foundItems.length = 0;\n result.results.forEach(function (item) {\n var index = _this.items.indexOf(item);\n if (index === -1) {\n _this.items.splice(0, 0, item);\n }\n else {\n _this.items.splice(index, 1);\n _this.items.splice(0, 0, item);\n }\n _this.foundItems.push({ item: item, match: match.length });\n });\n if (result.results.length > 0) {\n // Found items with total search criteria.\n // We do not to have search sub criteria.\n callback();\n return [2 /*return*/];\n }\n }\n else {\n result.results.forEach(function (item) {\n if (_this.items.find(function (it) { return it === item; }) == null) {\n _this.items.push(item);\n }\n var found = _this.foundItems.find(function (it) { return item === it.item; });\n if (found == null) {\n _this.foundItems.push({ item: item, match: match.length });\n }\n else {\n found.match += match.length;\n }\n });\n }\n if (left.length > right.length) {\n this.incrementalSearch(left, false, function () {\n _this.incrementalSearch(right, false, function () {\n callback();\n });\n });\n return [2 /*return*/];\n }\n this.incrementalSearch(right, false, function () {\n _this.incrementalSearch(left, false, function () {\n callback();\n });\n });\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Makes a data set for incremantal searching.\n * @protected\n * @returns {DataSet} The data set\n */\n LookupInput.prototype.makeDataSet = function () {\n var dataSet = new DataSet(this.breezeService);\n dataSet.entityType = this.entityType;\n dataSet.queryOptions = this.queryOptions;\n dataSet.sourceName = this.sourceName;\n if (this.formatValue.fields) {\n // Clear the sorting and add sort descriptor\n dataSet.sorting.length = 0;\n this.formatValue.fields.forEach(function (field) {\n dataSet.sorting.push(new SortDescriptor(field, field, SortDirection.Descending, 0));\n });\n }\n return dataSet;\n };\n /**\n * Refreshes the input\n * @private\n * @memberOf LookupInput\n */\n LookupInput.prototype.afterSetOid = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var dataset;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.refresh()];\n case 1:\n dataset = _a.sent();\n this.loading = false;\n if (dataset.results.length === 1) {\n this.setValue(dataset.results[0]);\n this.setClose();\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Adds a client side calculation of the search match\n * to compensate underestimations of the match in the incremental search.\n * @private\n */\n LookupInput.prototype.clientSideMatch = function () {\n var _this = this;\n var criteria = (this.textValue + '').toLowerCase().split(' ');\n if (criteria.length === 1 && criteria[0] === '') {\n return;\n }\n this.foundItems.forEach(function (it) {\n _this.formatValue.fields.forEach(function (field) {\n var value = (it.item[field] + '').toLowerCase();\n if (value === '') {\n return;\n }\n criteria.forEach(function (match) {\n if (value.indexOf(match) !== -1) {\n it.match += match.length;\n }\n });\n });\n });\n };\n return LookupInput;\n}(DropdownInput));\nexport { LookupInput };\n","/**\n* @file Entity component for entity input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityKey } from 'breeze-client';\nimport { OverlayService } from '../../../core/overlay.service';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { LookupInput } from '../input-lookup/input-lookup';\nimport { DomainService } from '../../../domain.service';\nimport { LocalisationService } from '../../../core/localisation.service';\n/**\n * Class for entity component.\n */\nvar InputEntityComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputEntityComponent, _super);\n /**\n * Constructs an InputEntityComponent\n * @param element Reference to HTML document element\n * @param domainService The domain service\n * @param alertsService Alerts service to display user information.\n * @param elementRef Reference to html element.\n */\n function InputEntityComponent(domainService, alertsService, translateService, localisationService, overlayService) {\n var _this = _super.call(this, domainService, alertsService, translateService, localisationService) || this;\n _this.overlayService = overlayService;\n return _this;\n }\n /**\n * @returns {boolean} True if the input is configured as a dropdown.\n */\n InputEntityComponent.prototype.isDropdown = function () {\n return this.format ? this.format.dropdown : false;\n };\n /**\n * Sets the value after the selection has changed.\n * @param {Event} event The selection changed event.\n */\n InputEntityComponent.prototype.selectionChanged = function (event) {\n var id = event.target.value;\n var values = [id];\n if (id.indexOf('K_-') !== 0) {\n values = id.split('_');\n }\n var key = new EntityKey(this.entityType, values);\n var item = this.items.find(function (i) { return i.entityAspect.getKey().equals(key); });\n this.setValue(item);\n };\n /**\n * Open any given entity via a modal\n * @param entity The entity to open\n */\n InputEntityComponent.prototype.openEntityInModal = function (entity) {\n if (!entity) {\n return;\n }\n // Go to entity\n if (!this.overlayService.goToEntity(entity, this.getLinkName(entity))) {\n this.alertsService.createAlert('warning', 'APP.INPUTS.CAN_NOT_GO_TO_ENTITY');\n }\n };\n /**\n * Gets the link name of the entity to use when displaying the entity in modal mode.\n * @private\n * @param {Entity} entity The entity to display in modal mode.\n * @returns The link name of the entity.\n * @memberOf InputEntityComponent\n */\n InputEntityComponent.prototype.getLinkName = function (entity) {\n if (entity == null) {\n return null;\n }\n var enitityTypeName = entity.entityType.shortName;\n switch (enitityTypeName) {\n case 'Assignment':\n if (entity['Appointment']) {\n return 'Assignment-is-appointment';\n }\n return enitityTypeName;\n default:\n return enitityTypeName;\n }\n };\n /**\n * Gets the flag indicating whether or not the entity can be shown in the overlay.\n * @readonly\n * @type {boolean}\n */\n InputEntityComponent.prototype.hasLink = function () {\n return this.overlayService.entityWithOverlay(null, this.getLinkName(this.value));\n };\n /**\n * An outside click event\n */\n InputEntityComponent.prototype.clickOutside = function (e) {\n if (this.isOpen()) {\n _super.prototype.clickOutside.call(this, e);\n this.onDropdownChanged.emit(true); // Sorry, stupid on detectChanges stuff #2998\n }\n };\n return InputEntityComponent;\n}(LookupInput));\nexport { InputEntityComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Entity component for entity input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"../input-lookup/input-lookup.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"../../directives/toggle-required.directive\";\nimport * as i7 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i8 from \"./input-entity.component\";\nimport * as i9 from \"../../../domain.service\";\nimport * as i10 from \"../../../core/alerts.service\";\nimport * as i11 from \"../../../core/localisation.service\";\nimport * as i12 from \"../../../core/overlay.service\";\nvar styles_InputEntityComponent = [i0.styles, i1.styles];\nvar RenderType_InputEntityComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputEntityComponent, data: {} });\nexport { RenderType_InputEntityComponent as RenderType_InputEntityComponent };\nfunction View_InputEntityComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 3, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(3, { \"text-muted\": 0, \"sym-selectable\": 1 }), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _ck(_v, 3, 0, !_co.value, _co.value); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", _co.getDisplayValue(), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.getDisplayValue(); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_InputEntityComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"option\", [[\"class\", \"placeholder\"], [\"disabled\", \"\"], [\"hidden\", \"\"], [\"selected\", \"\"], [\"value\", \"\"]], null, null, null, null, null)), i2.ɵdid(1, 147456, null, 0, i4.NgSelectOption, [i2.ElementRef, i2.Renderer2, [2, i4.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i2.ɵdid(2, 147456, null, 0, i4.ɵangular_packages_forms_forms_s, [i2.ElementRef, i2.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i2.ɵted(3, null, [\" \", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = \"\"; _ck(_v, 1, 0, currVal_0); var currVal_1 = \"\"; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i2.ɵunv(_v, 3, 0, i2.ɵnov(_v, 4).transform(\"APP.INPUTS.SELECT_ONE\")); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputEntityComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i2.ɵdid(1, 147456, null, 0, i4.NgSelectOption, [i2.ElementRef, i2.Renderer2, [2, i4.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i2.ɵdid(2, 147456, null, 0, i4.ɵangular_packages_forms_forms_s, [i2.ElementRef, i2.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i2.ɵted(3, null, [\"\", \" \"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit.Oid; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.Oid; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.getDisplayValueForItem(_v.context.$implicit); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_InputEntityComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputEntityComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 16, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"has-danger\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 11, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 10, \"select\", [[\"class\", \"form-control c-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 5).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.selectionChanged($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i2.ɵdid(5, 16384, null, 0, i4.SelectControlValueAccessor, [i2.Renderer2, i2.ElementRef], null, null), i2.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.SelectControlValueAccessor]), i2.ɵdid(7, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, null), i2.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i2.ɵdid(9, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i2.ɵdid(10, 16384, null, 0, i6.ToggleRequiredDirective, [i2.ElementRef], { symToggleRequired: [0, \"symToggleRequired\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_4)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_5)), i2.ɵdid(14, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_6)), i2.ɵdid(16, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_8 = _co.disabled; var currVal_9 = _co.oid; _ck(_v, 7, 0, currVal_8, currVal_9); var currVal_10 = _co.required; _ck(_v, 10, 0, currVal_10); var currVal_11 = _co.items; _ck(_v, 12, 0, currVal_11); var currVal_12 = _co.items; _ck(_v, 14, 0, currVal_12); var currVal_13 = _co.validationErrors; _ck(_v, 16, 0, currVal_13); }, function (_ck, _v) { var currVal_1 = i2.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i2.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i2.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i2.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i2.ɵnov(_v, 9).ngClassValid; var currVal_6 = i2.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i2.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_InputEntityComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_2)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InputEntityComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 3, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(3, { \"text-muted\": 0, \"sym-selectable\": 1 }), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _ck(_v, 3, 0, !_co.value, _co.value); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", _co.getDisplayValue(), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.getDisplayValue(); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_InputEntityComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(3, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(4, { \"sym-icon-search\": 0, \"sym-icon-loading icon-spin\": 1 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 4, 0, !_co.isLoading(), _co.isLoading()); _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.disabled; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputEntityComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"dropdown-item sym-clickable text-truncate\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"active\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\\u00A0\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"dropdown-item sym-clickable text-truncate\"; var currVal_2 = _ck(_v, 2, 0, _co.isActive(_v.context.$implicit)); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getDisplayValueForItem(_v.context.$implicit); _ck(_v, 0, 0, currVal_0); var currVal_3 = _co.getDisplayValueForItem(_v.context.$implicit); _ck(_v, 4, 0, currVal_3); }); }\nfunction View_InputEntityComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"font-italic sym-p-l\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \" \", \" \", \".. (\", \")\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.AND\")); var currVal_1 = (_co.inlineCount - _co.showItems); var currVal_2 = i2.ɵunv(_v, 2, 2, i2.ɵnov(_v, 4).transform(\"APP.INPUTS.MORE\")); var currVal_3 = i2.ɵunv(_v, 2, 3, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.SPECIFY_SEARCH\")); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_InputEntityComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.NO_MATCHES_FOUND\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputEntityComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputEntityComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 31, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 26, \"div\", [[\"class\", \"dropdown sym-lookup\"]], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"show\": 0 }), i2.ɵdid(6, 737280, null, 0, i7.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], null, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(7, 0, null, null, 9, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(8, 0, null, null, 6, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"focus\"], [null, \"focusout\"], [null, \"keyup\"], [null, \"keydown.enter\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 9)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 9).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 9)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 9)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.textValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"focus\" === en)) {\n var pd_5 = (_co.onFocus() !== false);\n ad = (pd_5 && ad);\n } if ((\"focusout\" === en)) {\n var pd_6 = (_co.onFocusOut() !== false);\n ad = (pd_6 && ad);\n } if ((\"keyup\" === en)) {\n var pd_7 = (_co.lookup($event) !== false);\n ad = (pd_7 && ad);\n } if ((\"keydown.enter\" === en)) {\n var pd_8 = (_co.leaveViaEnter($event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i2.ɵdid(9, 16384, null, 0, i4.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i2.ɵdid(11, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i2.ɵdid(13, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i2.ɵdid(14, 16384, null, 0, i6.ToggleRequiredDirective, [i2.ElementRef], { symToggleRequired: [0, \"symToggleRequired\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_10)), i2.ɵdid(16, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(17, 0, null, null, 12, \"div\", [[\"class\", \"dropdown-menu sym-dropdown-menu sym-p-a\"]], null, null, null, null, null)), i2.ɵdid(18, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(19, { \"show\": 0 }), (_l()(), i2.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"dropdown-item sym-clickable text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(null) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(21, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵted(22, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_11)), i2.ɵdid(25, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_12)), i2.ɵdid(27, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_13)), i2.ɵdid(29, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_14)), i2.ɵdid(31, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = \"dropdown sym-lookup\"; var currVal_2 = _ck(_v, 5, 0, _co.isOpen()); _ck(_v, 4, 0, currVal_1, currVal_2); _ck(_v, 6, 0); var currVal_12 = _co.disabled; var currVal_13 = _co.textValue; _ck(_v, 11, 0, currVal_12, currVal_13); var currVal_14 = _co.required; _ck(_v, 14, 0, currVal_14); var currVal_15 = _co.showButton; _ck(_v, 16, 0, currVal_15); var currVal_16 = \"dropdown-menu sym-dropdown-menu sym-p-a\"; var currVal_17 = _ck(_v, 19, 0, _co.isOpen()); _ck(_v, 18, 0, currVal_16, currVal_17); var currVal_19 = _co.items; _ck(_v, 25, 0, currVal_19); var currVal_20 = ((_co.inlineCount - _co.showItems) > 0); _ck(_v, 27, 0, currVal_20); var currVal_21 = _co.notFound; _ck(_v, 29, 0, currVal_21); var currVal_22 = _co.validationErrors; _ck(_v, 31, 0, currVal_22); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.placeHolderText; var currVal_4 = _co.textValue; var currVal_5 = i2.ɵnov(_v, 13).ngClassUntouched; var currVal_6 = i2.ɵnov(_v, 13).ngClassTouched; var currVal_7 = i2.ɵnov(_v, 13).ngClassPristine; var currVal_8 = i2.ɵnov(_v, 13).ngClassDirty; var currVal_9 = i2.ɵnov(_v, 13).ngClassValid; var currVal_10 = i2.ɵnov(_v, 13).ngClassInvalid; var currVal_11 = i2.ɵnov(_v, 13).ngClassPending; _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11); var currVal_18 = i2.ɵunv(_v, 22, 0, i2.ɵnov(_v, 23).transform(\"APP.INPUTS.NO_ENTITY\")); _ck(_v, 22, 0, currVal_18); }); }\nfunction View_InputEntityComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_8)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_9)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InputEntityComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-m-l sym-entity-link\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openEntityInModal(_co.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-open\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.disabled; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_InputEntityComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"w-100\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_1)), i2.ɵdid(3, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_7)), i2.ɵdid(5, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputEntityComponent_15)), i2.ɵdid(7, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isDropdown(); _ck(_v, 3, 0, currVal_0); var currVal_1 = !_co.isDropdown(); _ck(_v, 5, 0, currVal_1); var currVal_2 = (_co.hasLink() && _co.value); _ck(_v, 7, 0, currVal_2); }, null); }\nexport function View_InputEntityComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_InputEntityComponent_0, RenderType_InputEntityComponent)), i2.ɵdid(1, 245760, null, 0, i8.InputEntityComponent, [i9.DomainService, i10.AlertsService, i5.TranslateService, i11.LocalisationService, i12.OverlayService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InputEntityComponentNgFactory = i2.ɵccf(\"sym-input-entity\", i8.InputEntityComponent, View_InputEntityComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", showButton: \"showButton\", placeholder: \"placeholder\", format: \"format\" }, { valueChange: \"valueChange\", onRefresh: \"onRefresh\", onDropdownChanged: \"onDropdownChanged\" }, []);\nexport { InputEntityComponentNgFactory as InputEntityComponentNgFactory };\n","/**\n* @file Fieldset component for entity input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../fieldset-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * Class for the entity entity component\n */\nvar FieldsetEntityComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetEntityComponent, _super);\n /**\n * Constructs a FieldsetEntityComponent\n */\n function FieldsetEntityComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetEntityComponent.register = function () {\n ComponentRegistry.register('fieldset', 'entity', FieldsetEntityComponent);\n };\n return FieldsetEntityComponent;\n}(FieldsetBase));\nexport { FieldsetEntityComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for entity input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../help/help.component.ngfactory\";\nimport * as i3 from \"../help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i7 from \"../../inputs/input-entity/input-entity.component\";\nimport * as i8 from \"../../../domain.service\";\nimport * as i9 from \"../../../core/alerts.service\";\nimport * as i10 from \"../../../core/localisation.service\";\nimport * as i11 from \"../../../core/overlay.service\";\nimport * as i12 from \"./fieldset-entity.component\";\nimport * as i13 from \"../fieldset-provider\";\nvar styles_FieldsetEntityComponent = [i0.styles];\nvar RenderType_FieldsetEntityComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetEntityComponent, data: {} });\nexport { RenderType_FieldsetEntityComponent as RenderType_FieldsetEntityComponent };\nfunction View_FieldsetEntityComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetEntityComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetEntityComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetEntityComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetEntityComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 12).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.provider.value = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputEntityComponent_0, i6.RenderType_InputEntityComponent)), i1.ɵdid(12, 245760, null, 0, i7.InputEntityComponent, [i8.DomainService, i9.AlertsService, i4.TranslateService, i10.LocalisationService, i11.OverlayService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetEntityComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-entity\", [], null, null, null, View_FieldsetEntityComponent_0, RenderType_FieldsetEntityComponent)), i1.ɵdid(1, 180224, null, 0, i12.FieldsetEntityComponent, [i13.FieldsetProvider], null, null)], null, null); }\nvar FieldsetEntityComponentNgFactory = i1.ɵccf(\"sym-fieldset-entity\", i12.FieldsetEntityComponent, View_FieldsetEntityComponent_Host_0, {}, {}, []);\nexport { FieldsetEntityComponentNgFactory as FieldsetEntityComponentNgFactory };\n","/**\n* @file Container component for dynamically inject fieldsets in a form.\n* @author Tom Verschoore de la Houssaije\n*/\nimport { ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core';\nimport { AbstractControl } from '@angular/forms';\nimport { ComponentRegistry } from '../../../core/component-registry';\nimport { FieldsetProvider } from '../fieldset-provider';\n/**\n * This class is used to insert fieldsets, of a specific type, into a template by configuration.\n */\nvar FieldsetContainerComponent = /** @class */ (function () {\n /**\n * Constructs a FieldsetContainerComponent\n */\n function FieldsetContainerComponent(containerRef, factoryResolver) {\n this.containerRef = containerRef;\n this.factoryResolver = factoryResolver;\n /**\n * Gets sets the control inserted for this container configuration.\n * The control is used to monitor and validate field values depicted in a form.\n */\n this.control = undefined;\n /** Gets or sets the entity instance shown by this fieldset container. */\n this.entity = undefined;\n /** Gets sets the configuration of the contained fieldset. */\n this.fieldConfiguration = undefined;\n }\n Object.defineProperty(FieldsetContainerComponent.prototype, \"field\", {\n /** Gets the field configuration used in this container. */\n get: function () {\n return this.fieldConfiguration;\n },\n /**\n * Sets the field configuration used within this container.\n * @param value The field configuration.\n */\n set: function (value) {\n var _this = this;\n this.fieldConfiguration = value;\n if (this.fieldConfiguration === undefined || this.fieldConfiguration.editor === 'hidden') {\n return;\n }\n if (this.fieldConfiguration.editor === undefined) {\n this.fieldConfiguration.editor = 'string';\n }\n var editor = ComponentRegistry.getComponent('fieldset', this.fieldConfiguration.editor);\n if (this.containerRef.length > 0) {\n this.containerRef.clear();\n }\n var componentFactory = this.factoryResolver.resolveComponentFactory(editor);\n // https://stackoverflow.com/questions/45585606/staticinjector-vs-reflectiveinjector-in-angular\n var injector = Injector.create([\n {\n provide: FieldsetProvider,\n useFactory: function () {\n return new FieldsetProvider(_this);\n },\n deps: []\n }\n ]);\n // ReflectiveInjector is deprecated #3479\n // const injector = ReflectiveInjector.fromResolvedProviders(providers, self.containerRef.parentInjector)\n // const providers = ReflectiveInjector.resolve([\n // {\n // provide: FieldsetProvider,\n // useFactory: (): FieldsetProvider => {\n // return new FieldsetProvider(self);\n // }\n // }\n // ]);\n this.containerRef.createComponent(componentFactory, 0, injector, []);\n },\n enumerable: true,\n configurable: true\n });\n return FieldsetContainerComponent;\n}());\nexport { FieldsetContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Container component for dynamically inject fieldsets in a form.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./fieldset-container.component\";\nvar styles_FieldsetContainerComponent = [];\nvar RenderType_FieldsetContainerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_FieldsetContainerComponent, data: {} });\nexport { RenderType_FieldsetContainerComponent as RenderType_FieldsetContainerComponent };\nexport function View_FieldsetContainerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_FieldsetContainerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, View_FieldsetContainerComponent_0, RenderType_FieldsetContainerComponent)), i0.ɵdid(1, 49152, null, 0, i1.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], null, null)], null, null); }\nvar FieldsetContainerComponentNgFactory = i0.ɵccf(\"sym-fieldset-container\", i1.FieldsetContainerComponent, View_FieldsetContainerComponent_Host_0, { field: \"field\", control: \"control\", entity: \"entity\" }, {}, []);\nexport { FieldsetContainerComponentNgFactory as FieldsetContainerComponentNgFactory };\n","/**\n* @file Display all available fieldsets (temporarily!)\n* @author Heino Lenting\n*/\nimport { FormControl, FormGroup } from '@angular/forms';\nvar FieldsetsAllComponent = /** @class */ (function () {\n function FieldsetsAllComponent() {\n this.form = null;\n this.checkBoxGroup = null;\n this.controls = {};\n this.repeatDummy = {\n Repeat: {\n kind: 'ONCE', factor: 1, cycles: -1, days: '', untilDate: new Date()\n },\n entityAspect: {\n entityState: {\n isModified: function () { return true; },\n isUnchanged: function () { return true; }\n }\n }\n };\n this.taskDummy = {\n start: new Date(),\n finish: new Date(),\n entityAspect: {\n getValidationErrors: function (name) {\n return [];\n }\n },\n entityType: {},\n _Assignee: null,\n _Birthday: new Date(1981, 7, 13),\n _Boolean: true,\n _Checkboxes: 'AAP MIES',\n _Color: '#789ABC',\n _Date: new Date(2017, 8, 21),\n _Datetime: new Date(2001, 8, 11, 14, 46),\n _Duration: '8:43',\n _Email: 'info@symagic.com',\n _Emotion: 3,\n _Entity: null,\n _ProjectTask: null,\n _Message: 'This is my personal message',\n _List: { id: 1 },\n _Resources: [\n { id: 1, FirstName: 'Hans', LastName: 'van der Snoek', displayName: 'Hans van der Snoek' },\n { id: 2, FirstName: 'Wolf', LastName: 'Huijsen', displayName: 'Wolf Huijsen' },\n { id: 3, FirstName: 'Maarten', LastName: 'Lensink', displayName: 'Maarten Lensink' },\n { id: 4, FirstName: 'Peter', LastName: 'Brouwer', displayName: 'Peter Brouwer' },\n { id: 5, FirstName: 'Wim', LastName: 'Haanstra', displayName: 'Wim Haanstra' }\n ],\n _Facebook: 'piratenpartij',\n _File: 'https://s3.amazonaws.com/37assets/svn/1065-IMG_2529.jpg',\n _Google: '111618225726264790652',\n _Image: 'https://s3.amazonaws.com/37assets/svn/1065-IMG_2529.jpg',\n _Label: 'Label example',\n _Linkedin: 'maartencl',\n _Number: 678,\n _Currency: 920.50,\n _Signature: '',\n _Password: 'password123',\n _Phone: '+31612345678',\n _Radio: 'NOOT',\n _Select: 'MIES',\n _Skype: 'skypenick',\n _String: 'String example',\n _Text: 'Text example',\n _Time: new Date(2016, 11, 15, 13, 28),\n _Period: {\n Start: new Date(2018, 3, 22, 9, 15),\n Finish: new Date(2018, 3, 22, 10, 0)\n },\n _Repeat: {\n entityAspect: {\n entityState: {\n isModified: function () { return true; }\n }\n }\n },\n _Twitter: 'piratenpartij',\n _Upload: 'https://s3.amazonaws.com/37assets/svn/1065-IMG_2529.jpg',\n _Url: 'https://www.piratenpartij.nl',\n _Xing: 'piratenpartij'\n };\n this.form = new FormGroup(this.controls);\n }\n FieldsetsAllComponent.prototype.getControl = function (name) {\n if (this.controls[name]) {\n return this.controls[name];\n }\n this.controls[name] = new FormControl();\n return this.controls[name];\n };\n return FieldsetsAllComponent;\n}());\nexport { FieldsetsAllComponent };\n/* tslint:enable */\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Display all available fieldsets (temporarily!)\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"../fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i4 from \"../fieldset-container/fieldset-container.component\";\nimport * as i5 from \"./fieldsets-all.component\";\nvar styles_FieldsetsAllComponent = [i0.styles];\nvar RenderType_FieldsetsAllComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetsAllComponent, data: {} });\nexport { RenderType_FieldsetsAllComponent as RenderType_FieldsetsAllComponent };\nexport function View_FieldsetsAllComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 144, \"div\", [[\"class\", \"container-fluid mt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 143, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"col-md-8\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" empty content \"])), (_l()(), i1.ɵeld(4, 0, null, null, 140, \"div\", [[\"class\", \"col-md-4\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" List of fieldsets (always used in sidebar-right) \"])), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" right \"])), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 132, \"div\", [[\"class\", \"sym-pane\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 13).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 540672, null, 0, i2.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i2.ControlContainer, null, [i2.FormGroupDirective]), i1.ɵdid(15, 16384, null, 0, i2.NgControlStatusGroup, [[4, i2.ControlContainer]], null, null), (_l()(), i1.ɵeld(16, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(17, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(18, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(19, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(20, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(21, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(22, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(23, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(24, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(25, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(26, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(27, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(28, 16777216, null, null, 4, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(29, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpad(30, 2), i1.ɵpod(31, { dataSource: 0, entity: 1, fields: 2 }), i1.ɵpod(32, { editor: 0, labelKey: 1, name: 2, text: 3, format: 4 }), (_l()(), i1.ɵeld(33, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(34, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(35, { readonly: 0, editor: 1, labelKey: 2, name: 3, text: 4 }), (_l()(), i1.ɵeld(36, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(37, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(38, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(39, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(40, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(41, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(42, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(43, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(44, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(45, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(46, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(47, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(48, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(49, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(50, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(51, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(52, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(53, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(54, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(55, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(56, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(57, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(58, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(59, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(60, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(61, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(62, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(63, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(64, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(65, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(66, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(67, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(68, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(69, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(70, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(71, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(72, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(73, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(74, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(75, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(76, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(77, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(78, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(79, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(80, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(81, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(82, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(83, { editor: 0, name: 1, labelKey: 2, text: 3 }), (_l()(), i1.ɵeld(84, 16777216, null, null, 6, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(85, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(86, { labelKey: 0, value: 1 }), i1.ɵpod(87, { labelKey: 0, value: 1 }), i1.ɵpod(88, { labelKey: 0, value: 1 }), i1.ɵpad(89, 3), i1.ɵpod(90, { editor: 0, labelKey: 1, name: 2, format: 3 }), (_l()(), i1.ɵeld(91, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(92, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(93, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(94, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(95, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(96, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(97, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(98, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(99, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(100, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(101, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(102, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(103, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(104, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(105, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(106, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(107, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(108, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(109, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(110, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(111, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(112, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(113, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(114, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(115, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(116, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(117, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(118, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(119, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(120, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(121, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(122, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(123, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(124, 16777216, null, null, 6, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(125, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(126, { labelKey: 0, value: 1 }), i1.ɵpod(127, { labelKey: 0, value: 1 }), i1.ɵpod(128, { labelKey: 0, value: 1 }), i1.ɵpad(129, 3), i1.ɵpod(130, { editor: 0, labelKey: 1, name: 2, text: 3, format: 4 }), (_l()(), i1.ɵeld(131, 16777216, null, null, 6, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(132, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(133, { labelKey: 0, value: 1 }), i1.ɵpod(134, { labelKey: 0, value: 1 }), i1.ɵpod(135, { labelKey: 0, value: 1 }), i1.ɵpad(136, 3), i1.ɵpod(137, { editor: 0, labelKey: 1, name: 2, text: 3, format: 4 }), (_l()(), i1.ɵeld(138, 16777216, null, null, 2, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(139, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(140, { editor: 0, labelKey: 1, name: 2, text: 3 }), (_l()(), i1.ɵeld(141, 16777216, null, null, 3, \"sym-fieldset-container\", [], null, null, null, i3.View_FieldsetContainerComponent_0, i3.RenderType_FieldsetContainerComponent)), i1.ɵdid(142, 49152, null, 0, i4.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), i1.ɵpod(143, { dataSource: 0, entity: 1, field: 2 }), i1.ɵpod(144, { editor: 0, labelKey: 1, name: 2, text: 3, format: 4 })], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 13, 0, currVal_7); var currVal_8 = _ck(_v, 18, 0, \"image\", \"APP.MISC.CONTROLS.PROFILE_PICTURE\", \"_Image\", \"Use a recent picture of yourself\"); var currVal_9 = _co.getControl(\"Image\"); var currVal_10 = _co.taskDummy; _ck(_v, 17, 0, currVal_8, currVal_9, currVal_10); var currVal_11 = _ck(_v, 21, 0, \"file\", \"APP.MISC.CONTROLS.FILE\", \"_File\", \"Uploaded files are shared with your colleagues\"); var currVal_12 = _co.getControl(\"File\"); var currVal_13 = _co.taskDummy; _ck(_v, 20, 0, currVal_11, currVal_12, currVal_13); var currVal_14 = _ck(_v, 24, 0, \"duration\", \"APP.MISC.CONTROLS.DURATION\", \"_Duration\", \"Some fancy duration input element\"); var currVal_15 = _co.getControl(\"Duration\"); var currVal_16 = _co.taskDummy; _ck(_v, 23, 0, currVal_14, currVal_15, currVal_16); var currVal_17 = _ck(_v, 27, 0, \"seconds\", \"APP.MISC.CONTROLS.DURATION\", \"_Seconds\", \"Seconds duration input element\"); var currVal_18 = _co.getControl(\"Seconds\"); var currVal_19 = _co.taskDummy; _ck(_v, 26, 0, currVal_17, currVal_18, currVal_19); var currVal_20 = _ck(_v, 32, 0, \"entity\", \"APP.MISC.CONTROLS.ENTITY\", \"_Entity\", \"Extra info?\", _ck(_v, 31, 0, \"ResourceItems\", \"Resource\", _ck(_v, 30, 0, \"FirstName\", \"Name\"))); var currVal_21 = _co.getControl(\"Entity\"); var currVal_22 = _co.taskDummy; _ck(_v, 29, 0, currVal_20, currVal_21, currVal_22); var currVal_23 = _ck(_v, 35, 0, true, \"readby\", \"Read by\", \"_Resources\", \"This is extra text\"); var currVal_24 = _co.getControl(\"Resources\"); var currVal_25 = _co.taskDummy; _ck(_v, 34, 0, currVal_23, currVal_24, currVal_25); var currVal_26 = _ck(_v, 38, 0, \"message\", \"\", \"_Message\", \"\"); var currVal_27 = _co.getControl(\"Message\"); var currVal_28 = _co.taskDummy; _ck(_v, 37, 0, currVal_26, currVal_27, currVal_28); var currVal_29 = _ck(_v, 41, 0, \"color\", \"APP.MISC.CONTROLS.COLOR\", \"_Color\", \"Extra input text by color...\"); var currVal_30 = _co.getControl(\"Color\"); var currVal_31 = _co.taskDummy; _ck(_v, 40, 0, currVal_29, currVal_30, currVal_31); var currVal_32 = _ck(_v, 44, 0, \"date\", \"APP.MISC.CONTROLS.DATE\", \"_Date\", \"Extra input text by date...\"); var currVal_33 = _co.getControl(\"Date\"); var currVal_34 = _co.taskDummy; _ck(_v, 43, 0, currVal_32, currVal_33, currVal_34); var currVal_35 = _ck(_v, 47, 0, \"birthday\", \"APP.MISC.CONTROLS.BIRTHDAY\", \"_Birthday\", \"Extra input text by birthday...\"); var currVal_36 = _co.getControl(\"Birthday\"); var currVal_37 = _co.taskDummy; _ck(_v, 46, 0, currVal_35, currVal_36, currVal_37); var currVal_38 = _ck(_v, 50, 0, \"time\", \"APP.MISC.CONTROLS.TIME\", \"_Time\", \"Extra input text by time...\"); var currVal_39 = _co.getControl(\"Time\"); var currVal_40 = _co.taskDummy; _ck(_v, 49, 0, currVal_38, currVal_39, currVal_40); var currVal_41 = _ck(_v, 53, 0, \"datetime\", \"APP.MISC.CONTROLS.DATETIME\", \"_Datetime\", \"Extra input text by datetime...\"); var currVal_42 = _co.getControl(\"Datetime\"); var currVal_43 = _co.taskDummy; _ck(_v, 52, 0, currVal_41, currVal_42, currVal_43); var currVal_44 = _ck(_v, 56, 0, \"email\", \"APP.MISC.CONTROLS.EMAIL\", \"_Email\", \"Extra input text by email...\"); var currVal_45 = _co.getControl(\"Email\"); var currVal_46 = _co.taskDummy; _ck(_v, 55, 0, currVal_44, currVal_45, currVal_46); var currVal_47 = _ck(_v, 59, 0, \"string\", \"APP.MISC.CONTROLS.STRING\", \"_String\", \"Extra input text by string...\"); var currVal_48 = _co.getControl(\"String\"); var currVal_49 = _co.taskDummy; _ck(_v, 58, 0, currVal_47, currVal_48, currVal_49); var currVal_50 = _ck(_v, 62, 0, \"number\", \"APP.MISC.CONTROLS.NUMBER\", \"_Number\", \"Extra input text by number...\"); var currVal_51 = _co.getControl(\"number\"); var currVal_52 = _co.taskDummy; _ck(_v, 61, 0, currVal_50, currVal_51, currVal_52); var currVal_53 = _ck(_v, 65, 0, \"currency\", \"APP.MISC.CONTROLS.CURRENCY\", \"_Currency\", \"Extra input text by currency...\"); var currVal_54 = _co.getControl(\"currency\"); var currVal_55 = _co.taskDummy; _ck(_v, 64, 0, currVal_53, currVal_54, currVal_55); var currVal_56 = _ck(_v, 68, 0, \"text\", \"APP.MISC.CONTROLS.SIGNATURE\", \"_Signature\", \"Extra input text by text...\"); var currVal_57 = _co.getControl(\"signature\"); var currVal_58 = _co.taskDummy; _ck(_v, 67, 0, currVal_56, currVal_57, currVal_58); var currVal_59 = _ck(_v, 71, 0, \"signature\", \"APP.MISC.CONTROLS.SIGNATURE\", \"_Signature\", \"Extra input text by signature...\"); var currVal_60 = _co.getControl(\"signature\"); var currVal_61 = _co.taskDummy; _ck(_v, 70, 0, currVal_59, currVal_60, currVal_61); var currVal_62 = _ck(_v, 74, 0, \"signature\", \"APP.MISC.CONTROLS.SIGNATURE\", \"_Signature\", \"Extra input text by signature...\"); var currVal_63 = _co.getControl(\"signature\"); var currVal_64 = _co.taskDummy; _ck(_v, 73, 0, currVal_62, currVal_63, currVal_64); var currVal_65 = _ck(_v, 77, 0, \"password\", \"APP.MISC.CONTROLS.PASSWORD\", \"_Password\", \"Extra input text by number...\"); var currVal_66 = _co.getControl(\"passwd\"); var currVal_67 = _co.taskDummy; _ck(_v, 76, 0, currVal_65, currVal_66, currVal_67); var currVal_68 = _ck(_v, 80, 0, \"phone\", \"APP.MISC.CONTROLS.PHONE\", \"_Phone\", \"Extra input text by phone...\"); var currVal_69 = _co.getControl(\"pahone\"); var currVal_70 = _co.taskDummy; _ck(_v, 79, 0, currVal_68, currVal_69, currVal_70); var currVal_71 = _ck(_v, 83, 0, \"label\", \"_Label\", \"APP.MISC.CONTROLS.LABEL\", \"Extra input text by label...\"); var currVal_72 = _co.getControl(\"label\"); var currVal_73 = _co.taskDummy; _ck(_v, 82, 0, currVal_71, currVal_72, currVal_73); var currVal_74 = _ck(_v, 90, 0, \"checkboxes\", \"APP.MISC.CONTROLS.CHECKBOXES\", \"_Checkboxes\", _ck(_v, 89, 0, _ck(_v, 86, 0, \"label-Aap\", \"AAP\"), _ck(_v, 87, 0, \"label-Noot\", \"NOOT\"), _ck(_v, 88, 0, \"label-Mies\", \"MIES\"))); var currVal_75 = _co.getControl(\"Checkboxes\"); var currVal_76 = _co.taskDummy; _ck(_v, 85, 0, currVal_74, currVal_75, currVal_76); var currVal_77 = _ck(_v, 93, 0, \"boolean\", \"APP.MISC.CONTROLS.FINISHED\", \"_Checkbox\", \"Extra input text by checkbox...\"); var currVal_78 = _co.getControl(\"Boolean\"); var currVal_79 = _co.taskDummy; _ck(_v, 92, 0, currVal_77, currVal_78, currVal_79); var currVal_80 = _ck(_v, 96, 0, \"string\", \"APP.MISC.CONTROLS.STRING\", \"_String\", \"Extra input text by string...\"); var currVal_81 = _co.getControl(\"str\"); var currVal_82 = _co.taskDummy; _ck(_v, 95, 0, currVal_80, currVal_81, currVal_82); var currVal_83 = _ck(_v, 99, 0, \"text\", \"APP.MISC.CONTROLS.TEXT\", \"_Text\", \"Extra input text by text...\"); var currVal_84 = _co.getControl(\"txt\"); var currVal_85 = _co.taskDummy; _ck(_v, 98, 0, currVal_83, currVal_84, currVal_85); var currVal_86 = _ck(_v, 102, 0, \"url\", \"APP.MISC.CONTROLS.URL\", \"_Url\", \"Extra input text by url...\"); var currVal_87 = _co.getControl(\"url\"); var currVal_88 = _co.taskDummy; _ck(_v, 101, 0, currVal_86, currVal_87, currVal_88); var currVal_89 = _ck(_v, 105, 0, \"twitter\", \"APP.MISC.CONTROLS.TWITTER\", \"_Twitter\", \"Extra input text by twitter...\"); var currVal_90 = _co.getControl(\"twi\"); var currVal_91 = _co.taskDummy; _ck(_v, 104, 0, currVal_89, currVal_90, currVal_91); var currVal_92 = _ck(_v, 108, 0, \"google\", \"APP.MISC.CONTROLS.GOOGLE\", \"_Google\", \"Extra input text by google...\"); var currVal_93 = _co.getControl(\"go\"); var currVal_94 = _co.taskDummy; _ck(_v, 107, 0, currVal_92, currVal_93, currVal_94); var currVal_95 = _ck(_v, 111, 0, \"xing\", \"APP.MISC.CONTROLS.XING\", \"_Xing\", \"Extra input text by xing...\"); var currVal_96 = _co.getControl(\"x\"); var currVal_97 = _co.taskDummy; _ck(_v, 110, 0, currVal_95, currVal_96, currVal_97); var currVal_98 = _ck(_v, 114, 0, \"linkedin\", \"APP.MISC.CONTROLS.LINKEDIN\", \"_Linkedin\", \"Extra input text by linkedin...\"); var currVal_99 = _co.getControl(\"linind\"); var currVal_100 = _co.taskDummy; _ck(_v, 113, 0, currVal_98, currVal_99, currVal_100); var currVal_101 = _ck(_v, 117, 0, \"facebook\", \"APP.MISC.CONTROLS.FACEBOOK\", \"_Facebook\", \"Extra input text by facebook...\"); var currVal_102 = _co.getControl(\"fac\"); var currVal_103 = _co.taskDummy; _ck(_v, 116, 0, currVal_101, currVal_102, currVal_103); var currVal_104 = _ck(_v, 120, 0, \"skype\", \"APP.MISC.CONTROLS.SKYPE\", \"_Skype\", \"Extra input text by skype...\"); var currVal_105 = _co.getControl(\"sk\"); var currVal_106 = _co.taskDummy; _ck(_v, 119, 0, currVal_104, currVal_105, currVal_106); var currVal_107 = _ck(_v, 123, 0, \"emotions\", \"APP.MISC.CONTROLS.EMOTIONS\", \"_Emotion\", \"Extra input text by emotions...\"); var currVal_108 = _co.getControl(\"emo\"); var currVal_109 = _co.taskDummy; _ck(_v, 122, 0, currVal_107, currVal_108, currVal_109); var currVal_110 = _ck(_v, 130, 0, \"radio\", \"APP.MISC.CONTROLS.EXTRA\", \"_Radio\", \"Extra input text by radio...\", _ck(_v, 129, 0, _ck(_v, 126, 0, \"label-Aap\", \"AAP\"), _ck(_v, 127, 0, \"label-Noot\", \"NOOT\"), _ck(_v, 128, 0, \"label-Mies\", \"MIES\"))); var currVal_111 = _co.getControl(\"radie\"); var currVal_112 = _co.taskDummy; _ck(_v, 125, 0, currVal_110, currVal_111, currVal_112); var currVal_113 = _ck(_v, 137, 0, \"select\", \"APP.MISC.CONTROLS.SELECT\", \"_Select\", \"Extra input text by select...\", _ck(_v, 136, 0, _ck(_v, 133, 0, \"label-Aap\", \"AAP\"), _ck(_v, 134, 0, \"label-Noot\", \"NOOT\"), _ck(_v, 135, 0, \"label-Mies\", \"MIES\"))); var currVal_114 = _co.getControl(\"select\"); var currVal_115 = _co.taskDummy; _ck(_v, 132, 0, currVal_113, currVal_114, currVal_115); var currVal_116 = _ck(_v, 140, 0, \"repeat\", \"APP.MISC.CONTROLS.REPEAT\", \"_Repeat\", \"No extra text?\"); var currVal_117 = _co.getControl(\"repeat\"); var currVal_118 = _co.repeatDummy; _ck(_v, 139, 0, currVal_116, currVal_117, currVal_118); var currVal_119 = _ck(_v, 144, 0, \"assignee\", \"APP.MISC.CONTROLS.ASSIGNEE\", \"_Assignee\", \"Extra info?\", _ck(_v, 143, 0, \"CustomerItems\", \"Customer\", \"Name\")); var currVal_120 = _co.getControl(\"Assignee\"); var currVal_121 = _co.taskDummy; _ck(_v, 142, 0, currVal_119, currVal_120, currVal_121); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 15).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 15).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 15).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 15).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 15).ngClassValid; var currVal_5 = i1.ɵnov(_v, 15).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 15).ngClassPending; _ck(_v, 12, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_FieldsetsAllComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldsets-all\", [], null, null, null, View_FieldsetsAllComponent_0, RenderType_FieldsetsAllComponent)), i1.ɵdid(1, 49152, null, 0, i5.FieldsetsAllComponent, [], null, null)], null, null); }\nvar FieldsetsAllComponentNgFactory = i1.ɵccf(\"sym-fieldsets-all\", i5.FieldsetsAllComponent, View_FieldsetsAllComponent_Host_0, {}, {}, []);\nexport { FieldsetsAllComponentNgFactory as FieldsetsAllComponentNgFactory };\n","/**\n * @file The enumerator is used to configure components.\n * @author Tom Verschoore de la Houssaije\n */\n/** The enumerator is used to configure components. */\nexport var DataRights;\n(function (DataRights) {\n /** Component has (minimal) read rights. */\n DataRights[DataRights[\"Read\"] = 1] = \"Read\";\n /** Component has create rights. */\n DataRights[DataRights[\"Create\"] = 2] = \"Create\";\n /** Component has update rights. */\n DataRights[DataRights[\"Update\"] = 4] = \"Update\";\n /** Component has delete rights. */\n DataRights[DataRights[\"Delete\"] = 8] = \"Delete\";\n})(DataRights || (DataRights = {}));\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Insight to display billable hours.\n * @author Maarten Lensink\n * @customer Rembrandthuis\n * @issue 3644\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight[_ngcontent-%COMP%]{background-color:#fbfcfc;width:250px;border:1px solid rgba(0,0,0,.125);margin-right:6px;padding-top:.3rem!important}.sym-insight[_ngcontent-%COMP%] .sym-insight-footer[_ngcontent-%COMP%], .sym-insight[_ngcontent-%COMP%] .sym-insight-header[_ngcontent-%COMP%]{text-align:center;margin:.3rem!important}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%], .sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:250px;height:170px}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text[_ngcontent-%COMP%]{font-size:.7rem;font-weight:500}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text.sym-key[_ngcontent-%COMP%]{fill:#212529}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text.sym-value[_ngcontent-%COMP%]{fill:#6c757d}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text.sym-svg-icon[_ngcontent-%COMP%]{font-family:FontAwesome}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] line[_ngcontent-%COMP%], .sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{stroke-width:1}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] .sym-content-text[_ngcontent-%COMP%]{padding-top:20%;text-align:center}.sym-insight[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] .sym-content-text[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:4rem;color:rgba(0,0,0,.125)}\"];\nexport { styles as styles };\n","/**\n * @file SVG text ellipsis\n * @author Christopher Hiller, Maarten Lensink\n * @see https://gist.github.com/boneskull/27f8003eeb605900a907ae8d8fd42c10\n */\nimport { ElementRef, OnInit } from '@angular/core';\n/**\n * Simulates \"text-overflow: ellipsis\" on an SVG text node.\n */\n/* tslint:disable */\nvar SvgEllipsisDirective = /** @class */ (function () {\n /**\n * Creates an instance of SvgEllipsisDirective.\n * @param {ElementRef} _el The SVG text requiring ellipsis at the end.\n */\n function SvgEllipsisDirective(_el) {\n this._el = _el;\n /** The character for three dots. */\n this.ellipsis = '\\u2026';\n }\n /**\n * The ellipsis method is applied after initialization.\n */\n SvgEllipsisDirective.prototype.ngOnInit = function () {\n this._textEllipsis(this._el.nativeElement);\n };\n /**\n * Truncates the SVG text and adds an ellipsis, or three dots, in the end, if the text is longer than the given maximum width.\n * @param {SVGTextContentElement} el The SVG text that may need an ellipsis.\n */\n SvgEllipsisDirective.prototype._textEllipsis = function (el) {\n var text = this.text;\n if (!text || text.length === 0) { // Fix for #1545\n return;\n }\n if (typeof el.getSubStringLength !== 'undefined') {\n el.textContent = text;\n var len = text.length;\n if (el.getSubStringLength(0, len) > this.maxwidth) {\n while (el.getSubStringLength(0, len--) > this.maxwidth) {\n }\n el.textContent = text.slice(0, len) + this.ellipsis;\n }\n }\n else if (typeof el.getComputedTextLength !== 'undefined') {\n while (el.getComputedTextLength() > this.maxwidth) {\n text = text.slice(0, -1);\n el.textContent = \"\" + text + this.ellipsis;\n }\n }\n else {\n // The last fallback.\n while (el.getBBox().width > this.maxwidth) {\n text = text.slice(0, -1);\n // We need to update the textContent to update the boundary width.\n el.textContent = \"\" + text + this.ellipsis;\n }\n }\n };\n return SvgEllipsisDirective;\n}());\nexport { SvgEllipsisDirective };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Abstract base class for configurable controls and views.\n * @author Tom Verschoore de la Houssaije\n */\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nimport { OnInit } from '@angular/core';\nimport { DataRights } from '../helpers/data-rights.enum';\n/**\n * Abstract base class for configurable controls and views.\n */\nvar AbstractComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AbstractComponent, _super);\n /**\n * Creates an instance of AbstractComponent.\n * @param {AlertsService} alertsService The service is used to alert about missing configuration.\n * @memberOf AbstractComponent\n */\n function AbstractComponent(alertsService) {\n var _this = _super.call(this) || this;\n _this.alertsService = alertsService;\n /**\n * The component configuration.\n * @protected\n * @type {ComponentConfiguration}\n * @memberOf AbstractComponent\n */\n _this._configuration = undefined;\n /**\n * Reference for holding data rights from the configuration.\n * @protected\n * @type {DataRights}\n * @memberOf AbstractComponent\n */\n _this.rights = DataRights.Read;\n _this.rights = _this.defaultRights();\n return _this;\n }\n Object.defineProperty(AbstractComponent.prototype, \"configuration\", {\n /** The configuration of the view. */\n /**\n * Gets or sets the configuration of this component.\n * @readonly\n * @type {ComponentConfiguration}\n * @memberOf AbstractComponent\n */\n get: function () {\n return this._configuration;\n },\n set: function (value) {\n var _this = this;\n if (this._configuration === value) {\n return;\n }\n this._configuration = value;\n if (this._configuration) {\n if (!this._configuration.rights) {\n this._configuration.rights = this.defaultRights();\n }\n window.setTimeout(function () {\n // Fix issue: #2553\n _this.rights = _this._configuration.rights;\n });\n this.afterInitialize();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractComponent.prototype, \"canCreate\", {\n /**\n * Gets the create rights of the component.\n * @readonly\n * @type {boolean}\n * @memberOf AbstractComponent\n */\n get: function () {\n // tslint:disable-next-line:no-bitwise\n return DataRights.Create === (this.rights & DataRights.Create);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractComponent.prototype, \"canRead\", {\n /**\n * Gets the read rights of the component.\n * @readonly\n * @type {boolean}\n * @memberOf AbstractComponent\n */\n get: function () {\n // tslint:disable-next-line:no-bitwise\n return DataRights.Read === (this.rights & DataRights.Read);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractComponent.prototype, \"canUpdate\", {\n /**\n * Gets the update rights of the component.\n * @readonly\n * @type {boolean}\n * @memberOf AbstractComponent\n */\n get: function () {\n // tslint:disable-next-line:no-bitwise\n return DataRights.Update === (this.rights & DataRights.Update);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractComponent.prototype, \"canDelete\", {\n /**\n * Gets the delete rights of the component.\n * @readonly\n * @type {boolean}\n * @memberOf AbstractComponent\n */\n get: function () {\n return this.getCanDelete();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sends a warning when the configuration is missing.\n * @memberOf AbstractComponent\n */\n AbstractComponent.prototype.ngOnInit = function () {\n if (!this.configuration) {\n this.alertsService.createAlert('danger', 'APP.CORE.CONFIGURATION_MISSING', this.constructor.name);\n }\n };\n /**\n * Gets the delete rights of the component.\n * Use this method to override default behavior.\n * @protected\n * @returns {boolean} True when displayed entity can be deleted.\n * @memberOf AbstractComponent\n */\n AbstractComponent.prototype.getCanDelete = function () {\n // tslint:disable-next-line:no-bitwise\n return DataRights.Delete === (this.rights & DataRights.Delete);\n };\n /**\n * Returns the default CRUD rights of this component.\n * @protected\n * @returns {DataRights}\n * @memberOf AbstractComponent\n */\n AbstractComponent.prototype.defaultRights = function () {\n // tslint:disable-next-line:no-bitwise\n return DataRights.Create | DataRights.Read | DataRights.Update | DataRights.Delete;\n };\n /**\n * Finds a match when the given name is part of the configuration key of a sub component.\n * @param name The name to match.\n * @returns The found configuration key otherwise undefined.\n * @memberOf AbstractComponent\n */\n AbstractComponent.prototype.findChildConfiguration = function (name) {\n var found = this.findChildComponent(name);\n if (!found) {\n return undefined;\n }\n return found.configuration;\n };\n /**\n * Finds a match when the given name is part of the configuration key of a sub component.\n * @param name The name to match.\n * @returns The found ChildComponent key otherwise undefined.\n * @memberOf AbstractComponent\n */\n AbstractComponent.prototype.findChildComponent = function (name) {\n if (!this.configuration) {\n return undefined;\n }\n if (!this.configuration.components) {\n return undefined;\n }\n var value = name.toLowerCase();\n var match = this.configuration.components.find(function (item) {\n return item.configuration.key.toLowerCase().indexOf(value) !== -1;\n });\n if (match) {\n return match;\n }\n return undefined;\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n * Override this method to process the loaded configuration data.\n * @protected\n * @memberOf AbstractComponent\n */\n AbstractComponent.prototype.afterInitialize = function () {\n // Place to implement specific code in extensions.\n };\n return AbstractComponent;\n}(AbstractBase));\nexport { AbstractComponent };\n","/**\n * @file A helper class for dynamically inject an insight.\n * @author Heino Lenting\n */\n/**\n * Class for dynamically inject an insight.\n */\nvar InsightProvider = /** @class */ (function () {\n /**\n * Constructs an InsightProvider\n * @param container The InsightContainerComponent which holds the insights container.\n * @param http The injected Http component to pass through to the insight.\n */\n function InsightProvider(container, http) {\n this.container = container;\n this.http = http;\n }\n return InsightProvider;\n}());\nexport { InsightProvider };\n","/**\n * @file Service for storing the states of views as insight data.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { BreezeService } from '../core/breeze.service';\nimport * as moment from 'moment';\nimport { AlertsService } from '../core/alerts.service';\nimport { EntityManagerService } from '../entity-manager.service';\n/**\n * The name of the key property for insight entities.\n */\nexport var PROPERTY_ID = 'id';\n/**\n * Service to retrieve insight data in the local storage of the browser.\n * We using breeze as access layer for the insight data.\n */\nvar InsightService = /** @class */ (function (_super) {\n tslib_1.__extends(InsightService, _super);\n function InsightService(alertsService, translateService, entityManagerService) {\n var _this = _super.call(this, alertsService, translateService, entityManagerService) || this;\n // WARNING: Do not define an id property in the supported entity types.\n // Instead use the PROPERTY_ID constant.\n /** All the supported insight data entity types. */\n _this.registerEntityTypes = {};\n _this.initialize('insights');\n Object.keys(_this.registerEntityTypes).forEach(function (entityType) {\n _this.metadataStore.registerEntityTypeCtor(entityType, _this.registerEntityTypes[entityType]);\n });\n return _this;\n }\n /**\n * Returns the published until date. Returns infinity for roles higher than EMPLOYEE.\n * @returns {AsyncSubject} The published until date\n */\n InsightService.prototype.getPublishedTill = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var response;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!(this.publishedTill === undefined)) return [3 /*break*/, 2];\n return [4 /*yield*/, this.entityManager.executeQuery('GetPublishedTill')];\n case 1:\n response = _a.sent();\n this.publishedTill = moment(response.results[0]).toDate();\n _a.label = 2;\n case 2: return [2 /*return*/, this.publishedTill];\n }\n });\n });\n };\n /**\n * Gets sets the translate service to use when entities need multi-language logic.\n */\n InsightService.translateService = null;\n return InsightService;\n}(BreezeService));\nexport { InsightService };\n","/**\n * @file An wrapper of a breeze entity changed subscription so we can comply with the rxjs ISubscription interface.\n * @author Tom Verschoore de la Houssaije.\n */\n/**\n * An wrapper of a breeze entity changed subscription so we can comply with the rxjs ISubscription interface.\n * @export\n * @class EntityChangedSubscription\n * @implements {ISubscription}\n */\nvar EntityChangedSubscription = /** @class */ (function () {\n /**\n * Creates an instance of EntityChangedSubscription.\n * @param {EntityManager} manager The entity manager of a BreezeService is needed to unsubscribe the subscription.\n * @param {number} entityChangedSubscription Reference to breeze subscription. Is used to unsubscribe.\n */\n function EntityChangedSubscription(manager, entityChangedSubscription) {\n this.manager = manager;\n this.entityChangedSubscription = entityChangedSubscription;\n /**\n * Holds the value indicating whether or not the subscription is closed.\n * @private\n */\n this._closed = false;\n }\n /**\n * Unsubscribes a breeze entity changed subscription by the rxjs ISubscription interface.\n */\n EntityChangedSubscription.prototype.unsubscribe = function () {\n if (this.entityChangedSubscription) {\n this.manager.entityChanged.unsubscribe(this.entityChangedSubscription);\n this.entityChangedSubscription = undefined;\n this.manager = null;\n this._closed = true;\n }\n };\n Object.defineProperty(EntityChangedSubscription.prototype, \"closed\", {\n /**\n * Gets the indication for rxjs whether or not the subscription is closed.\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return this._closed;\n },\n enumerable: true,\n configurable: true\n });\n return EntityChangedSubscription;\n}());\nexport { EntityChangedSubscription };\n","/**\n * @file Abstract base class for insight\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { AbstractComponent } from '../../core/helpers/abstract-component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport * as moment from 'moment';\nimport { EntityChangedSubscription } from '../helpers/entity-changed-subscription';\nimport { EntityAction } from 'breeze-client';\nimport { map } from 'rxjs/operators';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\n/**\n * Base class for an insight component.\n */\nvar InsightBase = /** @class */ (function (_super) {\n tslib_1.__extends(InsightBase, _super);\n /**\n * Constructs a BaseInsight.\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightBase(resourceService, provider, insightService, localisationService, alertsService) {\n var _this = _super.call(this, alertsService) || this;\n _this.resourceService = resourceService;\n _this.provider = provider;\n _this.insightService = insightService;\n _this.localisationService = localisationService;\n _this.alertsService = alertsService;\n // Data object for all insights.\n _this.data = {};\n // State of the insight\n _this.state = 'loading';\n // Width and height of content part of insight\n _this.insightContentWidth = 248;\n _this.insightContentHeight = 170;\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightBase.register = function () {\n console.warn('The insight MUST register itself');\n };\n /**\n * Is called directly after the creation of this component.\n */\n InsightBase.prototype.ngOnInit = function () {\n this.configuration = this.provider.container.childComponent.configuration;\n };\n /**\n * Get the state of the insight\n * @returns Returns the state of the insight\n */\n InsightBase.prototype.getState = function () {\n return this.state;\n };\n /**\n * Set the state of the insight\n * @params newState The new state of the insight\n */\n InsightBase.prototype.setState = function (newState) {\n this.state = newState;\n };\n /**\n * Check if insight is in given state\n * @params state The state\n * @returns Returns true if given state is equal to state of insight\n */\n InsightBase.prototype.inState = function (state) {\n return (this.state === state);\n };\n /**\n * Used to correct rounding errors in the interface\n * @returns The floor of the value\n */\n InsightBase.prototype.floor = function (value) {\n return Math.floor(value);\n };\n /**\n * Normalize the percentage (> 0 and < 101)\n * @returns The floor of the value\n */\n InsightBase.prototype.limitPercentage = function (value) {\n if (!value || typeof value !== 'number' || value < 0) {\n return 0;\n }\n if (value > 100) {\n return 100;\n }\n return value;\n };\n Object.defineProperty(InsightBase.prototype, \"userResourceKey\", {\n /**\n * The resource Oid\n * @returns The resource Oid as string\n */\n get: function () {\n return this.resourceService.getResourceOid();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Transforms hours into duration\n * @param value The minutes in 3.25 notation (3 minutes and 15 seconds)\n * @returns The duration as string, for example 3:15\n */\n InsightBase.prototype.toDuration = function (value) {\n var hours = Math.floor(Math.abs(value) / 60);\n var minutes = Math.floor(Math.abs(value) % 60);\n var duration = hours + ':' + minutes;\n if (minutes < 10) {\n duration = duration + '0';\n }\n if (value < 0) {\n duration = '-' + duration;\n }\n return duration;\n };\n /**\n * Is called after the configuration is loaded.\n */\n InsightBase.prototype.afterInitialize = function () {\n _super.prototype.afterInitialize.call(this);\n // Save the header and footer key in the data object\n this.data['headerKey'] = this.configuration.data.headerKey;\n this.data['footerKey'] = this.configuration.data.footerKey;\n };\n /**\n * Use this method when the insight must update when the horizon date changes.\n * @see Constructor InsightAvailableHoursComponent for an example.\n * @protected\n * @param {SubscriptionPool} pool Locale subscription pool to cleanup subscriptions on destroy\n * @param {Router} router Is used to get changes in horizon dates.\n * @param {Function} handler The function that handles the change in horizon date voor specific insight component.\n */\n InsightBase.prototype.makeHorizonDateListener = function (pool, router, handler) {\n var current = moment().startOf('day');\n var level = 'week';\n handler(current, level);\n this.subscriptionPool.add(router.routerState.root.queryParams.pipe(map(function (params) {\n var prms = JSON.parse(JSON.stringify(params).toLowerCase());\n if (prms['date'] && prms['levelname']) {\n return {\n date: moment(prms['date'], 'YYYYMMDD'),\n level: prms['levelname']\n };\n }\n return null;\n })).subscribe(function (value) {\n if (value && value['date'] && (!current.isSame(value['date']) || level !== value['level'])) {\n current = value['date'];\n level = value['level'];\n handler(current, level);\n }\n }));\n };\n InsightBase.prototype.makeEntityChangedListener = function (pool, breezeService, handler) {\n var entityChangedSubscription = new EntityChangedSubscription(breezeService.entityManager, breezeService.entityManager.entityChanged.subscribe(function (data) {\n if (data.entityAction !== EntityAction.MergeOnSave &&\n data.entityAction !== EntityAction.Detach) {\n return;\n }\n handler(data);\n }));\n pool.add(entityChangedSubscription);\n };\n return InsightBase;\n}(AbstractComponent));\nexport { InsightBase };\n","import { EventEmitter } from '@angular/core';\nvar EventsService = /** @class */ (function () {\n function EventsService() {\n this.eventEmitters = {};\n }\n EventsService.prototype.register = function (name) {\n var key = name;\n if (this.eventEmitters[key]) {\n return this.eventEmitters[key];\n }\n var result = new EventEmitter();\n this.eventEmitters[key] = result;\n return result;\n };\n return EventsService;\n}());\nexport { EventsService };\n","/**\n * @file Breeze base class for insight\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { InsightBase } from './insight-base';\nimport * as moment from 'moment';\nimport { BreezeService } from '../../core/breeze.service';\nimport { ResourceService } from '../../resource.service';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Breeze class for an insight component.\n */\nvar InsightBreeze = /** @class */ (function (_super) {\n tslib_1.__extends(InsightBreeze, _super);\n /**\n * Constructs a BaseInsight.\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightBreeze(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService) || this;\n _this.eventsService = eventsService;\n _this.sorting = [];\n _this.queryOptions = {};\n _this.entityName = undefined;\n _this.sourceName = undefined;\n _this.dynamicParameters = [];\n _this.loadedItems = [];\n /** Event triggered when a new data set is retrieved from the backend api. */\n _this.onRefresh = new EventEmitter();\n return _this;\n }\n /**\n * Refreshed the insight\n * @returns {Observable} The result set from the backend.\n */\n InsightBreeze.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a, result, error_1;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!this.entityType) {\n return [2 /*return*/, null];\n }\n _a = this;\n return [4 /*yield*/, this.insightService.getPublishedTill()];\n case 1:\n _a.publishedTill = _b.sent();\n BreezeService.setDynamicParams(this.queryOptions, this.dynamicParameters, this);\n _b.label = 2;\n case 2:\n _b.trys.push([2, 4, , 5]);\n return [4 /*yield*/, this.insightService.getDataSet(this, this.loadedItems)];\n case 3:\n result = _b.sent();\n this.afterItemsLoaded();\n this.onRefresh.emit(result);\n return [3 /*break*/, 5];\n case 4:\n error_1 = _b.sent();\n console.log('Insight error: ' + error_1);\n this.setState('error');\n return [3 /*break*/, 5];\n case 5: return [2 /*return*/];\n }\n });\n });\n };\n Object.defineProperty(InsightBreeze.prototype, \"start\", {\n /** The start for the insight based on configuration and today. */\n get: function () {\n var offset = 0;\n // Get the offset from the configuration\n if (this.configuration && this.configuration.data && this.configuration.data.startTimeOffset) {\n offset = this.configuration.data.startTimeOffset;\n }\n var start = moment().startOf('day');\n start.add(offset, 'day');\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightBreeze.prototype, \"finish\", {\n /** The finish for the insight based on configuration and today. */\n get: function () {\n var offset = 0;\n // Get the offset from the configuration\n if (this.configuration && this.configuration.data && this.configuration.data.endTimeOffset) {\n offset = this.configuration.data.endTimeOffset;\n }\n var date = moment().endOf('day');\n date.add(offset, 'day');\n var finish = date.toDate();\n if (finish > this.publishedTill) {\n finish = this.publishedTill;\n }\n return finish;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called after the configuration is loaded.\n */\n InsightBreeze.prototype.afterInitialize = function () {\n var _this = this;\n _super.prototype.afterInitialize.call(this);\n // Get the insights settings\n if (this.configuration.data.dataSource) {\n this.sourceName = this.configuration.data.dataSource;\n this.entityName = this.configuration.data.entityName;\n var parameters = this.configuration.data.parameters;\n if (parameters) {\n this.queryOptions.parameters = Object.assign({}, parameters);\n }\n BreezeService.getDynamicParams(this.queryOptions, this.dynamicParameters);\n this.entityType = this.insightService.getEntityType(this.entityName);\n this.refresh();\n }\n this.subscriptionPool.add(this.eventsService.register('grid-refresh').subscribe(function () {\n _this.refresh();\n }));\n };\n /** Handle for the after items loaded event */\n InsightBreeze.prototype.afterItemsLoaded = function () {\n console.warn('The insight does not have a process result handler');\n this.setState('error');\n };\n return InsightBreeze;\n}(InsightBase));\nexport { InsightBreeze };\n","/**\n* @file The example trend insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightTrendComponent } from '../insight-trend/insight-trend.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Trend (with a flag).\n */\nvar InsightExampleTrendComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExampleTrendComponent, _super);\n /**\n * Constructs an InsightExampleTrendComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExampleTrendComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData('up', { name: 'Vestibulum ante ipsum primis in faucibus orci luctus', value: '$450.670' }, { name: 'This week', value: '$750.230' });\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExampleTrendComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExampleTrendComponent', InsightExampleTrendComponent);\n };\n return InsightExampleTrendComponent;\n}(InsightTrendComponent));\nexport { InsightExampleTrendComponent };\n","/**\n* @file The trend insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Trend (with up- or down arrow, or equal sign).\n */\nvar InsightTrendComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightTrendComponent, _super);\n /**\n * Constructs an InsightTrendComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightTrendComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight trend component\n _this.data = {};\n _this.insightContentWidth = 250;\n _this.insightContentHeight = 170;\n return _this;\n }\n /**\n * Set the trend insight data\n */\n InsightTrendComponent.prototype.setData = function (direction, previous, current) {\n if (direction && previous && current) {\n // Store data\n this.data['direction'] = 'up'; // Todo: depends on previous and current\n this.data['previous'] = previous;\n this.data['current'] = current;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n return InsightTrendComponent;\n}(InsightBreeze));\nexport { InsightTrendComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example trend insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-trend/insight-trend.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../helpers/svg-ellipsis.directive\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"./insight-example-trend.component\";\nimport * as i7 from \"../../resource.service\";\nimport * as i8 from \"../insight-provider\";\nimport * as i9 from \"../insight.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/event.service\";\nvar styles_InsightExampleTrendComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExampleTrendComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExampleTrendComponent, data: {} });\nexport { RenderType_InsightExampleTrendComponent as RenderType_InsightExampleTrendComponent };\nfunction View_InsightExampleTrendComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-svg-icon\"], [\"text-anchor\", \"middle\"], [\"transform\", \"rotate(45, 120, 80)\"], [\"x\", \"100\"], [\"y\", \"90\"]], null, null, null, null, null)), (_l()(), i2.ɵted(-1, null, [\"\\uF062\"]))], null, null); }\nfunction View_InsightExampleTrendComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-svg-icon\"], [\"text-anchor\", \"middle\"], [\"transform\", \"rotate(-45, 175, 85)\"], [\"x\", \"160\"], [\"y\", \"55\"]], null, null, null, null, null)), (_l()(), i2.ɵted(-1, null, [\"\\uF063\"]))], null, null); }\nfunction View_InsightExampleTrendComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-svg-icon\"], [\"text-anchor\", \"middle\"], [\"transform\", \"rotate(90, 85, 55)\"], [\"x\", \"85\"], [\"y\", \"55\"]], null, null, null, null, null)), (_l()(), i2.ɵted(-1, null, [\"\\uF04C\"]))], null, null); }\nfunction View_InsightExampleTrendComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"text-anchor\", \"start\"], [\"x\", \"48\"], [\"y\", \"130\"]], null, null, null, null, null)), i2.ɵdid(1, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.previous.name; var currVal_1 = 100; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_InsightExampleTrendComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"text-anchor\", \"end\"], [\"y\", \"130\"]], [[1, \"x\", 0]], null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.insightContentWidth - 48); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.data.previous.value; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_InsightExampleTrendComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"text-anchor\", \"start\"], [\"x\", \"48\"], [\"y\", \"150\"]], null, null, null, null, null)), i2.ɵdid(1, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.current.name; var currVal_1 = 100; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_InsightExampleTrendComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"text-anchor\", \"end\"], [\"y\", \"150\"]], [[1, \"x\", 0]], null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.insightContentWidth - 48); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.data.current.value; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_InsightExampleTrendComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_2)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_3)), i2.ɵdid(4, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_4)), i2.ɵdid(6, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_5)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_6)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_7)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_8)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.data.direction && (_co.data.direction === \"up\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.data.direction && (_co.data.direction === \"down\")); _ck(_v, 4, 0, currVal_1); var currVal_2 = (_co.data.direction && (_co.data.direction === \"equal\")); _ck(_v, 6, 0, currVal_2); var currVal_3 = _co.data.previous; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.data.previous; _ck(_v, 10, 0, currVal_4); var currVal_5 = _co.data.current; _ck(_v, 12, 0, currVal_5); var currVal_6 = _co.data.current; _ck(_v, 14, 0, currVal_6); }, null); }\nfunction View_InsightExampleTrendComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExampleTrendComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExampleTrendComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExampleTrendComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-trend\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_1)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_9)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_10)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTrendComponent_11)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightExampleTrendComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-trend\", [], null, null, null, View_InsightExampleTrendComponent_0, RenderType_InsightExampleTrendComponent)), i2.ɵdid(1, 245760, null, 0, i6.InsightExampleTrendComponent, [i7.ResourceService, i8.InsightProvider, i9.InsightService, i10.LocalisationService, i11.AlertsService, i12.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExampleTrendComponentNgFactory = i2.ɵccf(\"sym-insight-trend\", i6.InsightExampleTrendComponent, View_InsightExampleTrendComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExampleTrendComponentNgFactory as InsightExampleTrendComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example trend insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-trend[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text.sym-svg-icon[_ngcontent-%COMP%]{font-size:6rem!important;fill:#f3a357}.sym-insight-trend[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text.sym-key[_ngcontent-%COMP%]{font-size:.8rem}\"];\nexport { styles as styles };\n","/**\n* @file The example gauge insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightGaugeComponent } from '../insight-gauge/insight-gauge.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Gauge (with a flag).\n */\nvar InsightExampleGaugeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExampleGaugeComponent, _super);\n /**\n * Constructs an InsightExampleGaugeComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExampleGaugeComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData(70);\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExampleGaugeComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExampleGaugeComponent', InsightExampleGaugeComponent);\n };\n return InsightExampleGaugeComponent;\n}(InsightGaugeComponent));\nexport { InsightExampleGaugeComponent };\n","/**\n* @file The gauge insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Gauge (circle with percentage in it).\n */\nvar InsightGaugeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightGaugeComponent, _super);\n /**\n * Constructs an InsightGaugeComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightGaugeComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight gauge component\n _this.data = {};\n // Radius for the gauge insight.\n _this.gaugeRadius = 70;\n return _this;\n }\n /**\n * Set the gauge insight data\n */\n InsightGaugeComponent.prototype.setData = function (percentage) {\n if (percentage) {\n // Store data\n this.data['percentage'] = percentage;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n /**\n * Calculate the distance for a stroke-dasharray and stroke-dashoffset in the circle of a pie insight.\n * @param radius The radius of the circle.\n * @param percentage The percentage of the distance that will be returned.\n * @returns The given percentage of the cirkels circumference.\n */\n InsightGaugeComponent.prototype.calculateDistance = function (radius, percentage) {\n // Compute circumference = 2 * pi * r (the distance around the circle).\n var distance = Math.PI * radius * 2;\n return (percentage / 100) * distance;\n };\n return InsightGaugeComponent;\n}(InsightBreeze));\nexport { InsightGaugeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example gauge insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-gauge/insight-gauge.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-example-gauge.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../core/event.service\";\nvar styles_InsightExampleGaugeComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExampleGaugeComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExampleGaugeComponent, data: {} });\nexport { RenderType_InsightExampleGaugeComponent as RenderType_InsightExampleGaugeComponent };\nfunction View_InsightExampleGaugeComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 6, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \":svg:circle\", [[\"cx\", \"50%\"], [\"cy\", \"50%\"], [\"fill\", \"transparent\"], [\"stroke-dashoffset\", \"0\"]], [[1, \"stroke-dasharray\", 0], [1, \"r\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 2, \":svg:circle\", [[\"class\", \"sym-bar\"], [\"cx\", \"50%\"], [\"cy\", \"50%\"], [\"fill\", \"transparent\"], [\"stroke-dashoffset\", \"0\"]], [[1, \"stroke-dasharray\", 0], [1, \"r\", 0]], null, null, null, null)), i2.ɵdid(3, 278528, null, 0, i3.NgStyle, [i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i2.ɵpod(4, { \"stroke-dashoffset\": 0 }), (_l()(), i2.ɵeld(5, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"text-anchor\", \"middle\"], [\"x\", \"50%\"], [\"y\", \"100\"]], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \"%\"]))], function (_ck, _v) { var _co = _v.component; var currVal_4 = _ck(_v, 4, 0, _co.calculateDistance(_co.gaugeRadius, (100 - _co.data.percentage))); _ck(_v, 3, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.calculateDistance(_co.gaugeRadius, 100); var currVal_1 = _co.gaugeRadius; _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _co.calculateDistance(_co.gaugeRadius, 100); var currVal_3 = _co.gaugeRadius; _ck(_v, 2, 0, currVal_2, currVal_3); var currVal_5 = _co.data.percentage; _ck(_v, 6, 0, currVal_5); }); }\nfunction View_InsightExampleGaugeComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExampleGaugeComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExampleGaugeComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExampleGaugeComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-gauge\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleGaugeComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleGaugeComponent_2)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleGaugeComponent_3)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleGaugeComponent_4)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.inState(\"ready\") && _co.data.percentage); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightExampleGaugeComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-example-gauge\", [], null, null, null, View_InsightExampleGaugeComponent_0, RenderType_InsightExampleGaugeComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightExampleGaugeComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.AlertsService, i11.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExampleGaugeComponentNgFactory = i2.ɵccf(\"sym-insight-example-gauge\", i5.InsightExampleGaugeComponent, View_InsightExampleGaugeComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExampleGaugeComponentNgFactory as InsightExampleGaugeComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example gauge insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-gauge[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke-dashoffset:0;stroke:#fff;stroke-width:1.2em}.sym-insight-gauge[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] circle.sym-bar[_ngcontent-%COMP%]{stroke:#92b7b7}.sym-insight-gauge[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text.sym-key[_ngcontent-%COMP%]{font-size:2.5rem!important;fill:#92b7b7!important}\"];\nexport { styles as styles };\n","/**\n* @file The example bar insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightBarComponent } from '../insight-bar/insight-bar.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Bar (with a flag).\n */\nvar InsightExampleBarComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExampleBarComponent, _super);\n /**\n * Constructs an InsightExampleBarComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExampleBarComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData([\n { name: 'Vestibulum ante ipsum primis in faucibus orci luctus', value: '440 hr', percentage: 40 },\n { name: 'Quisque', value: '220 hr', percentage: 20 },\n { name: 'Donec et', value: '165 hr', percentage: 15 },\n { name: 'Proin iaculis', value: '660 hr', percentage: 60 },\n { name: 'Aliquam ultricies', value: '440 hr', percentage: 40 },\n { name: 'Quisque', value: '220 hr', percentage: 20 },\n { name: 'Donec et', value: '165 hr', percentage: 15 },\n { name: 'Donec et', value: '440 hr', percentage: 40 },\n { name: 'Proin iaculis', value: '660 hr', percentage: 60 },\n { name: 'Proin iaculis', value: '880 hr', percentage: 80 }\n ]);\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExampleBarComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExampleBarComponent', InsightExampleBarComponent);\n };\n return InsightExampleBarComponent;\n}(InsightBarComponent));\nexport { InsightExampleBarComponent };\n","/**\n* @file The bar insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Bar chart.\n */\nvar InsightBarComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightBarComponent, _super);\n /**\n * Constructs an InsightBarComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightBarComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight bar component\n _this.data = {\n items: []\n };\n return _this;\n }\n /**\n * Set the list insight data\n */\n InsightBarComponent.prototype.setData = function (items) {\n if (items.length > 0) {\n // Store data\n this.data['items'] = items;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n return InsightBarComponent;\n}(InsightBreeze));\nexport { InsightBarComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example bar insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-bar/insight-bar.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../helpers/svg-ellipsis.directive\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"./insight-example-bar.component\";\nimport * as i7 from \"../../resource.service\";\nimport * as i8 from \"../insight-provider\";\nimport * as i9 from \"../insight.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/event.service\";\nvar styles_InsightExampleBarComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExampleBarComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExampleBarComponent, data: {} });\nexport { RenderType_InsightExampleBarComponent as RenderType_InsightExampleBarComponent };\nfunction View_InsightExampleBarComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \":svg:rect\", [[\"class\", \"sym-item\"]], [[1, \"width\", 0], [1, \"height\", 0], [1, \"x\", 0], [1, \"y\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"text-anchor\", \"start\"]], [[1, \"transform\", 0], [1, \"y\", 0], [1, \"x\", 0]], null, null, null, null)), i2.ɵdid(3, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-value\"], [\"text-anchor\", \"end\"], [\"y\", \"8\"]], [[1, \"transform\", 0], [1, \"x\", 0]], null, null, null, null)), (_l()(), i2.ɵted(5, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_7 = _v.context.$implicit.name; var currVal_8 = 110; _ck(_v, 3, 0, currVal_7, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.insightContentWidth / 10); var currVal_1 = ((_co.insightContentHeight / 100) * _v.context.$implicit.percentage); var currVal_2 = ((_co.insightContentWidth / 10) * _v.context.index); var currVal_3 = (_co.insightContentHeight - ((_co.insightContentHeight / 100) * _v.context.$implicit.percentage)); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_4 = ((((\"rotate(-90, \" + (((_co.insightContentWidth / 10) * _v.context.index) + 17)) + \", \") + (_co.insightContentHeight - 8)) + \")\"); var currVal_5 = (_co.insightContentHeight - 8); var currVal_6 = (((_co.insightContentWidth / 10) * _v.context.index) + 20); _ck(_v, 2, 0, currVal_4, currVal_5, currVal_6); var currVal_9 = ((((\"rotate(-90, \" + (((_co.insightContentWidth / 10) * _v.context.index) + 17)) + \", \") + 8) + \")\"); var currVal_10 = (((_co.insightContentWidth / 10) * _v.context.index) + 20); _ck(_v, 4, 0, currVal_9, currVal_10); var currVal_11 = _v.context.$implicit.value; _ck(_v, 5, 0, currVal_11); }); }\nfunction View_InsightExampleBarComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleBarComponent_2)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightExampleBarComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExampleBarComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExampleBarComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"sym-insight sym-insight-bar\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 6, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleBarComponent_1)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleBarComponent_3)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleBarComponent_4)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(13, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(14, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(15, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"loading\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"error\"); _ck(_v, 12, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_4 = i2.ɵunv(_v, 15, 0, i2.ɵnov(_v, 16).transform(_co.data.footerKey)); _ck(_v, 15, 0, currVal_4); }); }\nexport function View_InsightExampleBarComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-example-bar\", [], null, null, null, View_InsightExampleBarComponent_0, RenderType_InsightExampleBarComponent)), i2.ɵdid(1, 245760, null, 0, i6.InsightExampleBarComponent, [i7.ResourceService, i8.InsightProvider, i9.InsightService, i10.LocalisationService, i11.AlertsService, i12.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExampleBarComponentNgFactory = i2.ɵccf(\"sym-insight-example-bar\", i6.InsightExampleBarComponent, View_InsightExampleBarComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExampleBarComponentNgFactory as InsightExampleBarComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example bar insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-bar[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-item[_ngcontent-%COMP%]{fill:#f3a357;stroke:#ed7c11}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The book hours insight\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-line[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-raster[_ngcontent-%COMP%]{stroke:rgba(0,0,0,.125)}.sym-insight-line[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-circle[_ngcontent-%COMP%]{stroke:#000;fill:#fbfcfc;stroke-width:3}.sym-insight-line[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-circle.sym-circle-primary[_ngcontent-%COMP%]{stroke:#ed7c11}.sym-insight-line[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-circle.sym-circle-secondary[_ngcontent-%COMP%]{stroke:#adb5bd}.sym-insight-line[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-line[_ngcontent-%COMP%]{stroke:#000;stroke-width:3!important}.sym-insight-line[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-line.sym-line-primary[_ngcontent-%COMP%]{stroke:#ed7c11}.sym-insight-line[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-line.sym-line-secondary[_ngcontent-%COMP%]{stroke:#adb5bd}\"];\nexport { styles as styles };\n","/**\n * @file The line insight component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Line Chart.\n */\nvar InsightLineComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightLineComponent, _super);\n /**\n * Constructs an InsightLineComponent.\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightLineComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight line component\n _this.data = {\n axis: {\n y: []\n },\n items: []\n };\n _this.maxValue = 0;\n _this.minValue = 0;\n return _this;\n }\n InsightLineComponent.prototype.findMaxValue = function (items) {\n var maxValue = 240; // = 4 uur (4 * 60)\n // Run through items\n items.forEach(function (item) {\n // Run through values\n item.values.forEach(function (value) {\n if (typeof value !== 'number') {\n console.warn('Expecting a number as value for finding the max value (' + typeof value + ')');\n }\n // Save if larger\n if (value > maxValue) {\n maxValue = value;\n }\n });\n });\n return this.roundToNearest(Math.ceil(maxValue));\n };\n InsightLineComponent.prototype.findMinValue = function (items) {\n var minValue = -1;\n // Run through items\n items.forEach(function (item) {\n // Run through values\n item.values.forEach(function (value) {\n if (typeof value !== 'number') {\n console.warn('Expecting a number as value for finding the min value (' + typeof value + ')');\n }\n // Set initial value\n if (minValue === -1 && value !== NaN) {\n minValue = value;\n }\n // Save if smaller\n if (value < minValue) {\n minValue = value;\n }\n });\n });\n if (minValue === -1) {\n minValue = 0;\n }\n return this.roundToNearest(Math.floor(minValue));\n };\n InsightLineComponent.prototype.roundToNearest = function (number) {\n return Math.round(number);\n // return Math.round(number / 10) * 10;\n };\n /**\n * Set the list insight data\n */\n InsightLineComponent.prototype.setData = function (items) {\n // If there are items set them or otherwise set state in nodata\n if (items.length > 0) {\n // Find min and max\n this.maxValue = this.findMaxValue(items);\n this.minValue = this.findMinValue(items);\n // Calculate x axis and fill the array\n var stepSize = (this.maxValue - this.minValue) / 4;\n var axisY = [];\n axisY.unshift(this.toDuration(this.minValue));\n for (var i = 1; i < 4; i++) {\n axisY.unshift(this.toDuration(this.roundToNearest(i * stepSize)));\n }\n axisY.unshift(this.toDuration(this.maxValue));\n // Store data\n this.data['axis'] = {\n y: axisY\n };\n this.data['items'] = items;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n InsightLineComponent.prototype.maxLineHeight = function () {\n return (this.insightContentHeight / 6) * 5;\n };\n InsightLineComponent.prototype.baseLineHeight = function () {\n return (this.pointLineHeight() * this.minValue);\n };\n InsightLineComponent.prototype.minLineHeight = function () {\n return (this.insightContentHeight / 6);\n };\n InsightLineComponent.prototype.rangeLineHeight = function () {\n return this.maxLineHeight() - this.minLineHeight();\n }; // = 100%\n InsightLineComponent.prototype.pointLineHeight = function () {\n return this.rangeLineHeight() / (this.maxValue - this.minValue);\n };\n return InsightLineComponent;\n}(InsightBreeze));\nexport { InsightLineComponent };\n","/**\n* @file The example line insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightLineComponent } from '../insight-line/insight-line.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Line (with a flag).\n */\nvar InsightExampleLineComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExampleLineComponent, _super);\n /**\n * Constructs an InsightExampleLineComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExampleLineComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData([\n { name: 'Vestibulum ante ipsum primis in faucibus orci luctus', values: [5, 6] },\n { name: 'Donec', values: [10, 30] },\n { name: 'Proin', values: [0, 0] },\n { name: 'Iaculis', values: [40, 65] },\n { name: 'Prenti', values: [80.8, 90] }\n ]);\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExampleLineComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExampleLineComponent', InsightExampleLineComponent);\n };\n return InsightExampleLineComponent;\n}(InsightLineComponent));\nexport { InsightExampleLineComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example line insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-line/insight-line.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../helpers/svg-ellipsis.directive\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"./insight-example-line.component\";\nimport * as i7 from \"../../resource.service\";\nimport * as i8 from \"../insight-provider\";\nimport * as i9 from \"../insight.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/event.service\";\nvar styles_InsightExampleLineComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExampleLineComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExampleLineComponent, data: {} });\nexport { RenderType_InsightExampleLineComponent as RenderType_InsightExampleLineComponent };\nfunction View_InsightExampleLineComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:line\", [[\"class\", \"sym-raster\"], [\"x1\", \"34\"]], [[1, \"x2\", 0], [1, \"y1\", 0], [1, \"y2\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.insightContentWidth; var currVal_1 = ((_v.context.$implicit + 1) * _co.minLineHeight()); var currVal_2 = ((_v.context.$implicit + 1) * _co.minLineHeight()); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_InsightExampleLineComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-value\"], [\"text-anchor\", \"end\"], [\"x\", \"30\"]], [[1, \"y\", 0]], null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = (((_v.context.index + 1) * _co.minLineHeight()) + 5); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_InsightExampleLineComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"text-anchor\", \"middle\"], [\"y\", \"160\"]], [[1, \"x\", 0]], null, null, null, null)), i2.ɵdid(2, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.name; var currVal_2 = 42; _ck(_v, 2, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (10 + ((_co.insightContentWidth / 6) * (_v.context.index + 1))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InsightExampleLineComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:line\", [[\"class\", \"sym-line sym-line-secondary\"]], [[1, \"y1\", 0], [1, \"x1\", 0], [1, \"y2\", 0], [1, \"x2\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[(_v.parent.context.$implicit - 1)].values[0])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * _v.parent.context.$implicit)); var currVal_2 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[0])); var currVal_3 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_InsightExampleLineComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_6)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.data.items && (_co.data.items.length > _v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightExampleLineComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:circle\", [[\"class\", \"sym-circle sym-circle-secondary\"], [\"r\", \"7\"]], [[1, \"cy\", 0], [1, \"cx\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[0])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_InsightExampleLineComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_8)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.data.items && (_co.data.items.length > _v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightExampleLineComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:line\", [[\"class\", \"sym-line sym-line-primary\"]], [[1, \"y1\", 0], [1, \"x1\", 0], [1, \"y2\", 0], [1, \"x2\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[(_v.parent.context.$implicit - 1)].values[1])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * _v.parent.context.$implicit)); var currVal_2 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[1])); var currVal_3 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_InsightExampleLineComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_10)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.data.items && (_co.data.items.length > _v.context.$implicit)) && (_co.data.items[_v.context.$implicit].values.length > 1)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightExampleLineComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:circle\", [[\"class\", \"sym-circle sym-circle-primary\"], [\"r\", \"7\"]], [[1, \"cy\", 0], [1, \"cx\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[1])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_InsightExampleLineComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_12)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.data.items && (_co.data.items.length > _v.context.$implicit)) && (_co.data.items[_v.context.$implicit].values.length > 1)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightExampleLineComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 22, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 5, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightExampleLineComponent_2)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(4, 5), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_3)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(7, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_4)), i2.ɵdid(9, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(10, 0, null, null, 12, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightExampleLineComponent_5)), i2.ɵdid(12, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(13, 4), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightExampleLineComponent_7)), i2.ɵdid(15, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(16, 5), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightExampleLineComponent_9)), i2.ɵdid(18, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(19, 4), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightExampleLineComponent_11)), i2.ɵdid(21, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(22, 5)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 4, 0, 0, 1, 2, 3, 4); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.data.axis.y; _ck(_v, 6, 0, currVal_1); var currVal_2 = _co.data.items; _ck(_v, 9, 0, currVal_2); var currVal_3 = _ck(_v, 13, 0, 1, 2, 3, 4); _ck(_v, 12, 0, currVal_3); var currVal_4 = _ck(_v, 16, 0, 0, 1, 2, 3, 4); _ck(_v, 15, 0, currVal_4); var currVal_5 = _ck(_v, 19, 0, 1, 2, 3, 4); _ck(_v, 18, 0, currVal_5); var currVal_6 = _ck(_v, 22, 0, 0, 1, 2, 3, 4); _ck(_v, 21, 0, currVal_6); }, null); }\nfunction View_InsightExampleLineComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExampleLineComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExampleLineComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExampleLineComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-line\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_1)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_13)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_14)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleLineComponent_15)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"loading\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"error\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"nodata\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightExampleLineComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-example-line\", [], null, null, null, View_InsightExampleLineComponent_0, RenderType_InsightExampleLineComponent)), i2.ɵdid(1, 245760, null, 0, i6.InsightExampleLineComponent, [i7.ResourceService, i8.InsightProvider, i9.InsightService, i10.LocalisationService, i11.AlertsService, i12.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExampleLineComponentNgFactory = i2.ɵccf(\"sym-insight-example-line\", i6.InsightExampleLineComponent, View_InsightExampleLineComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExampleLineComponentNgFactory as InsightExampleLineComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The planned hours insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-list[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-item[_ngcontent-%COMP%]{fill:#92b7b7;stroke:#659898}.sym-insight-list[_ngcontent-%COMP%] .sym-insight-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] text[_ngcontent-%COMP%]{font-size:.8rem}\"];\nexport { styles as styles };\n","/**\n* @file The list insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a List (horizontal Bar Chart).\n */\nvar InsightListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightListComponent, _super);\n /**\n * Constructs an InsightListComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightListComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight list component\n _this.data = {\n items: []\n };\n return _this;\n }\n /**\n * Set the list insight data\n */\n InsightListComponent.prototype.setData = function (items) {\n // If there are items set them or otherwise set state in nodata\n if (items.length > 0) {\n // Store data\n this.data['items'] = items;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n return InsightListComponent;\n}(InsightBreeze));\nexport { InsightListComponent };\n","/**\n * @file The example list insight component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InsightListComponent } from '../insight-list/insight-list.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a List (with a flag).\n */\nvar InsightExampleListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExampleListComponent, _super);\n /**\n * Constructs an InsightExampleListComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExampleListComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData([\n { name: 'Vestibulum ante ipsum primis in faucibus orci luctus', value: '220 hr', percentage: 20 },\n { name: 'Donec et', value: '165 hr', percentage: 15 },\n { name: 'Donec et', value: '440 hr', percentage: 40 },\n { name: 'Proin iaculis', value: '660 hr', percentage: 60 },\n { name: 'Proin iaculis', value: '880 hr', percentage: 80 }\n ]);\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExampleListComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExampleListComponent', InsightExampleListComponent);\n };\n return InsightExampleListComponent;\n}(InsightListComponent));\nexport { InsightExampleListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example list insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-list/insight-list.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../helpers/svg-ellipsis.directive\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"./insight-example-list.component\";\nimport * as i7 from \"../../resource.service\";\nimport * as i8 from \"../insight-provider\";\nimport * as i9 from \"../insight.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/event.service\";\nvar styles_InsightExampleListComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExampleListComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExampleListComponent, data: {} });\nexport { RenderType_InsightExampleListComponent as RenderType_InsightExampleListComponent };\nfunction View_InsightExampleListComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \":svg:rect\", [[\"class\", \"sym-item\"]], [[1, \"width\", 0], [1, \"height\", 0], [1, \"y\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"text-anchor\", \"start\"], [\"x\", \"9\"]], [[1, \"y\", 0]], null, null, null, null)), i2.ɵdid(3, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-value\"], [\"text-anchor\", \"end\"]], [[1, \"y\", 0], [1, \"x\", 0]], null, null, null, null)), (_l()(), i2.ɵted(5, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_4 = _v.context.$implicit.name; var currVal_5 = 192; _ck(_v, 3, 0, currVal_4, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.insightContentWidth / 100) * _co.limitPercentage(_v.context.$implicit.percentage)); var currVal_1 = (_co.insightContentHeight / 5); var currVal_2 = (_v.context.index * (_co.insightContentHeight / 5)); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = (((_co.insightContentHeight / 5) * _v.context.index) + 20); _ck(_v, 2, 0, currVal_3); var currVal_6 = (((_co.insightContentHeight / 5) * _v.context.index) + 20); var currVal_7 = (_co.insightContentWidth - 9); _ck(_v, 4, 0, currVal_6, currVal_7); var currVal_8 = _v.context.$implicit.value; _ck(_v, 5, 0, currVal_8); }); }\nfunction View_InsightExampleListComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleListComponent_2)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightExampleListComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExampleListComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExampleListComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExampleListComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-list\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleListComponent_1)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleListComponent_3)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleListComponent_4)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleListComponent_5)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightExampleListComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-example-list\", [], null, null, null, View_InsightExampleListComponent_0, RenderType_InsightExampleListComponent)), i2.ɵdid(1, 245760, null, 0, i6.InsightExampleListComponent, [i7.ResourceService, i8.InsightProvider, i9.InsightService, i10.LocalisationService, i11.AlertsService, i12.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExampleListComponentNgFactory = i2.ɵccf(\"sym-insight-example-list\", i6.InsightExampleListComponent, View_InsightExampleListComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExampleListComponentNgFactory as InsightExampleListComponentNgFactory };\n","/**\n* @file The example pie insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightPieComponent } from '../insight-pie/insight-pie.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Pie (with a flag).\n */\nvar InsightExamplePieComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExamplePieComponent, _super);\n /**\n * Constructs an InsightExamplePieComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExamplePieComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData([\n { name: 'Vestibulum ante ipsum primis in faucibus orci luctus', percentage: 20 },\n { name: 'Donec et', percentage: 10 },\n { name: 'Et donec', percentage: 40 },\n { name: 'Iaculis proin', percentage: 20 },\n { name: 'Proin iaculis', percentage: 10 }\n ]);\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExamplePieComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExamplePieComponent', InsightExamplePieComponent);\n };\n return InsightExamplePieComponent;\n}(InsightPieComponent));\nexport { InsightExamplePieComponent };\n","/**\n * @file The pie insight component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Pie Chart.\n */\nvar InsightPieComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightPieComponent, _super);\n /**\n * Constructs an InsightPieComponent.\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightPieComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight pie component\n _this.data = {\n items: []\n };\n return _this;\n }\n // Calculate total of all percentages.\n InsightPieComponent.prototype.totalPercentage = function () {\n return this.data.items.reduce(function (a, b) { return a + b.percentage; }, 0);\n };\n /**\n * Set the table insight data\n */\n InsightPieComponent.prototype.setData = function (items) {\n if (items.length > 0) {\n // Store data\n this.data['items'] = items;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n /**\n * Calculate the distance for a stroke-dasharray and stroke-dashoffset in the circle of a pie insight.\n * @param radius The radius of the circle.\n * @param percentage The percentage of the distance that will be returned.\n * @returns The given percentage of the cirkels circumference.\n */\n InsightPieComponent.prototype.calculateDistance = function (radius, percentage) {\n // Compute circumference = 2 * pi * r (the distance around the circle).\n var distance = Math.PI * radius * 2;\n return (percentage / 100) * distance;\n };\n /**\n * Summarize the percentage of all checklist on and before the given index.\n * @param index The index of the last item to summarize.\n * @returns The sum of the selected checklist.\n */\n InsightPieComponent.prototype.sumPercentageUpToIndex = function (index) {\n var rest = 0;\n for (var i = 0; i <= index; i += 1) {\n rest += this.data.items[i].percentage;\n }\n return rest;\n };\n return InsightPieComponent;\n}(InsightBreeze));\nexport { InsightPieComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example pie insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-pie/insight-pie.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../helpers/svg-ellipsis.directive\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"./insight-example-pie.component\";\nimport * as i7 from \"../../resource.service\";\nimport * as i8 from \"../insight-provider\";\nimport * as i9 from \"../insight.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/event.service\";\nvar styles_InsightExamplePieComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExamplePieComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExamplePieComponent, data: {} });\nexport { RenderType_InsightExamplePieComponent as RenderType_InsightExamplePieComponent };\nfunction View_InsightExamplePieComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \":svg:circle\", [[\"cx\", \"75\"], [\"cy\", \"50%\"], [\"fill\", \"transparent\"], [\"r\", \"30\"]], [[1, \"class\", 0], [1, \"stroke-dasharray\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"x\", \"165\"]], [[1, \"y\", 0], [1, \"text-anchor\", 0]], null, null, null, null)), i2.ɵdid(3, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 0, \":svg:rect\", [[\"height\", \"10\"], [\"width\", \"10\"], [\"x\", \"150\"]], [[1, \"class\", 0], [1, \"y\", 0]], null, null, null, null))], function (_ck, _v) { var currVal_4 = _v.context.$implicit.name; var currVal_5 = 75; _ck(_v, 3, 0, currVal_4, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (\"sym-pie sym-pie-color-\" + _v.context.index); var currVal_1 = ((((_co.calculateDistance(30, 100) / 100) * ((_co.totalPercentage() - _co.sumPercentageUpToIndex(_v.context.index)) + _v.context.$implicit.percentage)) + \", \") + _co.calculateDistance(30, 100)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = ((((_co.insightContentHeight / 2) - (_co.data.items.length * 8)) + (_v.context.index * 16)) + 13); var currVal_3 = _co.start; _ck(_v, 2, 0, currVal_2, currVal_3); var currVal_6 = (\"sym-legenda sym-legenda-color-\" + _v.context.index); var currVal_7 = ((((_co.insightContentHeight / 2) - (_co.data.items.length * 8)) + (_v.context.index * 16)) + 3); _ck(_v, 4, 0, currVal_6, currVal_7); }); }\nfunction View_InsightExamplePieComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExamplePieComponent_2)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightExamplePieComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExamplePieComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExamplePieComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExamplePieComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-pie\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExamplePieComponent_1)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExamplePieComponent_3)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExamplePieComponent_4)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExamplePieComponent_5)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.inState(\"ready\") && _co.data.items); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightExamplePieComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-example-pie\", [], null, null, null, View_InsightExamplePieComponent_0, RenderType_InsightExamplePieComponent)), i2.ɵdid(1, 245760, null, 0, i6.InsightExamplePieComponent, [i7.ResourceService, i8.InsightProvider, i9.InsightService, i10.LocalisationService, i11.AlertsService, i12.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExamplePieComponentNgFactory = i2.ɵccf(\"sym-insight-example-pie\", i6.InsightExamplePieComponent, View_InsightExamplePieComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExamplePieComponentNgFactory as InsightExamplePieComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example pie insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-pie[_ngcontent-%COMP%]{stroke-width:60}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-pie.sym-pie-color-0[_ngcontent-%COMP%]{stroke:#b1cbcb}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-pie.sym-pie-color-1[_ngcontent-%COMP%]{stroke:#92b7b7}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-pie.sym-pie-color-2[_ngcontent-%COMP%]{stroke:#74a2a2}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-pie.sym-pie-color-3[_ngcontent-%COMP%]{stroke:#5b8888}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-pie.sym-pie-color-4[_ngcontent-%COMP%]{stroke:#466a6a}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-legenda.sym-legenda-color-0[_ngcontent-%COMP%]{fill:#b1cbcb}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-legenda.sym-legenda-color-1[_ngcontent-%COMP%]{fill:#92b7b7}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-legenda.sym-legenda-color-2[_ngcontent-%COMP%]{fill:#74a2a2}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-legenda.sym-legenda-color-3[_ngcontent-%COMP%]{fill:#5b8888}.sym-insight-pie[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] .sym-legenda.sym-legenda-color-4[_ngcontent-%COMP%]{fill:#466a6a}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Insight Leave component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-table[_ngcontent-%COMP%] table.table[_ngcontent-%COMP%]{width:248px}.sym-insight-table[_ngcontent-%COMP%] table.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:first-child td[_ngcontent-%COMP%]{border-top:0}.sym-insight-table[_ngcontent-%COMP%] table.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:.8rem;padding:7px}.sym-insight-table[_ngcontent-%COMP%] table.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{max-width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sym-insight-table[_ngcontent-%COMP%] table.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{text-align:right}\"];\nexport { styles as styles };\n","/**\n* @file The list insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a List (horizontal Bar Chart).\n */\nvar InsightTableComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightTableComponent, _super);\n /**\n * Constructs an InsightListComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightTableComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight table component\n _this.data = {\n items: []\n };\n return _this;\n }\n /**\n * Set the table insight data\n */\n InsightTableComponent.prototype.setData = function (items) {\n // If there are items set them or otherwise set state in nodata\n if (items.length > 0) {\n // Store data\n this.data['items'] = items;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n return InsightTableComponent;\n}(InsightBreeze));\nexport { InsightTableComponent };\n","/**\n* @file The example table insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightTableComponent } from '../insight-table/insight-table.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Table (with a flag).\n */\nvar InsightExampleTableComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExampleTableComponent, _super);\n /**\n * Constructs an InsightExampleTableComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExampleTableComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData([\n { name: 'Vestibulum ante ipsum primis in faucibus orci luctus', value: '120 hours' },\n { name: 'Aliquam ultricies nulla', value: '90 hours' },\n { name: 'Quisque sollicitudin', value: '55 hours' },\n { name: 'Donec et urna ornare', value: '33 hours' },\n { name: 'Quisque sollicitudin', value: '55 hours' }\n ]);\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExampleTableComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExampleTableComponent', InsightExampleTableComponent);\n };\n return InsightExampleTableComponent;\n}(InsightTableComponent));\nexport { InsightExampleTableComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example table insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-table/insight-table.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-example-table.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../core/event.service\";\nvar styles_InsightExampleTableComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExampleTableComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExampleTableComponent, data: {} });\nexport { RenderType_InsightExampleTableComponent as RenderType_InsightExampleTableComponent };\nfunction View_InsightExampleTableComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.value; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InsightExampleTableComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTableComponent_2)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_InsightExampleTableComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExampleTableComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExampleTableComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExampleTableComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTableComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTableComponent_3)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTableComponent_4)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTableComponent_5)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.inState(\"ready\") && _co.data.items); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightExampleTableComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-example-table\", [], null, null, null, View_InsightExampleTableComponent_0, RenderType_InsightExampleTableComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightExampleTableComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.AlertsService, i11.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExampleTableComponentNgFactory = i2.ɵccf(\"sym-insight-example-table\", i5.InsightExampleTableComponent, View_InsightExampleTableComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExampleTableComponentNgFactory as InsightExampleTableComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Insight to display billable hours.\n * @author Maarten Lensink\n * @customer Rembrandthuis\n * @issue 3644\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insight-text[_ngcontent-%COMP%] .sym-text-box[_ngcontent-%COMP%]{text-align:center;height:40px;margin-left:20px;margin-right:20px}.sym-insight-text[_ngcontent-%COMP%] .sym-icon-box[_ngcontent-%COMP%]{font-size:4rem;text-align:center;margin-left:30px;margin-right:30px}.sym-insight-text[_ngcontent-%COMP%] .sym-icon-box[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#f3a357}\"];\nexport { styles as styles };\n","/**\n* @file The text insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightBreeze } from '../insight-base/insight-breeze';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Text (with a flag).\n */\nvar InsightTextComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightTextComponent, _super);\n /**\n * Constructs an InsightTextComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightTextComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n // Data object for insight text component\n _this.data = {};\n return _this;\n }\n /**\n * Set the text insight data\n */\n InsightTextComponent.prototype.setData = function (icon, text) {\n if (icon && text) {\n // Store data\n this.data['icon'] = icon;\n this.data['text'] = text;\n // Set ready\n this.setState('ready');\n }\n else {\n this.setState('nodata');\n }\n };\n return InsightTextComponent;\n}(InsightBreeze));\nexport { InsightTextComponent };\n","/**\n* @file The example text insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { InsightTextComponent } from '../insight-text/insight-text.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../../insights/insight.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a Text (with a flag).\n */\nvar InsightExampleTextComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightExampleTextComponent, _super);\n /**\n * Constructs an InsightExampleTextComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightExampleTextComponent(resourceService, provider, insightService, localisationService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n _this.setData('project', 'Sample text for displaying in sym-insight-example-text.');\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightExampleTextComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightExampleTextComponent', InsightExampleTextComponent);\n };\n return InsightExampleTextComponent;\n}(InsightTextComponent));\nexport { InsightExampleTextComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The example text insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-text/insight-text.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-example-text.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../core/event.service\";\nvar styles_InsightExampleTextComponent = [i0.styles, i1.styles];\nvar RenderType_InsightExampleTextComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightExampleTextComponent, data: {} });\nexport { RenderType_InsightExampleTextComponent as RenderType_InsightExampleTextComponent };\nfunction View_InsightExampleTextComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-icon-box\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"icon sym-icon-\", _co.data.icon, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InsightExampleTextComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-text-box\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"small\", [[\"style\", \"text-overflow: ellipsis\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.text; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExampleTextComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTextComponent_2)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTextComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.icon; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.data.text; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InsightExampleTextComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightExampleTextComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightExampleTextComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightExampleTextComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTextComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTextComponent_4)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTextComponent_5)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightExampleTextComponent_6)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightExampleTextComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-example-text\", [], null, null, null, View_InsightExampleTextComponent_0, RenderType_InsightExampleTextComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightExampleTextComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.AlertsService, i11.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightExampleTextComponentNgFactory = i2.ɵccf(\"sym-insight-example-text\", i5.InsightExampleTextComponent, View_InsightExampleTextComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightExampleTextComponentNgFactory as InsightExampleTextComponentNgFactory };\n","/**\n * @file The working hours insight component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { InsightService } from '../insight.service';\nimport { InsightTableComponent } from '../insight-table/insight-table.component';\nimport { InsightProvider } from '../insight-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a table\n */\nvar InsightWorkingHoursComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightWorkingHoursComponent, _super);\n /**\n * Constructs an InsightWorkingHoursComponent.\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightWorkingHoursComponent(resourceService, provider, insightService, localisationService, router, translateService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.translateService = translateService;\n _this.alertsService = alertsService;\n /**\n * Contains the date of horizon within the view.\n * @private\n */\n _this.horizonDate = moment().startOf('day');\n _this.makeHorizonDateListener(_this.subscriptionPool, router, function (value) {\n _this.horizonDate = value;\n _this.refresh();\n });\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightWorkingHoursComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightWorkingHoursComponent', InsightWorkingHoursComponent);\n };\n Object.defineProperty(InsightWorkingHoursComponent.prototype, \"start\", {\n /**\n * Gets the start of week with respect to startTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var start = this.horizonDate.clone().startOf('isoWeek');\n start.add(this.startOffset, 'week');\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightWorkingHoursComponent.prototype, \"finish\", {\n /**\n * Gets finish of week with respect to endTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var date = this.horizonDate.clone().endOf('isoWeek');\n date.add(this.finishOffset, 'week');\n var finish = date.toDate();\n if (finish > this.publishedTill) {\n finish = this.publishedTill;\n }\n return finish;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightWorkingHoursComponent.prototype, \"startOffset\", {\n /**\n * Gets the offset of the start in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n if (this.configuration && this.configuration.data && this.configuration.data.startTimeOffset) {\n offset = this.configuration.data.startTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightWorkingHoursComponent.prototype, \"finishOffset\", {\n /**\n * Gets the offset of the finish in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n if (this.configuration && this.configuration.data && this.configuration.data.endTimeOffset) {\n offset = this.configuration.data.endTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n /** Handle for the after items loaded event */\n InsightWorkingHoursComponent.prototype.afterItemsLoaded = function () {\n var _this = this;\n // Start with an empty items array\n var items = [];\n // Pre-define x-axis: today and the four days after\n for (var days = 0; days < 5; days += 1) {\n items.push({\n name: this.getAxisLabel(this.horizonDate.clone().add(days, 'days')),\n value: this.translateService.instant('APP.INSIGHTS.WORKING_HOURS.NONE')\n });\n }\n // Run through the loaded items\n this.loadedItems.splice(0, 5).forEach(function (loadedItem) {\n // Prepare the start and stop time\n var startTime = moment(loadedItem['minimum']).format('HH:mm');\n var stopTime = moment(loadedItem['maximum']).format('HH:mm');\n var date = moment(loadedItem['date']);\n // Find the item and add the values\n var name = _this.getAxisLabel(date);\n var item = items.find(function (i) { return i.name === name; });\n if (item) {\n item.value = startTime + ' - ' + stopTime;\n }\n });\n // Set the data\n this.setData(items);\n };\n /**\n * Returns a label for the x-axis based on the date it represents.\n * @param date The date from which a string is derived.\n * @returns The date relative to today, plus day and month.\n */\n InsightWorkingHoursComponent.prototype.getAxisLabel = function (date) {\n return date.calendar(null, this.localisationService.calendarRelativeOptions()) + ' (' + date.format(this.localisationService.shortDate.format) + ')';\n };\n return InsightWorkingHoursComponent;\n}(InsightTableComponent));\nexport { InsightWorkingHoursComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The working hours insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-table/insight-table.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-working-hours.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"@angular/router\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/event.service\";\nvar styles_InsightWorkingHoursComponent = [i0.styles, i1.styles];\nvar RenderType_InsightWorkingHoursComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightWorkingHoursComponent, data: {} });\nexport { RenderType_InsightWorkingHoursComponent as RenderType_InsightWorkingHoursComponent };\nfunction View_InsightWorkingHoursComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.value; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InsightWorkingHoursComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightWorkingHoursComponent_2)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_InsightWorkingHoursComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightWorkingHoursComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightWorkingHoursComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightWorkingHoursComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightWorkingHoursComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightWorkingHoursComponent_3)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightWorkingHoursComponent_4)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightWorkingHoursComponent_5)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.inState(\"ready\") && _co.data.items); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightWorkingHoursComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-working-hours\", [], null, null, null, View_InsightWorkingHoursComponent_0, RenderType_InsightWorkingHoursComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightWorkingHoursComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.Router, i4.TranslateService, i11.AlertsService, i12.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightWorkingHoursComponentNgFactory = i2.ɵccf(\"sym-insight-working-hours\", i5.InsightWorkingHoursComponent, View_InsightWorkingHoursComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightWorkingHoursComponentNgFactory as InsightWorkingHoursComponentNgFactory };\n","/**\n* @file The planned hours insight component\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { InsightService } from '../insight.service';\nimport { InsightListComponent } from '../insight-list/insight-list.component';\nimport { InsightProvider } from '../insight-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows a List (with a flag).\n */\nvar InsightPlannedHoursComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightPlannedHoursComponent, _super);\n /**\n * Constructs an InsightPlannedHoursComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightPlannedHoursComponent(resourceService, provider, insightService, localisationService, router, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n /**\n * Contains the date of horizon within the view.\n * @private\n */\n _this.horizonDate = moment().startOf('day');\n _this.makeHorizonDateListener(_this.subscriptionPool, router, function (value) {\n _this.horizonDate = value;\n _this.refresh();\n });\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightPlannedHoursComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightPlannedHoursComponent', InsightPlannedHoursComponent);\n };\n Object.defineProperty(InsightPlannedHoursComponent.prototype, \"start\", {\n /**\n * Gets the start of week with respect to startTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var start = this.horizonDate.clone().startOf('isoWeek');\n start.add(this.startOffset, 'week');\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightPlannedHoursComponent.prototype, \"finish\", {\n /**\n * Gets finish of week with respect to endTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var date = this.horizonDate.clone().endOf('isoWeek');\n date.add(this.finishOffset, 'week');\n var finish = date.toDate();\n if (finish > this.publishedTill) {\n finish = this.publishedTill;\n }\n return finish;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightPlannedHoursComponent.prototype, \"startOffset\", {\n /**\n * Gets the offset of the start in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n if (this.configuration && this.configuration.data && this.configuration.data.startTimeOffset) {\n offset = this.configuration.data.startTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightPlannedHoursComponent.prototype, \"finishOffset\", {\n /**\n * Gets the offset of the finish in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n if (this.configuration && this.configuration.data && this.configuration.data.endTimeOffset) {\n offset = this.configuration.data.endTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n /** Handle for the after items loaded event */\n InsightPlannedHoursComponent.prototype.afterItemsLoaded = function () {\n var _this = this;\n // Start with an empty items array\n var items = [];\n // Pre-define x-axis: today and the four days after\n for (var days = 0; days < 5; days += 1) {\n items.push({\n name: this.getAxisLabel(this.horizonDate.clone().add(days, 'days')),\n value: '0:00',\n percentage: 0\n });\n }\n // Percentage per minute based on a 12 hours (= 100%) work day\n var percentagePerMinute = 100 / (12 * 60);\n // Run through the loaded items\n this.loadedItems.splice(0, 5).forEach(function (loadedItem) {\n // Prepare stuff\n var date = moment(loadedItem['date']);\n // Find the item and add the values\n var name = _this.getAxisLabel(date);\n var item = items.find(function (i) { return i.name === name; });\n if (item) {\n item.value = _this.toDuration(loadedItem['value']);\n item.percentage = percentagePerMinute * loadedItem['value'];\n }\n });\n // Set the data\n this.setData(items);\n };\n /**\n * Returns a label for the x-axis based on the date it represents.\n * @param date The date from which a string is derived.\n * @returns The date relative to today, plus day and month.\n */\n InsightPlannedHoursComponent.prototype.getAxisLabel = function (date) {\n return date.calendar(null, this.localisationService.calendarRelativeOptions()) + ' (' + date.format(this.localisationService.shortDate.format) + ')';\n };\n return InsightPlannedHoursComponent;\n}(InsightListComponent));\nexport { InsightPlannedHoursComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The planned hours insight component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-list/insight-list.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../helpers/svg-ellipsis.directive\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"./insight-planned-hours.component\";\nimport * as i7 from \"../../resource.service\";\nimport * as i8 from \"../insight-provider\";\nimport * as i9 from \"../insight.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"@angular/router\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../core/event.service\";\nvar styles_InsightPlannedHoursComponent = [i0.styles, i1.styles];\nvar RenderType_InsightPlannedHoursComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightPlannedHoursComponent, data: {} });\nexport { RenderType_InsightPlannedHoursComponent as RenderType_InsightPlannedHoursComponent };\nfunction View_InsightPlannedHoursComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \":svg:rect\", [[\"class\", \"sym-item\"]], [[1, \"width\", 0], [1, \"height\", 0], [1, \"y\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"text-anchor\", \"start\"], [\"x\", \"9\"]], [[1, \"y\", 0]], null, null, null, null)), i2.ɵdid(3, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-value\"], [\"text-anchor\", \"end\"]], [[1, \"y\", 0], [1, \"x\", 0]], null, null, null, null)), (_l()(), i2.ɵted(5, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_4 = _v.context.$implicit.name; var currVal_5 = 192; _ck(_v, 3, 0, currVal_4, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.insightContentWidth / 100) * _co.limitPercentage(_v.context.$implicit.percentage)); var currVal_1 = (_co.insightContentHeight / 5); var currVal_2 = (_v.context.index * (_co.insightContentHeight / 5)); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = (((_co.insightContentHeight / 5) * _v.context.index) + 20); _ck(_v, 2, 0, currVal_3); var currVal_6 = (((_co.insightContentHeight / 5) * _v.context.index) + 20); var currVal_7 = (_co.insightContentWidth - 9); _ck(_v, 4, 0, currVal_6, currVal_7); var currVal_8 = _v.context.$implicit.value; _ck(_v, 5, 0, currVal_8); }); }\nfunction View_InsightPlannedHoursComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightPlannedHoursComponent_2)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightPlannedHoursComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightPlannedHoursComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightPlannedHoursComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightPlannedHoursComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-list\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightPlannedHoursComponent_1)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightPlannedHoursComponent_3)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightPlannedHoursComponent_4)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightPlannedHoursComponent_5)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightPlannedHoursComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-planned-hours\", [], null, null, null, View_InsightPlannedHoursComponent_0, RenderType_InsightPlannedHoursComponent)), i2.ɵdid(1, 245760, null, 0, i6.InsightPlannedHoursComponent, [i7.ResourceService, i8.InsightProvider, i9.InsightService, i10.LocalisationService, i11.Router, i12.AlertsService, i13.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightPlannedHoursComponentNgFactory = i2.ɵccf(\"sym-insight-planned-hours\", i6.InsightPlannedHoursComponent, View_InsightPlannedHoursComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightPlannedHoursComponentNgFactory as InsightPlannedHoursComponentNgFactory };\n","/**\n* @file The book hours insight\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { InsightService } from '../../insights/insight.service';\nimport { InsightLineComponent } from '../insight-line/insight-line.component';\nimport { InsightProvider } from '../insight-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Insight component that shows the booked hours\n */\nvar InsightBookedHoursComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightBookedHoursComponent, _super);\n /**\n * Constructs an InsightBookedHoursComponent\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightBookedHoursComponent(resourceService, provider, insightService, localisationService, router, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.alertsService = alertsService;\n /**\n * Contains the date of horizon within the view.\n * @private\n */\n _this.horizonDate = moment().startOf('day');\n _this.makeHorizonDateListener(_this.subscriptionPool, router, function (value) {\n _this.horizonDate = value;\n _this.refresh();\n });\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightBookedHoursComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightBookedHoursComponent', InsightBookedHoursComponent);\n };\n Object.defineProperty(InsightBookedHoursComponent.prototype, \"start\", {\n /**\n * Gets the start of week with respect to startTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var start = this.horizonDate.clone();\n start.add(this.startOffset, 'days');\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightBookedHoursComponent.prototype, \"finish\", {\n /**\n * Gets finish of week with respect to endTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var date = this.horizonDate.clone();\n date.add(this.finishOffset, 'days');\n var finish = date.toDate();\n if (finish > this.publishedTill) {\n finish = this.publishedTill;\n }\n return finish;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightBookedHoursComponent.prototype, \"startOffset\", {\n /**\n * Gets the offset of the start in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n if (this.configuration && this.configuration.data && this.configuration.data.startTimeOffset) {\n offset = this.configuration.data.startTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightBookedHoursComponent.prototype, \"finishOffset\", {\n /**\n * Gets the offset of the finish in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n if (this.configuration && this.configuration.data && this.configuration.data.endTimeOffset) {\n offset = this.configuration.data.endTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n /** Handle for the after items loaded event */\n InsightBookedHoursComponent.prototype.afterItemsLoaded = function () {\n // Start with an empty items array\n var items = [];\n var _loop_1 = function (day) {\n var start = this_1.horizonDate.clone().subtract(day, 'days');\n // Find the item (if exists) with the same date\n var matchedItem = this_1.loadedItems.find(function (loadedItem) { return (moment(loadedItem['date']).diff(start, 'day') === 0); });\n // For some reason numbers are strings here? Why?\n var maximum = (matchedItem) ? parseInt(matchedItem['maximum']) : 0;\n var value = (matchedItem) ? parseInt(matchedItem['value']) : 0;\n // Add item to items and use the, if found, the data from the mached item\n items.push({\n name: this_1.getAxisLabel(start),\n values: [\n !isNaN(maximum) ? maximum : 0,\n !isNaN(value) ? value : 0\n ]\n });\n };\n var this_1 = this;\n // First we create the period to make sure we have atleast a correct\n // presentation, e.g. four days with default two values (= 0 and 0).\n for (var day = 4; day >= 0; day -= 1) {\n _loop_1(day);\n }\n // Set the data\n this.setData(items);\n };\n /**\n * Returns a label for the x-axis based on the date it represents.\n * @param date The date from which a string is derived.\n * @returns The day and month.\n */\n InsightBookedHoursComponent.prototype.getAxisLabel = function (date) {\n return date.format(this.localisationService.shortDate.format);\n };\n return InsightBookedHoursComponent;\n}(InsightLineComponent));\nexport { InsightBookedHoursComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The book hours insight\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-line/insight-line.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../helpers/svg-ellipsis.directive\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"./insight-booked-hours.component\";\nimport * as i7 from \"../../resource.service\";\nimport * as i8 from \"../insight-provider\";\nimport * as i9 from \"../insight.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"@angular/router\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../core/event.service\";\nvar styles_InsightBookedHoursComponent = [i0.styles, i1.styles];\nvar RenderType_InsightBookedHoursComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightBookedHoursComponent, data: {} });\nexport { RenderType_InsightBookedHoursComponent as RenderType_InsightBookedHoursComponent };\nfunction View_InsightBookedHoursComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:line\", [[\"class\", \"sym-raster\"], [\"x1\", \"34\"]], [[1, \"x2\", 0], [1, \"y1\", 0], [1, \"y2\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.insightContentWidth; var currVal_1 = ((_v.context.$implicit + 1) * _co.minLineHeight()); var currVal_2 = ((_v.context.$implicit + 1) * _co.minLineHeight()); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_InsightBookedHoursComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-value\"], [\"text-anchor\", \"end\"], [\"x\", \"30\"]], [[1, \"y\", 0]], null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = (((_v.context.index + 1) * _co.minLineHeight()) + 5); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_InsightBookedHoursComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \":svg:text\", [[\"class\", \"sym-label sym-key\"], [\"ellipsis\", \"\"], [\"text-anchor\", \"middle\"], [\"y\", \"160\"]], [[1, \"x\", 0]], null, null, null, null)), i2.ɵdid(2, 81920, null, 0, i3.SvgEllipsisDirective, [i2.ElementRef], { text: [0, \"text\"], maxwidth: [1, \"maxwidth\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.name; var currVal_2 = 42; _ck(_v, 2, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (10 + ((_co.insightContentWidth / 6) * (_v.context.index + 1))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InsightBookedHoursComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:line\", [[\"class\", \"sym-line sym-line-secondary\"]], [[1, \"y1\", 0], [1, \"x1\", 0], [1, \"y2\", 0], [1, \"x2\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[(_v.parent.context.$implicit - 1)].values[0])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * _v.parent.context.$implicit)); var currVal_2 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[0])); var currVal_3 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_InsightBookedHoursComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_6)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.data.items && (_co.data.items.length > _v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightBookedHoursComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:circle\", [[\"class\", \"sym-circle sym-circle-secondary\"], [\"r\", \"7\"]], [[1, \"cy\", 0], [1, \"cx\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[0])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_InsightBookedHoursComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_8)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.data.items && (_co.data.items.length > _v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightBookedHoursComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:line\", [[\"class\", \"sym-line sym-line-primary\"]], [[1, \"y1\", 0], [1, \"x1\", 0], [1, \"y2\", 0], [1, \"x2\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[(_v.parent.context.$implicit - 1)].values[1])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * _v.parent.context.$implicit)); var currVal_2 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[1])); var currVal_3 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_InsightBookedHoursComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_10)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.data.items && (_co.data.items.length > _v.context.$implicit)) && (_co.data.items[_v.context.$implicit].values.length > 1)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightBookedHoursComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \":svg:circle\", [[\"class\", \"sym-circle sym-circle-primary\"], [\"r\", \"7\"]], [[1, \"cy\", 0], [1, \"cx\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.maxLineHeight() + _co.baseLineHeight()) - (_co.pointLineHeight() * _co.data.items[_v.parent.context.$implicit].values[1])); var currVal_1 = (10 + ((_co.insightContentWidth / 6) * (_v.parent.context.$implicit + 1))); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_InsightBookedHoursComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_12)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.data.items && (_co.data.items.length > _v.context.$implicit)) && (_co.data.items[_v.context.$implicit].values.length > 1)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InsightBookedHoursComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 22, \":svg:svg\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 5, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightBookedHoursComponent_2)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(4, 5), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_3)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(7, 0, null, null, 2, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_4)), i2.ɵdid(9, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(10, 0, null, null, 12, \":svg:g\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightBookedHoursComponent_5)), i2.ɵdid(12, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(13, 4), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightBookedHoursComponent_7)), i2.ɵdid(15, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(16, 5), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightBookedHoursComponent_9)), i2.ɵdid(18, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(19, 4), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_InsightBookedHoursComponent_11)), i2.ɵdid(21, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpad(22, 5)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 4, 0, 0, 1, 2, 3, 4); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.data.axis.y; _ck(_v, 6, 0, currVal_1); var currVal_2 = _co.data.items; _ck(_v, 9, 0, currVal_2); var currVal_3 = _ck(_v, 13, 0, 1, 2, 3, 4); _ck(_v, 12, 0, currVal_3); var currVal_4 = _ck(_v, 16, 0, 0, 1, 2, 3, 4); _ck(_v, 15, 0, currVal_4); var currVal_5 = _ck(_v, 19, 0, 1, 2, 3, 4); _ck(_v, 18, 0, currVal_5); var currVal_6 = _ck(_v, 22, 0, 0, 1, 2, 3, 4); _ck(_v, 21, 0, currVal_6); }, null); }\nfunction View_InsightBookedHoursComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightBookedHoursComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightBookedHoursComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightBookedHoursComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-line\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_1)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_13)), i2.ɵdid(10, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_14)), i2.ɵdid(12, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBookedHoursComponent_15)), i2.ɵdid(14, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"loading\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"error\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"nodata\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightBookedHoursComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-booked-hours\", [], null, null, null, View_InsightBookedHoursComponent_0, RenderType_InsightBookedHoursComponent)), i2.ɵdid(1, 245760, null, 0, i6.InsightBookedHoursComponent, [i7.ResourceService, i8.InsightProvider, i9.InsightService, i10.LocalisationService, i11.Router, i12.AlertsService, i13.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightBookedHoursComponentNgFactory = i2.ɵccf(\"sym-insight-booked-hours\", i6.InsightBookedHoursComponent, View_InsightBookedHoursComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightBookedHoursComponentNgFactory as InsightBookedHoursComponentNgFactory };\n","/**\n * @file The Insight Available Hours component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../insight.service';\nimport { InsightTableComponent } from '../../insights/insight-table/insight-table.component';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nvar InsightAvailableHoursComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightAvailableHoursComponent, _super);\n /**\n * Constructs an InsightAvailableHoursComponent.\n * @param configurationsService A service that manages the configuration for components.\n * @param provider A provider that contains extra information such as configuration data.\n */\n function InsightAvailableHoursComponent(resourceService, provider, insightService, localisationService, router, domainService, translateService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.translateService = translateService;\n _this.alertsService = alertsService;\n /**\n * Contains the date of horizon within the view.\n * @private\n */\n _this.horizonDate = moment().startOf('day');\n _this.makeHorizonDateListener(_this.subscriptionPool, router, function (value) {\n _this.horizonDate = value;\n // Ik laat eerst het hoofd scherm refreshen wat dat moet snel.\n // Dus tussen door even niet dit ook refreshen\n // ...even wachten dus.\n window.setTimeout(function () {\n _this.refresh();\n }, 2000);\n });\n _this.makeEntityChangedListener(_this.subscriptionPool, domainService, function (data) {\n if (data.entity.entityType.shortName === 'Availability') {\n _this.refresh();\n }\n });\n return _this;\n }\n Object.defineProperty(InsightAvailableHoursComponent.prototype, \"start\", {\n /**\n * Gets the start of week with respect to startTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var start = moment(this.horizonDate.toDate()).startOf('isoWeek');\n start.add(this.startOffset, 'week');\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightAvailableHoursComponent.prototype, \"finish\", {\n /**\n * Gets finish of week with respect to endTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var date = moment(this.horizonDate.toDate()).endOf('isoWeek');\n date.add(this.finishOffset, 'week');\n var finish = date.toDate();\n if (finish > this.publishedTill) {\n finish = this.publishedTill;\n }\n return finish;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightAvailableHoursComponent.prototype, \"startOffset\", {\n /**\n * Gets the offset of the start in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n // Get the offset from the configuration\n if (this.configuration && this.configuration.data && this.configuration.data.startTimeOffset) {\n offset = this.configuration.data.startTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightAvailableHoursComponent.prototype, \"finishOffset\", {\n /**\n * Gets the offset of the finish in weeks relative to the horizon date.\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n // Get the offset from the configuration\n if (this.configuration && this.configuration.data && this.configuration.data.endTimeOffset) {\n offset = this.configuration.data.endTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Register component by the insight provider\n */\n InsightAvailableHoursComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightAvailableHoursComponent', InsightAvailableHoursComponent);\n };\n /** Handle for the after items loaded event */\n InsightAvailableHoursComponent.prototype.afterItemsLoaded = function () {\n var _this = this;\n var weeks = [];\n var weekStart = moment(this.start);\n var weekFinish = moment(this.start);\n weekFinish.endOf('isoWeek');\n weeks.push({\n value: 0,\n start: weekStart.toDate(),\n finish: weekFinish.toDate()\n });\n var until = this.finish;\n weekStart.add(1, 'week');\n weekFinish.add(1, 'week');\n while (weekFinish.isBefore(until) || weekFinish.isSame(until)) {\n weeks.push({\n value: 0,\n start: weekStart.toDate(),\n finish: weekFinish.toDate()\n });\n weekStart.add(1, 'week');\n weekFinish.add(1, 'week');\n }\n // Je zou kunnen overwegen dit server side te doen. (Performance?)\n // Maar nu laat je de presentatie logica van de ruwe cijfers over aan de voorkant.\n // Hierdoor meer hergebruik van achterkant meer waarschijnlijk.\n weeks.forEach(function (week) {\n _this.loadedItems.find(function (item) {\n var strt = item['minimum'];\n if (week.finish <= strt) {\n // Stop met zoeken dit item is al voorbij de week\n return true;\n }\n var fnsh = item['maximum'];\n if (fnsh <= week.start) {\n // Je bent er nog niet je moet een item verder\n return false;\n }\n if (strt < week.start) {\n // Alleen overlap met week\n strt = week.start;\n }\n if (fnsh > week.finish) {\n // Alleen overlap met week.\n fnsh = week.finish;\n }\n // Volgens mijn ondersteund het model ook maxload <> duration\n // Wordt zelden gebruikt kies hier voor maxload = duration.\n var duration = moment(fnsh).diff(strt, 'milliseconds');\n week.value += duration;\n return false;\n });\n });\n var contract = moment.duration(this.resourceService.resource['ContractHours']).asMinutes();\n // Start with an empty items array\n var items = [];\n // Pre-define x-axis: today and the four days after\n for (var week = 0; week < weeks.length; week += 1) {\n var value = moment.duration(weeks[week].value, 'milliseconds').asMinutes();\n items.push({\n name: this.getAxisLabel(weeks[week].start, contract, value),\n value: this.toDuration(value)\n });\n }\n this.setData(items);\n };\n /**\n * Returns a label for the x-axis based on the date it represents.\n * @param date The date from which a string is derived.\n * @returns The date relative to today, plus day and month.\n */\n InsightAvailableHoursComponent.prototype.getAxisLabel = function (start, contract, value) {\n var date = moment(start);\n var isOK = ' (' + (contract <= value ? this.translateService.instant('APP.INSIGHTS.OK') : this.toDuration(contract)) + ')';\n return this.relativeWeek(date) + isOK;\n };\n /**\n * Returns a string representing the week relative to this week.\n * @param {moment.Moment} date The date from which a string is derived.\n * @returns {string} The week relative to this week.\n */\n InsightAvailableHoursComponent.prototype.relativeWeek = function (date) {\n switch (date.clone().startOf('week').diff(moment().startOf('week'), 'week')) {\n case -1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.LAST_WEEK');\n case 0:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.THIS_WEEK');\n case 1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.NEXT_WEEK');\n default:\n return this.translateService.instant('APP.INSIGHTS.WEEK') + ' ' + date.isoWeek();\n }\n };\n /**\n * Returns a string representing the date relative to today.\n * @param {moment.Moment} date The date from which a string is derived.\n * @returns {string} The day relative to today.\n */\n InsightAvailableHoursComponent.prototype.relativeDay = function (date) {\n switch (date.diff(moment().startOf('day'), 'day')) {\n case -1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.YESTERDAY');\n case 0:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.TODAY');\n case 1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.TOMORROW');\n default:\n return date.format('L');\n }\n };\n return InsightAvailableHoursComponent;\n}(InsightTableComponent));\nexport { InsightAvailableHoursComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Insight Available Hours component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-table/insight-table.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-available-hours.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"@angular/router\";\nimport * as i11 from \"../../domain.service\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../core/event.service\";\nvar styles_InsightAvailableHoursComponent = [i0.styles, i1.styles];\nvar RenderType_InsightAvailableHoursComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightAvailableHoursComponent, data: {} });\nexport { RenderType_InsightAvailableHoursComponent as RenderType_InsightAvailableHoursComponent };\nfunction View_InsightAvailableHoursComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.value; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InsightAvailableHoursComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightAvailableHoursComponent_2)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_InsightAvailableHoursComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightAvailableHoursComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightAvailableHoursComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightAvailableHoursComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightAvailableHoursComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightAvailableHoursComponent_3)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightAvailableHoursComponent_4)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightAvailableHoursComponent_5)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.inState(\"ready\") && _co.data.items); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightAvailableHoursComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-available-hours\", [], null, null, null, View_InsightAvailableHoursComponent_0, RenderType_InsightAvailableHoursComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightAvailableHoursComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.Router, i11.DomainService, i4.TranslateService, i12.AlertsService, i13.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightAvailableHoursComponentNgFactory = i2.ɵccf(\"sym-insight-available-hours\", i5.InsightAvailableHoursComponent, View_InsightAvailableHoursComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightAvailableHoursComponentNgFactory as InsightAvailableHoursComponentNgFactory };\n","/**\n * @file An insight (for gemeente Breda) to show contract and planned hours\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnDestroy } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityQuery } from 'breeze-client';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { InsightService } from '../insight.service';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightTableComponent } from '../insight-table/insight-table.component';\nimport { durationToText } from '../../core/helpers/durationToText';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * An insight (for gemeente Breda) to show contract and planned hours\n */\nvar InsightContractPlannedComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightContractPlannedComponent, _super);\n /**\n * Creates an instance of InsightContractPlannedComponent\n */\n function InsightContractPlannedComponent(resourceService, provider, insightService, localisationService, router, domainService, translateService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.domainService = domainService;\n _this.translateService = translateService;\n _this.alertsService = alertsService;\n /**\n * Contains the date of horizon within the view\n * @private\n */\n _this.horizonDate = moment().startOf('day');\n _this.makeHorizonDateListener(_this.subscriptionPool, router, function (value) {\n _this.horizonDate = value;\n _this.refresh();\n });\n return _this;\n }\n /**\n * Register component by the insight provider\n */\n InsightContractPlannedComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightContractPlannedComponent', InsightContractPlannedComponent);\n };\n Object.defineProperty(InsightContractPlannedComponent.prototype, \"start\", {\n /**\n * Gets the start of week with respect to startTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var start = this.horizonDate.clone().startOf('isoWeek');\n start.add(this.startOffset, 'days');\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightContractPlannedComponent.prototype, \"finish\", {\n /**\n * Gets finish of week with respect to endTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var date = this.horizonDate.clone().startOf('isoWeek');\n date.add(this.finishOffset, 'days');\n var finish = date.toDate();\n if (finish > this.publishedTill) {\n finish = this.publishedTill;\n }\n return finish;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightContractPlannedComponent.prototype, \"startOffset\", {\n /**\n * Gets the offset of the start in weeks relative to the horizon date\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n // Get the offset from the configuration\n if (this.configuration && this.configuration.data && this.configuration.data.startTimeOffset) {\n offset = this.configuration.data.startTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightContractPlannedComponent.prototype, \"finishOffset\", {\n /**\n * Gets the offset of the finish in weeks relative to the horizon date\n * @readonly\n * @private\n * @type {number}\n */\n get: function () {\n var offset = 0;\n // Get the offset from the configuration\n if (this.configuration && this.configuration.data && this.configuration.data.endTimeOffset) {\n offset = this.configuration.data.endTimeOffset;\n }\n return offset;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called when the component is destroyed\n */\n InsightContractPlannedComponent.prototype.ngOnDestroy = function () {\n this.subscriptionPool.unsubscribeAll();\n this.subscriptionPool = null;\n };\n /**\n * Is called after the configuration is loaded\n */\n InsightContractPlannedComponent.prototype.afterInitialize = function () {\n var _this = this;\n _super.prototype.afterInitialize.call(this);\n // currentUser.Resource.City.Name is 'Flex' of 'Vast'. Aan de hand daarvan bepalen of afwezigheden ook meetellen in het contract of niet.\n var resourceCityQuery = EntityQuery.from('ResourceItems').expand('City').where('Oid', '==', this.resourceService.getResourceOid());\n this.domainService.entityManager.executeQuery(resourceCityQuery).then(function (response) {\n // Untested; there are no 'Flex' cases on development....\n if (response && response['results'] && response['results'][0] && response['results'][0]['City'] && response['results'][0]['City']['Name']) {\n _this.flexible = (response['results'][0]['City']['Name'] === 'Flex');\n }\n else {\n _this.flexible = false;\n }\n _this.makeEntityChangedListener(_this.subscriptionPool, _this.domainService, function (data) {\n if (data.entity.entityType.shortName === 'Assignment' || (!_this.flexible && data.entity.entityType.shortName === 'Appointment')) {\n _this.refresh();\n }\n });\n _this.refresh();\n });\n // });\n };\n /**\n * Sets up the items in the insight table\n */\n InsightContractPlannedComponent.prototype.afterItemsLoaded = function () {\n if (!this.resourceService.getResourceOid()) { // TODO: not needed anymore?\n return;\n }\n var items = [];\n var weekHoursValue = '?';\n if (this.loadedItems.length > 0) {\n var item = this.loadedItems[0];\n for (var index = 1; index < this.loadedItems.length; index++) {\n if (moment(this.loadedItems[index]['date']).isAfter(moment(item['date']))) {\n item = this.loadedItems[index];\n }\n }\n weekHoursValue = item['value'] + ' ' + this.translateService.instant('APP.INSIGHTS.HOURS_PER_WEEK');\n }\n items.push({\n name: this.translateService.instant('APP.MISC.RESOURCE.CONTRACT'),\n value: weekHoursValue\n });\n items.push({\n name: this.relativeWeek(this.horizonDate),\n value: ''\n }, {\n name: this.relativeDay(this.horizonDate),\n value: ''\n });\n var include = 'Assignments !PROBABILITY[29..31]';\n if (!this.flexible) {\n include += ' Appointments';\n }\n var weekQuery = EntityQuery.from('TaskList').expand('Item');\n weekQuery.parameters = {\n className: 'Resource',\n oid: this.resourceService.getResourceOid(),\n start: this.horizonDate.clone().startOf('week'),\n finish: this.horizonDate.clone().endOf('week'),\n include: include\n };\n this.domainService.entityManager.executeQuery(weekQuery).then(function (result) {\n var effort = moment.duration(0);\n result.results.forEach(function (entity) {\n if (entity['Item']['Effort']) {\n effort.add(entity['Item']['Effort']);\n }\n });\n items[1]['value'] = durationToText(effort);\n });\n var dayQuery = EntityQuery.from('TaskList').expand('Item');\n dayQuery.parameters = {\n className: 'Resource',\n oid: this.resourceService.getResourceOid(),\n start: this.horizonDate.clone().startOf('day'),\n finish: this.horizonDate.clone().endOf('day'),\n include: include\n };\n this.domainService.entityManager.executeQuery(dayQuery).then(function (result) {\n var effort = moment.duration(0);\n result.results.forEach(function (entity) {\n if (entity['Item']['Effort']) {\n effort.add(entity['Item']['Effort']);\n }\n });\n items[2]['value'] = durationToText(effort);\n });\n this.setData(items);\n };\n /**\n * Returns a string representing the week relative to this week\n * @param {moment.Moment} date The date from which a string is derived\n * @returns {string} The week relative to this week\n */\n InsightContractPlannedComponent.prototype.relativeWeek = function (date) {\n switch (date.clone().startOf('week').diff(moment().startOf('week'), 'week')) {\n case -1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.LAST_WEEK');\n case 0:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.THIS_WEEK');\n case 1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.NEXT_WEEK');\n default:\n return this.translateService.instant('APP.INSIGHTS.WEEK') + ' ' + date.isoWeek();\n }\n };\n /**\n * Returns a string representing the date relative to today\n * @param {moment.Moment} date The date from which a string is derived\n * @returns {string} The day relative to today.\n */\n InsightContractPlannedComponent.prototype.relativeDay = function (date) {\n switch (date.diff(moment().startOf('day'), 'day')) {\n case -1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.YESTERDAY');\n case 0:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.TODAY');\n case 1:\n return this.translateService.instant('APP.INSIGHTS.FOOTER.TOMORROW');\n default:\n return date.format('L');\n }\n };\n return InsightContractPlannedComponent;\n}(InsightTableComponent));\nexport { InsightContractPlannedComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file An insight (for gemeente Breda) to show contract and planned hours\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-table/insight-table.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-contract-planned.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"@angular/router\";\nimport * as i11 from \"../../domain.service\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../core/event.service\";\nvar styles_InsightContractPlannedComponent = [i0.styles, i1.styles];\nvar RenderType_InsightContractPlannedComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightContractPlannedComponent, data: {} });\nexport { RenderType_InsightContractPlannedComponent as RenderType_InsightContractPlannedComponent };\nfunction View_InsightContractPlannedComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.value; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InsightContractPlannedComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightContractPlannedComponent_2)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_InsightContractPlannedComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightContractPlannedComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightContractPlannedComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightContractPlannedComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightContractPlannedComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightContractPlannedComponent_3)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightContractPlannedComponent_4)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightContractPlannedComponent_5)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.inState(\"ready\") && _co.data.items); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightContractPlannedComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-contract-planned\", [], null, null, null, View_InsightContractPlannedComponent_0, RenderType_InsightContractPlannedComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightContractPlannedComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.Router, i11.DomainService, i4.TranslateService, i12.AlertsService, i13.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightContractPlannedComponentNgFactory = i2.ɵccf(\"sym-insight-contract-planned\", i5.InsightContractPlannedComponent, View_InsightContractPlannedComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightContractPlannedComponentNgFactory as InsightContractPlannedComponentNgFactory };\n","/**\n * @file The realization insight\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { InsightService } from '../insight.service';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightTextComponent } from '../insight-text/insight-text.component';\nimport { durationToText } from '../../core/helpers/durationToText';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\n/**\n * Displays the number of hours booked during the displayed period.\n * @export\n * @class InsightRealizationComponent\n * @extends {InsightTextComponent}\n * @implements {OnDestroy}\n */\nvar InsightRealizationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightRealizationComponent, _super);\n /**\n * Creates an instance of InsightRealizationComponent.\n * @param {configurationsService} configurationsService The configuration service.\n * @param {InsightProvider} provider Provides the data to be displayed.\n * @param {InsightService} insightService The insight service is used to gather data.\n * @param {LocalisationService} localisationService The localisation service.\n * @memberOf InsightRealizationComponent\n */\n function InsightRealizationComponent(translateService, resourceService, provider, insightService, localisationService, router, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.translateService = translateService;\n _this.localisationService = localisationService;\n _this.alertsService = alertsService;\n /**\n * Contains the date of horizon within the view.\n * @private\n */\n _this.horizonDate = moment().startOf('day');\n _this.horizonLevel = 'week';\n _this.horizonOffset = 'week';\n _this.makeHorizonDateListener(_this.subscriptionPool, router, function (date, level) {\n _this.horizonDate = date;\n _this.horizonLevel = level === 'week' ? 'isoWeek' : level;\n _this.horizonOffset = level;\n _this.refresh();\n });\n return _this;\n }\n Object.defineProperty(InsightRealizationComponent.prototype, \"start\", {\n /**\n * Gets the start of week with respect to startTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var start = this.horizonDate.clone().startOf(this.horizonLevel);\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightRealizationComponent.prototype, \"finish\", {\n /**\n * Gets finish of week with respect to endTimeOffset in weeks\n * @readonly\n * @type {Date}\n */\n get: function () {\n var date = this.horizonDate.clone().startOf(this.horizonLevel);\n date.add(1, this.horizonOffset);\n var finish = date.toDate();\n if (finish > this.publishedTill) {\n finish = this.publishedTill;\n }\n return finish;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Register component by the insight provider.\n * @static\n * @memberOf InsightRealizationComponent\n */\n InsightRealizationComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightRealizationComponent', InsightRealizationComponent);\n };\n /**\n * Updates the insight footer.\n * @memberOf InsightRealizationComponent\n */\n InsightRealizationComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var start, finish;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, _super.prototype.refresh.call(this)];\n case 1:\n _a.sent();\n start = this.horizonDate.clone().startOf(this.horizonLevel);\n finish = start.clone();\n finish.add(1, this.horizonOffset).subtract(1, 'day');\n this.data['footerKey'] = start.format(this.localisationService.dayMonth.format);\n if (!start.isSame(finish)) {\n this.data['footerKey'] += ' - ' + finish.format(this.localisationService.dayMonth.format);\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Sets the number of booked hours.\n * @memberOf InsightRealizationComponent\n */\n InsightRealizationComponent.prototype.afterItemsLoaded = function () {\n if (!this.loadedItems || this.loadedItems[0]['value'] == null) {\n return;\n }\n var text = this.translateService.instant('APP.INSIGHTS.REALIZATION_START')\n + durationToText(moment.duration(this.loadedItems[0]['value']))\n + this.translateService.instant('APP.INSIGHTS.REALIZATION_END');\n this.setData('realization', text);\n };\n return InsightRealizationComponent;\n}(InsightTextComponent));\nexport { InsightRealizationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The realization insight\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-text/insight-text.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-realization.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"@angular/router\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/event.service\";\nvar styles_InsightRealizationComponent = [i0.styles, i1.styles];\nvar RenderType_InsightRealizationComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightRealizationComponent, data: {} });\nexport { RenderType_InsightRealizationComponent as RenderType_InsightRealizationComponent };\nfunction View_InsightRealizationComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-icon-box\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"icon sym-icon-\", _co.data.icon, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InsightRealizationComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-text-box\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"small\", [[\"style\", \"text-overflow: ellipsis\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.text; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightRealizationComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightRealizationComponent_2)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightRealizationComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.icon; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.data.text; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InsightRealizationComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightRealizationComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightRealizationComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightRealizationComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightRealizationComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightRealizationComponent_4)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightRealizationComponent_5)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightRealizationComponent_6)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightRealizationComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-realization\", [], null, null, null, View_InsightRealizationComponent_0, RenderType_InsightRealizationComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightRealizationComponent, [i4.TranslateService, i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.Router, i11.AlertsService, i12.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightRealizationComponentNgFactory = i2.ɵccf(\"sym-insight-realization\", i5.InsightRealizationComponent, View_InsightRealizationComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightRealizationComponentNgFactory as InsightRealizationComponentNgFactory };\n","/**\n * @file The Insight Leave component\n * @author Maarten Lensink\n*/\nimport * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { ResourceService } from '../../resource.service';\nimport { addZero } from '../../base/helpers/addZero';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../insight.service';\nimport { InsightTableComponent } from '../insight-table/insight-table.component';\nimport { EntityQuery } from 'breeze-client';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nvar InsightLeaveComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightLeaveComponent, _super);\n /**\n * Creates an instance of InsightLeaveComponent.\n * @param {ResourceService} resourceService\n * @param {InsightProvider} provider\n * @param {InsightService} insightService\n * @param {LocalisationService} localisationService\n * @param {Router} router\n * @param {DomainService} domainService\n * @memberOf InsightLeaveComponent\n */\n function InsightLeaveComponent(resourceService, provider, insightService, localisationService, router, domainService, translateService, alertsService, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.translateService = translateService;\n _this.alertsService = alertsService;\n /**\n * The horizon date.\n * @protected\n * @memberOf InsightLeaveComponent\n */\n _this.horizonDate = moment().startOf('day');\n _this.makeHorizonDateListener(_this.subscriptionPool, router, function (value) {\n _this.horizonDate = value;\n // Allow main view to refresh first. Insights are of lesser importance.\n window.setTimeout(function () {\n _this.refresh();\n }, 2000);\n });\n _this.makeEntityChangedListener(_this.subscriptionPool, domainService, function (data) {\n if (data.entity.entityType.shortName === 'Appointment') {\n _this.refresh();\n }\n });\n return _this;\n }\n Object.defineProperty(InsightLeaveComponent.prototype, \"start\", {\n /**\n * Returns the start of the horizon year.\n * @readonly\n * @type {Date}\n * @memberOf InsightLeaveComponent\n */\n get: function () {\n var start = this.horizonDate.clone().startOf('year');\n return start.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightLeaveComponent.prototype, \"finish\", {\n /**\n * Returns the end of the horizon year.\n * @readonly\n * @type {Date}\n * @memberOf InsightLeaveComponent\n */\n get: function () {\n var finish = this.horizonDate.clone().endOf('year');\n return finish.toDate();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Registers the insight component.\n * @static\n * @memberOf InsightLeaveComponent\n */\n InsightLeaveComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightLeaveComponent', InsightLeaveComponent);\n };\n /**\n * Displays the loaded data.\n * @memberOf InsightLeaveComponent\n */\n InsightLeaveComponent.prototype.afterItemsLoaded = function () {\n var _this = this;\n this.data.footerKey = this.horizonDate.year().toString();\n var used = moment.duration();\n this.loadedItems.forEach(function (item) {\n // For some reason item.value is a string.\n var value = Number.parseFloat(item['value']);\n used.add(value, 'hours');\n });\n var query = new EntityQuery('InsightSingleValueDouble');\n query.parameters = {\n oid: this.resourceService.getResourceOid(),\n table: 'Resources',\n property: 'UDF_Verlofuren'\n };\n this.insightService.entityManager.executeQuery(query).then(function (response) {\n // The result set is an array of numbers (with one element), but Breeze expects Entity objects.\n var value = response.results[0];\n var total = moment.duration(value, 'hours');\n _this.setData([{\n name: _this.translateService.instant('APP.INSIGHTS.LEAVE_HOURS'),\n value: _this.durationToString(total)\n }, {\n name: _this.translateService.instant('APP.INSIGHTS.LEAVE_TAKEN'),\n value: _this.durationToString(used)\n }, {\n name: _this.translateService.instant('APP.INSIGHTS.BALANCE'),\n value: _this.durationToString(total.subtract(used))\n }]);\n });\n };\n /**\n * Returns the string representation of a duration.\n * @private\n * @param {moment.Duration} value The calculated duration\n * @returns {string} The hours and minutes as string\n * @memberOf InsightLeaveComponent\n */\n InsightLeaveComponent.prototype.durationToString = function (value) {\n var hours = Math.floor(value.asHours());\n var result = hours + ':' + addZero(value.minutes());\n return result;\n };\n return InsightLeaveComponent;\n}(InsightTableComponent));\nexport { InsightLeaveComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Insight Leave component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-table/insight-table.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-leave.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"@angular/router\";\nimport * as i11 from \"../../domain.service\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../core/event.service\";\nvar styles_InsightLeaveComponent = [i0.styles, i1.styles];\nvar RenderType_InsightLeaveComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightLeaveComponent, data: {} });\nexport { RenderType_InsightLeaveComponent as RenderType_InsightLeaveComponent };\nfunction View_InsightLeaveComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.value; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_InsightLeaveComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightLeaveComponent_2)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.items; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_InsightLeaveComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightLeaveComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightLeaveComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightLeaveComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-table\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightLeaveComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightLeaveComponent_3)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightLeaveComponent_4)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightLeaveComponent_5)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.inState(\"ready\") && _co.data.items); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightLeaveComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-leave\", [], null, null, null, View_InsightLeaveComponent_0, RenderType_InsightLeaveComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightLeaveComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.Router, i11.DomainService, i4.TranslateService, i12.AlertsService, i13.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightLeaveComponentNgFactory = i2.ɵccf(\"sym-insight-leave\", i5.InsightLeaveComponent, View_InsightLeaveComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightLeaveComponentNgFactory as InsightLeaveComponentNgFactory };\n","/**\n * @file Insight to display billable hours.\n * @author Maarten Lensink\n * @customer Rembrandthuis\n * @issue 3644\n */\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { ResourceService } from '../../resource.service';\nimport { RoutesService } from '../../routes.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { addZero } from '../../base/helpers/addZero';\nimport { InsightTextComponent } from '../insight-text/insight-text.component';\nimport { InsightProvider } from '../insight-provider';\nimport { InsightService } from '../insight.service';\nimport { Router, NavigationEnd } from '@angular/router';\nimport { EventsService } from '../../core/event.service';\n/**\n * The insight displays the billable hours based on the actual spent times.\n * @export\n * @class InsightBillableHoursComponent\n * @extends {InsightTextComponent}\n */\nvar InsightBillableHoursComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InsightBillableHoursComponent, _super);\n /**\n * Creates an instance of InsightBillableHoursComponent.\n * @param {ResourceService} resourceService\n * @param {InsightProvider} provider\n * @param {InsightService} insightService\n * @param {LocalisationService} localisationService\n * @param {ActivatedRoute} route is used to obtain the assignment key.\n * @memberOf InsightBillableHoursComponent\n */\n function InsightBillableHoursComponent(resourceService, provider, insightService, localisationService, alertsService, domainService, translateService, router, eventsService) {\n var _this = _super.call(this, resourceService, provider, insightService, localisationService, alertsService, eventsService) || this;\n _this.domainService = domainService;\n _this.translateService = translateService;\n _this.router = router;\n /**\n * The factor is multiplied with the actual spent times.\n * @private\n * @memberOf InsightBillableHoursComponent\n */\n _this.billableFactor = 1.25;\n /**\n * The assignment key.\n * @private\n * @memberOf InsightBillableHoursComponent\n */\n _this._entityKey = null;\n _this.subscriptionPool.add(_this.router.events.subscribe(function (event) {\n if (event instanceof NavigationEnd) {\n _this.afterInitialize();\n }\n }));\n return _this;\n }\n Object.defineProperty(InsightBillableHoursComponent.prototype, \"assignmentKey\", {\n /**\n * The query parameter for the view contains the key of the assignment.\n * The parameter is not used if the entity is a SpendTime.\n * @memberOf InsightBillableHoursComponent\n */\n get: function () {\n return this._entityKey;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightBillableHoursComponent.prototype, \"start\", {\n /**\n * The query parameter for the view needs to not exclude the assignment and is therefore safely early.\n * @memberOf InsightBillableHoursComponent\n */\n get: function () {\n return new Date(0);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InsightBillableHoursComponent.prototype, \"finish\", {\n /**\n * The query parameter for the view needs to not exclude the assignment and is therefore safely late.\n * @memberOf InsightBillableHoursComponent\n */\n get: function () {\n return new Date(2099, 12, 31, 23, 59, 59);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Registers the component.\n * @static\n * @memberOf InsightBillableHoursComponent\n */\n InsightBillableHoursComponent.register = function () {\n ComponentRegistry.register('insight', 'InsightBillableHoursComponent', InsightBillableHoursComponent);\n };\n /**\n * Retrieves the assignment key from the URI and obtains the entity.\n * @memberOf InsightBillableHoursComponent\n */\n InsightBillableHoursComponent.prototype.afterInitialize = function () {\n var _this = this;\n this._entityKey = RoutesService.getDetailId(this.router.routerState);\n if (!this._entityKey) {\n return;\n }\n // Checking if the ID in the URL contains more than the OID.\n var index = this._entityKey.indexOf('_');\n if (index > 0) {\n this._entityKey = this._entityKey.slice(0, index);\n }\n var className = DomainService.oidToClassName(this._entityKey);\n if (className === 'SpendTime') {\n // Back-end call not necessary. The information is on the SpendTime itself.\n var entityType = this.domainService.getEntityType('SpendTime');\n // Async/await does not work, not even in a separate method. So the subscription pool is still necessary.\n this.subscriptionPool.add(this.domainService.getEntityByKey(entityType, this._entityKey, true).subscribe(function (spendTime) {\n _this.setBillableValue(moment.duration(spendTime['Effort']).asHours());\n }));\n }\n else {\n _super.prototype.afterInitialize.call(this);\n this.domainService.commitFinishedEvent.subscribe(function (result) {\n result.entities.forEach(function (entity) {\n if (entity.entityType.shortName === 'SpendTime') {\n _this.refresh();\n }\n });\n }).unsubscribe();\n }\n };\n /**\n * Displays the billable hours.\n * @memberOf InsightBillableHoursComponent\n */\n InsightBillableHoursComponent.prototype.afterItemsLoaded = function () {\n var hours = this.loadedItems.length === 0 ? 0 : this.loadedItems[0]['value'];\n this.setBillableValue(hours);\n };\n /**\n * Sets the displayed value.\n * @private\n * @param {number} hours The parameter is multiplied by the billable factor.\n * @memberOf InsightBillableHoursComponent\n */\n InsightBillableHoursComponent.prototype.setBillableValue = function (hours) {\n var spent = moment.duration(this.billableFactor * hours, 'hours');\n var displayValue = this.translateService.instant('APP.INSIGHTS.BILLABLE.CONTENT', { hours: spent.hours() + \":\" + addZero(spent.minutes()) });\n this.setData('time', displayValue);\n };\n return InsightBillableHoursComponent;\n}(InsightTextComponent));\nexport { InsightBillableHoursComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Insight to display billable hours.\n * @author Maarten Lensink\n * @customer Rembrandthuis\n * @issue 3644\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../insight-base/insight-base.scss.shim.ngstyle\";\nimport * as i1 from \"../insight-text/insight-text.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./insight-billable-hours.component\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../insight-provider\";\nimport * as i8 from \"../insight.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../domain.service\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"../../core/event.service\";\nvar styles_InsightBillableHoursComponent = [i0.styles, i1.styles];\nvar RenderType_InsightBillableHoursComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InsightBillableHoursComponent, data: {} });\nexport { RenderType_InsightBillableHoursComponent as RenderType_InsightBillableHoursComponent };\nfunction View_InsightBillableHoursComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-icon-box\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"icon sym-icon-\", _co.data.icon, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InsightBillableHoursComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-text-box\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"small\", [[\"style\", \"text-overflow: ellipsis\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.text; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightBillableHoursComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBillableHoursComponent_2)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBillableHoursComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.data.icon; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.data.text; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InsightBillableHoursComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.NO_DATA\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InsightBillableHoursComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cog icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightBillableHoursComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-content-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INSIGHTS.ERROR\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InsightBillableHoursComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-insight sym-insight-text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-insight-header text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-insight-block\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBillableHoursComponent_1)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBillableHoursComponent_4)), i2.ɵdid(10, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBillableHoursComponent_5)), i2.ɵdid(12, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InsightBillableHoursComponent_6)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"sym-insight-footer text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(17, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inState(\"ready\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.inState(\"nodata\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.inState(\"loading\"); _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.inState(\"error\"); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.data.headerKey)); _ck(_v, 4, 0, currVal_0); var currVal_5 = i2.ɵunv(_v, 17, 0, i2.ɵnov(_v, 18).transform(_co.data.footerKey)); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_InsightBillableHoursComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-insight-billable-hours\", [], null, null, null, View_InsightBillableHoursComponent_0, RenderType_InsightBillableHoursComponent)), i2.ɵdid(1, 245760, null, 0, i5.InsightBillableHoursComponent, [i6.ResourceService, i7.InsightProvider, i8.InsightService, i9.LocalisationService, i10.AlertsService, i11.DomainService, i4.TranslateService, i12.Router, i13.EventsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InsightBillableHoursComponentNgFactory = i2.ɵccf(\"sym-insight-billable-hours\", i5.InsightBillableHoursComponent, View_InsightBillableHoursComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightBillableHoursComponentNgFactory as InsightBillableHoursComponentNgFactory };\n","var OverlayProvider = /** @class */ (function () {\n function OverlayProvider(params, configuration) {\n this.action = null;\n this.entity = null;\n this.configuration = null;\n this.action = params.action || null;\n this.entity = params.entity || null;\n this.configuration = configuration;\n }\n return OverlayProvider;\n}());\nexport { OverlayProvider };\n","/**\n * @file The action component allows users to duplicate a shift or shift template to the same or the other\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { FormControl } from '@angular/forms';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DomainService } from '../../domain.service';\nimport { EntityQuery } from 'breeze-client';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nvar CopyShiftComponent = /** @class */ (function (_super) {\n tslib_1.__extends(CopyShiftComponent, _super);\n /**\n * Creates an instance of CopyShiftComponent.\n * @param {OverlayProvider} overlayProvider Contains the source shift (template)\n * @param {OverlayService} overlayService Can close the overlay\n * @param {AlertsService} alertsService Can show alerts\n * @param {DomainService} domainService Can save changes\n */\n function CopyShiftComponent(overlayProvider, overlayService, alertsService, domainService, translateService) {\n var _this = _super.call(this) || this;\n _this.overlayService = overlayService;\n _this.alertsService = alertsService;\n _this.domainService = domainService;\n _this.translateService = translateService;\n /**\n * The controls are necessary for the form to work\n */\n _this.templateControl = new FormControl();\n _this.dateControl = new FormControl();\n _this.resourcesControl = new FormControl();\n _this.nameControl = new FormControl();\n /**\n * The formates form the choices for the radio inputs\n */\n _this.templateFormat = [\n { value: false, labelKey: 'APP.MISC.SHIFT.#NEW' },\n { value: true, labelKey: 'APP.MISC.SHIFTTEMPLATE.#NEW' }\n ];\n _this.resourcesFormat = [\n { value: true, labelKey: 'APP.TEMPLATES.ALL' },\n { value: false, labelKey: 'APP.TEMPLATES.NONE' }\n ];\n /** Indicates whether the shift (template) is copied into a(nother) shift template */\n _this.copyToTemplate = false;\n /** Indicates whether the attendants' resources are copied */\n _this.copyResources = false;\n _this.provider = overlayProvider;\n return _this;\n }\n /**\n * Sets the resource to be displayed\n */\n CopyShiftComponent.prototype.ngOnInit = function () {\n var _this = this;\n var providerEntity = this.provider.entity;\n var dataSource = this.provider.configuration.data.dataSource;\n if (!providerEntity) {\n this.alertsService.createAlert('warning', 'APP.TEMPLATES.SHIFT_NOT_FOUND');\n return;\n }\n this.entity = providerEntity;\n if (!this.entity) {\n this.alertsService.createAlert('warning', 'APP.TEMPLATES.SHIFT_EXPECTED');\n }\n this.copyName = this.entity['Name'];\n this.newStart = this.entity['Start'];\n var query = new EntityQuery(dataSource);\n query.parameters = { oid: this.entity['Oid'] };\n this.domainService.entityManager.executeQuery(query).then(function (response) {\n var result = response.results[0];\n _this.resourcesFormat[0].labelKey = result['Resources'] + ' ' +\n _this.translateService.instant('APP.TEMPLATES.' + (result['Resources'] === '1' ? 'ENTITY' : 'ENTITIES'));\n });\n };\n /**\n * Duplicates the shift (template) into a(nother) shift (template)\n * @param {any} event The button that is pressed\n */\n CopyShiftComponent.prototype.duplicate = function (event) {\n var _this = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n var include = 'MANAGERS CUSTOMERS DEPARTMENTS DEPLOYMENTS ';\n if (this.copyResources) {\n include += 'RESOURCES ASSIGNMENTS ';\n }\n this.entity.copy(this.newStart, include.trim(), this.copyToTemplate, true);\n this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.TEMPLATES.COPIED_TO_SHIFT' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_UNSUCCESSFULLY');\n }\n }).subscribe(function (result) {\n var copyResult = result.entities.find(function (it) { return it['Origin'] === _this.entity['Oid']; });\n if (copyResult && copyResult['Value'] && copyResult['Value'].length === 1) {\n var entityCopy_1 = copyResult['Value'][0];\n entityCopy_1['Name'] = _this.copyName;\n _this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.TEMPLATES.COPIED_TO_SHIFT' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_UNSUCCESSFULLY');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.TEMPLATES.COPIED_TO_SHIFT' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_SUCCESSFULLY');\n }\n if ((entityCopy_1.entityType.shortName === 'ShiftTemplate') === _this.copyToTemplate) {\n _this.overlayService.closeOverlay('refreshList');\n }\n else {\n _this.overlayService.closeOverlay();\n }\n });\n }\n else {\n _this.alertsService.createAlert('warning', 'APP.TEMPLATES.COPIED_TO_SHIFT' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_UNSUCCESSFULLY');\n _this.overlayService.closeOverlay();\n }\n });\n };\n /**\n * Closes the overlay without saving\n */\n CopyShiftComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n return CopyShiftComponent;\n}(AbstractBase));\nexport { CopyShiftComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The action component allows users to duplicate a shift or shift template to the same or the other\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/inputs/input-radio/input-radio.component.ngfactory\";\nimport * as i5 from \"../../base/inputs/input-radio/input-radio.component\";\nimport * as i6 from \"../../base/inputs/input-string/input-string.component.ngfactory\";\nimport * as i7 from \"../../base/inputs/input-string/input-string.component\";\nimport * as i8 from \"../../base/inputs/input-datetime/input-datetime.component.ngfactory\";\nimport * as i9 from \"../../base/inputs/input-datetime/input-datetime.component\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"@angular/common\";\nimport * as i12 from \"./copy-shift.component\";\nimport * as i13 from \"../../ui/overlay-provider\";\nimport * as i14 from \"../../core/overlay.service\";\nimport * as i15 from \"../../core/alerts.service\";\nimport * as i16 from \"../../domain.service\";\nvar styles_CopyShiftComponent = [i0.styles];\nvar RenderType_CopyShiftComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CopyShiftComponent, data: {} });\nexport { RenderType_CopyShiftComponent as RenderType_CopyShiftComponent };\nfunction View_CopyShiftComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 56, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 40, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.ɵangular_packages_forms_forms_bh, [], null, null), i1.ɵdid(3, 4210688, null, 0, i2.NgForm, [[8, null], [8, null]], null, null), i1.ɵprd(2048, null, i2.ControlContainer, null, [i2.NgForm]), i1.ɵdid(5, 16384, null, 0, i2.NgControlStatusGroup, [[4, i2.ControlContainer]], null, null), (_l()(), i1.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \":\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyToTemplate = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_InputRadioComponent_0, i4.RenderType_InputRadioComponent)), i1.ɵdid(14, 180224, null, 0, i5.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"], inline: [5, \"inline\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(15, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \":\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(21, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyName = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(23, 180224, null, 0, i7.InputStringComponent, [], { readOnly: [0, \"readOnly\"], control: [1, \"control\"], value: [2, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(24, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(28, null, [\"\", \":\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(30, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 1, \"sym-input-datetime\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.newStart = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_InputDateTimeComponent_0, i8.RenderType_InputDateTimeComponent)), i1.ɵdid(32, 180224, null, 0, i9.InputDateTimeComponent, [i10.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(33, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(36, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(37, null, [\"\", \":\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(39, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(40, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyResources = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_InputRadioComponent_0, i4.RenderType_InputRadioComponent)), i1.ɵdid(41, 180224, null, 0, i5.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"], inline: [5, \"inline\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(42, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(44, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(45, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.duplicate($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(47, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-clone\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(48, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(49, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(51, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(53, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(54, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(55, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = true; var currVal_9 = false; var currVal_10 = _co.templateControl; var currVal_11 = _co.copyToTemplate; var currVal_12 = _co.templateFormat; var currVal_13 = true; _ck(_v, 14, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13); var currVal_15 = false; var currVal_16 = _co.nameControl; var currVal_17 = _co.copyName; _ck(_v, 23, 0, currVal_15, currVal_16, currVal_17); var currVal_19 = true; var currVal_20 = false; var currVal_21 = _co.dateControl; var currVal_22 = _co.newStart; _ck(_v, 32, 0, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_24 = true; var currVal_25 = false; var currVal_26 = _co.resourcesControl; var currVal_27 = _co.copyResources; var currVal_28 = _co.resourcesFormat; var currVal_29 = true; _ck(_v, 41, 0, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 5).ngClassValid; var currVal_5 = i1.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_7 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.TEMPLATES.TARGET\")); _ck(_v, 10, 0, currVal_7); var currVal_14 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.TEMPLATES.NAME_DUPLICATE\")); _ck(_v, 19, 0, currVal_14); var currVal_18 = i1.ɵunv(_v, 28, 0, i1.ɵnov(_v, 29).transform(\"APP.TEMPLATES.MOVE_TO\")); _ck(_v, 28, 0, currVal_18); var currVal_23 = i1.ɵunv(_v, 37, 0, i1.ɵnov(_v, 38).transform(\"APP.TEMPLATES.RESOURCES\")); _ck(_v, 37, 0, currVal_23); var currVal_30 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 45, 0, i1.ɵnov(_v, 46).transform(\"APP.TEMPLATES.DUPLICATE\")), \"\"); var currVal_31 = !_co.entity; _ck(_v, 45, 0, currVal_30, currVal_31); var currVal_32 = i1.ɵunv(_v, 49, 0, i1.ɵnov(_v, 50).transform(\"APP.TEMPLATES.DUPLICATE\")); _ck(_v, 49, 0, currVal_32); var currVal_33 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 51, 0, i1.ɵnov(_v, 52).transform(\"APP.TEMPLATES.CANCEL\")), \"\"); _ck(_v, 51, 0, currVal_33); var currVal_34 = i1.ɵunv(_v, 55, 0, i1.ɵnov(_v, 56).transform(\"APP.TEMPLATES.CANCEL\")); _ck(_v, 55, 0, currVal_34); }); }\nexport function View_CopyShiftComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_CopyShiftComponent_1)), i1.ɵdid(1, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entity; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_CopyShiftComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-copy-shift\", [], null, null, null, View_CopyShiftComponent_0, RenderType_CopyShiftComponent)), i1.ɵdid(1, 245760, null, 0, i12.CopyShiftComponent, [i13.OverlayProvider, i14.OverlayService, i15.AlertsService, i16.DomainService, i3.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar CopyShiftComponentNgFactory = i1.ɵccf(\"sym-copy-shift\", i12.CopyShiftComponent, View_CopyShiftComponent_Host_0, {}, {}, []);\nexport { CopyShiftComponentNgFactory as CopyShiftComponentNgFactory };\n","/**\n * @file Enumerator of what to do with the deployments when copying a task or task template\n * @author Maarten Lensink\n */\n/**\n * How to copy the deployments when copying a task or task template\n */\nexport var DeploymentCopyOptions;\n(function (DeploymentCopyOptions) {\n /**\n * The deployments are not included in the copy\n */\n DeploymentCopyOptions[DeploymentCopyOptions[\"None\"] = 0] = \"None\";\n /**\n * The deployments are included without resources\n */\n DeploymentCopyOptions[DeploymentCopyOptions[\"WithResources\"] = 1] = \"WithResources\";\n /**\n * The deployments are included, as well as their resources\n */\n DeploymentCopyOptions[DeploymentCopyOptions[\"WithoutResources\"] = 2] = \"WithoutResources\";\n})(DeploymentCopyOptions || (DeploymentCopyOptions = {}));\n","/**\n * @file The Copy Task component.\n * @author Maarten Lensink\n*/\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityQuery } from 'breeze-client';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DomainService } from '../../domain.service';\nimport { DeploymentCopyOptions } from './deployment-copy-options';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nvar CopyTaskComponent = /** @class */ (function (_super) {\n tslib_1.__extends(CopyTaskComponent, _super);\n /**\n * Creates an instance of CopyTaskComponent.\n * @param {OverlayProvider} overlayProvider Contains the source task (template)\n * @param {OverlayService} overlayService Can close the overlay\n * @param {AlertsService} alertsService Can show alerts\n * @param {DomainService} domainService Can save changes\n */\n function CopyTaskComponent(overlayProvider, overlayService, alertsService, domainService, translateService) {\n var _this = _super.call(this) || this;\n _this.overlayService = overlayService;\n _this.alertsService = alertsService;\n _this.domainService = domainService;\n _this.translateService = translateService;\n /** Indicates whether the task (template) is copied into a(nother) task template */\n _this._copyToTemplate = false;\n /** The controls are necessary for the form to work */\n _this.templateControl = new FormControl();\n _this.dateControl = new FormControl();\n _this.customersControl = new FormControl();\n _this.managersControl = new FormControl();\n _this.deploymentsControl = new FormControl();\n _this.assignmentsControl = new FormControl();\n _this.nameControl = new FormControl();\n /** The formates form the choices for the radio inputs */\n _this.templateFormat = [\n { value: false, labelKey: 'APP.MISC.TASK.#NEW' },\n { value: true, labelKey: 'APP.MISC.TASKTEMPLATE.#NEW' }\n ];\n _this.customersFormat = [\n { value: true, labelKey: 'APP.TEMPLATES.ALL' },\n { value: false, labelKey: 'APP.TEMPLATES.NONE' }\n ];\n _this.managersFormat = [\n { value: true, labelKey: 'APP.TEMPLATES.ALL' },\n { value: false, labelKey: 'APP.TEMPLATES.NONE' }\n ];\n _this.deploymentsFormat = [\n { value: DeploymentCopyOptions.WithResources, labelKey: 'APP.TEMPLATES.WITH_RESOURCES' },\n { value: DeploymentCopyOptions.WithoutResources, labelKey: 'APP.TEMPLATES.WITHOUT_RESOURCES' },\n { value: DeploymentCopyOptions.None, labelKey: 'APP.TEMPLATES.NONE' }\n ];\n _this.assignmentsFormat = [\n { value: true, labelKey: 'APP.TEMPLATES.ALL' },\n { value: false, labelKey: 'APP.TEMPLATES.NONE' }\n ];\n /** Indicates whether the customers are copied */\n _this.copyCustomers = true;\n /** Indicates whether the managers are copied */\n _this.copyManagers = true;\n /** Indicates whether the deployments are copied and, if so, whether that includes their resources */\n _this.copyDeployments = DeploymentCopyOptions.WithResources;\n /** Indicates whether the assignments are copied */\n _this.copyAssignments = true;\n _this.provider = overlayProvider;\n return _this;\n }\n Object.defineProperty(CopyTaskComponent.prototype, \"copyToTemplate\", {\n /**\n * Gets a value indicating whether the task (template) is copied into a(nother) task template\n * @type {boolean}\n */\n get: function () {\n return this._copyToTemplate;\n },\n /**\n * Sets a value indicating whether the task (template) is copied into a(nother) task template\n */\n set: function (value) {\n this._copyToTemplate = value;\n if (value) {\n this.copyAssignments = false;\n this.assignmentsControl.disable();\n }\n else {\n this.assignmentsControl.enable();\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the resource to be displayed\n */\n CopyTaskComponent.prototype.ngOnInit = function () {\n var _this = this;\n var providerEntity = this.provider.entity;\n var dataSource = this.provider.configuration.data.dataSource;\n if (!providerEntity) {\n this.alertsService.createAlert('warning', 'APP.TEMPLATES.TASK_NOT_FOUND');\n return;\n }\n this.entity = providerEntity;\n if (!this.entity) {\n this.alertsService.createAlert('warning', 'APP.TEMPLATES.TASK_EXPECTED');\n }\n if (this.entity.entityType.shortName === 'TaskTemplate') {\n this.copyAssignments = false;\n }\n this.copyName = this.entity['Name'];\n this.newStart = this.entity['Start'];\n var query = new EntityQuery(dataSource);\n query.parameters = { oid: this.entity['Oid'] };\n this.domainService.entityManager.executeQuery(query).then(function (response) {\n var result = response.results[0];\n _this.customersFormat[0].labelKey = result['Customers'] + ' ' +\n _this.translateService.instant('APP.TEMPLATES.' + (result['Customers'] === '1' ? 'ENTITY' : 'ENTITIES'));\n _this.managersFormat[0].labelKey = result['Managers'] + ' ' +\n _this.translateService.instant('APP.TEMPLATES.' + (result['Managers'] === '1' ? 'ENTITY' : 'ENTITIES'));\n _this.deploymentsFormat[0].labelKey = result['Deployments'] + ' ' +\n _this.translateService.instant('APP.TEMPLATES.' + (result['Deployments'] === '1' ? 'ENTITY' : 'ENTITIES')) + ' ' +\n _this.translateService.instant('APP.TEMPLATES.WITH_RESOURCES');\n _this.deploymentsFormat[1].labelKey = result['Deployments'] + ' ' +\n _this.translateService.instant('APP.TEMPLATES.' + (result['Deployments'] === '1' ? 'ENTITY' : 'ENTITIES')) + ' ' +\n _this.translateService.instant('APP.TEMPLATES.WITHOUT_RESOURCES');\n _this.assignmentsFormat[0].labelKey = result['Assignments'] + ' ' +\n _this.translateService.instant('APP.TEMPLATES.' + (result['Assignments'] === '1' ? 'ENTITY' : 'ENTITIES'));\n });\n };\n /**\n * Duplicates the task (template) into a(nother) task (template)\n * @param {any} event The button that is pressed\n */\n CopyTaskComponent.prototype.duplicate = function (event) {\n var _this = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n var include = 'DEPARTMENTS ';\n if (this.copyCustomers) {\n include += 'CUSTOMERS ';\n }\n if (this.copyManagers) {\n include += 'MANAGERS ';\n }\n if (this.copyDeployments === DeploymentCopyOptions.WithResources) {\n include += 'DEPLOYMENTS RESOURCES ';\n }\n else if (this.copyDeployments === DeploymentCopyOptions.WithoutResources) {\n include += 'DEPLOYMENTS ';\n }\n if (this.copyAssignments) {\n include += 'ASSIGNMENTS ';\n }\n this.entity.copy(this.newStart, include.trim(), this.copyToTemplate, true);\n this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.TEMPLATES.COPIED_TO_TASK' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_UNSUCCESSFULLY');\n }\n }).subscribe(function (result) {\n var copyResult = result.entities.find(function (it) { return it['Origin'] === _this.entity['Oid']; });\n if (copyResult && copyResult['Value'] && copyResult['Value'].length === 1) {\n var entityCopy_1 = copyResult['Value'][0];\n entityCopy_1['Name'] = _this.copyName;\n _this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.TEMPLATES.COPIED_TO_TASK' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_UNSUCCESSFULLY');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.TEMPLATES.COPIED_TO_TASK' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_SUCCESSFULLY');\n }\n if ((entityCopy_1.entityType.shortName === 'TaskTemplate') === _this.copyToTemplate) {\n _this.overlayService.closeOverlay('refreshList');\n }\n else {\n _this.overlayService.closeOverlay();\n }\n });\n }\n else {\n _this.alertsService.createAlert('warning', 'APP.TEMPLATES.COPIED_TO_TASK' + (_this.copyToTemplate ? 'TEMPLATE' : '') + '_UNSUCCESSFULLY');\n _this.overlayService.closeOverlay();\n }\n });\n };\n /**\n * Closes the overlay without saving\n */\n CopyTaskComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n return CopyTaskComponent;\n}(AbstractBase));\nexport { CopyTaskComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Copy Task component.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"./copy-task.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"../../base/inputs/input-radio/input-radio.component.ngfactory\";\nimport * as i6 from \"../../base/inputs/input-radio/input-radio.component\";\nimport * as i7 from \"@angular/forms\";\nimport * as i8 from \"../../base/inputs/input-string/input-string.component.ngfactory\";\nimport * as i9 from \"../../base/inputs/input-string/input-string.component\";\nimport * as i10 from \"../../base/inputs/input-datetime/input-datetime.component.ngfactory\";\nimport * as i11 from \"../../base/inputs/input-datetime/input-datetime.component\";\nimport * as i12 from \"../../core/localisation.service\";\nimport * as i13 from \"./copy-task.component\";\nimport * as i14 from \"../../ui/overlay-provider\";\nimport * as i15 from \"../../core/overlay.service\";\nimport * as i16 from \"../../core/alerts.service\";\nimport * as i17 from \"../../domain.service\";\nvar styles_CopyTaskComponent = [i0.styles, i1.styles];\nvar RenderType_CopyTaskComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_CopyTaskComponent, data: {} });\nexport { RenderType_CopyTaskComponent as RenderType_CopyTaskComponent };\nfunction View_CopyTaskComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-disabled\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \":\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyAssignments = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_InputRadioComponent_0, i5.RenderType_InputRadioComponent)), i2.ɵdid(10, 180224, null, 0, i6.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"], inline: [5, \"inline\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"form-group row mb-1\"; var currVal_1 = _ck(_v, 2, 0, _co.copyToTemplate); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = true; var currVal_4 = false; var currVal_5 = _co.assignmentsControl; var currVal_6 = _co.copyAssignments; var currVal_7 = _co.assignmentsFormat; var currVal_8 = true; _ck(_v, 10, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }, function (_ck, _v) { var currVal_2 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(\"APP.TEMPLATES.ASSIGNMENTS\")); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_CopyTaskComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 76, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 60, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i2.ɵdid(2, 16384, null, 0, i7.ɵangular_packages_forms_forms_bh, [], null, null), i2.ɵdid(3, 4210688, null, 0, i7.NgForm, [[8, null], [8, null]], null, null), i2.ɵprd(2048, null, i7.ControlContainer, null, [i7.NgForm]), i2.ɵdid(5, 16384, null, 0, i7.NgControlStatusGroup, [[4, i7.ControlContainer]], null, null), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(8, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(10, null, [\"\", \":\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(13, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyToTemplate = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_InputRadioComponent_0, i5.RenderType_InputRadioComponent)), i2.ɵdid(14, 180224, null, 0, i6.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"], inline: [5, \"inline\"] }, { valueChange: \"valueChange\" }), (_l()(), i2.ɵeld(15, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(17, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(18, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(19, null, [\"\", \":\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(21, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(22, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyName = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_InputStringComponent_0, i8.RenderType_InputStringComponent)), i2.ɵdid(23, 180224, null, 0, i9.InputStringComponent, [], { readOnly: [0, \"readOnly\"], control: [1, \"control\"], value: [2, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i2.ɵeld(24, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(25, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(26, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(27, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(28, null, [\"\", \":\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(30, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(31, 0, null, null, 1, \"sym-input-datetime\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.newStart = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i10.View_InputDateTimeComponent_0, i10.RenderType_InputDateTimeComponent)), i2.ɵdid(32, 180224, null, 0, i11.InputDateTimeComponent, [i12.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i2.ɵeld(33, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(34, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(36, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(37, null, [\"\", \":\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(39, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(40, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyCustomers = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_InputRadioComponent_0, i5.RenderType_InputRadioComponent)), i2.ɵdid(41, 180224, null, 0, i6.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"], inline: [5, \"inline\"] }, { valueChange: \"valueChange\" }), (_l()(), i2.ɵeld(42, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(43, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(44, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(45, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(46, null, [\"\", \":\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(48, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(49, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyManagers = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_InputRadioComponent_0, i5.RenderType_InputRadioComponent)), i2.ɵdid(50, 180224, null, 0, i6.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"], inline: [5, \"inline\"] }, { valueChange: \"valueChange\" }), (_l()(), i2.ɵeld(51, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(52, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(53, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(54, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(55, null, [\"\", \":\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(57, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(58, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.copyDeployments = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_InputRadioComponent_0, i5.RenderType_InputRadioComponent)), i2.ɵdid(59, 180224, null, 0, i6.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"], inline: [5, \"inline\"] }, { valueChange: \"valueChange\" }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_CopyTaskComponent_2)), i2.ɵdid(61, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(62, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(63, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(64, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(65, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.duplicate($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(67, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-clone\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(68, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(69, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(71, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(73, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(74, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(75, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = true; var currVal_9 = false; var currVal_10 = _co.templateControl; var currVal_11 = _co.copyToTemplate; var currVal_12 = _co.templateFormat; var currVal_13 = true; _ck(_v, 14, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13); var currVal_15 = false; var currVal_16 = _co.nameControl; var currVal_17 = _co.copyName; _ck(_v, 23, 0, currVal_15, currVal_16, currVal_17); var currVal_19 = true; var currVal_20 = false; var currVal_21 = _co.dateControl; var currVal_22 = _co.newStart; _ck(_v, 32, 0, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_24 = true; var currVal_25 = false; var currVal_26 = _co.customersControl; var currVal_27 = _co.copyCustomers; var currVal_28 = _co.customersFormat; var currVal_29 = true; _ck(_v, 41, 0, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29); var currVal_31 = true; var currVal_32 = false; var currVal_33 = _co.managersControl; var currVal_34 = _co.copyManagers; var currVal_35 = _co.managersFormat; var currVal_36 = true; _ck(_v, 50, 0, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36); var currVal_38 = true; var currVal_39 = false; var currVal_40 = _co.deploymentsControl; var currVal_41 = _co.copyDeployments; var currVal_42 = _co.deploymentsFormat; var currVal_43 = false; _ck(_v, 59, 0, currVal_38, currVal_39, currVal_40, currVal_41, currVal_42, currVal_43); var currVal_44 = (_co.entity && (_co.entity.entityType.shortName === \"Task\")); _ck(_v, 61, 0, currVal_44); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i2.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i2.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i2.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i2.ɵnov(_v, 5).ngClassValid; var currVal_5 = i2.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i2.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_7 = i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 11).transform(\"APP.TEMPLATES.TARGET\")); _ck(_v, 10, 0, currVal_7); var currVal_14 = i2.ɵunv(_v, 19, 0, i2.ɵnov(_v, 20).transform(\"APP.TEMPLATES.NAME_DUPLICATE\")); _ck(_v, 19, 0, currVal_14); var currVal_18 = i2.ɵunv(_v, 28, 0, i2.ɵnov(_v, 29).transform(\"APP.TEMPLATES.MOVE_TO\")); _ck(_v, 28, 0, currVal_18); var currVal_23 = i2.ɵunv(_v, 37, 0, i2.ɵnov(_v, 38).transform(\"APP.TEMPLATES.CUSTOMERS\")); _ck(_v, 37, 0, currVal_23); var currVal_30 = i2.ɵunv(_v, 46, 0, i2.ɵnov(_v, 47).transform(\"APP.TEMPLATES.MANAGERS\")); _ck(_v, 46, 0, currVal_30); var currVal_37 = i2.ɵunv(_v, 55, 0, i2.ɵnov(_v, 56).transform(\"APP.TEMPLATES.DEPLOYMENTS\")); _ck(_v, 55, 0, currVal_37); var currVal_45 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 65, 0, i2.ɵnov(_v, 66).transform(\"APP.TEMPLATES.DUPLICATE\")), \"\"); var currVal_46 = !_co.entity; _ck(_v, 65, 0, currVal_45, currVal_46); var currVal_47 = i2.ɵunv(_v, 69, 0, i2.ɵnov(_v, 70).transform(\"APP.TEMPLATES.DUPLICATE\")); _ck(_v, 69, 0, currVal_47); var currVal_48 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 71, 0, i2.ɵnov(_v, 72).transform(\"APP.TEMPLATES.CANCEL\")), \"\"); _ck(_v, 71, 0, currVal_48); var currVal_49 = i2.ɵunv(_v, 75, 0, i2.ɵnov(_v, 76).transform(\"APP.TEMPLATES.CANCEL\")); _ck(_v, 75, 0, currVal_49); }); }\nexport function View_CopyTaskComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵand(16777216, null, null, 1, null, View_CopyTaskComponent_1)), i2.ɵdid(1, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entity; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_CopyTaskComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-copy-task\", [], null, null, null, View_CopyTaskComponent_0, RenderType_CopyTaskComponent)), i2.ɵdid(1, 245760, null, 0, i13.CopyTaskComponent, [i14.OverlayProvider, i15.OverlayService, i16.AlertsService, i17.DomainService, i4.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar CopyTaskComponentNgFactory = i2.ɵccf(\"sym-copy-task\", i13.CopyTaskComponent, View_CopyTaskComponent_Host_0, {}, {}, []);\nexport { CopyTaskComponentNgFactory as CopyTaskComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Copy Task component.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-disabled[_ngcontent-%COMP%]{color:#adb5bd}\"];\nexport { styles as styles };\n","/**\n * @file The action component allows users to duplicate a shift or shift template to the same or the other\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { FormControl } from '@angular/forms';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { BreezeService } from '../../core/breeze.service';\nimport { DomainService } from '../../domain.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nimport { mergeMap } from 'rxjs/operators';\nvar BatchPlanmacroComponent = /** @class */ (function (_super) {\n tslib_1.__extends(BatchPlanmacroComponent, _super);\n /**\n * Creates an instance of BatchPlanmacroComponent.\n * @param {OverlayProvider} overlayProvider Contains the source shift (template)\n * @param {OverlayService} overlayService Can close the overlay\n * @param {AlertsService} alertsService Can show alerts\n * @param {DomainService} domainService Can save changes\n */\n function BatchPlanmacroComponent(overlayProvider, overlayService, alertsService, domainService, translateService) {\n var _this = _super.call(this) || this;\n _this.overlayService = overlayService;\n _this.alertsService = alertsService;\n _this.domainService = domainService;\n _this.translateService = translateService;\n /**\n * The controls are necessary for the form to work\n */\n _this.timeControl = new FormControl();\n _this.entityControl = new FormControl();\n /** Indicates when the batch start */\n _this.runAt = moment()\n .add(5, 'minutes')\n .toDate();\n _this.provider = overlayProvider;\n return _this;\n }\n /**\n * Sets the planmacro to be displayed\n */\n BatchPlanmacroComponent.prototype.ngOnInit = function () {\n var providerEntity = this.provider.entity;\n if (!providerEntity) {\n this.alertsService.createAlert('warning', 'APP.TEMPLATES.PLANMACRO_NOT_FOUND');\n return;\n }\n this.entity = providerEntity;\n if (!this.entity) {\n this.alertsService.createAlert('warning', 'APP.TEMPLATES.PLANMACRO_EXPECTED');\n }\n };\n /**\n * Schedules the planmacro\n * @param {any} event The button that is pressed\n */\n BatchPlanmacroComponent.prototype.schedule = function (event) {\n var _this = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n var m = this.runAt; // moment(this.runAt).toDate();\n var seconds = m.getHours() * 3600 + m.getMinutes() * 60 + m.getSeconds();\n var ISOseconds = moment.duration(seconds, 'seconds').toISOString();\n this.entity['RunAt'] = ISOseconds;\n this.domainService.saveChanges(function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.startRunscript()];\n case 1:\n _a.sent();\n this.cancel();\n return [2 /*return*/];\n }\n });\n }); }).toPromise();\n };\n /**\n * Closes the overlay without saving\n */\n BatchPlanmacroComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n /**\n * Starts the startRunscript script\n */\n BatchPlanmacroComponent.prototype.startRunscript = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 5, , 6]);\n return [4 /*yield*/, this.startReplaceSubjectWith()];\n case 1:\n _a.sent();\n return [4 /*yield*/, this.startMoveTo()];\n case 2:\n _a.sent();\n return [4 /*yield*/, this.startScriptInit()];\n case 3:\n _a.sent();\n return [4 /*yield*/, this.startScriptRun()];\n case 4:\n _a.sent();\n return [3 /*break*/, 6];\n case 5:\n error_1 = _a.sent();\n this.alertsService.createAlert('warning', 'APP.DOMAIN.SCHEDULE_PLANMACRO_UNSUCCESSFULLY', error_1);\n return [3 /*break*/, 6];\n case 6: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Starts the startInvokeMethod script\n * @param {string} method The shift template entity\n * @param {any} [parameters=[]] Parameters passed on to the method.\n * @returns {Promise}\n */\n BatchPlanmacroComponent.prototype.startInvokeMethod = function (method, parameters) {\n if (parameters === void 0) { parameters = []; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n _this.subscriptionPool.add(BreezeService.invokeMethod(_this.entity, method, parameters)\n .pipe(mergeMap(function (value) {\n return _this.domainService.saveChanges(function (error) {\n if (error) {\n reject();\n }\n });\n }))\n .subscribe(function (response) {\n var lastResult = response.entities.find(function (foundEntity) {\n return foundEntity['Origin'] === _this.entity.Oid && foundEntity['entityType'] == null;\n });\n if (!lastResult || !lastResult['Value']) {\n reject();\n }\n resolve(lastResult);\n }));\n })];\n });\n });\n };\n /**\n * Starts the startReplaceSubjectWith script\n * @returns {Promise}\n */\n BatchPlanmacroComponent.prototype.startReplaceSubjectWith = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var subjectStartDate, subjectOid, lastResult;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n subjectStartDate = this.subject['Start'];\n subjectOid = this.subject['Oid'];\n return [4 /*yield*/, this.startInvokeMethod('ReplaceSubjectsWith', [subjectOid])];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n lastResult['Name'] === 'ReplaceSubjectsWith' && moment.isDate(subjectStartDate) ? resolve() : reject();\n })];\n }\n });\n });\n };\n /**\n * Starts the startMoveTo script\n * @returns {Promise}\n */\n BatchPlanmacroComponent.prototype.startMoveTo = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var subjectStartDate, lastResult;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n subjectStartDate = new Date(this.subject['Start']);\n subjectStartDate.setHours(0, 0, 0, 0);\n return [4 /*yield*/, this.startInvokeMethod('MoveTo', [subjectStartDate])];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n lastResult['Name'] === 'MoveTo' ? resolve() : reject();\n })];\n }\n });\n });\n };\n /**\n * Starts the startScriptInit script\n * @returns {Promise}\n */\n BatchPlanmacroComponent.prototype.startScriptInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var lastResult;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.startInvokeMethod('ScriptInit', [])];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n lastResult['Name'] === 'ScriptInit' ? resolve() : reject();\n })];\n }\n });\n });\n };\n /**\n * Starts the startScriptRun script\n * @returns {Promise}\n */\n BatchPlanmacroComponent.prototype.startScriptRun = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var lastResult;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.startInvokeMethod('ScriptRun', [0])];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (lastResult['Value'] !== 'SCHEDULED') {\n reject('ScriptRun had an unexpected result: ' + lastResult['Value']);\n }\n _this.alertsService.createAlert('success', 'APP.DOMAIN.SCHEDULE_PLANMACRO_SUCCESSFULLY');\n lastResult['Name'] === 'ScriptRun' ? resolve() : reject();\n })];\n }\n });\n });\n };\n Object.defineProperty(BatchPlanmacroComponent.prototype, \"planmacroFormat\", {\n get: function () {\n return {\n dataSource: 'ShiftItems',\n entity: 'Shift',\n fields: ['Name', 'Start', 'Finish', 'Number'],\n displayFormat: '[Name] [Number] ([Start] | [Finish])'\n };\n },\n enumerable: true,\n configurable: true\n });\n return BatchPlanmacroComponent;\n}(AbstractBase));\nexport { BatchPlanmacroComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The action component allows users to duplicate a shift or shift template to the same or the other\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/inputs/input-time/input-time.component.ngfactory\";\nimport * as i5 from \"../../base/inputs/input-time/input-time.component\";\nimport * as i6 from \"../../core/localisation.service\";\nimport * as i7 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i8 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../core/overlay.service\";\nimport * as i12 from \"@angular/common\";\nimport * as i13 from \"./batch-planmacro.component\";\nimport * as i14 from \"../../ui/overlay-provider\";\nvar styles_BatchPlanmacroComponent = [i0.styles];\nvar RenderType_BatchPlanmacroComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_BatchPlanmacroComponent, data: {} });\nexport { RenderType_BatchPlanmacroComponent as RenderType_BatchPlanmacroComponent };\nfunction View_BatchPlanmacroComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 38, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 22, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.ɵangular_packages_forms_forms_bh, [], null, null), i1.ɵdid(3, 4210688, null, 0, i2.NgForm, [[8, null], [8, null]], null, null), i1.ɵprd(2048, null, i2.ControlContainer, null, [i2.NgForm]), i1.ɵdid(5, 16384, null, 0, i2.NgControlStatusGroup, [[4, i2.ControlContainer]], null, null), (_l()(), i1.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \":\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-input-time\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.runAt = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_InputTimeComponent_0, i4.RenderType_InputTimeComponent)), i1.ɵdid(14, 180224, null, 0, i5.InputTimeComponent, [i6.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(15, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 4, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \":\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(21, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 23).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.subject = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i7.View_InputEntityComponent_0, i7.RenderType_InputEntityComponent)), i1.ɵdid(23, 245760, null, 0, i8.InputEntityComponent, [i9.DomainService, i10.AlertsService, i3.TranslateService, i6.LocalisationService, i11.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(24, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.schedule($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-batch\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(31, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(33, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(35, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(36, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(37, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = true; var currVal_9 = false; var currVal_10 = _co.timeControl; var currVal_11 = _co.runAt; _ck(_v, 14, 0, currVal_8, currVal_9, currVal_10, currVal_11); var currVal_13 = _co.entityControl; var currVal_14 = _co.subject; var currVal_15 = _co.planmacroFormat; _ck(_v, 23, 0, currVal_13, currVal_14, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 5).ngClassValid; var currVal_5 = i1.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_7 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.MISC.PLANMACRO.RUNAT\")); _ck(_v, 10, 0, currVal_7); var currVal_12 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.MISC.PLANMACRO.SUBJECT\")); _ck(_v, 19, 0, currVal_12); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.MISC.PLANMACRO.BATCH\")), \"\"); var currVal_17 = (!_co.entity || !_co.subject); _ck(_v, 27, 0, currVal_16, currVal_17); var currVal_18 = i1.ɵunv(_v, 31, 0, i1.ɵnov(_v, 32).transform(\"APP.MISC.PLANMACRO.BATCH\")); _ck(_v, 31, 0, currVal_18); var currVal_19 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 33, 0, i1.ɵnov(_v, 34).transform(\"APP.TEMPLATES.CANCEL\")), \"\"); _ck(_v, 33, 0, currVal_19); var currVal_20 = i1.ɵunv(_v, 37, 0, i1.ɵnov(_v, 38).transform(\"APP.TEMPLATES.CANCEL\")); _ck(_v, 37, 0, currVal_20); }); }\nexport function View_BatchPlanmacroComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_BatchPlanmacroComponent_1)), i1.ɵdid(1, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entity; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_BatchPlanmacroComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-batch-planmacro\", [], null, null, null, View_BatchPlanmacroComponent_0, RenderType_BatchPlanmacroComponent)), i1.ɵdid(1, 245760, null, 0, i13.BatchPlanmacroComponent, [i14.OverlayProvider, i11.OverlayService, i10.AlertsService, i9.DomainService, i3.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar BatchPlanmacroComponentNgFactory = i1.ɵccf(\"sym-batch-planmacro\", i13.BatchPlanmacroComponent, View_BatchPlanmacroComponent_Host_0, {}, {}, []);\nexport { BatchPlanmacroComponentNgFactory as BatchPlanmacroComponentNgFactory };\n","/**\n* @file The insight container component for dynamically inject an insight\n* @author Heino Lenting\n*/\nimport { ViewContainerRef, Injector, ComponentFactoryResolver } from '@angular/core';\nimport { InsightProvider } from '../insight-provider';\nimport { HttpClient } from '@angular/common/http';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Class for the insight container that dynamicly create insights.\n */\nvar InsightContainerComponent = /** @class */ (function () {\n /**\n * Constructs a InsightContainerComponent\n * @param containerRef\n * @param resolver\n */\n function InsightContainerComponent(containerRef, factoryResolver, http) {\n this.containerRef = containerRef;\n this.factoryResolver = factoryResolver;\n this.http = http;\n /**\n * Holds the input child component.\n */\n this.childComponent = undefined;\n }\n Object.defineProperty(InsightContainerComponent.prototype, \"insight\", {\n /**\n * This input receives the insight component type and is used to create an insight of this type dynamicly.\n * @param component The path to the child component almost like the from path of an import clause, except\n * it ends with the component name and not with the module name. Used to get the child component constructor\n * dynamically at runtime (f.e. core/insights/src/components/InsightListComponent).\n */\n set: function (value) {\n var _this = this;\n this.childComponent = value;\n if (this.childComponent === undefined) {\n return;\n }\n // Create insight component.\n var insightType = ComponentRegistry.getComponent('insight', this.childComponent.component);\n var componentFactory = this.factoryResolver.resolveComponentFactory(insightType);\n // https://stackoverflow.com/questions/45585606/staticinjector-vs-reflectiveinjector-in-angular\n var injector = Injector.create([\n {\n provide: InsightProvider,\n useFactory: function () {\n return new InsightProvider(_this, _this.http);\n },\n deps: []\n }\n ]);\n this.containerRef.createComponent(componentFactory, 0, injector, []);\n },\n enumerable: true,\n configurable: true\n });\n return InsightContainerComponent;\n}());\nexport { InsightContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The insight container component for dynamically inject an insight\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./insight-container.component\";\nimport * as i2 from \"@angular/common/http\";\nvar styles_InsightContainerComponent = [];\nvar RenderType_InsightContainerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_InsightContainerComponent, data: {} });\nexport { RenderType_InsightContainerComponent as RenderType_InsightContainerComponent };\nexport function View_InsightContainerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_InsightContainerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-insight-container\", [], null, null, null, View_InsightContainerComponent_0, RenderType_InsightContainerComponent)), i0.ɵdid(1, 49152, null, 0, i1.InsightContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver, i2.HttpClient], null, null)], null, null); }\nvar InsightContainerComponentNgFactory = i0.ɵccf(\"sym-insight-container\", i1.InsightContainerComponent, View_InsightContainerComponent_Host_0, { insight: \"insight\" }, {}, []);\nexport { InsightContainerComponentNgFactory as InsightContainerComponentNgFactory };\n","/**\n * @file The local storage service\n * @author Heino Lenting\n */\n/**\n * Class for the local storage service\n */\nvar LocalStorageService = /** @class */ (function () {\n /**\n * Constructs a LocalStorageService\n */\n function LocalStorageService() {\n }\n /**\n * Used for reading a property from the storage\n *\n * @param {StorageType} storageType Type of the storage\n * @param {StorageKey} storageKey The key used for storing\n * @param {StorageValue} defaultValue The default value for when the value does not exists\n * @param {StorageValue[]} allowedValues The allowed values\n * @returns {StorageValue} The value\n */\n LocalStorageService.prototype.readProperty = function (storageType, storageKey, defaultValue, allowedValues) {\n if (this.hasStorageSupport()) {\n // Test if default value is allowed\n if (this.isValueAllowed(defaultValue, allowedValues)) {\n // Get the correct storage\n var storage = this.getStorage(storageType);\n // Get the raw value\n var storedValueRaw = storage.getItem(storageKey);\n // If the raw value does not exits, return the default value\n if (storedValueRaw === null || storedValueRaw === undefined) {\n return defaultValue;\n }\n // Parse the stored raw value\n var storedValue = (storedValueRaw) ? JSON.parse(storedValueRaw) : undefined;\n // If stored value is not valid, delete it and return default\n if (!this.isValueAllowed(storedValue, allowedValues)) {\n // The stored value is not valid, delete it\n this.deleteProperty(storageType, storageKey);\n // So we use the default\n return defaultValue;\n }\n // Store value is OK, return this one\n return storedValue;\n }\n else {\n console.warn('The default value is not allowed in the storage (\"' + defaultValue + '\")');\n return undefined;\n }\n }\n else {\n console.warn('Can not read a property because the browser does not support local and/or session storage.');\n return defaultValue;\n }\n };\n /**\n * Used for updating a property from the storage\n * @param {StorageType} storageType Type of the storage\n * @param {StorageKey} storageKey The key used for storing\n * @param {StorageValue} defaultValue The storage value\n * @param {StorageValue[]} allowedValues The allowed values\n * @returns {StorageValue} The stored value\n */\n LocalStorageService.prototype.updateProperty = function (storageType, storageKey, storageValue, allowedValues) {\n if (this.hasStorageSupport()) {\n // Test if default value is allowed\n if (this.isValueAllowed(storageValue, allowedValues)) {\n // Get the correct storage\n var storage = this.getStorage(storageType);\n // Update the property\n storage.setItem(storageKey, JSON.stringify(storageValue));\n // Return the stored value\n return storageValue;\n }\n else {\n console.warn('The value is not allowed in the storage (\"' + storageValue + '\")');\n return undefined;\n }\n }\n else {\n console.warn('Can not update a property because the browser does not support local and/or session storage.');\n return undefined;\n }\n };\n LocalStorageService.prototype.deleteProperty = function (storageType, storageKey) {\n if (this.hasStorageSupport()) {\n // Get the correct storage\n var storage = this.getStorage(storageType);\n // Remote key from storage\n storage.removeItem(storageKey);\n }\n else {\n console.warn('Can not delete a property because the browser does not support local and/or session storage.');\n }\n };\n /**\n * Check if browser has support for storage\n * @returns boolean Whether browser has support for storage or not\n */\n LocalStorageService.prototype.hasStorageSupport = function () {\n return (window['localStorage'] !== undefined && window['sessionStorage'] !== undefined);\n };\n /**\n * Get the specified storage\n * @param {StorageType} storageType The stype storage (session or local)\n * @returns {Storage} The storage\n */\n LocalStorageService.prototype.getStorage = function (storageType) {\n if (storageType === 'local') {\n return window.localStorage;\n }\n if (storageType === 'session') {\n return window.sessionStorage;\n }\n console.warn('Unknown storage type');\n return undefined;\n };\n /**\n * Check if the value is allowed\n * @private\n * @param {StorageValue} storageValue The value\n * @param {StorageValue[]} allowedValues The allowed values\n * @returns {boolean}\n */\n LocalStorageService.prototype.isValueAllowed = function (storageValue, allowedValues) {\n if (allowedValues === undefined) {\n // All values are allowed\n return true;\n }\n if (allowedValues.length === 0) {\n // Allowed values are missing\n console.warn('Allowed values array for the local storage is empty');\n return false;\n }\n // Find a match\n var matchedValue = allowedValues.find(function (allowedValue) { return allowedValue === storageValue; });\n if (matchedValue === undefined) {\n console.warn('Storage value \"' + storageValue + '\" does not exists in the following allowed values \"' + allowedValues + '\"');\n return false;\n }\n return true;\n };\n return LocalStorageService;\n}());\nexport { LocalStorageService };\n","/**\n * @file Component representing an insight.\n * @author Tom Verschoore de la Houssaije.\n */\nimport { ElementRef } from '@angular/core';\nimport { LocalStorageService } from '../../core/local-storage.service';\nvar scrollStepSize = 256;\n/**\n * Class for representing an insight\n */\nvar InsightsComponent = /** @class */ (function () {\n /**\n * Constructs a InsightsComponent\n */\n function InsightsComponent(localStorageService) {\n this.localStorageService = localStorageService;\n /** Gets, sets display and scroll information of the insights. */\n this.insightsElementData = {\n 'width': -1,\n 'scrollWidth': -1,\n 'scrollLeft': -1,\n 'scrollRight': -1,\n 'clientWidth': -1\n };\n this.open = this.localStorageService.readProperty('local', 'insights-open', false, [true, false]);\n }\n /**\n * Check whether the left control must be visible or not\n * @returns True when the left control must be visible\n */\n InsightsComponent.prototype.showLeftControl = function () {\n // If insightsElement not exists, we don't want to show the control\n if (!this.insightsElement) {\n return false;\n }\n // If width is larger then scrollWidth hide the control\n if (this.insightsElementData.width > this.insightsElementData.scrollWidth) {\n return false;\n }\n // if there is no scroll space hide the control\n if (this.insightsElementData.scrollLeft < 3) {\n return false;\n }\n return true;\n };\n /**\n * Check whether the right control must be visible or not\n * @returns True when the right control must be visible\n */\n InsightsComponent.prototype.showRightControl = function () {\n // If insightsElement not exists, we don't want to show the control\n if (!this.insightsElement) {\n return false;\n }\n // If width is larger then scrollWidth hide the control\n if (this.insightsElementData.width > this.insightsElementData.scrollWidth) {\n return false;\n }\n // if there is no scroll space hide the control\n if (this.insightsElementData.scrollRight < 3) {\n return false;\n }\n return true;\n };\n /**\n * Move insights scroll one step size to the left\n */\n InsightsComponent.prototype.scrollLeft = function () {\n this.insightsElement.nativeElement.scrollLeft = this.insightsElement.nativeElement.scrollLeft - scrollStepSize;\n };\n /**\n * Move insights scroll one step size to the right\n */\n InsightsComponent.prototype.scrollRight = function () {\n this.insightsElement.nativeElement.scrollLeft = this.insightsElement.nativeElement.scrollLeft + scrollStepSize;\n };\n /**\n * On resize of the window update the insights data\n */\n InsightsComponent.prototype.onResize = function () {\n // Resize does effect the widths etc.\n this.updateInsightsData();\n };\n /**\n * On mouse enter update the insights data\n */\n InsightsComponent.prototype.onMouseEnter = function () {\n // During mouse over the width of the content *must* be available\n this.updateInsightsData();\n };\n /**\n * On scroll update the insights data\n */\n InsightsComponent.prototype.onScroll = function () {\n // On scroll update the scroll position\n this.insightsElementData.scrollLeft = this.insightsElement.nativeElement.scrollLeft;\n this.insightsElementData.scrollRight = this.insightsElementData.scrollWidth\n - (this.insightsElementData.scrollLeft\n + this.insightsElementData.clientWidth);\n };\n Object.defineProperty(InsightsComponent.prototype, \"configuration\", {\n /**\n * Get the configuration key\n */\n get: function () {\n return this._configuration;\n },\n /**\n * Sets the reference to configuration to use for initialization\n * @param config The configuration key\n */\n set: function (configuration) {\n this._configuration = configuration;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Check if insights component is open\n * @returns True if insights is open, otherwise false\n */\n InsightsComponent.prototype.isOpen = function () {\n return (this.open === true);\n };\n /**\n * Check if insights component is closed\n * @returns True if insights is closed, otherwise false\n */\n InsightsComponent.prototype.isClosed = function () {\n return (this.open === false);\n };\n /**\n * Set the insights component open\n */\n InsightsComponent.prototype.setOpen = function () {\n // Open insights\n this.open = this.localStorageService.updateProperty('local', 'insights-open', true, [true, false]);\n };\n /**\n * Set the insights component open\n */\n InsightsComponent.prototype.setClose = function () {\n // Close insights\n this.open = this.localStorageService.updateProperty('local', 'insights-open', false, [true, false]);\n };\n /**\n * Toggle between opening and closing the insights component\n */\n InsightsComponent.prototype.toggle = function () {\n if (this.isOpen()) {\n this.setClose();\n }\n else {\n this.setOpen();\n }\n };\n /**\n * Update the insights data\n */\n InsightsComponent.prototype.updateInsightsData = function () {\n if (!this.insightsElement || !this.insightsElement.nativeElement) { // Fix for the error described in the comments of #1712\n return;\n }\n // We use this data strategy to force Angular to update the template\n this.insightsElementData.width = this.insightsElement.nativeElement.getBoundingClientRect().width;\n this.insightsElementData.scrollWidth = this.insightsElement.nativeElement.scrollWidth;\n this.insightsElementData.clientWidth = this.insightsElement.nativeElement.clientWidth;\n this.insightsElementData.scrollLeft = this.insightsElement.nativeElement.scrollLeft;\n this.insightsElementData.scrollRight = this.insightsElementData.scrollWidth\n - (this.insightsElementData.scrollLeft\n + this.insightsElementData.clientWidth);\n };\n return InsightsComponent;\n}());\nexport { InsightsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing an insight.\n * @author Tom Verschoore de la Houssaije.\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./insights.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../insight-container/insight-container.component.ngfactory\";\nimport * as i3 from \"../insight-container/insight-container.component\";\nimport * as i4 from \"@angular/common/http\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"./insights.component\";\nimport * as i8 from \"../../core/local-storage.service\";\nvar styles_InsightsComponent = [i0.styles];\nvar RenderType_InsightsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InsightsComponent, data: {} });\nexport { RenderType_InsightsComponent as RenderType_InsightsComponent };\nfunction View_InsightsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null))], null, null); }\nfunction View_InsightsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 1, \"sym-insight-container\", [], null, null, null, i2.View_InsightContainerComponent_0, i2.RenderType_InsightContainerComponent)), i1.ɵdid(1, 49152, null, 0, i3.InsightContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver, i4.HttpClient], { insight: [0, \"insight\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_InsightsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"col-sm-12 sym-insights-col\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 11, \"div\", [[\"class\", \"sym-insights-overflow\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.onMouseEnter() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"div\", [[\"class\", \"sym-control sym-left\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.scrollLeft() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-show-control\": 0 }), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-previous\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-control sym-right\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.scrollRight() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(9, { \"sym-show-control\": 0 }), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, [[1, 0], [\"insights\", 1]], null, 2, \"div\", [[\"class\", \"sym-insights d-flex flex-row\"]], null, [[null, \"scroll\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"scroll\" === en)) {\n var pd_0 = (_co.onScroll() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InsightsComponent_4)), i1.ɵdid(13, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-control sym-left\"; var currVal_1 = _ck(_v, 5, 0, _co.showLeftControl()); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_2 = \"sym-control sym-right\"; var currVal_3 = _ck(_v, 9, 0, _co.showRightControl()); _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = _co.configuration.components; _ck(_v, 13, 0, currVal_4); }, null); }\nfunction View_InsightsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, \"div\", [[\"class\", \"mb-3\"]], null, [[\"window\", \"resize\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"window:resize\" === en)) {\n var pd_0 = (_co.onResize() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-insight\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggle() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"i\", [[\"class\", \"icon \"]], null, null, null, null, null)), i1.ɵdid(10, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(11, { \"sym-icon-invisible\": 0, \"sym-icon-visible\": 1 }), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InsightsComponent_2)), i1.ɵdid(15, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InsightsComponent_3)), i1.ɵdid(17, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = \"icon \"; var currVal_3 = _ck(_v, 11, 0, _co.isOpen(), _co.isClosed()); _ck(_v, 10, 0, currVal_2, currVal_3); var currVal_5 = _co.isClosed(); _ck(_v, 15, 0, currVal_5); var currVal_6 = _co.isOpen(); _ck(_v, 17, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.INSIGHTS.INSIGHTS\")); var currVal_1 = _co.configuration.components.length; _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_4 = _co.configuration.key; _ck(_v, 13, 0, currVal_4); }); }\nexport function View_InsightsComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(671088640, 1, { insightsElement: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InsightsComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_InsightsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-insights\", [], null, null, null, View_InsightsComponent_0, RenderType_InsightsComponent)), i1.ɵdid(1, 49152, null, 0, i7.InsightsComponent, [i8.LocalStorageService], null, null)], null, null); }\nvar InsightsComponentNgFactory = i1.ɵccf(\"sym-insights\", i7.InsightsComponent, View_InsightsComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { InsightsComponentNgFactory as InsightsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing an insight.\n * @author Tom Verschoore de la Houssaije.\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-insights-col[_ngcontent-%COMP%]{height:260px;overflow:hidden}.sym-insights-overflow[_ngcontent-%COMP%]{overflow:hidden;position:relative;height:256px;border:1px solid rgba(0,0,0,.125);padding-top:.3rem!important}.sym-insights-overflow[_ngcontent-%COMP%]:hover .sym-show-control.sym-left[_ngcontent-%COMP%]{left:-1px}.sym-insights-overflow[_ngcontent-%COMP%]:hover .sym-show-control.sym-right[_ngcontent-%COMP%]{right:-1px}.sym-insights-overflow[_ngcontent-%COMP%] .sym-control[_ngcontent-%COMP%]{width:35px;height:35px;text-align:center;cursor:pointer;background-color:#fff;position:absolute;bottom:-1px;-webkit-transition:1s;transition:1s;border:1px solid rgba(0,0,0,.125)}.sym-insights-overflow[_ngcontent-%COMP%] .sym-control[_ngcontent-%COMP%]:hover{background-color:#ced4da}.sym-insights-overflow[_ngcontent-%COMP%] .sym-control.sym-left[_ngcontent-%COMP%]{left:-75px}.sym-insights-overflow[_ngcontent-%COMP%] .sym-control.sym-right[_ngcontent-%COMP%]{right:-75px}.sym-insights-overflow[_ngcontent-%COMP%] .sym-control[_ngcontent-%COMP%] i.icon[_ngcontent-%COMP%]{width:27px;height:27px;margin:auto;font-size:1.5rem;line-height:30px;display:block;color:#324b4b}.sym-insights-overflow[_ngcontent-%COMP%] .sym-insights[_ngcontent-%COMP%]{width:100%;height:270px;overflow-y:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch;padding-left:.3rem!important}.sym-insights-overflow[_ngcontent-%COMP%] .sym-insights[_ngcontent-%COMP%] sym-insight-container[_ngcontent-%COMP%]{display:none}\"];\nexport { styles as styles };\n","/**\n * @file Container component for dynamically inject list types in a form.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ComponentFactoryResolver, ViewContainerRef, EventEmitter } from '@angular/core';\nimport { InsightsComponent } from '../../insights/insights/insights.component';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * This class is used to insert list types, of a specific type, into a template by configuration.\n */\nvar ListContainerComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ListContainerComponent, _super);\n /**\n * Creates an instance of ListContainerComponent.\n * @memberOf ListContainerComponent\n */\n function ListContainerComponent(containerRef, factoryResolver) {\n var _this = _super.call(this) || this;\n _this.containerRef = containerRef;\n _this.factoryResolver = factoryResolver;\n /** Event triggered when a entity from the list is selected. */\n _this.selectionChanged = new EventEmitter();\n /** Event triggered when a new entity is created. */\n _this.entityCreated = new EventEmitter();\n /** Gets, sets the ListComponent instance of this container. */\n _this.instance = null;\n /** Gets, sets the configuration of the contained ListComponent. */\n _this._component = undefined;\n return _this;\n }\n Object.defineProperty(ListContainerComponent.prototype, \"component\", {\n /** Gets the component configuration used in this container. */\n get: function () {\n return this._component;\n },\n /**\n * Sets the component configuration used within this container.\n * @param value The component configuration.\n */\n set: function (value) {\n var _this = this;\n this._component = value;\n if (this._component === undefined) {\n return;\n }\n if (this._component.component === undefined) {\n this._component.component = 'ListCompoment';\n }\n var editor = ComponentRegistry.getComponent('list', this._component.component);\n if (this.containerRef.length > 0) {\n this.containerRef.clear();\n }\n var componentFactory = this.factoryResolver.resolveComponentFactory(editor);\n var ref = this.containerRef.createComponent(componentFactory, 0);\n this.instance = ref.instance;\n this.instance.configuration = this._component.configuration;\n this.instance.insights = this.insights;\n this.subscriptionPool.add(this.instance.entityCreated.subscribe(function (item) {\n _this.entityCreated.emit(item);\n }));\n this.instance.selectionChanged.subscribe(function (item) {\n _this.selectionChanged.emit(item);\n });\n },\n enumerable: true,\n configurable: true\n });\n return ListContainerComponent;\n}(AbstractBase));\nexport { ListContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Container component for dynamically inject list types in a form.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./list-container.component\";\nvar styles_ListContainerComponent = [];\nvar RenderType_ListContainerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ListContainerComponent, data: {} });\nexport { RenderType_ListContainerComponent as RenderType_ListContainerComponent };\nexport function View_ListContainerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_ListContainerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-list-container\", [], null, null, null, View_ListContainerComponent_0, RenderType_ListContainerComponent)), i0.ɵdid(1, 180224, null, 0, i1.ListContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], null, null)], null, null); }\nvar ListContainerComponentNgFactory = i0.ɵccf(\"sym-list-container\", i1.ListContainerComponent, View_ListContainerComponent_Host_0, { insights: \"insights\", component: \"component\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\" }, []);\nexport { ListContainerComponentNgFactory as ListContainerComponentNgFactory };\n","/**\n * @file The right sidebar of the application.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { RouterOutlet } from '@angular/router';\nimport { EventEmitter, OnInit } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\nimport { debounceTime, distinctUntilChanged } from 'rxjs/operators';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * The container that holds the filter editor and detail views on the right side of the application.\n */\nvar SidebarRightComponent = /** @class */ (function (_super) {\n tslib_1.__extends(SidebarRightComponent, _super);\n /**\n * Creates an instance of SidebarRightComponent.\n */\n function SidebarRightComponent() {\n var _this = _super.call(this) || this;\n /** Event to notify when the sidebar is closing for a reason. */\n _this.closed = new EventEmitter();\n // Keep track of the activate and deactive events\n _this.activateDeactiveStream = new BehaviorSubject(false);\n return _this;\n }\n SidebarRightComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.subscriptionPool.add(this.activateDeactiveStream.pipe(debounceTime(100), distinctUntilChanged()).subscribe(function (open) {\n if (open === false) {\n _this.isClosing();\n }\n }));\n };\n /**\n * Checks whether the this right side bar should be open.\n * @returns True when this right side bar should be shown.\n */\n SidebarRightComponent.prototype.isOpen = function () {\n if (!this.outlet) {\n return false;\n }\n return this.outlet.isActivated;\n };\n SidebarRightComponent.prototype.onDeactivate = function (event) {\n this.activateDeactiveStream.next(false);\n };\n SidebarRightComponent.prototype.onActivate = function (event) {\n this.activateDeactiveStream.next(true);\n };\n SidebarRightComponent.prototype.isClosing = function () {\n this.closed.emit('sidebar');\n };\n return SidebarRightComponent;\n}(AbstractBase));\nexport { SidebarRightComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The right sidebar of the application.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nimport * as i2 from \"./sidebar-right.component\";\nvar styles_SidebarRightComponent = [];\nvar RenderType_SidebarRightComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SidebarRightComponent, data: {} });\nexport { RenderType_SidebarRightComponent as RenderType_SidebarRightComponent };\nexport function View_SidebarRightComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { outlet: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵeld(2, 16777216, null, null, 1, \"router-outlet\", [], null, [[null, \"deactivate\"], [null, \"activate\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"deactivate\" === en)) {\n var pd_0 = (_co.onDeactivate($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"activate\" === en)) {\n var pd_1 = (_co.onActivate($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(3, 212992, [[1, 4]], 0, i1.RouterOutlet, [i1.ChildrenOutletContexts, i0.ViewContainerRef, i0.ComponentFactoryResolver, [8, null], i0.ChangeDetectorRef], null, { activateEvents: \"activate\", deactivateEvents: \"deactivate\" })], function (_ck, _v) { _ck(_v, 3, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isOpen(); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_SidebarRightComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-sidebar-right\", [], null, null, null, View_SidebarRightComponent_0, RenderType_SidebarRightComponent)), i0.ɵdid(1, 245760, null, 0, i2.SidebarRightComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar SidebarRightComponentNgFactory = i0.ɵccf(\"sym-sidebar-right\", i2.SidebarRightComponent, View_SidebarRightComponent_Host_0, {}, { closed: \"closed\" }, []);\nexport { SidebarRightComponentNgFactory as SidebarRightComponentNgFactory };\n","/**\n * @file Base class for view components.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { AbstractComponent } from '../../core/helpers/abstract-component';\nimport { AsyncSubject } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { CONFIGURATION_ROUTE_DATA_PROPERTY } from '../../routes.service';\n// TODO: Consider using a CanDeactivate guard instead of ngOnDestroy. Think of message \"save before close\".\n/**\n * Abstract class representing a configurable view.\n */\nvar AbstractView = /** @class */ (function (_super) {\n tslib_1.__extends(AbstractView, _super);\n /**\n * Constructs AbstractView class\n * @param configurationsService The configuration service.\n * @param router The router\n * @param route The activated route.\n */\n function AbstractView(router, route, breezeService, dialogService, alertsService, translateService) {\n var _this = _super.call(this, alertsService) || this;\n _this.router = router;\n _this.route = route;\n _this.breezeService = breezeService;\n _this.dialogService = dialogService;\n _this.alertsService = alertsService;\n _this.translateService = translateService;\n return _this;\n }\n Object.defineProperty(AbstractView.prototype, \"createMode\", {\n /**\n * Gets the create mode of the view, this is important to know on deactivate.\n * @readonly\n * @type {boolean} Is True when in create mode.\n */\n get: function () {\n return false;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called directly after the creation of this component.\n */\n AbstractView.prototype.ngOnInit = function () {\n var test = this.route.snapshot.data[CONFIGURATION_ROUTE_DATA_PROPERTY];\n if (!test) {\n return;\n }\n this.configuration = test;\n };\n /**\n * Checks if the domainservice contains changes which are not saved.\n */\n AbstractView.prototype.canDeactivate = function () {\n return this.checkChangesBeforeDeactivate();\n };\n /**\n * Closes the the view.\n * Override this method to add close logic.\n */\n AbstractView.prototype.close = function () {\n // TODO: Consider removing this method from api of AbstractView class.\n // Should close the view.\n throw new Error('Not implemented!');\n };\n /**\n * Checks if there are changes to be saved before deactivate.\n * @protected\n * @returns {(Observable | boolean)}\n */\n AbstractView.prototype.checkChangesBeforeDeactivate = function (skipDeleted) {\n var _this = this;\n if (skipDeleted === void 0) { skipDeleted = false; }\n if (this.breezeService.hasChanges(skipDeleted)) {\n // hasChanges() == true does not include added entities.\n var dialogInProgress = this.dialogService.inProgress;\n if (dialogInProgress) {\n var next_1 = new AsyncSubject();\n var savingInProgress = this.breezeService.savingInProgress;\n if (savingInProgress) {\n this.subscriptionPool.add(savingInProgress.subscribe(function (value) {\n next_1.next(true);\n next_1.complete();\n }));\n return next_1;\n }\n // dialogInProgress.subscribe(value => {\n // const change_result = this.checkChangesBeforeDeactivate();\n // if (typeof change_result === 'boolean') {\n // next.next(change_result);\n // next.complete();\n // return;\n // }\n // change_result.subscribe(response => {\n // next.next(response);\n // next.complete();\n // return;\n // });\n // });\n // Oude code hier boven veroorzaakt loop daarom dit hieronder:\n next_1.next(true);\n next_1.complete();\n return next_1;\n }\n var result = this.dialogService.createDialog(this.translateService.instant('APP.CORE.CHANGES_TITLE'), this.translateService.instant('APP.CORE.CHANGES_MESSAGE'), 'APP.CORE.OK');\n return result.pipe(map(function (value) {\n if (value) {\n _this.breezeService.rejectChanges();\n }\n return value;\n }));\n }\n else {\n if (this.createMode && this.breezeService.hasAdded()) {\n // The check of createMode is important.\n // Otherwise a new entity can be directly be removed after creation.\n this.breezeService.rejectChanges();\n }\n return true;\n }\n };\n /**\n * Is called by the selectionChanged event of the component that presents the entities and is used to navigate to the details of the selected item.\n * @param item The new selected item.\n * @returns True when an item is selected otherwise false.\n */\n AbstractView.prototype.navigateTo = function (item) {\n if (item === undefined) {\n return false;\n }\n if (item === null) {\n // Navigate gaat nu fout wanneer je een delete deed op een item. Dan sloot hij de view?\n // this.router.navigate(['../'], { relativeTo: this.route, queryParams: this.route.snapshot.queryParams });\n return false;\n }\n this.navigateToDetails(item);\n return true;\n };\n /**\n * To navigate to the details of the selected item.\n * @param item The item selected.\n */\n AbstractView.prototype.navigateToDetails = function (item) {\n var _this = this;\n // Simple idee generic detail navigation.\n // TODO: Make more realistic implementation.\n var routes = this.configuration.routes;\n if (!routes) {\n return;\n }\n routes.find(function (routeConfiguration) {\n if (_this.isDetailRouteForItem(routeConfiguration, item)) {\n var path = routeConfiguration.path;\n if (path.includes(':id')) {\n var key_1 = '';\n item.entityType.keyProperties.forEach(function (property) {\n key_1 += item[property.name].toString();\n key_1 += '_';\n });\n if (item.entityType.keyProperties.length > 0) {\n key_1 = key_1.substring(0, key_1.length - 1);\n }\n _this.router.navigate([path.replace(':id', key_1)], { relativeTo: _this.route, queryParams: _this.route.snapshot.queryParams });\n return true;\n }\n _this.router.navigate([path], { relativeTo: _this.route, queryParams: _this.route.snapshot.queryParams });\n return true;\n }\n return false;\n });\n };\n /**\n * Checks whether the given route is the detail route for the given item.\n * @param detailRoute The route to check.\n * @param item Checks the route for this item.\n * @returns True when detailRoute matches with the given entity otherwise false.\n */\n AbstractView.prototype.isDetailRouteForItem = function (detailRoute, item) {\n return detailRoute.name === 'Details' && item != null;\n };\n return AbstractView;\n}(AbstractComponent));\nexport { AbstractView };\n","/**\n * @file Component to assemble other components to construct a view.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, OnDestroy } from '@angular/core';\nimport { AbstractView } from '../helpers/abstract-view';\nimport { ListContainerComponent } from '../list-container/list-container.component';\nimport { RoutesService } from '../../routes.service';\n/**\n * Abstract base class to assemble other components to construct a view.\n * @export\n * @abstract\n * @class DataViewBase\n * @extends {AbstractView}\n * @implements {OnInit}\n * @implements {OnDestroy}\n */\nvar DataViewBase = /** @class */ (function (_super) {\n tslib_1.__extends(DataViewBase, _super);\n /**\n * Constucts a DataViewComponent component.\n * @param configurationsService The configuration service.\n * @param router The router\n * @param route The activated route.\n */\n function DataViewBase(router, route, breezeService, dialogService, alertsService, translateService) {\n var _this = _super.call(this, router, route, breezeService, dialogService, alertsService, translateService) || this;\n // Set configurations to be always defined. Do not use *ngIf because of nested RouterOutlet.\n /** Property where the loaded configuration is divided in logical keys for easy access in the template. */\n _this.configurations = {};\n /** Handle to hold the last created entity. Is used in creation sequence. */\n _this.lastCreated = null;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n DataViewBase.prototype.ngOnInit = function () {\n var _this = this;\n _super.prototype.ngOnInit.call(this);\n this.subscriptionPool.add(this.router.routerState.root.queryParams.subscribe(function (params) {\n var id = params['new-result'];\n if (id) {\n var queryParams_1 = {};\n Object.keys(params).filter(function (key) { return key !== 'new-result'; }).forEach(function (key) {\n queryParams_1[key] = params[key];\n });\n _this.router.navigate([], { queryParams: queryParams_1 }).then(function (value) {\n if (_this.lastCreated && _this.dataList && _this.dataList.instance) {\n _this.dataList.instance.items.splice(0, 0, _this.lastCreated);\n _this.dataList.instance.select(_this.lastCreated);\n }\n _this.lastCreated = null;\n }).catch(function (value) {\n _this.lastCreated = null;\n });\n return;\n }\n id = params['delete-result'];\n if (id) {\n var queryParams_2 = {};\n Object.keys(params).filter(function (key) { return key !== 'delete-result'; }).forEach(function (key) {\n queryParams_2[key] = params[key];\n });\n RoutesService.navigateBack(_this.router, _this.route, queryParams_2).then(function (value) {\n if (_this.dataList && _this.dataList.instance) {\n _this.dataList.instance.removeItem(id);\n }\n }).catch(function (value) {\n if (_this.dataList && _this.dataList.instance) {\n _this.dataList.instance.removeItem(id);\n }\n });\n return;\n }\n }));\n };\n /**\n * Called when closed event is triggered on sidebar.\n * @param subject The reason of closing the sidebar.\n */\n DataViewBase.prototype.sidebarIsClosing = function (subject) {\n this.dataList.instance.deselect(this.dataList.instance.current);\n };\n /**\n * Is called by the ListComponent.entityCreated event and is used to navigate to the details of the new entity.\n * @param item The item created.\n * @returns True when a route for displaying the new entity in detail, otherwise false.\n */\n DataViewBase.prototype.navigateToNew = function (item) {\n var _this = this;\n if (!item) {\n return false;\n }\n var routes = this.configuration.routes;\n if (!routes) {\n return false;\n }\n var self = this;\n if (routes.find(function (route) {\n if (route.name === 'New') {\n if (route.path.includes(':id')) {\n var key_1 = '';\n item.entityType.keyProperties.forEach(function (property) {\n key_1 += item[property.name].toString();\n });\n _this.lastCreated = item;\n _this.router.navigate([route.path.replace(':id', key_1)], { relativeTo: self.route });\n return true;\n }\n _this.lastCreated = item;\n _this.router.navigate([route.path], { relativeTo: self.route });\n return true;\n }\n return false;\n })) {\n return true;\n }\n return false;\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n DataViewBase.prototype.afterInitialize = function () {\n // Improve: use configuration name instead of the component order in the configuration\n this.configurations = {\n insights: this.findChildConfiguration('insights'),\n list: this.findChildComponent('list'),\n };\n };\n return DataViewBase;\n}(AbstractView));\nexport { DataViewBase };\n","/**\n * @file The Dialog service\n * @author Heino Lenting\n */\nimport { AsyncSubject } from 'rxjs';\n/**\n * Class for the dialog service\n */\nvar DialogService = /** @class */ (function () {\n function DialogService() {\n }\n /**\n * Create a dialog\n * @param subject The subject of the dialog\n * @param message The message of the dialog\n * @returns The Observable is returned to make the choice of the user observable\n */\n DialogService.prototype.createDialog = function (subject, message, buttonText) {\n var self = this;\n // If dialog is unhandled, cancel it (We don't want to have multiple dialogs because that's stupid)\n if (this.observer !== undefined) {\n this.observer.complete();\n }\n // Save the subject\n this.subject = subject;\n // Save the message\n this.message = message;\n // Save the button text\n this.buttonText = buttonText;\n this.observer = new AsyncSubject();\n return this.observer;\n // // Create observable\n // return Observable.create(observer => {\n // self.observer = observer;\n // });\n };\n Object.defineProperty(DialogService.prototype, \"inProgress\", {\n /**\n * Gets the observable of the current dialog.\n * @readonly\n * @type {Observable}\n */\n get: function () {\n return this.observer;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is there a dialog in the service\n * @returns Returns if a dialog exists\n */\n DialogService.prototype.hasDialog = function () {\n return (this.observer !== undefined);\n };\n /**\n * Get access to the subject of the dialog\n * @returns The subject of the dialog\n */\n DialogService.prototype.getSubject = function () {\n return (this.subject) ? this.subject : '';\n };\n /**\n * Get access to the message of the dialog\n * @returns The message of the dialog\n */\n DialogService.prototype.getMessage = function () {\n return (this.message) ? this.message : '';\n };\n /**\n * Get access to the text of the button\n * @returns The text of the button\n */\n DialogService.prototype.getButtonText = function () {\n return (this.buttonText) ? this.buttonText : '';\n };\n /**\n * Handles the choice of the user in the dialog\n */\n DialogService.prototype.next = function (value) {\n if (this.observer) {\n this.observer.next(value);\n this.observer.complete();\n this.observer = undefined;\n }\n };\n return DialogService;\n}());\nexport { DialogService };\n","/**\n * @file Component to assemble other components to construct a view.\n * The view is about plannings data.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { DataViewBase } from '../../base/data-view/data-view.base';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { DomainService } from '../../domain.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\n/**\n * Component to assemble other components to construct a view.\n * The view is about plannings data.\n * @export\n * @class DataViewComponent\n * @extends {DataViewBase}\n */\nvar DataViewComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DataViewComponent, _super);\n /**\n * Creates an instance of DataViewComponent.\n * @param {Router} router The router\n * @param {ActivatedRoute} route The active route.\n * @param {DomainService} domainService Service to get the data displayed.\n * @param {DialogService} dialogService Service to create informative user dialogs.\n * @param {AlertsService} alertsService Service to inform the user of system events.\n * @param {TranslateService} translateService Service to make the application multilanguage.\n * @memberOf DataViewComponent\n */\n function DataViewComponent(router, route, domainService, dialogService, alertsService, translateService) {\n return _super.call(this, router, route, domainService, dialogService, alertsService, translateService) || this;\n }\n /**\n * Checks whether the given route is the detail route for the given item.\n * @param detailRoute The route to check.\n * @param item Checks the route for this item.\n * @returns True when detailRoute matches with the given entity otherwise false.\n */\n DataViewComponent.prototype.isDetailRouteForItem = function (detailRoute, item) {\n // Override and use the item parameter in derived classes.\n if (!_super.prototype.isDetailRouteForItem.call(this, detailRoute, item)) {\n return false;\n }\n if (item.entityType.shortName === 'SpendTime') {\n var classNameSpendTime = (item['AccountClass'] + '').toLowerCase();\n return detailRoute.path.toLowerCase().indexOf(classNameSpendTime) !== -1;\n }\n if (item.entityType.shortName === 'Assignment') {\n var classNameAssignment = (item['Appointment']) ? 'appointment' : 'assignment';\n return detailRoute.path.toLowerCase().indexOf(classNameAssignment) !== -1;\n }\n return true;\n };\n return DataViewComponent;\n}(DataViewBase));\nexport { DataViewComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to assemble other components to construct a view.\n * The view is about plannings data.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../insights/insights/insights.component.ngfactory\";\nimport * as i2 from \"../../insights/insights/insights.component\";\nimport * as i3 from \"../../core/local-storage.service\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"../../base/list-container/list-container.component.ngfactory\";\nimport * as i6 from \"../../base/list-container/list-container.component\";\nimport * as i7 from \"../../base/sidebar-right/sidebar-right.component.ngfactory\";\nimport * as i8 from \"../../base/sidebar-right/sidebar-right.component\";\nimport * as i9 from \"./data-view.component\";\nimport * as i10 from \"@angular/router\";\nimport * as i11 from \"../../domain.service\";\nimport * as i12 from \"../../core/dialog.service\";\nimport * as i13 from \"../../core/alerts.service\";\nimport * as i14 from \"@ngx-translate/core\";\nvar styles_DataViewComponent = [];\nvar RenderType_DataViewComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_DataViewComponent, data: {} });\nexport { RenderType_DataViewComponent as RenderType_DataViewComponent };\nexport function View_DataViewComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { dataList: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"container-fluid mt-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"row m-t\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"sym-insights\", [], [[8, \"hidden\", 0]], null, null, i1.View_InsightsComponent_0, i1.RenderType_InsightsComponent)), i0.ɵdid(5, 49152, [[\"insightsTop\", 4]], 0, i2.InsightsComponent, [i3.LocalStorageService], { configuration: [0, \"configuration\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 10, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i0.ɵdid(8, 278528, null, 0, i4.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(9, { \"col-lg-8 pr-0\": 0, \"col-lg-12\": 1, \"d-none d-lg-block\": 2 }), (_l()(), i0.ɵeld(10, 16777216, null, null, 1, \"sym-list-container\", [], null, [[null, \"entityCreated\"], [null, \"selectionChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"entityCreated\" === en)) {\n var pd_0 = (_co.navigateToNew($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"selectionChanged\" === en)) {\n var pd_1 = (_co.navigateTo($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i5.View_ListContainerComponent_0, i5.RenderType_ListContainerComponent)), i0.ɵdid(11, 180224, [[1, 4]], 0, i6.ListContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { insights: [0, \"insights\"], component: [1, \"component\"] }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\" }), (_l()(), i0.ɵeld(12, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i0.ɵdid(13, 278528, null, 0, i4.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(14, { \"col-lg-4\": 0, \"d-none\": 1 }), (_l()(), i0.ɵeld(15, 0, null, null, 1, \"sym-sidebar-right\", [], null, [[null, \"closed\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"closed\" === en)) {\n var pd_0 = (_co.sidebarIsClosing($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i7.View_SidebarRightComponent_0, i7.RenderType_SidebarRightComponent)), i0.ɵdid(16, 245760, [[\"sidebarRight\", 4]], 0, i8.SidebarRightComponent, [], null, { closed: \"closed\" })], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.configurations.insights; _ck(_v, 5, 0, currVal_1); var currVal_2 = _ck(_v, 9, 0, i0.ɵnov(_v, 16).isOpen(), !i0.ɵnov(_v, 16).isOpen(), i0.ɵnov(_v, 16).isOpen()); _ck(_v, 8, 0, currVal_2); var currVal_3 = i0.ɵnov(_v, 5); var currVal_4 = _co.configurations.list; _ck(_v, 11, 0, currVal_3, currVal_4); var currVal_5 = _ck(_v, 14, 0, i0.ɵnov(_v, 16).isOpen(), !i0.ɵnov(_v, 16).isOpen()); _ck(_v, 13, 0, currVal_5); _ck(_v, 16, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.configurations.insights; _ck(_v, 4, 0, currVal_0); }); }\nexport function View_DataViewComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-view\", [], null, null, null, View_DataViewComponent_0, RenderType_DataViewComponent)), i0.ɵdid(1, 245760, null, 0, i9.DataViewComponent, [i10.Router, i10.ActivatedRoute, i11.DomainService, i12.DialogService, i13.AlertsService, i14.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar DataViewComponentNgFactory = i0.ɵccf(\"sym-view\", i9.DataViewComponent, View_DataViewComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { DataViewComponentNgFactory as DataViewComponentNgFactory };\n","/**\n * @file Container component for dynamically inject relation components in a detail.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ViewContainerRef, ComponentFactoryResolver, EventEmitter } from '@angular/core';\nimport { EntityType } from 'breeze-client';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nvar RelationContainerComponent = /** @class */ (function (_super) {\n tslib_1.__extends(RelationContainerComponent, _super);\n /**\n * Creates an instance of RelationContainerComponent.\n * @memberOf RelationContainerComponent\n */\n function RelationContainerComponent(containerRef, factoryResolver) {\n var _this = _super.call(this) || this;\n _this.containerRef = containerRef;\n _this.factoryResolver = factoryResolver;\n /** Gets, sets the RelationComponent instance of this container. */\n _this.instance = null;\n /** Event triggered when modifications are committed. */\n _this.itemSaved = new EventEmitter();\n /**\n * Value of the overlayMode property\n * @private\n * @memberOf RelationContainerComponent\n */\n _this._overlayMode = false;\n _this.subscriptionPool.add(_this.itemSaved.subscribe(function (result) {\n if (!_this._component || !_this._component['itemSaved']) {\n return;\n }\n _this._component['itemSaved'](result);\n }));\n return _this;\n }\n Object.defineProperty(RelationContainerComponent.prototype, \"hasChanges\", {\n /**\n * Gets a value indicating whether the inner relation component has changes.\n * @readonly\n * @type {boolean}\n * @memberOf RelationContainerComponent\n */\n get: function () {\n return this.instance && this.instance.hasChanges;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationContainerComponent.prototype, \"createMode\", {\n /**\n * Gets a value indicating whether the inner relation is in create mode.\n * @readonly\n * @type {boolean}\n * @memberOf RelationContainerComponent\n */\n get: function () {\n return this.instance && this.instance.createMode;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationContainerComponent.prototype, \"component\", {\n /**\n * Gets the relation component\n * @readonly\n * @type {ChildComponent}\n * @memberOf RelationContainerComponent\n */\n get: function () {\n return this._component;\n },\n /**\n * Sets the relation component\n * @memberOf RelationContainerComponent\n */\n set: function (value) {\n var _this = this;\n this._component = value;\n if (this._component === undefined) {\n return;\n }\n if (this._component.component === undefined) {\n this._component.component = 'RelationCompoment';\n }\n var editor = ComponentRegistry.getComponent('relation', this._component.component);\n if (this.containerRef.length > 0) {\n this.containerRef.clear();\n }\n var componentFactory = this.factoryResolver.resolveComponentFactory(editor);\n var ref = this.containerRef.createComponent(componentFactory, 0);\n this.instance = ref.instance;\n this.instance.configuration = this._component.configuration;\n this.instance.itemSaved.subscribe(function (result) {\n _this.itemSaved.emit(result);\n });\n this.instance.overlayMode = this._overlayMode;\n this.instance.master = this._master;\n this.instance.masterType = this._masterType;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationContainerComponent.prototype, \"overlayMode\", {\n /**\n * Gets the overlayMode of the relation component.\n * @type {boolean}\n * @memberOf RelationContainerComponent\n */\n get: function () {\n return this._overlayMode;\n },\n /**\n * Sets the overlayMode of the relation component.\n * @memberOf RelationContainerComponent\n */\n set: function (value) {\n this._overlayMode = value;\n if (this.instance) {\n this.instance.overlayMode = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationContainerComponent.prototype, \"master\", {\n /**\n * Gets the master entity.\n * @readonly\n * @type {Entity}\n * @memberOf RelationContainerComponent\n */\n get: function () {\n return this._master;\n },\n /**\n * Sets the master entity.\n * @memberOf RelationContainerComponent\n */\n set: function (value) {\n this._master = value;\n if (this.instance) {\n this.instance.master = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationContainerComponent.prototype, \"masterType\", {\n /**\n * Gets the master entity type.\n * @readonly\n * @type {EntityType}\n * @memberOf RelationContainerComponent\n */\n get: function () {\n return this._masterType;\n },\n /**\n * Sets the master entity type.\n * @memberOf RelationContainerComponent\n */\n set: function (value) {\n this._masterType = value;\n if (this.instance) {\n this.instance.masterType = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * This method is called when save button of the DetailComponent is clicked.\n * The RelationContainerComponent dispatch this event to the RelationComponent\n * @param {Event} event The click event.\n * @memberOf RelationContainerComponent\n */\n RelationContainerComponent.prototype.formSave = function (event) {\n if (this.instance) {\n this.instance.formSave(event);\n }\n };\n /**\n * This method is called when delete button of the DetailComponent is clicked.\n * The RelationContainerComponent dispatch this event to the RelationComponent\n * @param {Event} event The click event.\n * @memberOf RelationContainerComponent\n */\n RelationContainerComponent.prototype.formDelete = function (event) {\n if (this.instance) {\n this.instance.formDelete(event);\n }\n };\n /**\n * This method is called when cancel button of the DetailComponent is clicked.\n * The RelationContainerComponent dispatch this event to the RelationComponent\n * @param {Event} event The click event.\n * @memberOf RelationContainerComponent\n */\n RelationContainerComponent.prototype.formCancel = function (event) {\n if (this.instance) {\n this.instance.formCancel(event);\n }\n };\n return RelationContainerComponent;\n}(AbstractBase));\nexport { RelationContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Container component for dynamically inject relation components in a detail.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./relation-container.component\";\nvar styles_RelationContainerComponent = [];\nvar RenderType_RelationContainerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_RelationContainerComponent, data: {} });\nexport { RenderType_RelationContainerComponent as RenderType_RelationContainerComponent };\nexport function View_RelationContainerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_RelationContainerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-relation-container\", [], null, null, null, View_RelationContainerComponent_0, RenderType_RelationContainerComponent)), i0.ɵdid(1, 180224, null, 0, i1.RelationContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], null, null)], null, null); }\nvar RelationContainerComponentNgFactory = i0.ɵccf(\"sym-relation-container\", i1.RelationContainerComponent, View_RelationContainerComponent_Host_0, { component: \"component\", overlayMode: \"overlayMode\", master: \"master\", masterType: \"masterType\" }, { itemSaved: \"itemSaved\" }, []);\nexport { RelationContainerComponentNgFactory as RelationContainerComponentNgFactory };\n","/**\n * @file Component to display an instruction how to use a specific component.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { HttpClient } from '@angular/common/http';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ConfigurationsService } from '../../configurations.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * Component to display an instruction how to use a specific component.\n */\nvar InstructionComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InstructionComponent, _super);\n /**\n * Constructs a InstructionComponent\n */\n function InstructionComponent(http, configurationsService, translateService) {\n var _this = _super.call(this) || this;\n _this.http = http;\n _this.configurationsService = configurationsService;\n _this.translateService = translateService;\n /**\n * Gets sets the specific name of the instruction.\n * The subject name is used to get the right instruction to retrieve.\n */\n // tslint:disable-next-line:no-input-rename\n _this.subject = undefined;\n /**\n * Indicates the progress of the instruction loading.\n * Possible values: 'loading', 'available', 'error'\n */\n _this.mode = 'loading';\n /** The content of the loaded instruction */\n _this.text = undefined;\n /** Boolean flag to indicate whether the instruction is shown or collapsed. */\n _this.open = false;\n return _this;\n }\n /**\n * Gets the content of the retrieved instruction.\n * @returns HTML content representing the instruction.\n */\n InstructionComponent.prototype.getText = function () {\n return this.text;\n };\n /**\n * Alternates between an open and collapsed state of the instruction.\n */\n InstructionComponent.prototype.toggle = function (event) {\n // Stop event propagation\n event.stopPropagation();\n this.open = !this.open;\n // First time open? Load the instruction\n if (!this.text && this.open) {\n var self_1 = this;\n this.instructionPath = this.subject + '.' + this.translateService.currentLang + '.html';\n this.subscriptionPool.add(this.http.get(this.instructionPath, { responseType: 'text' }).subscribe(function (result) {\n // #1919: in productie wordt index.html teruggegeven als de instructie niet is gevonden.\n if (result.slice(0, 15) === '') {\n self_1.mode = 'error';\n }\n else {\n self_1.text = result;\n self_1.mode = 'available';\n }\n }, function (reason) {\n self_1.mode = 'error';\n }));\n }\n };\n /**\n * Closes the instruction.\n */\n InstructionComponent.prototype.close = function () {\n this.open = false;\n };\n /**\n * Checks whether the instruction is in a specific loading mode.\n * @param mode The loading mode to check ('loading', 'available', 'error')\n * @returns True when the component is in the given mode, otherwise false.\n * @see InstructionComponent.mode\n */\n InstructionComponent.prototype.inMode = function (mode) {\n return (this.mode === mode);\n };\n /**\n * Checks whether the instruction is open or collapsed.\n * @returns True when the instruction is open and shown.\n */\n InstructionComponent.prototype.isOpen = function () {\n return this.open;\n };\n return InstructionComponent;\n}(AbstractBase));\nexport { InstructionComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to display an instruction how to use a specific component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./instruction.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nvar styles_InstructionComponent = [i0.styles];\nvar RenderType_InstructionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InstructionComponent, data: {} });\nexport { RenderType_InstructionComponent as RenderType_InstructionComponent };\nfunction View_InstructionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.CORE.LOADING\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InstructionComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"sym-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"i\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.CORE.NO_INSTRUCTION\")); _ck(_v, 3, 0, currVal_0); }); }\nfunction View_InstructionComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction sym-watermark\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"div\", [[\"class\", \"sym-content\"]], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getText(); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InstructionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-pane sym-instruction sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"p\", [[\"class\", \"sym-instruction-path\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InstructionComponent_2)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InstructionComponent_3)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InstructionComponent_4)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inMode(\"loading\"); _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.inMode(\"error\"); _ck(_v, 6, 0, currVal_2); var currVal_3 = _co.inMode(\"available\"); _ck(_v, 8, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.instructionPath; _ck(_v, 2, 0, currVal_0); }); }\nexport function View_InstructionComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InstructionComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isOpen(); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_InstructionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-instruction\", [], null, null, null, View_InstructionComponent_0, RenderType_InstructionComponent)), i1.ɵdid(1, 180224, null, 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], null, null)], null, null); }\nvar InstructionComponentNgFactory = i1.ɵccf(\"sym-instruction\", i4.InstructionComponent, View_InstructionComponent_Host_0, { subject: \"subject\" }, {}, []);\nexport { InstructionComponentNgFactory as InstructionComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to display an instruction how to use a specific component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-instruction{background-color:#f8f9fa;position:relative;font-size:.8rem;overflow:hidden;margin-bottom:1rem} .sym-instruction h1{font-size:1.5rem} .sym-instruction h2{font-size:1.2rem} .sym-instruction ul.sym-tips{list-style-type:none;padding:0;margin:0;color:#6c757d} .sym-instruction .sym-content{position:relative} .sym-instruction i.icon.sym-watermark{color:#f2f4f6;position:absolute;right:20px;bottom:4px;font-size:6rem}\"];\nexport { styles as styles };\n","/**\n * @file The file reader service\n * @author Heino Lenting\n */\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { SettingsService } from '../settings.service';\n/**\n * Class for the file read service base\n */\nvar FileReaderService = /** @class */ (function () {\n /**\n * Constructs a FileReaderService.\n * @param alertsService Service for giving user feedback\n */\n function FileReaderService(http, settingsService) {\n this.http = http;\n /**\n * Gets, sets the standard file upload url.\n * @private\n * @type {string}\n * @memberOf FileReaderService\n */\n this.uploadBaseUrl = null;\n /** The allowed mime types */\n this.allowedMimeTypes = [];\n /** The allowed file size in bytes */\n this.allowedFileSizeInBytes = 1000000; // = Megabyte\n var settings = settingsService.settings.frontend.domains.find(function (it) { return it.name === 'settings'; });\n if (settings == null) {\n throw new Error('Domain settings is missing');\n }\n this.uploadBaseUrl = settings.uri;\n }\n /**\n * Register the file reader component\n * @param component The file reader component\n */\n FileReaderService.prototype.registerComponent = function (component) {\n this.component = component;\n };\n /**\n * Click on the input element to open the file window\n * @param file The file to read\n */\n FileReaderService.prototype.pickFile = function (allowedMimeTypes, allowedExtensions) {\n var _this = this;\n // Make sure the component for input element interaction exists\n if (!this.component) {\n return Promise.reject(new Error('File reader component not registerd'));\n }\n // Save the allowed mime type\n this.allowedMimeTypes = allowedMimeTypes;\n // Return the promise, resolving and rejecting will happen when the input is changed\n return new Promise(function (resolve, reject) {\n _this.resolve = resolve;\n _this.reject = reject;\n // Let's start the 'input click dance'...\n _this.component.openFileWindow(allowedExtensions);\n });\n };\n /**\n * Reads a file, returns a FileData promise\n * @param file The file to read\n */\n FileReaderService.prototype.readFile = function (file) {\n var _this = this;\n // Make sure we have a file\n if (!file) {\n return this.reject(new Error('No file selected'));\n }\n // Check mime type\n if (!this.allowedMimeTypes.includes(file.type)) {\n return this.reject(new Error('Invalid file type'));\n }\n // Check file size\n if (file.size > this.allowedFileSizeInBytes) {\n return this.reject(new Error('File too large'));\n }\n // Create file reader and set onloaded\n var reader = new FileReader();\n reader.onloadend = function (e) {\n _this.resolve({ fileName: file.name, data: reader.result });\n };\n // Start reading\n reader.readAsArrayBuffer(file);\n };\n /**\n * Returns an empty promise, to finish the action (and\n * be sure the action button is re-enabled again).\n */\n FileReaderService.prototype.cancelFile = function () {\n // Resolve with an empty message. This will not be shown.\n return this.resolve();\n };\n /**\n * Standard file upload method.\n * @param {string} uploadType Backend processing type of the uploaded data.\n * @param {FileData} fileData The file data.\n * @memberOf FileReaderService\n */\n FileReaderService.prototype.uploadFile = function (uploadType, fileData, toMessageQueue) {\n var file = new File([new Blob([new Uint8Array(fileData.data, 0, fileData.data.byteLength)])], fileData.fileName);\n var data = new FormData();\n data.append('file', file, fileData.fileName);\n var headers = new HttpHeaders().append('Upload-Type', uploadType);\n var uploadEndPoint = toMessageQueue ? this.uploadBaseUrl + 'MessageQueueUpload' : this.uploadBaseUrl + 'DomainUpload';\n return this.http.post(uploadEndPoint, data, { headers: headers }).toPromise();\n };\n return FileReaderService;\n}());\nexport { FileReaderService };\n","/**\n * @file The action base\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { AbstractBase } from '../helpers/abstract-base';\nvar ActionBase = /** @class */ (function (_super) {\n tslib_1.__extends(ActionBase, _super);\n /**\n * Creates an instance of ActionBase.\n * @param {string} icon\n * @param {string} labelKey\n */\n function ActionBase(icon, labelKey) {\n var _this = _super.call(this) || this;\n _this.icon = icon;\n _this.labelKey = labelKey;\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n * @returns {Promise} The success message\n */\n ActionBase.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.SOCIAL.ACTION_NOT_FOUND', message: 'Action is not implemented' })];\n });\n });\n };\n /**\n * Save the items\n * @param {BreezeService} breezeService\n */\n ActionBase.prototype.save = function (breezeService) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n _this.subscriptionPool.add(breezeService.saveChanges(function (error) {\n if (error) {\n var entityErrors = error.entityErrors;\n if (entityErrors) {\n entityErrors.forEach(function (entityError) {\n breezeService.rejectChanges();\n reject({ labelKey: entityError.errorName, message: new Error(entityError.errorMessage) });\n });\n }\n var detailedMessage = error.error ? error.error.message : error.message;\n breezeService.rejectChanges();\n reject({ labelKey: 'APP.LISTS.ITEMS_UNSUCCESSFULLY_SAVED', message: detailedMessage });\n }\n }).subscribe(function (response) {\n resolve();\n }));\n })];\n });\n });\n };\n ActionBase.prototype.isAllowed = function (entity, name) {\n return true;\n };\n ActionBase.prototype.isDisabled = function (entity, name, backendSettingsService, userService) {\n var isOnTime = backendSettingsService.isOnTime(entity);\n return !isOnTime || entity['Closed'] || (entity['Item'] != null && entity['Item']['Closed']);\n };\n ActionBase.prototype.getIcon = function () {\n return this.icon;\n };\n ActionBase.prototype.getLabelKey = function () {\n return this.labelKey;\n };\n return ActionBase;\n}(AbstractBase));\nexport { ActionBase };\n","/**\n * @file The upload import tasks action\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\n/**\n * @file Upload and import tasks action\n * @author Heino Lenting\n */\nvar UploadImportTasksAction = /** @class */ (function (_super) {\n tslib_1.__extends(UploadImportTasksAction, _super);\n /**\n * Creates an instance of UploadImportTasksAction.\n * @param {FileReaderService} fileReaderService\n * @param {string} icon\n * @param {string} labelKey\n */\n function UploadImportTasksAction(fileReaderService) {\n var _this = _super.call(this, 'sym-icon-upload', 'APP.MISC.UPLOAD_AND_IMPORT') || this;\n _this.fileReaderService = fileReaderService;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.LISTS.ACTION_UPLOAD_IMPORT_TASKS_SUCCESS';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n UploadImportTasksAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var fileData, error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 5, , 6]);\n return [4 /*yield*/, this.fileReaderService.pickFile(['text/xml'], '.xml')];\n case 1:\n fileData = _a.sent();\n if (!fileData) return [3 /*break*/, 3];\n return [4 /*yield*/, this.fileReaderService.uploadFile('upload', fileData, true)];\n case 2:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n case 3: \n // The user may have cancelled the dialog form. Then resolve with an empty message.\n return [2 /*return*/, Promise.resolve()];\n case 4: return [3 /*break*/, 6];\n case 5:\n error_1 = _a.sent();\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.LISTS.ACTION_FAILED', message: error_1 })];\n case 6: return [2 /*return*/];\n }\n });\n });\n };\n return UploadImportTasksAction;\n}(ActionBase));\nexport { UploadImportTasksAction };\n","/**\n * @file The upload import users action\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\n/**\n * @file Upload and import users action\n * @author Heino Lenting\n */\nvar UploadImportUsersAction = /** @class */ (function (_super) {\n tslib_1.__extends(UploadImportUsersAction, _super);\n /**\n * Creates an instance of UploadImportUsersAction.\n * @param {FileReaderService} fileReaderService\n * @param {string} icon\n * @param {string} labelKey\n */\n function UploadImportUsersAction(fileReaderService) {\n var _this = _super.call(this, 'sym-icon-upload', 'APP.MISC.UPLOAD_AND_IMPORT') || this;\n _this.fileReaderService = fileReaderService;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.LISTS.ACTION_UPLOAD_IMPORT_USERS_SUCCESS';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n UploadImportUsersAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var fileData, error_1, detailedMessage;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 5, , 6]);\n return [4 /*yield*/, this.fileReaderService.pickFile(['text/csv', 'text/xml', 'text/plain', 'application/vnd.ms-excel', 'text/x-csv'], '.csv, .xml')];\n case 1:\n fileData = _a.sent();\n if (!fileData) return [3 /*break*/, 3];\n return [4 /*yield*/, this.fileReaderService.uploadFile('upload-import-users', fileData, false)];\n case 2:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n case 3: \n // The user may have cancelled the dialog form. Then resolve with an empty message.\n return [2 /*return*/, Promise.resolve()];\n case 4: return [3 /*break*/, 6];\n case 5:\n error_1 = _a.sent();\n detailedMessage = error_1.error ? error_1.error.message : error_1.message;\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.LISTS.ACTION_UPLOAD_IMPORT_USERS_FAILED', message: detailedMessage })];\n case 6: return [2 /*return*/];\n }\n });\n });\n };\n return UploadImportUsersAction;\n}(ActionBase));\nexport { UploadImportUsersAction };\n","/**\n * @file The realize selection task action\n * @author Tzi Yang Lum\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nvar RealizeSelectionAction = /** @class */ (function (_super) {\n tslib_1.__extends(RealizeSelectionAction, _super);\n /**\n * Creates an instance of UserService\n * @param {UserService} userService\n * @param {string} icon\n * @param {string} labelKey\n */\n function RealizeSelectionAction(userService) {\n var _this = _super.call(this, 'sym-icon-realization', 'APP.LISTS.REALIZATION') || this;\n _this.userService = userService;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.LISTS.ITEMS_SUCCESSFULLY_SAVED';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n RealizeSelectionAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType, listBase, error_1;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n entityType = input.breezeService.getEntityType('SpendTime');\n listBase = input.listBase;\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n listBase.selected.forEach(function (item) {\n var spendTime = entityType.createEntity();\n input.breezeService.addEntity(spendTime);\n input.breezeService.setDefaultValues(_this.userService.user, spendTime);\n spendTime['Account'] = item;\n });\n return [4 /*yield*/, this.save(input.breezeService)];\n case 2:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n case 3:\n error_1 = _a.sent();\n return [2 /*return*/, Promise.reject(error_1)];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return RealizeSelectionAction;\n}(ActionBase));\nexport { RealizeSelectionAction };\n","/**\n * @file The change marketplace value tasks action\n * @author Tzi Yang Lum\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nvar ChangeMarketplaceValueAction = /** @class */ (function (_super) {\n tslib_1.__extends(ChangeMarketplaceValueAction, _super);\n /**\n * @param {UserService} userService\n * @param {BackendSettingsService} backendSettingsService\n * @param {boolean} value\n * @param {string} labelKey\n */\n function ChangeMarketplaceValueAction(userService, backendSettingsService, value, labelKey) {\n var _this = _super.call(this, 'sym-icon-pick', labelKey) || this;\n _this.userService = userService;\n _this.backendSettingsService = backendSettingsService;\n _this.value = value;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.LISTS.ITEMS_SUCCESSFULLY_SAVED';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n ChangeMarketplaceValueAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var error_1;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n input.listBase.selected.forEach(function (entity) {\n if (entity.entityType.shortName === 'Service') {\n entity['Marketplace'] = _this.value;\n }\n });\n return [4 /*yield*/, this.save(input.breezeService)];\n case 1:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n case 2:\n error_1 = _a.sent();\n return [2 /*return*/, Promise.reject(error_1)];\n case 3: return [2 /*return*/];\n }\n });\n });\n };\n ChangeMarketplaceValueAction.prototype.isDisabled = function (item) {\n var _this = this;\n if (!this.userService.resourceOid ||\n this.backendSettingsService.publishedTill.isBefore(item['Start'])) {\n return true;\n }\n var ownTask = false;\n var openSlot = false;\n var children = item.entityType.shortName === 'Demand' ? 'Deployments' : 'Attendants';\n item[children].forEach(function (child) {\n if (child['Resource_Oid'] === _this.userService.resourceOid) {\n ownTask = true;\n }\n else if (!child['Resource_Oid']) {\n openSlot = true;\n }\n });\n return ownTask || !openSlot;\n };\n return ChangeMarketplaceValueAction;\n}(ActionBase));\nexport { ChangeMarketplaceValueAction };\n","/**\n * @file The change workstatus value tasks action\n * @author Tzi Yang Lum\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nvar ChangeWorkStatusValueAction = /** @class */ (function (_super) {\n tslib_1.__extends(ChangeWorkStatusValueAction, _super);\n /**\n * @param {string} value\n * @param {string} icon\n * @param {string} labelKey\n */\n function ChangeWorkStatusValueAction(value, icon, labelKey) {\n var _this = _super.call(this, icon, labelKey) || this;\n _this.value = value;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.LISTS.ITEMS_SUCCESSFULLY_SAVED';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n ChangeWorkStatusValueAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var error_1;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n input.listBase.selected.forEach(function (entity) {\n if (entity.entityType.shortName === 'SpendTime') {\n entity['WorkStatus'] = _this.value;\n }\n });\n return [4 /*yield*/, this.save(input.breezeService)];\n case 1:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n case 2:\n error_1 = _a.sent();\n return [2 /*return*/, Promise.reject(error_1)];\n case 3: return [2 /*return*/];\n }\n });\n });\n };\n return ChangeWorkStatusValueAction;\n}(ActionBase));\nexport { ChangeWorkStatusValueAction };\n","/**\n * @file Open overlay action\n * @author Tzi Yang Lum\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nimport * as moment from 'moment';\nvar OpenOverlayAction = /** @class */ (function (_super) {\n tslib_1.__extends(OpenOverlayAction, _super);\n /**\n * @param {OverlayService} overlayService\n * @param {string} icon\n * @param {string} labelKey\n */\n function OpenOverlayAction(overlayService, icon, labelKey) {\n var _this = _super.call(this, icon, labelKey) || this;\n _this.overlayService = overlayService;\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n OpenOverlayAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var overlayParams;\n return tslib_1.__generator(this, function (_a) {\n overlayParams = {\n action: input.actionConfiguration,\n entity: input.item\n };\n this.overlayService.createOverlay(overlayParams);\n return [2 /*return*/, Promise.resolve()];\n });\n });\n };\n OpenOverlayAction.prototype.isAllowed = function (entity, name) {\n if (name === 'open-overlay-undo') {\n var item = entity['Item'] || entity;\n // Item should be either an assignment or attendant, therefore the marketplace item is one of these two.\n if (item['Service']) {\n return item['Service']['Marketplace'];\n }\n else if (item['Deployment'] && item['Deployment']['Demand']) {\n return item['Deployment']['Demand']['Marketplace'];\n }\n return false;\n }\n return _super.prototype.isAllowed.call(this, entity);\n };\n OpenOverlayAction.prototype.isDisabled = function (entity, name, backendSettingsService, userService) {\n var marketPlace = ['open-overlay-demand', 'open-overlay-service'].includes(name);\n if (marketPlace) {\n if (!userService.resourceOid || backendSettingsService.publishedTill.isBefore(entity['Start'])) {\n return true;\n }\n var ownTask_1 = false;\n var openSlot_1 = false;\n var children = entity.entityType.shortName === 'Demand' ? 'Deployments' : 'Attendants';\n entity[children].forEach(function (child) {\n if (child['Resource_Oid'] === userService.resourceOid) {\n ownTask_1 = true;\n }\n else if (!child['Resource_Oid']) {\n openSlot_1 = true;\n }\n });\n return ownTask_1 || !openSlot_1;\n }\n var planMacroOrWorkslip = ['open-overlay-workslip', 'open-overlay-planmacro', 'batch-planmacro'].includes(name);\n if (planMacroOrWorkslip) {\n return false;\n }\n if (name === 'open-overlay-undo') {\n return moment().add(7, 'days').isAfter(moment(entity['Start']));\n }\n if (name === 'open-overlay-agenda') {\n return entity['Calendar_Oid'] == null;\n }\n if (name === 'split-availability') {\n return this.repeatIsBeforeSplitDate(entity, backendSettingsService);\n }\n return _super.prototype.isDisabled.call(this, entity, name, backendSettingsService, userService);\n };\n OpenOverlayAction.prototype.repeatIsBeforeSplitDate = function (item, backendSettingsService) {\n var repeat = item['RepeatPattern'];\n if (!repeat || repeat.Kind === 'ONCE' || repeat.entityAspect.entityState.isAddedModifiedOrDeleted()) {\n return true;\n }\n var start = item['Start'];\n var dateOfStart = new Date(start.getFullYear(), start.getMonth(), start.getDate());\n var availability = backendSettingsService.availabilityClosedTill;\n return !availability.isBefore(repeat.UntilDate) || !availability.isAfter(dateOfStart);\n };\n return OpenOverlayAction;\n}(ActionBase));\nexport { OpenOverlayAction };\n","/**\n * @file The do method action\n * @author Tzi Yang Lum\n */\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nvar DoMethodAction = /** @class */ (function (_super) {\n tslib_1.__extends(DoMethodAction, _super);\n /**\n * The do method action\n * @param {string} method\n * @param {DomainService} domainService\n * @param {string} eventsService\n * @param {EventsService} icon\n * @param {string} labelKey\n */\n function DoMethodAction(domainService, eventsService, icon, labelKey) {\n var _this = _super.call(this, icon, labelKey) || this;\n _this.domainService = domainService;\n _this.eventsService = eventsService;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.SOCIAL.ACTION_SUCCEEDED';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n DoMethodAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n var method = input.actionConfiguration.method;\n var item = input.item;\n if (!method && method === '' || typeof item[method] !== 'function') {\n reject({ labelKey: 'APP.SOCIAL.ACTION_NOT_FOUND' });\n }\n var alertLabel = item[method]();\n _this.subscriptionPool.add(_this.domainService.saveChanges(function (error) {\n if (error) {\n _this.eventsService\n .register('action-completed')\n .emit(false);\n reject({ labelKey: 'APP.SOCIAL.ACTION_NOT_FOUND', message: error });\n }\n }).subscribe(function (response) {\n _this.eventsService\n .register('action-completed')\n .emit(true);\n resolve(alertLabel || _this.successLabelKey);\n }));\n resolve(_this.successLabelKey);\n })];\n });\n });\n };\n DoMethodAction.prototype.isDisabled = function (entity, name, backendSettingsService) {\n if (name === 'enable-user') {\n return entity['Status'] === 'ENABLED';\n }\n if (name === 'disable-user') {\n return entity['Status'] === 'DISABLED';\n }\n return _super.prototype.isDisabled.call(this, entity, name, backendSettingsService);\n };\n return DoMethodAction;\n}(ActionBase));\nexport { DoMethodAction };\n","/**\n * @file The clone action\n * @author Tzi Yang Lum\n */\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nimport { DataType } from 'breeze-client';\nimport { OpenOverlayAction } from './open-overlay.action';\nimport { DoMethodAction } from './do-method-action';\nvar CanCloneAction = /** @class */ (function (_super) {\n tslib_1.__extends(CanCloneAction, _super);\n /**\n * @param {AlertsService} alertsService\n * @param {TranslateService} translateService\n */\n function CanCloneAction(alertsService, translateService, overlayService, domainService, eventsService) {\n var _this = _super.call(this, 'sym-icon-clone', 'APP.LISTS.CLONE') || this;\n _this.alertsService = alertsService;\n _this.translateService = translateService;\n _this.overlayService = overlayService;\n _this.domainService = domainService;\n _this.eventsService = eventsService;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.LISTS.ITEMS_SUCCESSFULLY_CLONED';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionInput} input The action configuration\n */\n CanCloneAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var method, configuration, error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 6, , 7]);\n method = input.actionConfiguration.method;\n configuration = input.actionConfiguration.configuration;\n if (!method) return [3 /*break*/, 2];\n // #2188\n if (input.item.entityType.shortName === 'Task' && input.item['Project_Oid']) {\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.SOCIAL.TASK_HAS_PROJECT' })];\n }\n return [4 /*yield*/, this.doMethod(input)];\n case 1: return [2 /*return*/, _a.sent()];\n case 2:\n if (!configuration) return [3 /*break*/, 4];\n return [4 /*yield*/, this.openOverlay(input)];\n case 3: return [2 /*return*/, _a.sent()];\n case 4: return [4 /*yield*/, this.cloneSelected(input)];\n case 5: return [2 /*return*/, _a.sent()];\n case 6:\n error_1 = _a.sent();\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.LISTS.ITEMS_UNSUCCESSFULLY_CLONED' })];\n case 7: return [2 /*return*/];\n }\n });\n });\n };\n CanCloneAction.prototype.isDisabled = function () {\n return false;\n };\n /**\n * Clone selected items\n * @param {ActionInput} input\n */\n CanCloneAction.prototype.cloneSelected = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var listBase, fields, candidateField, found, error_2;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n listBase = input.listBase;\n fields = listBase.configuration.data.fields;\n found = fields.find(function (item) { return item.name.toLowerCase() === 'name'; });\n if (found) {\n candidateField = listBase.entityType.getDataProperty(found.name);\n }\n else {\n found = fields.find(function (item) {\n if (item.name.toLowerCase() === 'color') {\n return false;\n }\n candidateField = listBase.entityType.getDataProperty(item.name);\n if (candidateField &&\n candidateField.dataType === DataType.String &&\n (candidateField.maxLength == null || candidateField.maxLength > 9)) {\n return true;\n }\n return false;\n });\n }\n if (!found) {\n // Nog wel info hierover maar niet verplicht meer.\n this.alertsService.createAlert('info', 'APP.LISTS.NO_SUITABLE_FIELD_FOR_NAME');\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n listBase.selected.forEach(function (item) {\n var copy = input.breezeService.copy(item);\n if (found) {\n copy[candidateField.name] =\n _this.translateService.instant('APP.CORE.COPY_OF') +\n ' ' +\n copy[candidateField.name];\n // Limit maxLength if given\n if (candidateField &&\n candidateField.maxLength &&\n copy[candidateField.name].length > candidateField.maxLength) {\n copy[candidateField.name] = copy[candidateField.name].substring(0, candidateField.maxLength);\n }\n }\n });\n return [4 /*yield*/, this.save(input.breezeService)];\n case 2:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n case 3:\n error_2 = _a.sent();\n return [2 /*return*/, Promise.reject(error_2)];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n CanCloneAction.prototype.doMethod = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, new DoMethodAction(this.domainService, this.eventsService, this.getIcon(), this.getLabelKey()).do(input)];\n case 1:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n }\n });\n });\n };\n CanCloneAction.prototype.openOverlay = function (input) {\n return new OpenOverlayAction(this.overlayService, this.getIcon(), this.getLabelKey()).do(input);\n };\n return CanCloneAction;\n}(ActionBase));\nexport { CanCloneAction };\n","import * as tslib_1 from \"tslib\";\nimport { OpenOverlayAction } from './open-overlay.action';\nvar OpenOverlayShrinkageAction = /** @class */ (function (_super) {\n tslib_1.__extends(OpenOverlayShrinkageAction, _super);\n /**\n * @param {OverlayService} overlayService\n */\n function OpenOverlayShrinkageAction(overlayService) {\n return _super.call(this, overlayService, 'sym-icon-shrinkage', 'APP.FORECAST.SETUP_SHRINKAGE') || this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n OpenOverlayShrinkageAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n input.actionConfiguration.configuration = {\n components: [\n {\n component: 'ShrinkageComponent',\n configuration: {}\n }\n ],\n icon: this.getIcon(),\n labelKey: this.getLabelKey(),\n instruction: 'instructions/standaard/forecast/actions/setup-shrinkage'\n };\n return [2 /*return*/, _super.prototype.do.call(this, input)];\n });\n });\n };\n return OpenOverlayShrinkageAction;\n}(OpenOverlayAction));\nexport { OpenOverlayShrinkageAction };\n","/**\n * @file Cancel PlanMacro Action\n * @author Tzi Yang Lum\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nimport { BreezeService } from '../../breeze.service';\nimport { mergeMap } from 'rxjs/internal/operators/mergeMap';\nvar CancelPlanMacroAction = /** @class */ (function (_super) {\n tslib_1.__extends(CancelPlanMacroAction, _super);\n /**\n * Creates an instance of CancelPlanMacroAction.\n * @param {DomainService} domainService\n */\n function CancelPlanMacroAction(domainService) {\n var _this = _super.call(this, 'sym-icon-cancel', 'APP.MISC.PLANMACRO.CANCEL') || this;\n _this.domainService = domainService;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.DOMAIN.PLANMACRO_SCRIPTCANCEL_SUCCESSFULLY';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionInput} input The action configuration\n */\n CancelPlanMacroAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n _this.subscriptionPool.add(BreezeService.invokeMethod(input.item, 'ScriptRun', [-1])\n .pipe(mergeMap(function (value) {\n return _this.domainService.saveChanges(function (error) {\n if (error) {\n reject({ labelKey: 'APP.DOMAIN.PLANMACRO_SCRIPTCANCEL_UNSUCCESSFULLY', message: error });\n }\n });\n }))\n .subscribe(function (response) {\n resolve(_this.successLabelKey);\n }));\n })];\n });\n });\n };\n CancelPlanMacroAction.prototype.isDisabled = function () {\n return false;\n };\n return CancelPlanMacroAction;\n}(ActionBase));\nexport { CancelPlanMacroAction };\n","/**\n * @file The enable user selection action\n * @author HS\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ActionBase } from '../action';\nvar EnableUserSelectionAction = /** @class */ (function (_super) {\n tslib_1.__extends(EnableUserSelectionAction, _super);\n /**\n * Creates an instance of UserService\n * @param {UserService} userService\n * @param {string} icon\n * @param {string} labelKey\n */\n function EnableUserSelectionAction() {\n var _this = _super.call(this, 'sym-icon-enable', 'APP.MISC.USER.ENABLE') || this;\n /**\n * The success labelkey\n */\n _this.successLabelKey = 'APP.LISTS.ITEMS_SUCCESSFULLY_SAVED';\n return _this;\n }\n /**\n * Execute the action\n * @param {ActionConfiguration} actionConfiguration The action configuration\n */\n EnableUserSelectionAction.prototype.do = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n // Enable all selected users that are not enabled yet.\n input.listBase.selected.forEach(function (item) {\n if (item['Status'] !== 'ENABLED') {\n item['enable']();\n }\n });\n return [4 /*yield*/, this.save(input.breezeService)];\n case 1:\n _a.sent();\n return [2 /*return*/, Promise.resolve(this.successLabelKey)];\n case 2:\n error_1 = _a.sent();\n return [2 /*return*/, Promise.reject(error_1)];\n case 3: return [2 /*return*/];\n }\n });\n });\n };\n return EnableUserSelectionAction;\n}(ActionBase));\nexport { EnableUserSelectionAction };\n","/**\n * @file The action service\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { FileReaderService } from '../base/file-reader.service';\nimport { UploadImportTasksAction } from './action/actions/upload-import-tasks.action';\nimport { UploadImportUsersAction } from './action/actions/upload-import-users.action';\nimport { RealizeSelectionAction } from './action/actions/realize-selection.action';\nimport { ChangeMarketplaceValueAction } from './action/actions/change-marketplace-value.action';\nimport { ChangeWorkStatusValueAction } from './action/actions/change-workstatus-value.action';\nimport { UserService } from '../user.service';\nimport { BackendSettingsService } from '../backend-settings.service';\nimport { OpenOverlayAction } from './action/actions/open-overlay.action';\nimport { OverlayService } from './overlay.service';\nimport { AlertsService } from './alerts.service';\nimport { CanCloneAction } from './action/actions/can-clone-action';\nimport { TranslateService } from '@ngx-translate/core';\nimport { OpenOverlayShrinkageAction } from './action/actions/open-overlay-shrinkage.action';\nimport { CancelPlanMacroAction } from './action/actions/cancel-planmacro.action';\nimport { DomainService } from '../domain.service';\nimport { EventsService } from './event.service';\nimport { DoMethodAction } from './action/actions/do-method-action';\nimport { EnableUserSelectionAction } from './action/actions/enable-user-selection.action';\nvar ActionService = /** @class */ (function () {\n /**\n * Creates an instance of ActionService.\n * @param {FileReaderService} fileReaderService\n * @memberof ActionService\n */\n function ActionService(fileReaderService, userService, backendSettingsService, overlayService, alertsService, translateService, domainService, eventsService) {\n this.fileReaderService = fileReaderService;\n this.userService = userService;\n this.backendSettingsService = backendSettingsService;\n this.overlayService = overlayService;\n this.alertsService = alertsService;\n this.translateService = translateService;\n this.domainService = domainService;\n this.eventsService = eventsService;\n this.availableActions = {\n 'upload-import-tasks': new UploadImportTasksAction(this.fileReaderService),\n 'upload-import-users': new UploadImportUsersAction(this.fileReaderService),\n 'realize-list': new RealizeSelectionAction(this.userService),\n 'turn-marketplace-on': new ChangeMarketplaceValueAction(this.userService, this.backendSettingsService, true, 'APP.LISTS.MARKETPLACE_ON'),\n 'turn-marketplace-off': new ChangeMarketplaceValueAction(this.userService, this.backendSettingsService, false, 'APP.LISTS.MARKETPLACE_OFF'),\n 'open-overlay-exchange': new OpenOverlayAction(this.overlayService, 'sym-icon-exchange', 'APP.SOCIAL.ACTIONS_EXCHANGE'),\n 'open-overlay-reassign': new OpenOverlayAction(this.overlayService, 'sym-icon-reassign', 'APP.SOCIAL.ACTIONS_REASSIGN'),\n 'open-overlay-exchange-day': new OpenOverlayAction(this.overlayService, 'sym-icon-exchange', 'APP.SOCIAL.ACTIONS_EXCHANGE_DAY'),\n 'open-overlay-reassign-day': new OpenOverlayAction(this.overlayService, 'sym-icon-reassign', 'APP.SOCIAL.ACTIONS_REASSIGN_DAY'),\n 'open-overlay-undo': new OpenOverlayAction(this.overlayService, 'sym-icon-undo', 'APP.MARKETPLACE.WITHDRAW'),\n 'open-overlay-agenda': new OpenOverlayAction(this.overlayService, 'sym-icon-agenda', 'APP.FORECAST.CHECK_CALENDAR'),\n 'open-overlay-workslip': new OpenOverlayAction(this.overlayService, 'sym-icon-workslip', 'APP.WORKSLIP.WORKSLIP'),\n 'open-overlay-shrinkage': new OpenOverlayShrinkageAction(this.overlayService),\n 'open-overlay-clone': new OpenOverlayAction(this.overlayService, 'sym-icon-clone', 'APP.TEMPLATES.DUPLICATE'),\n 'open-overlay-demand': new OpenOverlayAction(this.overlayService, 'sym-icon-pick', 'APP.LISTS.COLUMN.MARKETPLACE-DEMAND.ATTEND'),\n 'open-overlay-service': new OpenOverlayAction(this.overlayService, 'sym-icon-pick', 'APP.LISTS.COLUMN.MARKETPLACE-SERVICE.ATTEND'),\n 'can-clone': new CanCloneAction(this.alertsService, this.translateService, this.overlayService, this.domainService, this.eventsService),\n 'batch-planmacro': new OpenOverlayAction(this.overlayService, 'sym-icon-batch', 'APP.MISC.PLANMACRO.BATCH'),\n 'split-availability': new OpenOverlayAction(this.overlayService, 'sym-icon-split', 'APP.MISC.REPEAT.SPLIT'),\n 'cancel-planmacro': new CancelPlanMacroAction(this.domainService),\n 'workstatus-approve': new ChangeWorkStatusValueAction('APPROVED', 'sym-icon-approve', 'APP.LISTS.APPROVE'),\n 'workstatus-decline': new ChangeWorkStatusValueAction('DECLINED', 'sym-icon-decline', 'APP.LISTS.DECLINE'),\n 'enable-user': new DoMethodAction(this.domainService, this.eventsService, 'sym-icon-enable', 'APP.MISC.USER.ENABLE'),\n 'disable-user': new DoMethodAction(this.domainService, this.eventsService, 'sym-icon-disable', 'APP.MISC.USER.DISABLE'),\n 'enable-user-selection': new EnableUserSelectionAction()\n };\n }\n /**\n * Used to load the action based on the name\n * @param {string} name The name of action\n * @returns {Promise} The action\n * @memberof ActionService\n */\n ActionService.prototype.getAction = function (name) {\n return this.availableActions[name];\n };\n /**\n * Exectue the action\n * @param {string} name The name of the action\n * @param {ActionConfiguration} actionConfiguration The configuration\n * @returns {Promise} The success message\n */\n ActionService.prototype.doAction = function (input) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var config, name, action;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n config = input.actionConfiguration;\n name = config.name;\n if (this.domainService.hasChanges()) {\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.SOCIAL.SAVE_CHANGES_FIRST' })];\n }\n if (!config) {\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.CORE.CONFIGURATION_MISSING' })];\n }\n if (!this.availableActions[name]) {\n return [2 /*return*/, Promise.reject({ labelKey: 'APP.SOCIAL.ACTION_NOT_FOUND', message: 'Action does not exists (' + name + ')' })];\n }\n action = this.getAction(name);\n return [4 /*yield*/, action.do(input)];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n /**\n * Returns whether the action is allowed\n * @param {ActionConfiguration} action The return value is based on the action name.\n * @param {Entity} entity The entity in question.\n * @returns {boolean} A value indicating whether the action should be allowed.\n * @memberOf ActionService\n */\n ActionService.prototype.isAllowed = function (action, entity) {\n if (!this.userService.isActionAllowed(action) || !action.name) {\n return false;\n }\n return this.getAction(action.name).isAllowed(entity, action.name);\n };\n /**\n * Returns whether the action is disabled.\n * @param {ActionConfiguration} action The return value is based on the action name.\n * @param {Entity} item The entity in question.\n * @returns {boolean} A value indicating whether the action should be disabled.\n * @memberOf ActionService\n */\n ActionService.prototype.isDisabled = function (action, item) {\n if (!item || !action.name) {\n return true;\n }\n return this.getAction(action.name).isDisabled(item, action.name, this.backendSettingsService, this.userService);\n };\n /**\n * Returns the icon belonging to the action.\n * @param {ActionConfiguration} action The icon is chosen from the action name.\n * @returns {string} An icon class name.\n * @memberOf ActionService\n */\n ActionService.prototype.getIcon = function (action) {\n if (!action.name) {\n return action.icon || 'sym-icon-actions';\n }\n return this.getAction(action.name).getIcon();\n };\n /**\n * Returns the label key belonging the action.\n * @param {ActionConfiguration} action The label is chosen from the action name.\n * @returns {string} A translation label.\n * @memberOf ActionService\n */\n ActionService.prototype.getLabelKey = function (action) {\n if (!action.name) {\n return action.labelKey || 'APP.SETTINGS.UNKNOWN_ACTION';\n }\n return this.getAction(action.name).getLabelKey();\n };\n return ActionService;\n}());\nexport { ActionService };\n","/**\n * @file The ActionsComponent shows a row of buttons representing actions that are shown in the overlay\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AlertsService } from '../../core/alerts.service';\nimport { UserService } from '../../user.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nimport { ActionService } from '../../core/action.service';\n/**\n * The ActionsComponent shows a row of buttons representing actions that are shown in the overlay\n * @export\n * @class ActionsComponent\n */\nvar ActionsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ActionsComponent, _super);\n /**\n * Creates an instance of ActionsComponent\n * @param {OverlayService} overlayService The service to start an overlay component\n * @param {SettingsService} settingsService The service that knows if an item is on time\n * @param {DomainService} domainService The service that knows the availability closed till date\n */\n function ActionsComponent(alertsService, userService, actionService) {\n var _this = _super.call(this) || this;\n _this.alertsService = alertsService;\n _this.userService = userService;\n _this.actionService = actionService;\n /**\n * Gets, sets the field that holds the entity of this action\n * @private\n * @type {Entity}\n */\n _this._item = null;\n /** The user's resource OID for the marketplace action */\n // private currentResourceOid;\n // REMOVE: (temporarily for faking config and form stuff), see: https://github.com/Symagic/html5/issues/580\n _this.configuration = {\n instruction: 'instructions/standaard/core/actions'\n };\n /**\n * Array of action configurations\n * @type {ActionConfiguration[]}\n */\n _this.actions = [];\n return _this;\n }\n Object.defineProperty(ActionsComponent.prototype, \"item\", {\n /**\n * Gets the entity of the action\n */\n get: function () {\n return this._item;\n },\n /**\n * Sets the entity of the action\n */\n set: function (value) {\n this._item = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a value indicating whether the action is allowed for the user's role\n * @param {ActionConfiguration} action The action to be checked\n * @returns {boolean} Whether the action is allowed\n */\n ActionsComponent.prototype.isAllowed = function (action) {\n return this.actionService.isAllowed(action, this.item);\n };\n /**\n * Indicates whether or not the action is disabled\n * @param {ActionConfiguration} action The action to evaluate\n * @returns {boolean} True when action is disabled\n */\n ActionsComponent.prototype.isDisabled = function (action) {\n return this.actionService.isDisabled(action, this.item);\n };\n /**\n * Returns the action's icon\n * @param {ActionConfiguration} action The action\n * @returns {string} An icon class name\n * @memberOf ActionsComponent\n */\n ActionsComponent.prototype.getIcon = function (action) {\n return this.actionService.getIcon(action);\n };\n /**\n * Returns the action's label key\n * @param {ActionConfiguration} action The action\n * @returns {string} A translation label\n * @memberOf ActionsComponent\n */\n ActionsComponent.prototype.getLabelKey = function (action) {\n return this.actionService.getLabelKey(action);\n };\n /**\n * Starts a component in the overlay depicting this action\n * @param {ActionConfiguration} action The configuration of this action\n */\n ActionsComponent.prototype.invoke = function (action) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var input, message, error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n input = {\n actionConfiguration: action,\n item: this.item\n };\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.actionService.doAction(input)];\n case 2:\n message = _a.sent();\n if (message) {\n this.alertsService.createAlert('success', message);\n }\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n if (error_1) {\n if (!error_1.labelKey) {\n return [2 /*return*/, this.alertsService.createAlert('danger', 'APP.SOCIAL.ACTION_NOT_FOUND', new Error('No labelKey is found'))];\n }\n if (!error_1.message) {\n return [2 /*return*/, this.alertsService.createAlert('danger', error_1.labelKey)];\n }\n return [2 /*return*/, this.alertsService.createAlert('danger', error_1.labelKey, error_1.message)];\n }\n return [2 /*return*/, this.alertsService.createAlert('danger', 'APP.SOCIAL.ACTION_NOT_FOUND', new Error('Received Error is undefined'))];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return ActionsComponent;\n}(AbstractBase));\nexport { ActionsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./actions.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i5 from \"../../base/instruction/instruction.component\";\nimport * as i6 from \"@angular/common/http\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"./actions.component\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../user.service\";\nimport * as i11 from \"../../core/action.service\";\nvar styles_ActionsComponent = [i0.styles];\nvar RenderType_ActionsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ActionsComponent, data: {} });\nexport { RenderType_ActionsComponent as RenderType_ActionsComponent };\nfunction View_ActionsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 12).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ActionsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-primary btn-sm mr-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.invoke(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpad(4, 2), (_l()(), i1.ɵted(5, null, [\" \", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_2 = _ck(_v, 4, 0, \"icon\", _co.getIcon(_v.parent.context.$implicit)); _ck(_v, 3, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_co.getLabelKey(_v.parent.context.$implicit))), \"\"); var currVal_1 = _co.isDisabled(_v.parent.context.$implicit); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.getLabelKey(_v.parent.context.$implicit))); _ck(_v, 5, 0, currVal_3); }); }\nfunction View_ActionsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ActionsComponent_3)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isAllowed(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_ActionsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"], [\"ngClass\", \"sym-icon-actions\"]], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(6, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ActionsComponent_1)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i4.View_InstructionComponent_0, i4.RenderType_InstructionComponent)), i1.ɵdid(12, 180224, [[\"instruction\", 4]], 0, i5.InstructionComponent, [i6.HttpClient, i7.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 3, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ActionsComponent_2)), i1.ɵdid(16, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = \"sym-icon-actions\"; _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_3 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 12, 0, currVal_4); var currVal_5 = _co.actions; _ck(_v, 16, 0, currVal_5); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.SOCIAL.ACTIONS\")); _ck(_v, 6, 0, currVal_2); }); }\nexport function View_ActionsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-actions\", [], null, null, null, View_ActionsComponent_0, RenderType_ActionsComponent)), i1.ɵdid(1, 180224, null, 0, i8.ActionsComponent, [i9.AlertsService, i10.UserService, i11.ActionService], null, null)], null, null); }\nvar ActionsComponentNgFactory = i1.ɵccf(\"sym-actions\", i8.ActionsComponent, View_ActionsComponent_Host_0, { actions: \"actions\", item: \"item\" }, {}, []);\nexport { ActionsComponentNgFactory as ActionsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file Profile picture component\n * @author Heino Lenting\n */\n/**\n * Class for the Porifle picture for handling profile picatures with nice graphical fallback\n */\nvar ProfilePictureComponent = /** @class */ (function () {\n /**\n * Constructs an ProfilePicture Component\n */\n function ProfilePictureComponent() {\n /**\n * Holds the colors used for displaying the profile picture\n */\n this.colors = [\n '#fb9fa7',\n '#0079a9',\n '#974463',\n '#57405d',\n '#54c1d9',\n '#999653',\n '#ffd46e',\n '#fa853b',\n '#f7674e',\n '#d31433',\n '#dbc996',\n '#674642',\n '#ef4e76',\n '#2e445b',\n '#306476',\n '#57815d',\n '#727158',\n '#e8a055',\n '#b44837',\n '#843e43'\n ];\n /**\n * The color used for this profile picture\n */\n this.color = '#ffffff';\n /**\n * The initials used for this profile picture\n */\n this.initials = '';\n }\n Object.defineProperty(ProfilePictureComponent.prototype, \"fullName\", {\n /**\n * Used for receiving the full name from the parent component\n */\n set: function (value) {\n this.color = this.pickColor(value);\n this.initials = this.collectInitials(value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Method to translate a name into initials\n * @param name The (full) name of the profile user\n */\n ProfilePictureComponent.prototype.collectInitials = function (name) {\n var initials = '';\n var nameParts = name.split(' ');\n nameParts.forEach(function (namePart, index) {\n if (index < 3) { // Keep the initials short\n initials += namePart.charAt(0);\n }\n });\n return initials;\n };\n /**\n * Method to pick a color based on the (full) name\n * @param name The (full) name of the profile user\n */\n ProfilePictureComponent.prototype.pickColor = function (name) {\n if (!name) {\n console.warn('Pick color is not working if no name exists');\n return this.colors[0];\n }\n // Count the char codes\n var charCodeCount = 0;\n for (var i = 0; i < name.length; i++) {\n charCodeCount += name.charCodeAt(i);\n }\n // And use this together with the remainder function to\n // map the numbers to the available colors.\n var remainder = charCodeCount % this.colors.length;\n // Pick the color and return it\n return this.colors[remainder];\n };\n /**\n * Translate the size in something with 'px'\n */\n ProfilePictureComponent.prototype.sizeInPx = function () {\n return this.size + 'px';\n };\n /**\n * Translate the size in font size with 'px'\n */\n ProfilePictureComponent.prototype.fontSizeInPx = function () {\n return (this.size * 0.35) + 'px';\n };\n return ProfilePictureComponent;\n}());\nexport { ProfilePictureComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Profile picture component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./profile-picture.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./profile-picture.component\";\nvar styles_ProfilePictureComponent = [i0.styles];\nvar RenderType_ProfilePictureComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ProfilePictureComponent, data: {} });\nexport { RenderType_ProfilePictureComponent as RenderType_ProfilePictureComponent };\nexport function View_ProfilePictureComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-profile-picture\"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgStyle, [i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i1.ɵpod(2, { \"background-color\": 0, \"width\": 1, \"height\": 2, \"line-height\": 3, \"font-size\": 4 }), (_l()(), i1.ɵted(3, null, [\" \", \"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.color, _co.sizeInPx(), _co.sizeInPx(), _co.sizeInPx(), _co.fontSizeInPx()); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.initials; _ck(_v, 3, 0, currVal_1); }); }\nexport function View_ProfilePictureComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-profile-picture\", [], null, null, null, View_ProfilePictureComponent_0, RenderType_ProfilePictureComponent)), i1.ɵdid(1, 49152, null, 0, i3.ProfilePictureComponent, [], null, null)], null, null); }\nvar ProfilePictureComponentNgFactory = i1.ɵccf(\"sym-profile-picture\", i3.ProfilePictureComponent, View_ProfilePictureComponent_Host_0, { fullName: \"fullName\", size: \"size\" }, {}, []);\nexport { ProfilePictureComponentNgFactory as ProfilePictureComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Profile picture component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-profile-picture[_ngcontent-%COMP%]{border-radius:50%;text-align:center;color:#fff;font-weight:700;text-shadow:1px 1px 4px #000;border:1px solid rgba(0,0,0,.3)}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { OverlayService } from '../../core/overlay.service';\nimport { UserService } from '../../user.service';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nvar OpenProfileDirective = /** @class */ (function () {\n function OpenProfileDirective(overlayService, userService, domainService, alertsService) {\n this.overlayService = overlayService;\n this.userService = userService;\n this.domainService = domainService;\n this.alertsService = alertsService;\n }\n OpenProfileDirective.prototype.openProfile = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var resourceOid, entityType, resource;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!!this.key) return [3 /*break*/, 1];\n // Opens user profile\n this.overlayService.goToEntity(this.userService.user.Resource);\n return [3 /*break*/, 3];\n case 1:\n resourceOid = DomainService.oidWith(90, this.key);\n entityType = this.domainService.getEntityType('Resource');\n return [4 /*yield*/, this.domainService.getEntityByKey(entityType, resourceOid).toPromise()];\n case 2:\n resource = _a.sent();\n if (!this.overlayService.goToEntity(resource)) {\n this.alertsService.createAlert('warning', 'APP.INPUTS.CAN_NOT_GO_TO_ENTITY');\n }\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n });\n };\n return OpenProfileDirective;\n}());\nexport { OpenProfileDirective };\n","/**\n * @file Pipe for transforming oid to key\n * @author Tzi Yang Lum\n */\nimport { PipeTransform } from '@angular/core';\nimport { DomainService } from '../../domain.service';\n/**\n * The class for oid to key\n */\nvar OidToKeyPipe = /** @class */ (function () {\n function OidToKeyPipe() {\n }\n /**\n * Transform resourceOid to key\n * @param {string} oid The resourceOid in string\n * @returns {number} The key in number\n */\n OidToKeyPipe.prototype.transform = function (oid) {\n var resourceKey = DomainService.oidToKey(oid);\n return resourceKey;\n };\n return OidToKeyPipe;\n}());\nexport { OidToKeyPipe };\n","/**\n * @file The CommentsService communicates with the comments backend.\n * @author Tzi Yang Lum\n */\nimport * as tslib_1 from \"tslib\";\nimport { AlertsService } from '../core/alerts.service';\nimport { BreezeService } from '../core/breeze.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DataSet } from '../core/helpers/data-set';\nimport { EntityManagerService } from '../entity-manager.service';\nimport { DomainService } from '../domain.service';\n/**\n * The CommentsService communicates with the comments backend.\n * @export\n * @class CommentService\n * @extends {BreezeService}\n */\nvar CommentService = /** @class */ (function (_super) {\n tslib_1.__extends(CommentService, _super);\n /**\n * Constructs a CommentService\n */\n function CommentService(alertsService, translateService, entityManagerService, domainService) {\n var _this = _super.call(this, alertsService, translateService, entityManagerService) || this;\n _this.domainService = domainService;\n _this.initialize('comments');\n return _this;\n }\n /**\n * Create comment\n * @param itemOid\n * @param comment\n * @param user\n */\n CommentService.prototype.createComment = function (itemOid, comment, user) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var object, entityType, entity;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n object = {\n 'Entity_Oid': itemOid,\n 'User': user.user['Oid'],\n 'ResourceOid': user.resourceOid,\n 'Value': comment,\n 'IsDeletedAt': null\n };\n entityType = this.getEntityType('Comment');\n entity = entityType.createEntity(object);\n this.addEntity(entity);\n return [2 /*return*/, new Promise(function (resolve, reject) {\n return _this.saveChanges(function (error) {\n if (error) {\n _this.rejectChanges();\n reject(error);\n }\n else {\n resolve('APP.SOCIAL.COMMENT_SUCCESSFULLY_ADDED');\n }\n });\n })];\n });\n });\n };\n /**\n * Get all comments\n * @param itemOid\n */\n CommentService.prototype.getComments = function (itemOid) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType, dataSet, queryResult, entities, comments, _i, entities_1, entity, user, comment;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n entityType = this.getEntityType('Comment');\n dataSet = new DataSet(this);\n dataSet.entityType = entityType;\n dataSet.sourceName = 'CommentItems';\n return [4 /*yield*/, dataSet.refresh()];\n case 1:\n queryResult = _a.sent();\n entities = queryResult.results.filter(function (value) { return value['Entity_Oid'] === itemOid; });\n comments = [];\n _i = 0, entities_1 = entities;\n _a.label = 2;\n case 2:\n if (!(_i < entities_1.length)) return [3 /*break*/, 5];\n entity = entities_1[_i];\n return [4 /*yield*/, this.getUser(entity['User'])];\n case 3:\n user = _a.sent();\n comment = {\n entityAspect: entity.entityAspect,\n entityType: entity.entityType,\n id: entity['Id'],\n entityOid: entity['Entity_Oid'],\n userOid: entity['User'],\n user: user,\n resourceOid: entity['ResourceOid'],\n created: entity['IsCreatedAt'],\n comment: entity['Value'],\n isDeletedAt: entity['IsDeletedAt']\n };\n comments.push(comment);\n _a.label = 4;\n case 4:\n _i++;\n return [3 /*break*/, 2];\n case 5: return [2 /*return*/, comments];\n }\n });\n });\n };\n /**\n * Remove comment from id\n * @param itemId\n */\n CommentService.prototype.removeComment = function (itemId) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType, dataSet, date, queryResult, item;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n entityType = this.getEntityType('Comment');\n dataSet = new DataSet(this);\n dataSet.entityType = entityType;\n dataSet.sourceName = 'CommentItems';\n date = new Date();\n return [4 /*yield*/, dataSet.refresh()];\n case 1:\n queryResult = _a.sent();\n item = queryResult.results.find(function (value) { return value['Id'] === itemId; });\n // The backend will set this to service date\n item['IsDeletedAt'] = date;\n return [2 /*return*/, new Promise(function (resolve, reject) {\n return _this.saveChanges(function (error) {\n if (error) {\n _this.rejectChanges();\n reject(error);\n }\n else {\n resolve('APP.SOCIAL.COMMENT_SUCCESSFULLY_DELETED');\n }\n });\n })];\n }\n });\n });\n };\n CommentService.prototype.getUser = function (oid) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType, user;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n entityType = this.domainService.getEntityType('User');\n return [4 /*yield*/, this.domainService.getEntityByKey(entityType, oid).toPromise()];\n case 1:\n user = _a.sent();\n return [2 /*return*/, user];\n }\n });\n });\n };\n return CommentService;\n}(BreezeService));\nexport { CommentService };\n","/**\n * @file Comments component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, OnDestroy } from '@angular/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { UserService } from '../../user.service';\nimport { CommentService } from '../comment.service';\nimport { ActivatedRoute } from '@angular/router';\nimport { FormControl } from '@angular/forms';\nimport { InputTextComponent } from '../../base/inputs/input-text/input-text.component';\n/**\n * Class for the comments component\n */\nvar CommentsComponent = /** @class */ (function () {\n /**\n * Constructs a CommentsComponent\n */\n function CommentsComponent(userService, alertsService, commentService, route) {\n this.userService = userService;\n this.alertsService = alertsService;\n this.commentService = commentService;\n this.route = route;\n this.formControl = new FormControl();\n /** Max characters of the input */\n this.maxCharacters = 1000;\n /** Total comment of the entity */\n this.totalItems = 0;\n /** The comments */\n this._items = [];\n /** Page size of the list */\n this.pageSize = 10;\n /** Number of items shown */\n this.nrItemsShown = 0;\n this.configuration = {\n instruction: 'instructions/standaard/core/social/comments/comments'\n };\n /** Refresh data after */\n this.timer = 10000;\n }\n Object.defineProperty(CommentsComponent.prototype, \"entityKey\", {\n get: function () {\n return this._entityKey;\n },\n set: function (value) {\n if (!value) {\n return;\n }\n var key = value.split('_')[0];\n this._entityKey = key;\n this.refresh();\n this.formControl.setValue('');\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called directly after the creation of this component\n */\n CommentsComponent.prototype.ngOnInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: \n // Get the comments from the db\n return [4 /*yield*/, this.refresh()];\n case 1:\n // Get the comments from the db\n _a.sent();\n // Quick sort\n this.items.sort(function (a, b) {\n return +new Date(a.created) - +new Date(b.created);\n });\n this.nrItemsShown = this.pageSize;\n this.refreshData();\n return [2 /*return*/];\n }\n });\n });\n };\n Object.defineProperty(CommentsComponent.prototype, \"user\", {\n /** Gets the user info of the authenticated user. */\n get: function () {\n return this.userService.user;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CommentsComponent.prototype, \"items\", {\n /** Gets the items w.r.t. currentPage and pageSize */\n get: function () {\n return this._items.slice(-this.nrItemsShown);\n },\n /** Set the items from the database */\n set: function (value) {\n if (!value) {\n return;\n }\n this._items = value;\n },\n enumerable: true,\n configurable: true\n });\n /** Checks if the comment text input is not empty */\n CommentsComponent.prototype.hasValue = function (comment) {\n return comment !== '';\n };\n /** Checks if there are more items available */\n CommentsComponent.prototype.hasMore = function () {\n return this.nrItemsShown < this._items.length;\n };\n /** Show also the next page of comment */\n CommentsComponent.prototype.showMore = function () {\n if (this.hasMore()) {\n var nrToShow = this.nrItemsShown + this.pageSize;\n if (nrToShow > this._items.length) {\n nrToShow = this._items.length;\n }\n this.nrItemsShown = nrToShow;\n }\n };\n /**\n * Private method to delete a comment\n * @param id The ID of the comment\n */\n CommentsComponent.prototype.delete = function (id) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.commentService.removeComment(id)];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n /**\n * Method to validate a comment\n * @param comment The comment text\n */\n CommentsComponent.prototype.validate = function (comment) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n if (comment === '' || comment.length > _this.maxCharacters) {\n return reject(new Error(\"Validation failed: The lengh of the comment must be between 1 and \" + _this.maxCharacters + \" signs\"));\n }\n resolve();\n });\n };\n /**\n * Method to save a comment\n * @param comment The comment text\n */\n CommentsComponent.prototype.save = function (comment) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.commentService.createComment(this.entityKey, comment, this.userService)];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n /**\n * Method to remove a comment, called from template\n * @param id The ID of the comment\n */\n CommentsComponent.prototype.remove = function (id) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var message, error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n return [4 /*yield*/, this.delete(id)];\n case 1:\n message = _a.sent();\n return [4 /*yield*/, this.refresh()];\n case 2:\n _a.sent();\n this.alertsService.createAlert('success', message);\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n this.alertsService.createAlert('warning', 'APP.SOCIAL.COMMENT_UNSUCCESSFULLY_DELETED', error_1.message);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Is there a comment in the markdown editor\n */\n CommentsComponent.prototype.hasComment = function () {\n if (!this.formControl.value) {\n return false;\n }\n return (this.formControl.value !== '');\n };\n /**\n * Cancel (=reset) the comment\n */\n CommentsComponent.prototype.cancel = function () {\n this.formControl.setValue('');\n };\n /**\n * Method to add a comment\n */\n CommentsComponent.prototype.add = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var comment, message, error_2;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n comment = this.formControl.value;\n _a.label = 1;\n case 1:\n _a.trys.push([1, 5, , 6]);\n return [4 /*yield*/, this.validate(comment)];\n case 2:\n _a.sent();\n return [4 /*yield*/, this.save(comment)];\n case 3:\n message = _a.sent();\n return [4 /*yield*/, this.refresh()];\n case 4:\n _a.sent();\n this.nrItemsShown++;\n this.alertsService.createAlert('success', message);\n this.formControl.setValue('');\n this.inputText.mode = 'edit'; // Set input text in correct mode (if it was in preview mode during save)\n return [3 /*break*/, 6];\n case 5:\n error_2 = _a.sent();\n this.alertsService.createAlert('warning', 'APP.SOCIAL.COMMENT_UNSUCCESSFULLY_ADDED', error_2.message);\n return [3 /*break*/, 6];\n case 6: return [2 /*return*/];\n }\n });\n });\n };\n /** Method that returns the fullname of this user */\n CommentsComponent.prototype.getThisUser = function () {\n return this.userService.user.fullName;\n };\n /** Method that returns the fullname of this user */\n CommentsComponent.prototype.canRemove = function (item) {\n var userRole = this.userService.html5role;\n if (userRole !== 'employee' &&\n userRole !== 'planner') {\n return true;\n }\n var userOid = this.userService.user['Oid'];\n if (userOid === item.userOid) {\n return true;\n }\n return false;\n };\n /** Method that returns the fullname of the user */\n CommentsComponent.prototype.getFullName = function (item) {\n var fullName = item.user.fullName;\n var fallBack = item.user.Name;\n return fullName !== ' ' ? fullName : fallBack;\n };\n /** Get the comments from the database */\n CommentsComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var comments, error_3;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, this.commentService.getComments(this.entityKey)];\n case 1:\n comments = _a.sent();\n if (comments) {\n this.items = comments;\n this.totalItems = comments.length;\n }\n return [3 /*break*/, 3];\n case 2:\n error_3 = _a.sent();\n this.alertsService.createAlert('warning', 'APP.SOCIAL.COMMENT_UNSUCCESSFULLY_LOADED', error_3.message);\n return [3 /*break*/, 3];\n case 3: return [2 /*return*/];\n }\n });\n });\n };\n /** Set Interval */\n CommentsComponent.prototype.refreshData = function () {\n var _this = this;\n this.refresher =\n setInterval(function () {\n _this.refresh();\n }, this.timer);\n };\n /** Clear Interval */\n CommentsComponent.prototype.cancelPageRefresh = function () {\n if (this.refresher) {\n clearInterval(this.refresher);\n }\n };\n /** Cleanup just before Angular destroys the directive/component.\n * Unsubscribe Observables and detach event handlers to avoid memory leaks.\n * */\n CommentsComponent.prototype.ngOnDestroy = function () {\n this.cancelPageRefresh();\n };\n return CommentsComponent;\n}());\nexport { CommentsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./comments.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i4 from \"ngx-md\";\nimport * as i5 from \"../../base/profile-picture/profile-picture.component.ngfactory\";\nimport * as i6 from \"../../base/directives/openProfile.directive\";\nimport * as i7 from \"../../core/overlay.service\";\nimport * as i8 from \"../../user.service\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../base/profile-picture/profile-picture.component\";\nimport * as i12 from \"@angular/common\";\nimport * as i13 from \"ngx-moment\";\nimport * as i14 from \"../../base/pipes/oid-to-key.pipe\";\nimport * as i15 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i16 from \"../../base/instruction/instruction.component\";\nimport * as i17 from \"@angular/common/http\";\nimport * as i18 from \"../../configurations.service\";\nimport * as i19 from \"../../base/inputs/input-text/input-text.component.ngfactory\";\nimport * as i20 from \"../../base/inputs/input-text/input-text.component\";\nimport * as i21 from \"./comments.component\";\nimport * as i22 from \"../comment.service\";\nimport * as i23 from \"@angular/router\";\nvar styles_CommentsComponent = [i0.styles];\nvar RenderType_CommentsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CommentsComponent, data: {} });\nexport { RenderType_CommentsComponent as RenderType_CommentsComponent };\nfunction View_CommentsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.totalItems; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_CommentsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 15).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_CommentsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [[\"class\", \"text-muted sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.showMore() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.SOCIAL.SHOW_PREVIOUS_COMMENTS\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_CommentsComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"small\", [], null, null, null, null, null))], null, null); }\nfunction View_CommentsComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.SOCIAL.COMMENT_IS_DELETED\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_CommentsComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i3.View_NgxMdComponent_0, i3.RenderType_NgxMdComponent)), i1.ɵdid(1, 4243456, null, 0, i4.NgxMdComponent, [i4.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.comment; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_CommentsComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.remove(_v.parent.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null))], null, null); }\nfunction View_CommentsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 26, \"div\", [[\"class\", \"sym-comment sym-comment-view\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-comment-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"sym-profile-picture\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_ProfilePictureComponent_0, i5.RenderType_ProfilePictureComponent)), i1.ɵdid(3, 16384, null, 0, i6.OpenProfileDirective, [i7.OverlayService, i8.UserService, i9.DomainService, i10.AlertsService], { key: [0, \"key\"] }, null), i1.ɵppd(4, 1), i1.ɵdid(5, 49152, null, 0, i11.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 20, \"div\", [[\"class\", \"sym-comment-content\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_5)), i1.ɵdid(8, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_6)), i1.ɵdid(10, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_7)), i1.ɵdid(12, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 13, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 9, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 8, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" By \"])), (_l()(), i1.ɵeld(17, 0, null, null, 4, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 18).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(18, 16384, null, 0, i6.OpenProfileDirective, [i7.OverlayService, i8.UserService, i9.DomainService, i10.AlertsService], { key: [0, \"key\"] }, null), i1.ɵppd(19, 1), (_l()(), i1.ɵeld(20, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-employee\"]], null, null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵted(22, null, [\" \", \" \"])), i1.ɵpid(131072, i13.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_8)), i1.ɵdid(26, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.resourceOid)); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.getFullName(_v.context.$implicit); var currVal_2 = 35; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = (!_v.context.$implicit.comment && !_v.context.$implicit.isDeletedAt); _ck(_v, 8, 0, currVal_3); var currVal_4 = _v.context.$implicit.isDeletedAt; _ck(_v, 10, 0, currVal_4); var currVal_5 = !_v.context.$implicit.isDeletedAt; _ck(_v, 12, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 18, 0, _ck(_v, 19, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.resourceOid)); _ck(_v, 18, 0, currVal_6); var currVal_9 = (!_v.context.$implicit.isDeletedAt && _co.canRemove(_v.context.$implicit)); _ck(_v, 26, 0, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.getFullName(_v.context.$implicit); _ck(_v, 21, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 23).transform(_v.context.$implicit.created)); _ck(_v, 22, 0, currVal_8); }); }\nfunction View_CommentsComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.add() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-comment\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.CORE.ADD_COMMENT\")), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.SOCIAL.ADD_COMMENT\")); _ck(_v, 5, 0, currVal_1); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 7, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"APP.CORE.CANCEL\")); _ck(_v, 11, 0, currVal_3); }); }\nexport function View_CommentsComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i14.OidToKeyPipe, []), i1.ɵqud(402653184, 1, { inputText: 0 }), (_l()(), i1.ɵeld(2, 0, null, null, 29, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 10, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-comments\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_1)), i1.ɵdid(10, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_2)), i1.ɵdid(13, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i15.View_InstructionComponent_0, i15.RenderType_InstructionComponent)), i1.ɵdid(15, 180224, [[\"instruction\", 4]], 0, i16.InstructionComponent, [i17.HttpClient, i18.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 14, \"div\", [[\"class\", \"sym-pane sym-comments p-0\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_3)), i1.ɵdid(19, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_4)), i1.ɵdid(21, 278528, null, 0, i12.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(22, 0, null, null, 9, \"div\", [[\"class\", \"sym-comment sym-comment-add\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"sym-comment-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"sym-profile-picture\", [[\"class\", \"sym-clickable\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 25).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_ProfilePictureComponent_0, i5.RenderType_ProfilePictureComponent)), i1.ɵdid(25, 16384, null, 0, i6.OpenProfileDirective, [i7.OverlayService, i8.UserService, i9.DomainService, i10.AlertsService], { key: [0, \"key\"] }, null), i1.ɵdid(26, 49152, null, 0, i11.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 4, \"div\", [[\"class\", \"sym-comment-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 1, \"sym-input-text\", [], null, null, null, i19.View_InputTextComponent_0, i19.RenderType_InputTextComponent)), i1.ɵdid(29, 180224, [[1, 4]], 0, i20.InputTextComponent, [], { control: [0, \"control\"], value: [1, \"value\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CommentsComponent_9)), i1.ɵdid(31, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.items; _ck(_v, 10, 0, currVal_1); var currVal_2 = _co.configuration.instruction; _ck(_v, 13, 0, currVal_2); var currVal_3 = _co.configuration.instruction; _ck(_v, 15, 0, currVal_3); var currVal_4 = (_co.hasMore() && _co.items); _ck(_v, 19, 0, currVal_4); var currVal_5 = _co.items; _ck(_v, 21, 0, currVal_5); var currVal_6 = \"\"; _ck(_v, 25, 0, currVal_6); var currVal_7 = _co.getThisUser(); var currVal_8 = 35; _ck(_v, 26, 0, currVal_7, currVal_8); var currVal_9 = _co.formControl; var currVal_10 = _co.formControl.value; _ck(_v, 29, 0, currVal_9, currVal_10); var currVal_11 = _co.hasComment(); _ck(_v, 31, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.SOCIAL.COMMENTS\")); _ck(_v, 7, 0, currVal_0); }); }\nexport function View_CommentsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-comments\", [], null, null, null, View_CommentsComponent_0, RenderType_CommentsComponent)), i1.ɵdid(1, 245760, null, 0, i21.CommentsComponent, [i8.UserService, i10.AlertsService, i22.CommentService, i23.ActivatedRoute], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar CommentsComponentNgFactory = i1.ɵccf(\"sym-comments\", i21.CommentsComponent, View_CommentsComponent_Host_0, { entityKey: \"entityKey\" }, {}, []);\nexport { CommentsComponentNgFactory as CommentsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-comments[_ngcontent-%COMP%]{background-color:#fff;border-top:none;border-left:none;border-right:none}.sym-comments[_ngcontent-%COMP%] .sym-comment[_ngcontent-%COMP%]{padding-top:1rem;margin-bottom:.3rem!important;background-color:#fff;overflow:hidden;border:1px solid #dee2e6}.sym-comments[_ngcontent-%COMP%] .sym-comment[_ngcontent-%COMP%]:nth-of-type(2n){background-color:#f8f9fa}.sym-comments[_ngcontent-%COMP%] .sym-comment[_ngcontent-%COMP%] .sym-comment-image[_ngcontent-%COMP%]{float:left;padding-left:1rem}.sym-comments[_ngcontent-%COMP%] .sym-comment[_ngcontent-%COMP%] .sym-comment-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:35px;height:35px}.sym-comments[_ngcontent-%COMP%] .sym-comment[_ngcontent-%COMP%] .sym-comment-content[_ngcontent-%COMP%]{overflow:auto;padding-left:1rem;padding-right:1rem}.sym-comments[_ngcontent-%COMP%] .sym-comment[_ngcontent-%COMP%] .sym-comment-content[_ngcontent-%COMP%] .sym-wrap-pair[_ngcontent-%COMP%]{margin-bottom:1rem}.sym-comments[_ngcontent-%COMP%] .sym-comment[_ngcontent-%COMP%] .sym-comment-content[_ngcontent-%COMP%] .sym-wrap-pair[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0}.sym-comments[_ngcontent-%COMP%] .sym-comment.sym-comment-view[_ngcontent-%COMP%] .sym-comment-content[_ngcontent-%COMP%]{margin-top:-3px}.sym-comments[_ngcontent-%COMP%] .sym-comment.sym-comment-add[_ngcontent-%COMP%]{padding-bottom:1rem;border-bottom:none;margin-bottom:0!important}.sym-comments[_ngcontent-%COMP%] .sym-comment.sym-comment-add[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%]{margin-top:4px;margin-bottom:4px}.sym-comments[_ngcontent-%COMP%] .sym-comment.sym-comment-add[_ngcontent-%COMP%] .sym-comment-image[_ngcontent-%COMP%]{margin-top:2px}\"];\nexport { styles as styles };\n","import { PipeTransform } from '@angular/core';\n/*\n * Takes bytes and make it more human readable.\n * Usage:\n * value | readableBytes:precision\n * Example:\n * {{ 6087302 | readableBytes:1}}\n * formats to: 5.8 MB\n*/\nvar BytesReadablePipe = /** @class */ (function () {\n function BytesReadablePipe() {\n }\n /**\n * Transforms bytes to human readable format\n * @param {any} bytes\n * @param {any} precision\n * @returns {string}\n */\n BytesReadablePipe.prototype.transform = function (bytes, precision) {\n if (isNaN(parseFloat(bytes)) || !isFinite(bytes)) {\n return '-';\n }\n if (typeof precision === 'undefined') {\n precision = 1;\n }\n var units = ['bytes', 'kB', 'MB', 'GB', 'TB', 'PB'], number = Math.floor(Math.log(bytes) / Math.log(1024));\n return (bytes / Math.pow(1024, Math.floor(number))).toFixed(precision) + ' ' + units[number];\n };\n return BytesReadablePipe;\n}());\nexport { BytesReadablePipe };\n","/**\n * @file Files component\n * @author Heino Lenting\n */\nimport { OnInit } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { FilesService } from '../../base/files.service';\nimport { ResourceService } from '../../resource.service';\n/**\n * Class for the files component\n */\nvar FilesComponent = /** @class */ (function () {\n /**\n * Constructs an FilesComponent\n */\n function FilesComponent(alertsService, overlayService, resourceService, filesService) {\n this.alertsService = alertsService;\n this.overlayService = overlayService;\n this.resourceService = resourceService;\n this.filesService = filesService;\n this.fileFormControl = new FormControl();\n this.isRequired = false;\n this.configuration = {\n instruction: 'instructions/standaard/core/social/files/files'\n };\n /** The available files */\n this.uploads = [];\n }\n Object.defineProperty(FilesComponent.prototype, \"value\", {\n /** Gets the field value. */\n get: function () {\n return undefined;\n },\n /** Sets the field value. */\n set: function (value) {\n if (value) {\n // Do upload via files service\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called directly after the creation of this component\n */\n FilesComponent.prototype.ngOnInit = function () {\n this.refresh();\n };\n /**\n * Method to get the current files\n * @param item The Entity\n */\n FilesComponent.prototype.refresh = function () {\n var _this = this;\n // Get current files from files service\n this.filesService.getFiles(undefined).then(function (uploads) {\n _this.uploads = uploads;\n }).catch(function (error) {\n _this.alertsService.createAlert('warning', 'APP.SOCIAL.ACTION_FAILED', error.message);\n });\n };\n /**\n * Method to delete a file\n * @param id The ID of the file\n */\n FilesComponent.prototype.delete = function (id) {\n var _this = this;\n // Remove file\n this.filesService.deleteUpload(undefined, id).then(function () {\n _this.refresh();\n _this.alertsService.createAlert('success', 'APP.INPUTS.FILE_SUCCESSFULLY_DELETED');\n }).catch(function (error) {\n _this.alertsService.createAlert('warning', 'APP.INPUTS.FILE_NOT_SUCCESSFULLY_DELETED', error.message);\n });\n };\n /**\n * Method to download a file\n * @param id The ID of the file\n */\n FilesComponent.prototype.download = function (id) {\n // TODO: initiate a (new) window open (with path to file)\n var _this = this;\n // Inform user about starting the download\n this.alertsService.createAlert('success', 'APP.SOCIAL.DOWNLOAD_FILE_STARTED');\n this.filesService.getFile(null).then(function () {\n _this.refresh();\n _this.alertsService.createAlert('success', 'APP.SOCIAL.FILE_SUCCESSFULLY_DOWNLOADED');\n }).catch(function (error) {\n _this.alertsService.createAlert('warning', 'APP.SOCIAL.FILE_NOT_SUCCESSFULLY_DOWNLOADED', error.message);\n });\n };\n /**\n * Method to show profile info of a user belonging to a file\n * @param entityID The entityID of the user\n */\n FilesComponent.prototype.showProfile = function () {\n console.log('files');\n this.overlayService.goToEntity(this.resourceService.resource);\n };\n return FilesComponent;\n}());\nexport { FilesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./files.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/directives/file-icon.directive\";\nimport * as i3 from \"ngx-moment\";\nimport * as i4 from \"../pipes/bytes-readable.pipe\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i8 from \"../../base/instruction/instruction.component\";\nimport * as i9 from \"@angular/common/http\";\nimport * as i10 from \"../../configurations.service\";\nimport * as i11 from \"../../base/inputs/input-file/input-file.component.ngfactory\";\nimport * as i12 from \"../../base/inputs/input-file/input-file.component\";\nimport * as i13 from \"../../core/alerts.service\";\nimport * as i14 from \"../../base/files.service\";\nimport * as i15 from \"./files.component\";\nimport * as i16 from \"../../core/overlay.service\";\nimport * as i17 from \"../../resource.service\";\nvar styles_FilesComponent = [i0.styles];\nvar RenderType_FilesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FilesComponent, data: {} });\nexport { RenderType_FilesComponent as RenderType_FilesComponent };\nfunction View_FilesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.uploads.length; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FilesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 15).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_FilesComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 23, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 17, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 16, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"a\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.download(\"test\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [], [[8, \"className\", 0]], null, null, null, null)), i1.ɵdid(5, 16384, null, 0, i2.FileIconDirective, [], { fileIcon: [0, \"fileIcon\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"u\", [[\"class\", \"sym-low-attention-link\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"(\", \")\"])), i1.ɵppd(10, 1), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(14, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n _co.showProfile();\n var pd_0 = (false !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-employee\"]], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), (_l()(), i1.ɵeld(19, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.download(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-download\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.delete(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null))], function (_ck, _v) { var currVal_1 = _v.context.$implicit.type; _ck(_v, 5, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 5).iconClass; _ck(_v, 4, 0, currVal_0); var currVal_2 = _v.context.$implicit.filename; _ck(_v, 7, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 9, 0, _ck(_v, 10, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.size)); _ck(_v, 9, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 14, 0, i1.ɵnov(_v, 15).transform(_v.context.$implicit.created)); _ck(_v, 14, 0, currVal_4); var currVal_5 = _v.context.$implicit.user; _ck(_v, 18, 0, currVal_5); }); }\nexport function View_FilesComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.BytesReadablePipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 20, \"div\", [[\"class\", \"sym-files\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"i\", [[\"class\", \"icon\"], [\"ngClass\", \"sym-icon-files\"]], null, null, null, null, null)), i1.ɵdid(6, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(7, null, [\" \", \" \"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FilesComponent_1)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FilesComponent_2)), i1.ɵdid(13, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i7.View_InstructionComponent_0, i7.RenderType_InstructionComponent)), i1.ɵdid(15, 180224, [[\"instruction\", 4]], 0, i8.InstructionComponent, [i9.HttpClient, i10.ConfigurationsService, i6.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane sym-p-b\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FilesComponent_3)), i1.ɵdid(19, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"sym-input-file\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i11.View_InputFileComponent_0, i11.RenderType_InputFileComponent)), i1.ɵdid(21, 180224, null, 0, i12.InputFileComponent, [i1.Renderer, i13.AlertsService, i14.FilesService], { required: [0, \"required\"], control: [1, \"control\"], value: [2, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = \"sym-icon-files\"; _ck(_v, 6, 0, currVal_0, currVal_1); var currVal_3 = _co.uploads; _ck(_v, 10, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 13, 0, currVal_4); var currVal_5 = _co.configuration.instruction; _ck(_v, 15, 0, currVal_5); var currVal_6 = _co.uploads; _ck(_v, 19, 0, currVal_6); var currVal_7 = _co.isRequired; var currVal_8 = _co.fileFormControl; var currVal_9 = _co.value; _ck(_v, 21, 0, currVal_7, currVal_8, currVal_9); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.SOCIAL.FILES\")); _ck(_v, 7, 0, currVal_2); }); }\nexport function View_FilesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-files\", [], null, null, null, View_FilesComponent_0, RenderType_FilesComponent)), i1.ɵdid(1, 114688, null, 0, i15.FilesComponent, [i13.AlertsService, i16.OverlayService, i17.ResourceService, i14.FilesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar FilesComponentNgFactory = i1.ɵccf(\"sym-files\", i15.FilesComponent, View_FilesComponent_Host_0, {}, {}, []);\nexport { FilesComponentNgFactory as FilesComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { Repeat } from '../../domain/helpers/repeat';\nimport * as moment from 'moment';\nimport { EntityState } from 'breeze-client';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * This adapter bridges the interface repeat entity towards the way we represent it in the GUI.\n */\nvar RepeatAdapter = /** @class */ (function (_super) {\n tslib_1.__extends(RepeatAdapter, _super);\n /**\n * Constructs a RepeatAdapter.\n * @param provider Is used to get the current repeat.\n * @param translateService Is needed to get a translated summary.\n */\n function RepeatAdapter(provider, translateService, localisationService, domainService) {\n var _this = _super.call(this) || this;\n _this.provider = provider;\n _this.localisationService = localisationService;\n _this.domainService = domainService;\n if (!RepeatAdapter.labels) {\n _this.subscriptionPool.add(translateService.get([\n 'APP.FORMS.REPEAT.ONCE',\n 'APP.FORMS.REPEAT.DAILY',\n 'APP.FORMS.REPEAT.WEEKDAY',\n 'APP.FORMS.REPEAT.WEEKLY',\n 'APP.FORMS.REPEAT.MONTHLY',\n 'APP.FORMS.REPEAT.YEARLY',\n 'APP.FORMS.REPEAT.WEEKDAYS',\n 'APP.FORMS.REPEAT.FIRST',\n 'APP.FORMS.REPEAT.SECOND',\n 'APP.FORMS.REPEAT.THIRD',\n 'APP.FORMS.REPEAT.FOURTH',\n 'APP.FORMS.REPEAT.LAST',\n 'APP.FORMS.REPEAT.EVERY',\n 'APP.FORMS.REPEAT.DAYS',\n 'APP.FORMS.REPEAT.WEEKS',\n 'APP.FORMS.REPEAT.MONTHS',\n 'APP.FORMS.REPEAT.YEARS',\n 'APP.FORMS.REPEAT.ON',\n 'APP.FORMS.REPEAT.OF',\n 'APP.FORMS.REPEAT.ONTHE',\n 'APP.FORMS.REPEAT.AND',\n 'APP.FORMS.REPEAT.TIME',\n 'APP.FORMS.REPEAT.TIMES',\n 'APP.FORMS.REPEAT.TILL',\n 'APP.FORMS.REPEAT.OR_LAST_DAY'\n ]).subscribe(function (value) {\n RepeatAdapter.labels = value;\n }));\n }\n return _this;\n }\n Object.defineProperty(RepeatAdapter.prototype, \"repeat\", {\n /** Gets the repeat entity to represent. */\n get: function () {\n return this.provider();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RepeatAdapter.prototype, \"factor\", {\n /** Gets the repeat factor. */\n get: function () {\n if (!this.repeat) {\n return 0;\n }\n return this.repeat.Factor;\n },\n /** Sets the repeat factor. */\n set: function (value) {\n if (!this.repeat) {\n return;\n }\n this.repeat.Factor = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RepeatAdapter.prototype, \"order\", {\n /** Gets the repeat order. */\n get: function () {\n if (!this.repeat) {\n return '';\n }\n return this.repeat.Order;\n },\n /** Sets the repeat order. */\n set: function (value) {\n if (!this.repeat) {\n return;\n }\n this.repeat.Order = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RepeatAdapter.prototype, \"days\", {\n /** Gets the days of the week in a weekly repeat. */\n get: function () {\n var _this = this;\n if (!this.repeat) {\n return '';\n }\n if (this.offsetType === 'ABSOLUTE') {\n var owner = this.repeat.Owner;\n if (owner) {\n var start = owner['Start'];\n var date_1 = start.getDate().toString();\n if (date_1 !== this.repeat.Days) {\n window.setTimeout(function () {\n _this.repeat.Days = date_1;\n });\n }\n }\n }\n return this.repeat.Days;\n },\n /** Sets the days of the week in a weekly repeat. */\n set: function (value) {\n if (!this.repeat) {\n return;\n }\n this.repeat.Days = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RepeatAdapter.prototype, \"endingIs\", {\n /**\n * Gets the ending state of the repeat.\n * @returns NEVER when the repeat untilDate is infinit otherwise NEAR.\n */\n get: function () {\n if (this.isInfinity()) {\n return 'NEVER';\n }\n return 'NEAR';\n },\n /** Sets the ending state of the repeat. */\n set: function (value) {\n if (this.endingIs === value) {\n return;\n }\n switch (value) {\n case 'NEVER':\n this.untilDate = this.makeInfinite();\n break;\n case 'NEAR':\n if (this.repeat) {\n var PROPERTY_UNTILDATE = 'UntilDate';\n var untilDateOriginal = this.repeat.entityAspect.originalValues[PROPERTY_UNTILDATE];\n if (untilDateOriginal && untilDateOriginal.getUTCFullYear() < 9999) {\n this.untilDate = untilDateOriginal;\n }\n else if (this.repeat.Owner) {\n this.untilDate = this.repeat.Owner['Start'];\n }\n else {\n this.untilDate = this.repeat.Start;\n }\n }\n break;\n default:\n throw new Error('Unknown ending value: ' + value);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RepeatAdapter.prototype, \"untilDate\", {\n /** Gets the repeat.untilDate propery. */\n get: function () {\n if (!this.repeat) {\n return this.makeInfinite();\n }\n return this.repeat.UntilDate;\n },\n /** Sets the repeat.untilDate propery. */\n set: function (value) {\n if (!this.repeat || !value || ((value.valueOf() - this.repeat.UntilDate.valueOf()) / 60000) === 0) {\n // Nothing to set or nothing really changed.\n return;\n }\n if (value.getUTCFullYear() === 9999) {\n // Assume we mean infinite. Time zone client can cause a difference of up to 27 hours.\n this.repeat.UntilDate = this.makeInfinite();\n return;\n }\n if (((value.valueOf() - this.repeat.UntilDate.valueOf()) / 60000) !== 0) {\n this.repeat.UntilDate = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RepeatAdapter.prototype, \"repeatType\", {\n /** Gets the repeat type of the repeat. */\n get: function () {\n if (!this.repeat) {\n return 'ONCE';\n }\n switch (this.repeat.Kind) {\n case 'MONTHLY ABSOLUTE':\n case 'MONTHLY RELATIVE':\n return 'MONTHLY';\n case 'YEARLY ABSOLUTE':\n case 'YEARLY RELATIVE':\n return 'YEARLY';\n case 'WEEKLY':\n if (this.factor === 1 && this.repeat.Days) {\n var days = this.repeat.Days.trim().split(' ');\n if (days.length === 5 && days.indexOf('SUN') === -1 && days.indexOf('SAT') === -1) {\n return 'WEEKDAY';\n }\n }\n return 'WEEKLY';\n default:\n return this.repeat.Kind;\n }\n },\n /** Sets the repeat type of the repeat. */\n set: function (value) {\n var _this = this;\n if (!this.repeat) {\n return;\n }\n if (this.repeatType === value) {\n return;\n }\n switch (value) {\n case 'YEARLY':\n case 'MONTHLY':\n this.repeat.Kind = value + ' ABSOLUTE';\n break;\n case 'WEEKDAY':\n this.repeat.Kind = 'WEEKLY';\n this.repeat.Days = 'MON TUE WED THU FRI';\n this.factor = 1;\n break;\n case 'WEEKLY':\n this.repeat.Kind = 'WEEKLY';\n this.repeat.Days = '';\n break;\n default:\n this.repeat.Kind = value;\n }\n if (this.repeat.entityAspect.entityState === EntityState.Modified &&\n this.repeat['Oid'].indexOf('\\\\') > 0 && this.repeatType !== 'ONCE') {\n var masterRef = this.repeat['Oid'].split('\\\\'); // Get the master reference.\n var masterType = this.domainService.getEntityType(masterRef[0]);\n this.subscriptionPool.add(this.domainService.getEntityByKey(masterType, masterRef[1], true).subscribe(function (item) {\n var manager = _this.repeat.entityAspect.entityManager;\n var master = item; // Get the master.\n var repeat = _this.repeat; // this.domainService.copy(this.repeat); // Set repeat of subscription;\n repeat.entityAspect.setAdded(); // Force the creation of a new repeat.\n if (master.entityAspect.entityState === EntityState.Unchanged) {\n master.entityAspect.setModified();\n }\n var subscription = manager.entityChanged.subscribe(function (data) {\n if (data.entity === master) {\n if (master.entityAspect.entityState === EntityState.Unchanged) { // The master is saved or canceled.\n // Unsubscribe.\n manager.entityChanged.unsubscribe(subscription);\n if (repeat['Oid'].indexOf('\\\\') > 0) { // The master was canceled.\n // So repeat also reset it.\n repeat.Kind = 'ONCE';\n repeat.entityAspect.setUnchanged();\n }\n return;\n }\n }\n if (data.entity === repeat) {\n if (repeat.entityAspect.entityState === EntityState.Unchanged) { // repeat is saved.\n // Unsubscribe.\n manager.entityChanged.unsubscribe(subscription);\n // Refresh master.\n _this.domainService.getEntityByKey(master.entityType, master.entityAspect.getKey().values, false);\n }\n }\n });\n }));\n }\n return;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RepeatAdapter.prototype, \"offsetType\", {\n /** Gets the offset type, 'RELATIVE' or 'ABSOLUTE', for a monthly or yearly repeat. */\n get: function () {\n if (!this.repeat) {\n return 'RELATIVE'; // Default value\n }\n switch (this.repeat.Kind) {\n case 'MONTHLY ABSOLUTE':\n case 'YEARLY ABSOLUTE':\n return 'ABSOLUTE';\n case 'MONTHLY RELATIVE':\n case 'YEARLY RELATIVE':\n return 'RELATIVE';\n default:\n return 'RELATIVE'; // Default value\n }\n },\n /** Sets the offset type, 'RELATIVE' or 'ABSOLUTE', for a monthly or yearly repeat. */\n set: function (value) {\n if (!this.repeat) {\n return;\n }\n if (this.offsetType === value) {\n return;\n }\n this.repeat.Days = '';\n switch (this.repeatType) {\n case 'MONTHLY':\n this.repeat.Kind = 'MONTHLY ' + value;\n break;\n case 'YEARLY':\n this.repeat.Kind = 'YEARLY ' + value;\n break;\n default:\n throw new Error('Unknown repeat type: ' + this.repeatType);\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Checks whether repeat.untilDate is infinite.\n * @returns True when repeat.untilDate is infinite.\n */\n RepeatAdapter.prototype.isInfinity = function () {\n return !this.untilDate || Repeat.isInfinity(this.untilDate);\n };\n /**\n * Returns a description of the repeat.\n * @returns a string representing the repeat.\n */\n RepeatAdapter.prototype.summary = function () {\n // In de constructor hier boven haal ik de labels asynchroon op.\n // Wanneer je nog meer labels nodig hebt, voeg dan\n // de label keys in de string array van de get toe.\n if (!RepeatAdapter.labels) {\n return '';\n }\n if (!this.repeat) {\n return RepeatAdapter.labels['APP.FORMS.REPEAT.ONCE'];\n }\n var recurrenceString = function (factor, freq, plural) {\n if (!factor || factor === 1) {\n return RepeatAdapter.labels['APP.FORMS.REPEAT.' + freq];\n }\n else {\n return RepeatAdapter.labels['APP.FORMS.REPEAT.EVERY'] + ' ' +\n factor + ' ' +\n RepeatAdapter.labels['APP.FORMS.REPEAT.' + plural];\n }\n };\n var daysString = function (offset, repeatDays, languageCode) {\n if (repeatDays === '') {\n return repeatDays;\n }\n var resultDays = '';\n var days = repeatDays.trim().split(' ');\n if (days.length === 5 && days.indexOf('SUN') === -1 && days.indexOf('SAT') === -1) {\n resultDays += RepeatAdapter.labels['APP.FORMS.REPEAT.WEEKDAYS'];\n }\n else {\n var daysArray_1 = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'];\n days.sort(function (a, b) {\n return daysArray_1.indexOf(a) - daysArray_1.indexOf(b);\n });\n var index = days.indexOf(daysArray_1[offset.getDay()]);\n if (index !== -1 && index !== 0) {\n var rotate = days.slice(0, index);\n days.splice(0, index);\n for (var day = 0; day < rotate.length; day += 1) {\n days.push(rotate[day]);\n }\n }\n for (var day = 0; day < days.length; day += 1) {\n if (day > 0) {\n resultDays += day === days.length - 1 ? ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.AND'] + ' ' : ', ';\n }\n var weekday = moment.weekdays(daysArray_1.indexOf(days[day]));\n if (languageCode === 'nl') {\n weekday = weekday.toLowerCase();\n }\n resultDays += weekday;\n }\n }\n return resultDays;\n };\n var result = '';\n switch (this.repeat.Kind) {\n case 'ONCE':\n return RepeatAdapter.labels['APP.FORMS.REPEAT.ONCE'];\n case 'DAILY':\n result = recurrenceString(this.repeat.Factor, 'DAILY', 'DAYS');\n break;\n case 'WEEKLY':\n if (this.repeatType === 'WEEKDAY') {\n result = RepeatAdapter.labels['APP.FORMS.REPEAT.EVERY'] + ' ' +\n this.localisationService.currentLanguage.code === 'de' ?\n RepeatAdapter.labels['APP.FORMS.REPEAT.WEEKDAY'] :\n RepeatAdapter.labels['APP.FORMS.REPEAT.WEEKDAY'].toLowerCase();\n break;\n }\n if (!this.repeat.Days) {\n result = RepeatAdapter.labels['APP.FORMS.REPEAT.WEEKLY'];\n break;\n }\n result = RepeatAdapter.labels['APP.FORMS.REPEAT.EVERY'] + ' ';\n if (this.repeat.Factor && this.repeat.Factor !== 1) {\n result += this.repeat.Factor + ' ' +\n RepeatAdapter.labels['APP.FORMS.REPEAT.WEEKS'] + ' ' +\n RepeatAdapter.labels['APP.FORMS.REPEAT.ON'] + ' ';\n }\n result += daysString(this.start(), this.repeat.Days, this.localisationService.currentLanguage.code);\n break;\n case 'MONTHLY ABSOLUTE':\n result = recurrenceString(this.repeat.Factor, 'MONTHLY', 'MONTHS');\n if (this.repeat.Days) {\n // Month 0 is januari\n var date = new Date(2000, 0, Number(this.repeat.Days));\n result += ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.ONTHE'] + ' ' + moment(date).format('Do');\n if (date.getDate() > 28) {\n result += ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.OR_LAST_DAY'] + ' ';\n }\n }\n break;\n case 'MONTHLY RELATIVE':\n result = recurrenceString(this.repeat.Factor, 'MONTHLY', 'MONTHS');\n if (this.repeat.Order) {\n result += ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.ONTHE'] + ' ' +\n RepeatAdapter.labels['APP.FORMS.REPEAT.' + this.repeat.Order] + ' ' +\n daysString(this.start(), this.repeat.Days, this.localisationService.currentLanguage.code);\n }\n break;\n case 'YEARLY ABSOLUTE':\n result = recurrenceString(1, 'YEARLY', 'YEARS');\n if (this.repeat.Days && this.factor) {\n var date = new Date(2000, this.factor - 1, Number(this.repeat.Days));\n result += ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.ON'] + ' ' +\n moment(date).format(this.localisationService.currentLanguage.formats.agenda.week.start);\n }\n break;\n case 'YEARLY RELATIVE':\n result = recurrenceString(1, 'YEARLY', 'YEARS');\n if (this.repeat.Order) {\n result += ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.ONTHE'] + ' ' +\n RepeatAdapter.labels['APP.FORMS.REPEAT.' + this.repeat.Order] + ' ' +\n daysString(this.start(), this.repeat.Days, this.localisationService.currentLanguage.code);\n }\n // Oude code: if (this.repeat.Start && this.repeat.entityAspect.entityState !== EntityState.Added) {\n // Check op entity state weggehaalt van wegen issue:\n // https://github.com/Symagic/html5/issues/1051#issuecomment-395001908\n // Ik weet niet of ik hier iets anders stuk maak, Maarten?\n if (this.repeat.Start) {\n var date = new Date(2000, this.factor - 1, 1);\n result += ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.OF'] + ' ' + moment(date).format('MMMM');\n }\n break;\n default:\n if (this.repeat.Factor) {\n result += RepeatAdapter.labels['APP.FORMS.REPEAT.EVERY'] + ' ' + this.repeat.Factor + ' ';\n }\n if (this.repeat.Days) {\n result += daysString(this.start(), this.repeat.Days, this.localisationService.currentLanguage.code);\n }\n }\n if (!this.isInfinity()) {\n result += ' ' + RepeatAdapter.labels['APP.FORMS.REPEAT.TILL'] + ' ' +\n moment(this.untilDate).format(this.localisationService.currentLanguage.formats.date.format);\n }\n return result;\n // Aan de hand van de RepeatAdapter properties kan je hier de summary samenstellen.\n // Nu alleen nog maar de repeatType property gebruikt.\n // return RepeatAdapter.labels['APP.CORE.MODELS.REPEAT.' + this.repeatType];\n };\n /**\n * Makes date that represents the server side infinite date.\n * @private\n * @returns {Date} 9999/12/31 +01:00 independent of time-zone client.\n */\n RepeatAdapter.prototype.makeInfinite = function () {\n // Returns 9999/12/31 +01:00 independent of time-zone client.\n return new Date(Date.UTC(9999, 11, 30, 23));\n };\n RepeatAdapter.prototype.start = function () {\n if (this.repeat) {\n if (this.repeat.Owner) {\n return this.repeat.Owner['Start'];\n }\n if (this.repeat.Start) {\n return this.repeat.Start;\n }\n }\n return new Date();\n };\n RepeatAdapter.labels = undefined;\n return RepeatAdapter;\n}(AbstractBase));\nexport { RepeatAdapter };\n","/**\n * @file Audit trail component\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { DomainService } from '../../domain.service';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { durationToText } from '../../core/helpers/durationToText';\nimport * as moment from 'moment';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { RepeatAdapter } from '../../domain/helpers/repeat-adapter';\nvar AuditTrailComponent = /** @class */ (function () {\n function AuditTrailComponent(domainService, translateService, sanitized, localisationService) {\n var _this = this;\n this.domainService = domainService;\n this.translateService = translateService;\n this.sanitized = sanitized;\n this.localisationService = localisationService;\n this.isRefreshing = true;\n /** Total nr of trailitems */\n this.totalItems = 0;\n /** Page size of the list */\n this.pageSize = 10;\n /** Number of items shown */\n this.nrItemsShown = 0;\n this.entityInfo = {\n 'Assignment': {\n 'icon': 'sym-icon-task',\n 'label': 'APP.AUDIT_TRAIL.ASSIGNMENT'\n },\n 'Assignment-Is-Appointment': {\n 'icon': 'sym-icon-appointment',\n 'label': 'APP.AUDIT_TRAIL.ASSIGNMENT-AS-APPOINTMENT'\n },\n 'SpendTime': {\n 'icon': 'sym-icon-realization',\n 'label': 'APP.AUDIT_TRAIL.SPENDTIME'\n },\n 'Attendant': {\n 'icon': 'sym-icon-attendant',\n 'label': 'APP.AUDIT_TRAIL.ATTENDANT'\n },\n 'Appointment': {\n 'icon': 'sym-icon-absence',\n 'label': 'APP.AUDIT_TRAIL.APPOINTMENT'\n },\n 'Availability': {\n 'icon': 'sym-icon-availability',\n 'label': 'APP.AUDIT_TRAIL.AVAILABILITY'\n },\n 'Repeat': {\n 'icon': 'sym-icon-repeat',\n 'label': 'APP.AUDIT_TRAIL.REPEAT'\n },\n 'TaskTemplate': {\n 'icon': 'sym-icon-task',\n 'label': 'APP.AUDIT_TRAIL.TASK_TEMPLATE'\n },\n 'Service': {\n 'icon': 'sym-icon-service',\n 'label': 'APP.AUDIT_TRAIL.SERVICE'\n },\n 'ServiceTemplate': {\n 'icon': 'sym-icon-service',\n 'label': 'APP.AUDIT_TRAIL.SERVICE_TEMPLATE'\n },\n 'Shift': {\n 'icon': 'sym-icon-shift',\n 'label': 'APP.AUDIT_TRAIL.SHIFT'\n },\n 'ShiftTemplate': {\n 'icon': 'sym-icon-shift',\n 'label': 'APP.AUDIT_TRAIL.SHIFT_TEMPLATE'\n },\n 'Task': {\n 'icon': 'sym-icon-task',\n 'label': 'APP.AUDIT_TRAIL.TASK'\n },\n 'Deployment': {\n 'icon': 'sym-icon-reservation',\n 'label': 'APP.AUDIT_TRAIL.DEPLOYMENT'\n },\n 'Demand': {\n 'icon': 'sym-icon-task',\n 'label': 'APP.AUDIT_TRAIL.DEMAND'\n },\n 'Project': {\n 'icon': 'sym-icon-project',\n 'label': 'APP.AUDIT_TRAIL.PROJECT'\n },\n 'Taskneed': {\n 'icon': 'sym-icon-requirement',\n 'label': 'APP.AUDIT_TRAIL.TASKNEED'\n },\n 'unknown': {\n 'icon': 'sym-icon-unknown',\n 'label': 'APP.AUDIT_TRAIL.UNKNOWN'\n }\n };\n this.transformers = {\n 'default': function (value) {\n // Null is an object, thats why this check\n if (value == null) {\n return '';\n }\n if (typeof value === 'string' || value === 'number') {\n return value;\n }\n if (typeof value === 'object' && value !== null && value['Name']) {\n return value['Name'];\n }\n if (typeof value === 'object' && value !== null && value['FirstName'] && value['Name']) {\n return value['FirstName'] + ' ' + value['Prefix'] + ' ' + value['Name'];\n }\n return '';\n },\n 'Completed': function (value) { return _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.BOOLEAN.' + ((value === 100) ? 'TRUE' : 'FALSE')); },\n 'Start': function (value) { return (value) ? moment(value).format(_this.localisationService.dateTime.format) : ''; },\n 'Finish': function (value) { return (value) ? moment(value).format(_this.localisationService.dateTime.format) : ''; },\n 'StartBase': function (value) { return (value) ? moment(value).format(_this.localisationService.dateTime.format) : ''; },\n 'FinishBase': function (value) { return (value) ? moment(value).format(_this.localisationService.dateTime.format) : ''; },\n 'Color': function (value) { return (value) ? _this.sanitized.bypassSecurityTrustHtml('' + value + '') : ''; },\n 'Effort': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n 'TravelTime': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n 'HoursOfLeave': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n 'WorkUnit': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n 'WorkStatus': function (value) { return (value) ? _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.WORKSTATUS.' + value.toLocaleUpperCase()) : ''; },\n 'Unforeseen': function (value) { return (value) ? _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.UNFORESEEN.' + value.toLocaleUpperCase()) : ''; },\n 'Purpose': function (value) { return (value) ? _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.PURPOSE.' + value.toLocaleUpperCase()) : ''; },\n 'Appointment': function (value) { return (value !== undefined) ? _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.BOOLEAN.' + ((value === true) ? 'TRUE' : 'FALSE')) : ''; },\n 'IsAbsence': function (value) { return (value !== undefined) ? _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.BOOLEAN.' + ((value === true) ? 'TRUE' : 'FALSE')) : ''; },\n 'Closed': function (value) { return (value !== undefined) ? _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.BOOLEAN.' + ((value === true) ? 'TRUE' : 'FALSE')) : ''; },\n 'EffortBudget': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n 'HoursPerUnit': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n 'Prognosed': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n 'Planned': function (value) { return (value) ? durationToText(moment.duration(value)) : ''; },\n // 'Resource': (value) => (value && value['FirstName'] && value['Name']) ? value['FirstName'] + ' ' + value['Prefix'] + ' ' + value['Name'] : '',\n // 'Account': (value) => (value && value['FirstName'] && value['Name']) ? value['FirstName'] + ' ' + value['Prefix'] + ' ' + value['Name'] : '',\n // 'Manager': (value) => (value && value['FirstName'] && value['Name']) ? value['FirstName'] + ' ' + value['Prefix'] + ' ' + value['Name'] : '',\n // 'Department': (value) => (value && value['Name']) ? value['Name'] : '',\n // 'Concerns': (value) => (value && value['Name']) ? value['Name'] : '',\n // 'Deployment': (value) => (value && value['Name']) ? value['Name'] : '',\n // 'Service': (value) => (value && value['Name']) ? value['Name'] : '',\n // 'Customer': (value) => (value && value['Name']) ? value['Name'] : '',\n // 'Shift': (value) => (value && value['Name']) ? value['Name'] : '',\n 'RepeatSummary': function (value, item) {\n if (!item) {\n return '';\n }\n if (item.Start) {\n item.Start = new Date(item.Start);\n }\n if (item.UntilDate) {\n item.UntilDate = new Date(item.UntilDate);\n }\n if (item.Owner) {\n if (item.Owner['Start']) {\n item.Owner['Start'] = new Date(item.Owner['Start']);\n }\n if (item.Owner['UntilDate']) {\n item.Owner['UntilDate'] = new Date(item.Owner['UntilDate']);\n }\n }\n var repeatAdapter = new RepeatAdapter(function () {\n return item;\n }, _this.translateService, _this.localisationService, _this.domainService);\n return repeatAdapter.summary();\n },\n 'SumFactor': function (value) {\n if (!value) {\n return '';\n }\n if (value === 1) {\n return _this.translateService.instant('APP.MISC.PLANITEM.SUMFACTOR_ADD');\n }\n if (value === 0) {\n return _this.translateService.instant('APP.MISC.PLANITEM.SUMFACTOR_NONE');\n }\n if (value === -1) {\n return _this.translateService.instant('APP.MISC.PLANITEM.SUMFACTOR_SUBTRACT');\n }\n },\n 'Weight': function (value) {\n if (!value) {\n return '';\n }\n if (value === 1) {\n return _this.translateService.instant('APP.MISC.AVAILABILITY.LOVE_TO');\n }\n if (value === 0) {\n return _this.translateService.instant('APP.MISC.AVAILABILITY.I_CAN');\n }\n if (value === -1) {\n return _this.translateService.instant('APP.MISC.AVAILABILITY.PREFER_NOT');\n }\n },\n 'Draft': function (value) { return _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.DRAFT.' + ((value === true) ? 'TRUE' : 'FALSE')); },\n 'RateOfWork': function (value) { return (value !== undefined && value !== 0) ? _this.translateService.instant('APP.AUDIT_TRAIL.VALUE.RATEOFWORK.' + value) : ''; }\n };\n this.configuration = {\n instruction: 'instructions/standaard/core/social/audit-trail/audit-trail'\n };\n this._trail = null;\n this._trail = new DataSet(domainService);\n this._trail.sourceName = 'Trail';\n this._trail.queryOptions = {};\n this.nrItemsShown = this.pageSize;\n }\n AuditTrailComponent.prototype.trailFiltered = function () {\n return this._trail.items.filter(function (item) { return item['Action'] !== 'Invoke'; });\n };\n Object.defineProperty(AuditTrailComponent.prototype, \"trail\", {\n get: function () {\n if (this._trail == null) {\n return [];\n }\n // return this._trail.items;\n return this.trailFiltered().slice(0, this.nrItemsShown);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AuditTrailComponent.prototype, \"entityKey\", {\n /**\n * Get the entity key\n */\n get: function () {\n return this.entityKeyValue;\n },\n set: function (value) {\n if (this.entityKeyValue === value) {\n return;\n }\n this.entityKeyValue = value.split('_')[0];\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Get the user Oid\n */\n AuditTrailComponent.prototype.userOid = function (id) {\n return DomainService.oidWith(126, id);\n };\n AuditTrailComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this.isRefreshing = true;\n if (this.entityKeyValue == null || this.entityKeyValue.indexOf('K_-') === 0) {\n return [2 /*return*/];\n }\n this._trail.queryOptions.parameters = {};\n this._trail.queryOptions.parameters.entityType = DomainService.oidToClassName(this.entityKeyValue);\n this._trail.queryOptions.parameters.entityId = this.entityKeyValue;\n // Hoe diep wil je gaan? Wil je ook de SpendTime bij een Shift van bijvoorbeeld Shift.Servive.Attendant\n // Zouden we eerst hier hard coded kunnen bepalen aan de hand van de this._trail.queryOptions.parameters.entityType\n this._trail.queryOptions.parameters.deep = 3;\n // Met een hoge deep haal je mischien OOK de trail op van objecten waar je NIET in bent geintreseerd\n // Dan heb je hier een spatie gescheiden lijst met entityType.shortName's van objecten die je uit je deep trail wil halen.\n this._trail.queryOptions.parameters.exclude = 'Repeat';\n // Voor later om de qualiatieve informatie detail van je trail te bepaalde.\n this._trail.queryOptions.parameters.level = 0;\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this._trail.refresh()];\n case 2:\n _a.sent();\n this.isRefreshing = false;\n this.totalItems = this.trailFiltered().length;\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n this.isRefreshing = false;\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Check if given detail is open\n */\n AuditTrailComponent.prototype.isDetailOpen = function (item) {\n if (!item.Id) {\n return false;\n }\n return (this.openDetailId === item.Id);\n };\n /**\n * Toggle the detail open\n */\n AuditTrailComponent.prototype.toggleDetailOpen = function (item) {\n if (!item.Id) {\n return false;\n }\n if (!this.openDetailId) {\n return this.openDetailId = item.Id;\n }\n if (this.openDetailId === item.Id) {\n this.openDetailId = undefined;\n }\n else {\n this.openDetailId = item.Id;\n }\n };\n /**\n * Translate the value into a human readable format\n */\n AuditTrailComponent.prototype.transform = function (property, value, item) {\n // if (!value) {\n // throw new Error('Value is null');\n // }\n if (this.transformers[property]) {\n return this.transformers[property](value, item);\n }\n return this.transformers['default'](value, item);\n };\n /**\n * Get the correct icon\n */\n AuditTrailComponent.prototype.getIcon = function (type, tag) {\n if (tag && tag === 'IsAppointment') {\n type = 'Assignment-Is-Appointment';\n }\n if (type !== undefined && this.entityInfo[type]) {\n return this.entityInfo[type].icon;\n }\n return this.entityInfo['unknown'].icon;\n };\n /**\n * Translate to the correct label\n */\n AuditTrailComponent.prototype.getLabel = function (type, tag, action) {\n if (tag && tag === 'IsAppointment') {\n type = 'Assignment-Is-Appointment';\n }\n if (this.entityInfo[type]) {\n return this.entityInfo[type].label + '.' + action.toUpperCase();\n }\n return this.entityInfo['unknown'].label + '.' + action.toUpperCase();\n };\n /**\n * Translate to the correct label\n */\n AuditTrailComponent.prototype.getPropertyKey = function (property) {\n return 'APP.AUDIT_TRAIL.PROPERTY.' + property.toUpperCase();\n };\n /**\n * Collect the safe properties from current and, optional, previous\n */\n AuditTrailComponent.prototype.getProperties = function (entityType, current, previous) {\n if (previous === void 0) { previous = {}; }\n if (!current) {\n return [];\n }\n var currentProperties = this.removeIgnoredProperties(entityType, Object.keys(current));\n var previousProperties = this.removeIgnoredProperties(entityType, Object.keys(previous));\n // Concat current and previous properties and exclude duplicates\n var safeProperties = currentProperties.concat(previousProperties.filter(function (property) { return !currentProperties.includes(property); }));\n safeProperties = safeProperties.filter(function (property) {\n var hasValueInCurrent = current[property] !== undefined && current[property];\n var hasValueInPrevious = previous[property] !== undefined;\n return (hasValueInCurrent || hasValueInPrevious);\n });\n if (entityType === 'Repeat') {\n safeProperties.push('RepeatSummary'); // always add this one to 'enforce' showing the summary (see transformer 'UntilDate')\n }\n return safeProperties;\n };\n /**\n * Clean up the properties and return only the allowed properties\n */\n AuditTrailComponent.prototype.removeIgnoredProperties = function (entityType, properties) {\n return properties.filter(function (property) {\n if (property.endsWith('Oid')) {\n return false;\n }\n if (property.startsWith('_')) {\n return false;\n }\n if (property.endsWith('IsAbsence')) {\n return false;\n }\n if ((entityType === 'Assignment' || entityType === 'SpendTime') && (property === 'Unforeseen')) {\n return false;\n }\n if (entityType === 'Assignment' && property === 'HoursOfLeave') {\n return false;\n }\n if (entityType === 'Repeat' && ['Cycles', 'Days', 'Factor', 'Kind', 'Order', 'Start', 'UntilDate'].includes(property)) {\n return false;\n }\n if (property === 'RepeatPattern') {\n return false;\n }\n if (property === 'Account') {\n return false;\n }\n if (property === 'Owner') {\n return false;\n }\n return true;\n });\n };\n /**\n * Check if item has an user\n */\n AuditTrailComponent.prototype.hasUser = function (item) {\n return (item.UserId);\n };\n /**\n * Method to check if the name exists\n */\n AuditTrailComponent.prototype.hasName = function (item) {\n return (item['FirstName'] || item['LastName']);\n };\n /** Checks if there are more items available */\n AuditTrailComponent.prototype.hasMore = function () {\n return this.nrItemsShown < this._trail.items.length;\n };\n /** Show also the next page */\n AuditTrailComponent.prototype.showMore = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var nrToShow;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.refresh()];\n case 1:\n _a.sent();\n if (this.hasMore()) {\n nrToShow = this.nrItemsShown + this.pageSize;\n if (nrToShow > this._trail.items.length) {\n nrToShow = this._trail.items.length;\n }\n this.nrItemsShown = nrToShow;\n }\n return [2 /*return*/];\n }\n });\n });\n };\n return AuditTrailComponent;\n}());\nexport { AuditTrailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Audit trail component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./audit-trail.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"../../base/directives/openProfile.directive\";\nimport * as i5 from \"../../core/overlay.service\";\nimport * as i6 from \"../../user.service\";\nimport * as i7 from \"../../domain.service\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"ngx-moment\";\nimport * as i10 from \"../../base/profile-picture/profile-picture.component.ngfactory\";\nimport * as i11 from \"../../base/profile-picture/profile-picture.component\";\nimport * as i12 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i13 from \"../../base/instruction/instruction.component\";\nimport * as i14 from \"@angular/common/http\";\nimport * as i15 from \"../../configurations.service\";\nimport * as i16 from \"./audit-trail.component\";\nimport * as i17 from \"@angular/platform-browser\";\nimport * as i18 from \"../../core/localisation.service\";\nvar styles_AuditTrailComponent = [i0.styles];\nvar RenderType_AuditTrailComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AuditTrailComponent, data: {} });\nexport { RenderType_AuditTrailComponent as RenderType_AuditTrailComponent };\nfunction View_AuditTrailComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.totalItems; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AuditTrailComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 19).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_AuditTrailComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.AUDIT_TRAIL.NO_DATA\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AuditTrailComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.AUDIT_TRAIL.REFRESHING\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AuditTrailComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"d-flex flex-row sym-audit-trail-item p-3 mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"pl-3 pt-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_4)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_5)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isRefreshing; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.isRefreshing; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_AuditTrailComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.AUDIT_TRAIL.SOMEBODY\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AuditTrailComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i4.OpenProfileDirective, [i5.OverlayService, i6.UserService, i7.DomainService, i8.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-employee\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \" \", \"\"]))], function (_ck, _v) { var currVal_0 = _v.parent.parent.context.$implicit[\"ResourceId\"]; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.parent.context.$implicit[\"FirstName\"]; var currVal_2 = _v.parent.parent.context.$implicit[\"LastName\"]; _ck(_v, 3, 0, currVal_1, currVal_2); }); }\nfunction View_AuditTrailComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_8)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_9)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(5, null, [\" \", \" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i9.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone])], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.hasName(_v.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasName(_v.parent.context.$implicit); _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.getLabel(_v.parent.context.$implicit.EntityType, _v.parent.context.$implicit.Tag, _v.parent.context.$implicit.Action))); var currVal_3 = i1.ɵunv(_v, 5, 1, i1.ɵnov(_v, 7).transform(_v.parent.context.$implicit.Date)); _ck(_v, 5, 0, currVal_2, currVal_3); }); }\nfunction View_AuditTrailComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-audit-trail-item-icon\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-unknown\"]], null, null, null, null, null))], null, null); }\nfunction View_AuditTrailComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"sym-profile-picture\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i10.View_ProfilePictureComponent_0, i10.RenderType_ProfilePictureComponent)), i1.ɵdid(1, 16384, null, 0, i4.OpenProfileDirective, [i5.OverlayService, i6.UserService, i7.DomainService, i8.AlertsService], { key: [0, \"key\"] }, null), i1.ɵdid(2, 49152, null, 0, i11.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit[\"ResourceId\"]; _ck(_v, 1, 0, currVal_0); var currVal_1 = ((_v.parent.context.$implicit[\"FirstName\"] + \" \") + _v.parent.context.$implicit[\"LastName\"]); var currVal_2 = 35; _ck(_v, 2, 0, currVal_1, currVal_2); }, null); }\nfunction View_AuditTrailComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(0, null, null, 0))], null, null); }\nfunction View_AuditTrailComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"d-flex flex-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \":\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"sym-word-break-all pl-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"small\", [], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.getPropertyKey(_v.context.$implicit))); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.transform(_v.context.$implicit, _v.parent.parent.parent.context.$implicit.Current[_v.context.$implicit], _v.parent.parent.parent.context.$implicit.Current); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_AuditTrailComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_15)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getProperties(_v.parent.parent.context.$implicit.EntityType, _v.parent.parent.context.$implicit.Current); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AuditTrailComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_13)), i1.ɵdid(2, 540672, null, 0, i3.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutlet: [0, \"ngTemplateOutlet\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_14)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v.parent, 1); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isDetailOpen(_v.parent.context.$implicit); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AuditTrailComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(0, null, null, 0))], null, null); }\nfunction View_AuditTrailComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"d-flex flex-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \":\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-word-break-all pl-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"s\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 0, \"small\", [], [[8, \"innerHTML\", 1]], null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"sym-word-break-all pl-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 0, \"small\", [], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.getPropertyKey(_v.context.$implicit))); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.transform(_v.context.$implicit, _v.parent.parent.parent.context.$implicit.Previous[_v.context.$implicit], _v.parent.parent.parent.context.$implicit.Previous); _ck(_v, 7, 0, currVal_1); var currVal_2 = _co.transform(_v.context.$implicit, _v.parent.parent.parent.context.$implicit.Current[_v.context.$implicit], _v.parent.parent.parent.context.$implicit.Current); _ck(_v, 9, 0, currVal_2); }); }\nfunction View_AuditTrailComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_19)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getProperties(_v.parent.parent.context.$implicit.EntityType, _v.parent.parent.context.$implicit.Current, _v.parent.parent.context.$implicit.Previous); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AuditTrailComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_17)), i1.ɵdid(2, 540672, null, 0, i3.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutlet: [0, \"ngTemplateOutlet\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_18)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v.parent, 1); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isDetailOpen(_v.parent.context.$implicit); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AuditTrailComponent_21(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(0, null, null, 0))], null, null); }\nfunction View_AuditTrailComponent_23(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"d-flex flex-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \":\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"sym-word-break-all pl-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"small\", [], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.getPropertyKey(_v.context.$implicit))); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.transform(_v.context.$implicit, _v.parent.parent.parent.context.$implicit.Current[_v.context.$implicit], _v.parent.parent.parent.context.$implicit.Current); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_AuditTrailComponent_22(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_23)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getProperties(_v.parent.parent.context.$implicit.EntityType, _v.parent.parent.context.$implicit.Current); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AuditTrailComponent_20(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_21)), i1.ɵdid(2, 540672, null, 0, i3.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutlet: [0, \"ngTemplateOutlet\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_22)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v.parent, 1); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isDetailOpen(_v.parent.context.$implicit); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AuditTrailComponent_24(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i4.OpenProfileDirective, [i5.OverlayService, i6.UserService, i7.DomainService, i8.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-employee\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \" \", \"\"])), (_l()(), i1.ɵted(6, null, [\" \", \" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i9.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone])], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit[\"ResourceId\"]; _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit[\"FirstName\"]; var currVal_2 = _v.parent.context.$implicit[\"LastName\"]; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.AUDIT_TRAIL.SOMEONE_DID_SOMETHING\")); var currVal_4 = i1.ɵunv(_v, 6, 1, i1.ɵnov(_v, 8).transform(_v.parent.context.$implicit.Date)); _ck(_v, 6, 0, currVal_3, currVal_4); }); }\nfunction View_AuditTrailComponent_25(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-visible\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.MISC.SHOW_DETAILS\")), \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AuditTrailComponent_26(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-invisible\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.MISC.HIDE_DETAILS\")), \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AuditTrailComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 27, \"div\", [[\"class\", \"d-flex flex-row sym-audit-trail-item p-3 mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(0, [[\"trailRow\", 2]], null, 0, null, View_AuditTrailComponent_7)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"div\", [[\"style\", \"position: relative;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"div\", [[\"class\", \"sym-audit-trail-item-line\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"div\", [[\"class\", \"sym-audit-trail-item-icon\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [], [[8, \"title\", 0], [8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 4, \"div\", [[\"class\", \"pl-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_10)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_11)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 10, \"div\", [[\"class\", \"flex-fill pl-3 pt-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 9, null, null, null, null, null, null, null)), i1.ɵdid(13, 16384, null, 0, i3.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_12)), i1.ɵdid(15, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_16)), i1.ɵdid(17, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_20)), i1.ɵdid(19, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_24)), i1.ɵdid(21, 16384, null, 0, i3.NgSwitchDefault, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], null, null), (_l()(), i1.ɵeld(22, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 4, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleDetailOpen(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_25)), i1.ɵdid(25, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_26)), i1.ɵdid(27, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = !_co.hasUser(_v.context.$implicit); _ck(_v, 8, 0, currVal_2); var currVal_3 = _co.hasUser(_v.context.$implicit); _ck(_v, 10, 0, currVal_3); var currVal_4 = _v.context.$implicit.Action; _ck(_v, 13, 0, currVal_4); var currVal_5 = \"Create\"; _ck(_v, 15, 0, currVal_5); var currVal_6 = \"Update\"; _ck(_v, 17, 0, currVal_6); var currVal_7 = \"Delete\"; _ck(_v, 19, 0, currVal_7); var currVal_8 = !_co.isDetailOpen(_v.context.$implicit); _ck(_v, 25, 0, currVal_8); var currVal_9 = _co.isDetailOpen(_v.context.$implicit); _ck(_v, 27, 0, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.EntityType; var currVal_1 = i1.ɵinlineInterpolate(1, \"icon \", _co.getIcon(_v.context.$implicit.EntityType, _v.context.$implicit.Tag), \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); }); }\nfunction View_AuditTrailComponent_27(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"d-flex flex-row sym-audit-trail-item p-3 mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"pl-3 pt-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"small\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.showMore() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(3, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.AUDIT_TRAIL.MORE_DATA\")); _ck(_v, 3, 0, currVal_0); }); }\nexport function View_AuditTrailComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 26, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-audit-trail\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_1)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(11, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(12, { \"disabled\": 0 }), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(14, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(15, { \"icon-spin\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_2)), i1.ɵdid(17, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i12.View_InstructionComponent_0, i12.RenderType_InstructionComponent)), i1.ɵdid(19, 180224, [[\"instruction\", 4]], 0, i13.InstructionComponent, [i14.HttpClient, i15.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 6, \"div\", [[\"class\", \"d-flex flex-column sym-audit-trail\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_3)), i1.ɵdid(22, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_6)), i1.ɵdid(24, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AuditTrailComponent_27)), i1.ɵdid(26, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.trail; _ck(_v, 8, 0, currVal_1); var currVal_2 = \"btn btn-sm btn-link\"; var currVal_3 = _ck(_v, 12, 0, _co.isRefreshing); _ck(_v, 11, 0, currVal_2, currVal_3); var currVal_4 = \"icon sym-icon-refresh\"; var currVal_5 = _ck(_v, 15, 0, _co.isRefreshing); _ck(_v, 14, 0, currVal_4, currVal_5); var currVal_6 = _co.configuration.instruction; _ck(_v, 17, 0, currVal_6); var currVal_7 = _co.configuration.instruction; _ck(_v, 19, 0, currVal_7); var currVal_8 = (_co.trail && (_co.trail.length === 0)); _ck(_v, 22, 0, currVal_8); var currVal_9 = _co.trail; _ck(_v, 24, 0, currVal_9); var currVal_10 = _co.hasMore(); _ck(_v, 26, 0, currVal_10); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.AUDIT_TRAIL.TITLE\")); _ck(_v, 5, 0, currVal_0); }); }\nexport function View_AuditTrailComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-audit-trail\", [], null, null, null, View_AuditTrailComponent_0, RenderType_AuditTrailComponent)), i1.ɵdid(1, 49152, null, 0, i16.AuditTrailComponent, [i7.DomainService, i2.TranslateService, i17.DomSanitizer, i18.LocalisationService], null, null)], null, null); }\nvar AuditTrailComponentNgFactory = i1.ɵccf(\"sym-audit-trail\", i16.AuditTrailComponent, View_AuditTrailComponent_Host_0, { entityKey: \"entityKey\" }, {}, []);\nexport { AuditTrailComponentNgFactory as AuditTrailComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Audit trail component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-audit-trail[_ngcontent-%COMP%] .sym-audit-trail-item[_ngcontent-%COMP%]{background-color:#f8f9fa}.sym-audit-trail[_ngcontent-%COMP%] .sym-audit-trail-item[_ngcontent-%COMP%] .sym-audit-trail-item-line[_ngcontent-%COMP%]{border-left:1px solid #b4b4b4;position:absolute;left:17px;bottom:-50px;top:34px}.sym-audit-trail[_ngcontent-%COMP%] .sym-audit-trail-item[_ngcontent-%COMP%] .sym-audit-trail-item-icon[_ngcontent-%COMP%]{width:35px;height:35px;background-color:#fff;border:1px solid #a0a0a0;border-radius:50%;text-align:center}.sym-audit-trail[_ngcontent-%COMP%] .sym-audit-trail-item[_ngcontent-%COMP%] .sym-audit-trail-item-icon[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;line-height:35px}.sym-audit-trail[_ngcontent-%COMP%] .sym-audit-trail-item[_ngcontent-%COMP%]:last-child .sym-audit-trail-item-line[_ngcontent-%COMP%]{display:none}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Abstract class representing a control owned by a AbstractView instance.\n * @author Tom Verschoore de la Houssaije.\n */\nimport { OnDestroy } from '@angular/core';\nimport { AbstractComponent } from '../../core/helpers/abstract-component';\nimport { DataType } from 'breeze-client';\nimport { DomainService } from '../../domain.service';\n/**\n * Abstract class representing a control owned by a AbstractView instance.\n * A ControlBase has an instruction to help and instruct the user how to use the control.\n * A ControlBase can save and restore its last state.\n */\nvar ControlBase = /** @class */ (function (_super) {\n tslib_1.__extends(ControlBase, _super);\n /**\n * Constructs a ControlBase\n * @param configurationsService The configuration service.\n * @memberOf ControlBase\n */\n function ControlBase(alertsService) {\n var _this = _super.call(this, alertsService) || this;\n _this.alertsService = alertsService;\n /**\n * Flag indicating wether the instruction is open for reading.\n * @private\n * @memberOf ControlBase\n */\n _this._isInstructionOpen = false;\n /**\n * The default value of this property is false.\n * The value is set to true when the app displays the control in the overlay mode.\n * Use this property to make the control \"overlay mode\" responsive.\n * @memberOf ControlBase\n */\n _this.overlayMode = false;\n return _this;\n }\n /**\n * Toggles the showing and hiding of the instruction of the control.\n * @memberOf ControlBase\n */\n ControlBase.prototype.toggleInstructionOpen = function () {\n this._isInstructionOpen = !this._isInstructionOpen;\n };\n /**\n * The instruction of the control is shown when this flag is true.\n * @returns True when the instruction of the control is shown otherwise false.\n * @memberOf ControlBase\n */\n ControlBase.prototype.isInstructionOpen = function () {\n return this._isInstructionOpen;\n };\n /**\n * We save, OnDestroy, the state of the control set by the user.\n * @memberOf ControlBase\n */\n ControlBase.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n if (this.configuration) {\n this.saveUserData(this.configuration.key);\n }\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n * @memberOf ControlBase\n */\n ControlBase.prototype.afterInitialize = function () {\n // // Bugfix for #2376\n // setTimeout(() => {\n // this.restoreState(this.configuration.key);\n // }, 1);\n // Bugfix for #2376 veroorzaakte nu issue #3320\n // Issue #2376 treed niet meer op ook zonder de Bugfix van hier boven.\n this.restoreState(this.configuration.key);\n };\n /**\n * Override this method to implement logic to store the control state set by the user.\n * @protected\n * @param {string} configKey Reference to the appropiate configuration. Use this reference to save and find the stored state of the control.\n * @memberOf ControlBase\n */\n ControlBase.prototype.restoreState = function (configKey) { };\n /**\n * Override this method to implement logic to restore the last control state set by the user.\n * @protected\n * @abstract\n * @param {string} configKey Reference to the appropiate configuration. Use this reference to save and find the stored state of the control.\n * @memberOf ControlBase\n */\n ControlBase.prototype.saveUserData = function (configKey) { };\n /**\n * Set default values to undefined FieldConfiguration properties.\n * @static\n * @param {FieldConfiguration} field The FieldConfiguration to check.\n * @param {EntityType} entityType The associated entity type.\n * @memberOf ControlBase\n */\n ControlBase.setFieldDefaults = function (field, entityType) {\n // TODO: Consider to move to core/forms\n if (field.readonly === undefined) {\n field.readonly = false;\n }\n var property;\n var currentType = entityType;\n var path = field.name.split('.');\n path.forEach(function (segment, index) {\n if (index < path.length - 1) {\n var nav = DomainService.getNavigationPropertyFor(currentType, segment);\n if (nav) {\n currentType = nav.entityType;\n }\n }\n else {\n property = DomainService.getDataPropertyFor(currentType, segment);\n if (!property) {\n property = DomainService.getNavigationPropertyFor(currentType, segment);\n }\n }\n });\n if (field.editor === undefined) {\n if (!property) {\n field.editor = 'string';\n }\n else {\n if (field.required === undefined) {\n field.required = property.validators.some(function (validator) { return validator.name === 'required'; });\n }\n ControlBase.setDefaultEditorFor(property, field, entityType);\n }\n }\n };\n /**\n * Set the FieldConfiguration editor and formats for a specific entity property type.\n * @static\n * @param {(DataProperty | NavigationProperty)} property The associated entity property.\n * @param {FieldConfiguration} field The FieldConfiguration to check.\n * @param {EntityType} entityType The associated entity type.\n * @memberOf ControlBase\n */\n ControlBase.setDefaultEditorFor = function (property, field, entityType) {\n var dataType = property.dataType;\n if (dataType) {\n switch (dataType) {\n case DataType.Boolean:\n field.editor = 'boolean';\n break;\n case DataType.Time:\n field.editor = 'duration';\n break;\n case DataType.DateTime:\n field.editor = 'datetime';\n break;\n case DataType.String:\n if (!property.validators.some(function (validator) {\n switch (validator.name) {\n case 'emailAddress':\n field.editor = 'email';\n return true;\n case 'url':\n field.editor = 'url';\n return true;\n case 'phone':\n field.editor = 'phone';\n return true;\n default:\n return false;\n }\n })) {\n field.editor = 'string';\n }\n break;\n default:\n field.editor = dataType.isNumeric ? 'number' : 'string';\n break;\n }\n }\n else if (property.isScalar) {\n // NavigationProperty\n var typeEntity = property.entityType;\n if (typeEntity.shortName === 'Repeat') {\n field.editor = 'repeat';\n return;\n }\n if (typeEntity.defaultResourceName) {\n field.editor = 'entity';\n field.format = {\n dataSource: typeEntity.defaultResourceName,\n entity: typeEntity.shortName,\n fields: ['Name']\n };\n }\n else {\n // TODO: Deze situatie zou niet meer voor komen bij de back-end.\n field.editor = 'string';\n field.name += '.Name';\n }\n }\n };\n return ControlBase;\n}(AbstractComponent));\nexport { ControlBase };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Component with standard form functionality.\n * @author Tom Verschoore de la Houssaije.\n */\nimport { EventEmitter, OnDestroy } from '@angular/core';\nimport { DIRTY_FLAG } from '../../core/breeze.service';\nimport { ControlBase } from '../../base/helpers/control-base';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport { EntityState, EntityAction } from 'breeze-client';\nimport { DataRights } from '../../core/helpers/data-rights.enum';\nimport { RoutesService } from '../../routes.service';\n/**\n * Shows one selected entity in a form for editing.\n */\nvar FormBase = /** @class */ (function (_super) {\n tslib_1.__extends(FormBase, _super);\n /**\n * Constructs a FormComponent instance.\n * @param configurationsService The configuration service.\n * @param breezeService The domain service\n * @param route The activated route.\n * @param translateService The translation service.\n * @param alertsService The alerts service.\n */\n function FormBase(breezeService, route, router, translateService, alertsService, resourceService) {\n var _this = _super.call(this, alertsService) || this;\n _this.breezeService = breezeService;\n _this.route = route;\n _this.router = router;\n _this.translateService = translateService;\n _this.alertsService = alertsService;\n _this.resourceService = resourceService;\n /**\n * Gets, sets the flag indicating whether or not the form is shown in the overlay.\n */\n _this.overlayMode = false;\n /** Event that emits when an entity is saved */\n _this.itemSaved = new EventEmitter();\n /** Event that emits when an entity is removed */\n _this.itemRemoved = new EventEmitter();\n /** Event that emits when changes are canceled. */\n _this.itemCanceled = new EventEmitter();\n _this.hasCloseButton = true;\n _this.useCache = true;\n /** Represents the edit mode of the form.\n * The edit mode of the form is one of the following values: \"unknown\", \"edit\" or \"new\".\n */\n _this.formMode = 'unknown';\n /** The loading state */\n _this.isLoading = true;\n /** A list of validation errors */\n _this.validationErrors = [];\n /** Holds an Angular ControlGroup. We use this to support user feedback on validation errors. */\n _this.form = null;\n /** The key value of the depicted entity. */\n _this.entityKeyValue = undefined;\n /**\n * Field to hold the virtual key value of an entity.\n * @protected\n * @type {string[]}\n */\n _this.virtualKeyValue = undefined;\n /** Holds the depicted entity. */\n _this._item = null;\n return _this;\n }\n Object.defineProperty(FormBase.prototype, \"labelKey\", {\n /**\n * Returns the configuration label key unless overridden.\n *\n * @type {string}\n */\n get: function () {\n if (this._labelKey) {\n return this._labelKey;\n }\n return this.configuration.labelKey;\n },\n /**\n * Sets a custom label that overrides the configuration label.\n */\n set: function (label) {\n this._labelKey = label;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormBase.prototype, \"editMode\", {\n /** Gets a boolean value indicating wether the form is in \"edit\" mode. */\n get: function () {\n if (!this.item) {\n return false;\n }\n return !this.createMode;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormBase.prototype, \"createMode\", {\n /** Gets a boolean value indicating wether the form is in \"new\" mode. */\n get: function () {\n if (!this.item) {\n return false;\n }\n var entityState = this.item.entityAspect.entityState;\n return entityState === EntityState.Detached || entityState === EntityState.Added;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormBase.prototype, \"hasChanges\", {\n /**\n * Checks whether or not the displayed entity has changed.\n * @readonly\n * @type {boolean}\n */\n get: function () {\n if (!this.item) {\n return false;\n }\n var entityState = this.item.entityAspect.entityState;\n return entityState === EntityState.Modified;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormBase.prototype, \"item\", {\n /** Gets the depicted entity. */\n get: function () {\n return this._item;\n },\n /** Sets the depicted entity. */\n set: function (value) {\n var _this = this;\n if (this._item === value) {\n return;\n }\n this._item = value;\n if (!this._item) {\n this.entityKeyValue = null;\n return;\n }\n // this.validationErrors.splice(0, this.validationErrors.length);\n this.validationErrors.length = 0;\n if (this.form && this.form.controls) {\n Object.keys(this.form.controls).forEach(function (key) {\n var control = _this.form.controls[key];\n // DO NOT USE control.reset();!!!!!\n control.markAsUntouched();\n control.markAsPristine();\n });\n }\n if (this.entitySubscription && this._item) {\n this._item.entityAspect.entityManager.entityChanged.unsubscribe(this.entitySubscription);\n }\n if (this.propertySubscription && this._item) {\n this._item.entityAspect.propertyChanged.unsubscribe(this.propertySubscription);\n }\n this.entityKeyValue = this._item.entityAspect.getKey().values;\n this.formMode = 'edit';\n if (this._item.entityAspect.entityState.isAdded()) {\n this.formMode = 'new';\n this.setDefaultValues();\n }\n this.entitySubscription = this._item.entityAspect.entityManager.entityChanged.subscribe(function (args) {\n if (_this._item === args.entity\n && args.entityAction === EntityAction.EntityStateChange\n && _this._item.entityAspect.entityState === EntityState.Deleted) {\n _this._item.entityAspect.entityManager.entityChanged.unsubscribe(_this.entitySubscription);\n var saveResult_1 = {\n entities: [args.entity],\n keyMappings: null,\n XHR: null\n };\n window.setTimeout(function () {\n var working = _this.breezeService.savingInProgress;\n if (working) {\n _this.subscriptionPool.add(working.subscribe({\n complete: function () {\n _this.itemRemoved.emit(saveResult_1);\n }\n }));\n return;\n }\n _this.itemRemoved.emit(saveResult_1);\n });\n }\n });\n this.propertySubscription = this._item.entityAspect.propertyChanged.subscribe(function (args) {\n if (_this._item.entityAspect.entityState.isDeleted()) {\n return;\n }\n if (args.propertyName) {\n _this._item[DIRTY_FLAG] = true;\n if (!_this.form) {\n return;\n }\n // Needed for updating state PeriodValidator.\n switch (args.propertyName) {\n case 'Start':\n var finishControl = _this.form.get('Finish');\n if (finishControl) {\n finishControl.updateValueAndValidity();\n }\n break;\n case 'Finish':\n var startControl = _this.form.get('Start');\n if (startControl) {\n startControl.updateValueAndValidity();\n }\n break;\n }\n }\n });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormBase.prototype, \"isReadOnly\", {\n /** Gets whether or not the form is readonly. */\n get: function () {\n return this.getIsReadOnly();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormBase.prototype, \"entityKey\", {\n /**\n * Gets the key of entity shown.\n * @readonly\n * @type {*}\n */\n get: function () {\n var result = '';\n if (this._item) {\n var values = this._item.entityAspect.getKey().values;\n values.forEach(function (value) {\n result += '_' + value;\n });\n return result.substring(1);\n }\n if (this.entityKeyValue == null) {\n return null;\n }\n if (this.entityKeyValue instanceof Array) {\n this.entityKeyValue.forEach(function (value) {\n result += '_' + value;\n });\n return result.substring(1);\n }\n return this.entityKeyValue;\n },\n /**\n * Sets the key of the entity shown.\n */\n set: function (value) {\n if (this.entityKeyValue === value) {\n return;\n }\n this.isLoading = true;\n if (value == null) {\n this.entityKeyValue = null;\n this.virtualKeyValue = undefined;\n this.refresh();\n return;\n }\n if (typeof value === 'string') {\n if (value.indexOf('K_-') !== 0) {\n // Is not a temporary new key\n // Can by a multi key.\n this.entityKeyValue = value.split('_');\n if (this.entityKeyValue.length > 1) {\n this.virtualKeyValue = this.entityKeyValue;\n }\n else if (this.virtualKeyValue && this.virtualKeyValue.indexOf(this.entityKeyValue[0]) === -1) {\n this.virtualKeyValue = undefined;\n }\n }\n else {\n this.entityKeyValue = value;\n this.virtualKeyValue = undefined;\n }\n }\n else if (value instanceof Array) {\n this.entityKeyValue = value;\n if (this.entityKeyValue.length > 1) {\n this.virtualKeyValue = this.entityKeyValue;\n }\n else if (this.virtualKeyValue && this.virtualKeyValue.indexOf(this.entityKeyValue[0]) === -1) {\n this.virtualKeyValue = undefined;\n }\n }\n else {\n // Wat voor type is dit dan?\n this.entityKeyValue = value;\n this.virtualKeyValue = undefined;\n }\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n FormBase.prototype.publishErrors = function (errors, message) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var promise;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (errors instanceof Array) {\n this.validationErrors = errors;\n return [2 /*return*/];\n }\n if (!(errors.entityErrors && errors.entityErrors.length > 0)) return [3 /*break*/, 2];\n return [4 /*yield*/, this.breezeService.publishServerEntityErrors(errors.entityErrors, this.configuration.data)];\n case 1:\n promise = _a.sent();\n this.validationErrors = promise;\n return [2 /*return*/];\n case 2:\n this.alertsService.createAlert('warning', message, this.breezeService.entityErrorInfo(errors.entityErrors));\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Is called when a registered control is deactivated.\n * @see RegisteredControl.onControlDeactivate\n * @param configuration The reference of the configuration.\n */\n FormBase.prototype.onControlDeactivate = function (configuration) {\n // TODO: Consider and test wether we can remove this functionality. Use ngDestroy instead?\n if (this._item && this._item.entityAspect.entityState === EntityState.Modified) {\n this.cancelItem();\n }\n };\n /**\n * We cancel pending changes on destroy\n */\n FormBase.prototype.ngOnDestroy = function () {\n var _this = this;\n _super.prototype.ngOnDestroy.call(this);\n // TODO: Consider message, Save this?, for user\n // TODO: Consider CanDeactivate guard instead of ngOnDestroy (On AbstractView?)\n if (this._item) {\n if (this._item.entityAspect.entityManager && this.entitySubscription) {\n this._item.entityAspect.entityManager.entityChanged.unsubscribe(this.entitySubscription);\n }\n // Eerst alleen check op isModified, maar vanwege issue #2897 nu ook op isAdded.\n if (this._item.entityAspect.entityState.isAdded() || this._item.entityAspect.entityState.isModified()) {\n window.setTimeout(function () {\n _this.breezeService.rejectChanges();\n });\n }\n if (this.propertySubscription) {\n this._item.entityAspect.propertyChanged.unsubscribe(this.propertySubscription);\n }\n }\n };\n /**\n * Checks wether the entity has required fields.\n * @returns True when a required field is found, otherwise false.\n */\n FormBase.prototype.hasRequiredFields = function () {\n for (var _i = 0, _a = this.configuration.data.fields; _i < _a.length; _i++) {\n var field = _a[_i];\n if (field.required) {\n return true;\n }\n }\n return false;\n };\n /**\n * Retrieves the entity of the type FormComponent.entityType with the key value FormComponent.entityKeyValue so it can be shown.\n */\n FormBase.prototype.refresh = function () {\n if (!this.entityKeyValue) {\n this.item = null;\n return;\n }\n this.getEntityWith(this.entityKeyValue);\n };\n /**\n * Save all the made changes. This method is used in the \"edit\" mode.\n * @param event The HTML event argument.\n * @param forceSave Save changes even when there are none according to the breeze service.\n */\n FormBase.prototype.saveItem = function (event, forceSave) {\n var _this = this;\n if (forceSave === void 0) { forceSave = false; }\n var entityState = this._item ? this._item.entityAspect.entityState : null;\n var newOrDeleted = entityState ? entityState.isAdded() || entityState.isDeleted() : false;\n if (!forceSave && !this.breezeService.hasChanges() && !this.breezeService.hasAdded()) {\n this.doneSaving(newOrDeleted);\n return;\n }\n this.validationErrors.length = 0;\n if (event && !event.target.classList.contains('sym-working')) {\n event.target.classList.add('sym-working');\n }\n this.subscriptionPool.add(this.breezeService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished.\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not.\n if (error) {\n if (entityState && entityState.isAdded()) {\n // If added then required can by invalid without being touched and dirty.\n var entityErrors = _this._item.entityAspect.getValidationErrors();\n if (entityErrors) {\n entityErrors.forEach(function (err) {\n if (err.validator && err.validator.name === 'required') {\n var cntrl = _this.form.controls[err.propertyName];\n if (cntrl) {\n // Werkte niet vanwege => changeDetection: ChangeDetectionStrategy.OnPush\n // Dit is nu overal weggehaald.\n cntrl.markAsTouched();\n cntrl.markAsDirty();\n }\n }\n });\n }\n }\n _this.publishErrors(error, 'APP.FORMS.ITEMS_UNSUCCESSFULLY_SAVED');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n }\n }, this.configuration.data).subscribe(function (value) {\n _this.itemSaved.emit(value);\n _this.doneSaving(newOrDeleted);\n }));\n };\n /**\n * Save all the made changes. This method is used in the \"new\" mode.\n * @param event The HTML event argument.\n */\n FormBase.prototype.createItem = function (event) {\n this.saveItem(event, true);\n };\n /**\n * Closes the detail right side of the application.\n * */\n FormBase.prototype.close = function () {\n this.navigateToClose();\n // Notify parent component.\n this.itemCanceled.emit(this.item);\n };\n /**\n * Cancels all the made changes and closes the sidebar.\n */\n FormBase.prototype.cancelItem = function () {\n if (this.item) {\n // RejectChanges on item level is not enough.\n // Navigation properties can also change.\n this.breezeService.rejectChanges();\n this.itemCanceled.emit(this.item);\n }\n this.navigateToClose();\n };\n /**\n * Removes the depicted entity item.\n * @param event The HTML event argument.\n */\n FormBase.prototype.removeItem = function (event) {\n var _this = this;\n if (!this.item) {\n return;\n }\n if (this.item.entityAspect.entityState.isAdded()) {\n this.cancelItem();\n return;\n }\n this.breezeService.setDeleted(this.item);\n this.item.entityAspect.entityManager.entityChanged.unsubscribe(this.entitySubscription);\n this.item = null;\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.subscriptionPool.add(this.breezeService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not\n if (error) {\n _this.publishErrors(error, 'APP.FORMS.ITEMS_UNSUCCESSFULLY_DELETED');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_DELETED');\n }\n }).subscribe(function (value) {\n _this.itemRemoved.emit(value);\n }));\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n FormBase.prototype.afterInitialize = function () {\n _super.prototype.afterInitialize.call(this);\n this.setUpForm();\n };\n /**\n * Is called after saving.\n */\n FormBase.prototype.doneSaving = function (newOrDeleted) {\n if (newOrDeleted) {\n // If new or deleted then closing navigate will be done by\n // DetailComponent.navigateBackFromDeleted\n // DetailComponent.navigateBackFromNew\n // Avoiding override DetailComponent navigation.\n // TODO: Consider refactoring.\n return;\n }\n this.navigateToClose();\n };\n /**\n * Restores to url with only main view without right details.\n * @protected\n */\n FormBase.prototype.navigateToClose = function () {\n if (this.overlayMode) {\n return;\n }\n RoutesService.navigateBack(this.router, this.route, this.route.snapshot.queryParams);\n };\n /**\n * Retrieves the entity, of the type FormComponent.entityType,\n * with the requested key add assigns the entity to the FormComponent.item property.\n * @param key The key of the requested entity.\n */\n FormBase.prototype.getEntityWith = function (key) {\n if (!this.entityType) {\n return;\n }\n this.tryGetItem(key);\n };\n /**\n * Gets whether or not the form is readonly.\n * Is used for the isReadOnly and to override properly.\n * Typescript super key word does not give access for properties.\n * @protected\n * @returns {boolean} Value whether or not the form is readonly.\n * @memberOf FormBase\n */\n FormBase.prototype.getIsReadOnly = function () {\n if (this.canCreate || this.canUpdate) {\n return false;\n }\n return true;\n };\n /**\n * Tries to get the entity with the specified key.\n * @protected\n * @param {string[]} The key of the entity to find.\n */\n FormBase.prototype.tryGetItem = function (key) {\n var _this = this;\n var dataConfig = this.configuration.data;\n this.subscriptionPool.add(this.breezeService.getEntityByKey(this.entityType, key, this.useCache, dataConfig.expand).subscribe({\n next: function (value) {\n _this.isLoading = false;\n _this.item = value;\n if (_this.item == null) {\n // Fix issue: #2543\n _this.rights = DataRights.Read;\n }\n else {\n // Is needed to restore rights from setting rights to DataRights.Read.\n _this.rights = _this._configuration.rights;\n }\n },\n error: function (reason) {\n _this.isLoading = false;\n _this.item = null;\n // Fix issue: #2543\n _this.rights = DataRights.Read;\n }\n }));\n };\n /**\n * Contructs an Angular FormGroup with the requested configuration\n * and assigns it to the FormComponent.form property.\n */\n FormBase.prototype.setUpForm = function () {\n var _this = this;\n if (!this.configuration.data) {\n return;\n }\n // Issue: Je kan niet zien of de aanwezigheid goed is aangemaakt #2786\n var fields = [];\n this.configuration.data.fields.forEach(function (field) {\n var obj = {\n get readonly() {\n // Gebruik hier self niet this.isReadOnly!!!\n return this.isReadOnly ? true : field.readonly;\n },\n set readonly(value) {\n field.readonly = value;\n }\n };\n Object.keys(field).forEach(function (key) {\n if (key === 'readonly') {\n return;\n }\n obj[key] = field[key];\n });\n fields.push(obj);\n });\n this.configuration.data.fields = fields;\n if (this.formMode === 'new') {\n this.setDefaultValues();\n }\n var entity = this.breezeService.getEntityType(this.configuration.data.entity);\n var group = new FormGroup({});\n this.entityType = entity;\n this.configuration.data.fields.forEach(function (field) {\n ControlBase.setFieldDefaults(field, _this.entityType);\n var control = new FormControl();\n control.setValidators(function (c) {\n return _this.getControlErrors(field.name);\n });\n group.addControl(field.name, control);\n });\n this.form = group;\n this.refresh();\n };\n /**\n * Sets default values in case any are defined in the configuration\n * @private\n * @memberOf FormBase\n */\n FormBase.prototype.setDefaultValues = function () {\n var _this = this;\n if (!this.item || !this.configuration || !this.configuration.data || !this.configuration.data.fields) {\n return;\n }\n this.configuration.data.fields.forEach(function (field) {\n if (field.default !== undefined) {\n if (field.default === '@resource') {\n _this.item[field.name + '_Oid'] = _this.resourceService.getResourceOid();\n }\n else {\n _this.item[field.name] = field.default;\n }\n }\n });\n };\n /**\n * Gets the control errors for a property.\n * @param property The name of the property.\n * @returns The property errors otherwise null;\n */\n FormBase.prototype.getControlErrors = function (property) {\n if (!this.item) {\n return null;\n }\n var errors = this.item.entityAspect.getValidationErrors(property);\n if (errors.length === 0) {\n return null;\n }\n var controlErrors = {};\n this.subscriptionPool.add(this.translateService.get(errors.map(function (error) { return error.key.split(':')[0]; })).subscribe(function (values) {\n errors.forEach(function (error) {\n var label = error.key.split(':')[0];\n if (values[label] === label) {\n controlErrors[error.key] = error.errorMessage ? error.errorMessage : label;\n }\n else {\n controlErrors[error.key] = values[label];\n }\n });\n }));\n return controlErrors;\n };\n return FormBase;\n}(ControlBase));\nexport { FormBase };\n","/**\n * @file The Form component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FormBase } from '../../base/form/form.base';\nimport { DomainService, PROP_ORIGINAL_RESOURCE_OID } from '../../domain.service';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { SettingsService } from '../../settings.service';\nimport { UserService } from '../../user.service';\nimport { ResourceService } from '../../resource.service';\nvar FormComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FormComponent, _super);\n function FormComponent(userService, domainService, route, router, translateService, alertsService, settingsService, resourceService) {\n var _this = _super.call(this, domainService, route, router, translateService, alertsService, resourceService) || this;\n _this.userService = userService;\n _this.settingsService = settingsService;\n _this.draftAlert = false;\n return _this;\n }\n /**\n * Save all the made changes. This method is used in the \"edit\" mode.\n * @param event The HTML event argument.\n * @param forceSave Save changes even when there are none according to the breeze service.\n */\n FormComponent.prototype.saveItem = function (event, forceSave) {\n var _this = this;\n if (forceSave === void 0) { forceSave = false; }\n this.validationErrors = [];\n this.draftAlert = false;\n if (this.item) {\n switch (this.item.entityType.shortName) {\n // When Appointment is modified and not Draft possible alert needed.\n case 'Appointment':\n if (!this.item['Draft'] && this.item.entityAspect.entityState.isModified()) {\n this.setOriginalResourceOid();\n if (this.userService.html5role === 'employee') {\n this.draftAlert = !this.settingsService.settings.suppressDraftAlert;\n }\n }\n break;\n // When Appointment is modified and not Draft possible alert needed. (A plan item is never added.)\n case 'PlanItem':\n var planItem = this.item;\n if (planItem.ItemClass === 'Appointment' && planItem.Item && !planItem.Item['Draft'] && this.userService.html5role === 'employee') {\n this.draftAlert = !this.settingsService.settings.suppressDraftAlert;\n }\n break;\n case 'Attendant':\n if (!this.item.entityAspect.entityState.isModified()) {\n break;\n }\n this.setOriginalResourceOid();\n break;\n // A newly created Assignment from a form requires a corresponding Deployment and Demand.\n case 'Assignment':\n if (this.item.entityAspect.entityState.isModified()) {\n this.setOriginalResourceOid();\n break;\n }\n if (this.item['Deployment'] != null || !this.item.entityAspect.entityState.isAdded()) {\n break;\n }\n var demand = this.item['$Deployment.Demand'];\n if (!demand) {\n this.subscriptionPool.add(this.translateService.get('APP.DOMAIN.VALIDATORS.NEEDS_DEMAND').subscribe(function (value) {\n _this.validationErrors.push(value);\n }));\n this.alertsService.createAlert('warning', 'APP.DOMAIN.VALIDATORS.NEEDS_DEMAND');\n return;\n }\n if (event) {\n event.target.classList.add('sym-working');\n }\n // If the assignment does not have a resource set yet, the current user's resource is assumed.\n var deployment = this.breezeService.getEntityType('Deployment').createEntity({\n Demand_Oid: demand['Oid'],\n Resource_Oid: this.item['Resource_Oid'],\n Start: demand['Start'],\n Finish: demand['Finish'],\n Color: this.item['Color'],\n Name: this.item['Name'],\n Customer_Oid: this.item['Customer_Oid']\n });\n this.item['Deployment'] = this.breezeService.addEntity(deployment);\n break;\n }\n }\n _super.prototype.saveItem.call(this, event, forceSave);\n };\n /**\n * Set the original resource oid in a temporary property to enable an efficient planbord refresh.\n * @private\n * @memberOf FormComponent\n */\n FormComponent.prototype.setOriginalResourceOid = function () {\n var resourceOid = this.item.entityAspect.originalValues['Resource_Oid'];\n if (resourceOid) {\n this.item[PROP_ORIGINAL_RESOURCE_OID] = resourceOid;\n }\n };\n /**\n * Tries to get the entity with the specified key.\n * @protected\n * @param {string[]} The key of the entity to find.\n */\n FormComponent.prototype.tryGetItem = function (key) {\n var _this = this;\n if (this.entityType.shortName === 'PlanItem') {\n if (this.breezeService.isLoading) {\n this.isLoading = true;\n window.setTimeout(function () {\n _this.tryGetItem(key);\n }, 500);\n return;\n }\n }\n _super.prototype.tryGetItem.call(this, key);\n };\n /**\n * Is called after saving.\n */\n FormComponent.prototype.doneSaving = function (newOrDeleted) {\n var _this = this;\n if (this.draftAlert) {\n var entity = this.item;\n switch (this.item.entityType.shortName) {\n case 'Appointment':\n this.draftAlert = this.item['Draft'];\n break;\n case 'PlanItem':\n var planItem = this.item;\n entity = planItem.Item;\n this.draftAlert = entity['Draft'];\n break;\n }\n if (this.draftAlert) {\n // Appointment changed to Draft.\n this.subscriptionPool.add(this.breezeService.getEntityByKey(entity.entityType, entity['Oid'], false).subscribe(function (result) {\n // Check whether server has reverted Draft back to false.\n if (result['Draft']) {\n _this.alertsService.createAlert('info', 'APP.FORMS.ABSENCE_TO_DRAFT');\n }\n }));\n }\n }\n _super.prototype.doneSaving.call(this, newOrDeleted);\n };\n return FormComponent;\n}(FormBase));\nexport { FormComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Form component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i4 from \"../../base/instruction/instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nimport * as i7 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i8 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i9 from \"@angular/forms\";\nimport * as i10 from \"./form.component\";\nimport * as i11 from \"../../user.service\";\nimport * as i12 from \"../../domain.service\";\nimport * as i13 from \"@angular/router\";\nimport * as i14 from \"../../core/alerts.service\";\nimport * as i15 from \"../../settings.service\";\nimport * as i16 from \"../../resource.service\";\nvar styles_FormComponent = [];\nvar RenderType_FormComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_FormComponent, data: {} });\nexport { RenderType_FormComponent as RenderType_FormComponent };\nfunction View_FormComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_FormComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-sm btn-link\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.insights.toggle() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { active: 0 }), (_l()(), i0.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-insight\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(5, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"btn btn-sm btn-link\"; var currVal_1 = _ck(_v, 2, 0, _co.insights.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.insights.isOpen(); _ck(_v, 4, 0, currVal_2); var currVal_3 = i0.ɵunv(_v, 5, 0, i0.ɵnov(_v, 6).transform(\"APP.INSIGHTS.SHOW_INSIGHT\")); _ck(_v, 5, 0, currVal_3); var currVal_4 = _co.insights.isClosed(); _ck(_v, 7, 0, currVal_4); var currVal_5 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.INSIGHTS.HIDE_INSIGHT\")); _ck(_v, 8, 0, currVal_5); }); }\nfunction View_FormComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 22).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_FormComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.editMode; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_FormComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.editMode; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_FormComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null))], null, null); }\nfunction View_FormComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 22, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 17, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_3)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_4)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_5)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_6)), i0.ɵdid(14, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_7)), i0.ɵdid(16, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_8)), i0.ɵdid(18, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), (_l()(), i0.ɵeld(21, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i3.View_InstructionComponent_0, i3.RenderType_InstructionComponent)), i0.ɵdid(22, 180224, [[\"instruction\", 4]], 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.data.icon; _ck(_v, 5, 0, currVal_0); var currVal_2 = _co.insights; _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.configuration.instruction; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.canCreate; _ck(_v, 14, 0, currVal_4); var currVal_5 = _co.canUpdate; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.hasCloseButton; _ck(_v, 18, 0, currVal_6); var currVal_8 = _co.configuration.instruction; _ck(_v, 22, 0, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(_co.labelKey)); _ck(_v, 6, 0, currVal_1); var currVal_7 = _co.configuration.key; _ck(_v, 20, 0, currVal_7); }); }\nfunction View_FormComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_FormComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.CANNOT_DISPLAY_ITEM\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FormComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_10)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_11)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isLoading; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.isLoading; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_FormComponent_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i7.View_FieldsetContainerComponent_0, i7.RenderType_FieldsetContainerComponent)), i0.ɵdid(2, 49152, null, 0, i8.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.form.controls[_v.context.$implicit.name]; var currVal_2 = _co.item; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_FormComponent_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.MARKED_FIELDS_ARE_REQUIRED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FormComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_13)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_14)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.data.fields; _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.hasRequiredFields() && !_co.isReadOnly); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_FormComponent_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FormComponent_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mb-3 sym-errors\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_16)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.validationErrors; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_FormComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i9.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(2, 540672, null, 0, i9.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i9.ControlContainer, null, [i9.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i9.NgControlStatusGroup, [[4, i9.ControlContainer]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_2)), i0.ɵdid(6, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_9)), i0.ɵdid(8, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_12)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_15)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 6, 0, currVal_8); var currVal_9 = !_co.item; _ck(_v, 8, 0, currVal_9); var currVal_10 = _co.item; _ck(_v, 10, 0, currVal_10); var currVal_11 = (_co.validationErrors.length > 0); _ck(_v, 12, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_FormComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormComponent_1)), i0.ɵdid(1, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.form && _co.configuration); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_FormComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-form\", [], null, null, null, View_FormComponent_0, RenderType_FormComponent)), i0.ɵdid(1, 245760, null, 0, i10.FormComponent, [i11.UserService, i12.DomainService, i13.ActivatedRoute, i13.Router, i2.TranslateService, i14.AlertsService, i15.SettingsService, i16.ResourceService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar FormComponentNgFactory = i0.ɵccf(\"sym-form\", i10.FormComponent, View_FormComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", hasCloseButton: \"hasCloseButton\", useCache: \"useCache\", labelKey: \"labelKey\", item: \"item\", entityKey: \"entityKey\" }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }, []);\nexport { FormComponentNgFactory as FormComponentNgFactory };\n","/**\n * @file Component to assemble components for showing a selected entity for editing.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter, OnDestroy } from '@angular/core';\nimport { FormBase } from '../../base/form/form.base';\nimport { AbstractView } from '../../base/helpers/abstract-view';\nimport { RelationContainerComponent } from '../relation-container/relation-container.component';\nimport { RoutesService, ROUTE_PARAM_ID } from '../../routes.service';\nvar DetailBase = /** @class */ (function (_super) {\n tslib_1.__extends(DetailBase, _super);\n /**\n * Constructs a DetailComponent\n * @param configurationsService Service to get the configuration for this component.\n * @param router The angular router enabling navigation between the different form modes.\n * @param route The active route.\n * @param dialogService The dialog service.\n * @param alertsService The alert service.\n * @param translateService The translation service.\n */\n function DetailBase(userService, router, route, breezeService, dialogService, alertsService, settingsService, translateService) {\n var _this = _super.call(this, router, route, breezeService, dialogService, alertsService, translateService) || this;\n _this.userService = userService;\n _this.breezeService = breezeService;\n _this.dialogService = dialogService;\n _this.alertsService = alertsService;\n _this.settingsService = settingsService;\n /**\n * Gets, sets the value of the overlayMode property.\n * @private\n */\n _this._overlayMode = false;\n /** List of configutation to display entity relations for this detail */\n _this.relations = [];\n /**\n * Gets, sets the key of the entity shown by this detail.\n */\n _this.entityKey = undefined;\n /**\n * Event notifying that the detail is closing. Is used in the overlay.\n * @type {EventEmitter}\n */\n _this.closing = new EventEmitter();\n if (_this.overlayMode) {\n return _this;\n }\n _this.subscriptionPool.add(_this.route.params.subscribe(function (params) {\n if (_this.overlayMode) {\n return;\n }\n var test = params[ROUTE_PARAM_ID];\n if (test == null) {\n return;\n }\n _this.entityKey = test;\n }));\n return _this;\n }\n Object.defineProperty(DetailBase.prototype, \"overlayMode\", {\n /**\n * Sets the flag indicating whether or not the component is shown in the overlay.\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return this._overlayMode;\n },\n /**\n * Sets the flag indicating whether or not the component is shown in the overlay.\n */\n set: function (value) {\n this._overlayMode = value;\n if (this._overlayMode) {\n this.breezeService.nextDataContext();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DetailBase.prototype, \"editMode\", {\n /**\n * Gets the edit mode of the shown detail.\n * @returns true when the entity is changed.\n */\n get: function () {\n if (this.dataForm) {\n return this.dataForm.editMode;\n }\n return false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DetailBase.prototype, \"createMode\", {\n /**\n * Gets the create mode of the shown detail.\n * New entities will be removed on view closing when there are no other changes and createMode is true.\n * @see AbstractView.checkChangesBeforeDeactivate\n * @readonly\n * @type {boolean} Is True when in create mode.\n */\n get: function () {\n if (this.dataForm == null) {\n // If there is no dataForm then there is also no relation.\n return false;\n }\n if (this.dataForm.hasChanges) {\n // The user will be asked if he wants to leave the view.\n return false;\n }\n if (this.relationLists.find(function (item) { return item.hasChanges; }) != null) {\n // The user will be asked if he wants to leave the view.\n return false;\n }\n if (this.relationLists.find(function (item) { return item.createMode; }) != null) {\n return true;\n }\n return this.dataForm.createMode;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Lifecycle hook that is called when the detail component is destroyed.\n */\n DetailBase.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n if (this.overlayMode) {\n this.breezeService.previousDataContext();\n }\n };\n /**\n * Used to test if the component can be deactived.\n * @returns {(Observable | boolean)} True when there are no changes to save.\n */\n DetailBase.prototype.canDeactivate = function () {\n return this.checkChangesBeforeDeactivate(true);\n };\n /**\n * Saves entity changes made.\n * @param event The HTML event argument.\n */\n DetailBase.prototype.saveItem = function (event) {\n this.dataForm.saveItem(event);\n this.relationLists.forEach(function (relation) {\n relation.formSave(event);\n });\n };\n /**\n * Creates a new entity.\n * @param event The HTML event argument.\n */\n DetailBase.prototype.createItem = function (event) {\n this.dataForm.createItem(event);\n };\n /**\n * Cancels the last not saved entity changes made.\n */\n DetailBase.prototype.cancelItem = function (event) {\n // This cancels only main detail form.\n // Not relations forms.\n // this.dataForm.cancelItem();\n this.breezeService.rejectChanges();\n this.relationLists.forEach(function (relation) {\n relation.formCancel(event);\n });\n this.dataForm.close();\n };\n /**\n * Removes the shown entity. A removed entity will be deleted permanently after saving the changes.\n * @param event The HTML event argument.\n */\n DetailBase.prototype.removeItem = function (event) {\n this.dataForm.removeItem(event);\n this.relationLists.forEach(function (relation) {\n relation.formDelete(event);\n });\n };\n Object.defineProperty(DetailBase.prototype, \"hasComments\", {\n get: function () {\n if (this.settingsService.settings.comments !== undefined && this.settingsService.settings.comments === false) { // Fix for #4165\n return false;\n }\n if (!this.configuration || !this.configuration.features) {\n return false;\n }\n return this.configuration.features.findIndex(function (feature) { return feature === 'Comments'; }) > -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DetailBase.prototype, \"hasAudit\", {\n get: function () {\n if (this.settingsService.settings.audittrail !== undefined && this.settingsService.settings.audittrail === false) { // Fix for #4165\n return false;\n }\n if (!this.configuration || !this.configuration.features) {\n return false;\n }\n return this.configuration.features.findIndex(function (feature) { return feature === 'Audit'; }) > -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DetailBase.prototype, \"hasFiles\", {\n get: function () {\n if (this.settingsService.settings.files !== undefined && this.settingsService.settings.files === false) { // Fix for #4184\n return false;\n }\n if (!this.configuration || !this.configuration.features) {\n return false;\n }\n return this.configuration.features.findIndex(function (feature) { return feature === 'Files'; }) > -1;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Method to notify the component of a successful entity deletion.\n * @param result The returned response of a entity deletion.\n */\n DetailBase.prototype.notifyRemoval = function (result) {\n this.closing.emit(this.entityKey);\n if (this.overlayMode) {\n return;\n }\n // One at a time.\n this.navigateBackFrom(result.entities[0], 'delete-result');\n };\n /**\n * Method to notify the component of a successful change commit.\n * @param result The returned response of a entity change commit.\n */\n DetailBase.prototype.notifySavement = function (result) {\n this.closing.emit(this.entityKey);\n if (this.overlayMode) {\n return;\n }\n var path = this.router.url;\n var i = path.lastIndexOf('/new');\n if (i > 0 && result && result.entities.length > 0) {\n this.navigateBackFrom(result.entities[0], 'new-result');\n }\n };\n /**\n * Method to notify the component of a change cancellation.\n * @param item The changed entity\n */\n DetailBase.prototype.notifyCancellation = function (item) {\n this.closing.emit(this.entityKey);\n if (this.overlayMode) {\n return;\n }\n var path = this.router.url; // this.location.path();\n var i = path.lastIndexOf('/new');\n if (i > 0 && item) {\n this.navigateBackFrom(item, 'delete-result');\n }\n };\n /**\n * Actions are only allowed when the current user is the owner of the shown entity.\n * The method checks also if actions are defined in the configuration.\n * @param {Entity} item The entity shown.\n * @returns {boolean} True when the user is the owner of the shown entity otherwise false.\n */\n DetailBase.prototype.actionsAllowed = function (item) {\n var _this = this;\n if (!this.configuration.actions || !item) {\n return false;\n }\n if (this.configuration.actions.every(function (action) { return !_this.userService.isActionAllowed(action); })) {\n return false;\n }\n var entity = item;\n // Demands and services have to be allowed for the accept buttons on the marketplace.\n // Tasks, shift and their templates have to be allowed for the copy buttons.\n if (entity.entityType.shortName === 'Demand' || entity.entityType.shortName === 'Service' ||\n entity.entityType.shortName === 'Task' || entity.entityType.shortName === 'TaskTemplate' ||\n entity.entityType.shortName === 'Shift' || entity.entityType.shortName === 'ShiftTemplate' ||\n entity.entityType.shortName === 'Function') {\n return true;\n }\n // Actions directly on entities are always allowed (only User.enable so far)\n if (this.configuration.actions.some(function (action) { return action.method != null; })) {\n return true;\n }\n if (entity.entityType.shortName === 'PlanItem') {\n entity = entity['Item'];\n }\n var resourceOid = entity['Resource_Oid'];\n if (!resourceOid) {\n return false;\n }\n if (this.userService.user.Resource_Oid !== resourceOid) {\n return false;\n }\n return true;\n };\n /**\n * Override of the default behavior.\n * Deletion of entities is not supported in the overlay mode.\n * @protected\n * @returns {boolean} True when displayed entity can be deleted.\n */\n DetailBase.prototype.getCanDelete = function () {\n if (this.overlayMode) {\n return false;\n }\n return _super.prototype.getCanDelete.call(this);\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n * Override this method to process the loaded configuration data.\n */\n DetailBase.prototype.afterInitialize = function () {\n var _this = this;\n // Get the components\n var components = Object.create(this.configuration.components);\n // Check the type of the component to handle specific situations\n components.forEach(function (component) {\n switch (component.component) {\n case 'InsightsComponent': {\n _this.insights = component;\n break;\n }\n case 'FormComponent': {\n _this.details = component;\n break;\n }\n case 'ForecastRelationComponent':\n case 'RelationComponent': {\n _this.relations.push(component);\n break;\n }\n default: {\n throw new Error('Unknown component (' + component.component + ')');\n }\n }\n });\n };\n /**\n * Notifies the main view of a new entity or a deletion.\n * @param item The entity deleted.\n * @param path The current path root.\n * @param action The action for a new or a deleted result\n */\n DetailBase.prototype.navigateBackFrom = function (item, action) {\n var _this = this;\n var id = '';\n item.entityType.keyProperties.forEach(function (property) {\n id += '_' + item[property.name];\n });\n id = id.substring(1);\n var queryParams = {};\n Object.keys(this.route.snapshot.queryParams).forEach(function (key) {\n queryParams[key] = _this.route.snapshot.queryParams[key];\n });\n queryParams[action] = id;\n RoutesService.navigateBack(this.router, this.route, queryParams);\n };\n return DetailBase;\n}(AbstractView));\nexport { DetailBase };\n","/**\n * @file Component to assemble components for showing a selected entity for editing.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DomainService } from '../../domain.service';\nimport { DetailBase } from '../../base/detail/detail.base';\nimport { UserService } from '../../user.service';\nimport { SettingsService } from '../../settings.service';\n/**\n * The detail component shows one entity.\n */\nvar DetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DetailComponent, _super);\n /**\n * Constructs a DetailComponent\n * @param configurationsService Service to get the configuration for this component.\n * @param router The angular router enabling navigation between the different form modes.\n * @param route The active route.\n * @param dialogService The dialog service.\n * @param alertsService The alert service.\n * @param translateService The translation service.\n */\n function DetailComponent(userService, router, route, breezeService, dialogService, alertsService, settingsService, translateService) {\n var _this = _super.call(this, userService, router, route, breezeService, dialogService, alertsService, settingsService, translateService) || this;\n _this.route = route;\n _this.breezeService = breezeService;\n _this.dialogService = dialogService;\n _this.alertsService = alertsService;\n return _this;\n }\n /**\n * Actions are only allowed when the current user is the owner of the shown entity.\n * The method checks also if actions are defined in the configuration.\n * @param {Entity} item The entity shown.\n * @returns {boolean} True when the user is the owner of the shown entity otherwise false.\n */\n DetailComponent.prototype.actionsAllowed = function (item) {\n if (!_super.prototype.actionsAllowed.call(this, item)) {\n return false;\n }\n var entity = item;\n // Demands and services have to be allowed for the accept buttons on the marketplace.\n // Tasks, shift and their templates have to be allowed for the copy buttons.\n if (entity.entityType.shortName === 'Demand' || entity.entityType.shortName === 'Service' ||\n entity.entityType.shortName === 'Task' || entity.entityType.shortName === 'TaskTemplate' ||\n entity.entityType.shortName === 'Shift' || entity.entityType.shortName === 'ShiftTemplate' ||\n entity.entityType.shortName === 'Function') {\n return true;\n }\n // Actions directly on entities are always allowed (only User.enable so far)\n if (this.configuration.actions.some(function (action) { return action.method != null; })) {\n return true;\n }\n if (entity.entityType.shortName === 'PlanItem') {\n entity = entity['Item'];\n }\n var resourceOid = entity['Resource_Oid'];\n if (!resourceOid) {\n return false;\n }\n if (this.userService.resourceOid !== resourceOid) {\n return false;\n }\n return true;\n };\n return DetailComponent;\n}(DetailBase));\nexport { DetailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to assemble components for showing a selected entity for editing.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../insights/insights/insights.component.ngfactory\";\nimport * as i2 from \"../../insights/insights/insights.component\";\nimport * as i3 from \"../../core/local-storage.service\";\nimport * as i4 from \"../../base/relation-container/relation-container.component.ngfactory\";\nimport * as i5 from \"../../base/relation-container/relation-container.component\";\nimport * as i6 from \"../../social/actions/actions.component.ngfactory\";\nimport * as i7 from \"../../social/actions/actions.component\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"../../user.service\";\nimport * as i10 from \"../../core/action.service\";\nimport * as i11 from \"../../social/comments/comments.component.ngfactory\";\nimport * as i12 from \"../../social/comments/comments.component\";\nimport * as i13 from \"../../social/comment.service\";\nimport * as i14 from \"@angular/router\";\nimport * as i15 from \"../../social/files/files.component.ngfactory\";\nimport * as i16 from \"../../social/files/files.component\";\nimport * as i17 from \"../../core/overlay.service\";\nimport * as i18 from \"../../resource.service\";\nimport * as i19 from \"../../base/files.service\";\nimport * as i20 from \"../../social/audit-trail/audit-trail.component.ngfactory\";\nimport * as i21 from \"../../social/audit-trail/audit-trail.component\";\nimport * as i22 from \"../../domain.service\";\nimport * as i23 from \"@ngx-translate/core\";\nimport * as i24 from \"@angular/platform-browser\";\nimport * as i25 from \"../../core/localisation.service\";\nimport * as i26 from \"@angular/common\";\nimport * as i27 from \"../form/form.component.ngfactory\";\nimport * as i28 from \"../form/form.component\";\nimport * as i29 from \"../../settings.service\";\nimport * as i30 from \"./detail.component\";\nimport * as i31 from \"../../core/dialog.service\";\nvar styles_DetailComponent = [];\nvar RenderType_DetailComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_DetailComponent, data: {} });\nexport { RenderType_DetailComponent as RenderType_DetailComponent };\nfunction View_DetailComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-insights\", [], [[8, \"hidden\", 0]], null, null, i1.View_InsightsComponent_0, i1.RenderType_InsightsComponent)), i0.ɵdid(1, 49152, null, 0, i2.InsightsComponent, [i3.LocalStorageService], { configuration: [0, \"configuration\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.insights.configuration; _ck(_v, 1, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.insights.configuration; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_DetailComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-relation-container\", [], null, [[null, \"itemSaved\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.notifySavement($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_RelationContainerComponent_0, i4.RenderType_RelationContainerComponent)), i0.ɵdid(1, 180224, [[2, 4]], 0, i5.RelationContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { component: [0, \"component\"], overlayMode: [1, \"overlayMode\"], master: [2, \"master\"], masterType: [3, \"masterType\"] }, { itemSaved: \"itemSaved\" }), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.overlayMode; var currVal_2 = i0.ɵnov(_v.parent, 4).item; var currVal_3 = i0.ɵnov(_v.parent, 4).entityType; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_DetailComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-actions\", [], null, null, null, i6.View_ActionsComponent_0, i6.RenderType_ActionsComponent)), i0.ɵdid(1, 180224, null, 0, i7.ActionsComponent, [i8.AlertsService, i9.UserService, i10.ActionService], { actions: [0, \"actions\"], item: [1, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.actions; var currVal_1 = i0.ɵnov(_v.parent, 4).item; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_DetailComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-comments\", [], null, null, null, i11.View_CommentsComponent_0, i11.RenderType_CommentsComponent)), i0.ɵdid(1, 245760, null, 0, i12.CommentsComponent, [i9.UserService, i8.AlertsService, i13.CommentService, i14.ActivatedRoute], { entityKey: [0, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityKey; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DetailComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-files\", [], null, null, null, i15.View_FilesComponent_0, i15.RenderType_FilesComponent)), i0.ɵdid(1, 114688, null, 0, i16.FilesComponent, [i8.AlertsService, i17.OverlayService, i18.ResourceService, i19.FilesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_DetailComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-audit-trail\", [], null, null, null, i20.View_AuditTrailComponent_0, i20.RenderType_AuditTrailComponent)), i0.ɵdid(1, 49152, null, 0, i21.AuditTrailComponent, [i22.DomainService, i23.TranslateService, i24.DomSanitizer, i25.LocalisationService], { entityKey: [0, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityKey; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DetailComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_2)), i0.ɵdid(2, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"sym-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i27.View_FormComponent_0, i27.RenderType_FormComponent)), i0.ɵdid(4, 245760, [[1, 4], [\"masterForm\", 4]], 0, i28.FormComponent, [i9.UserService, i22.DomainService, i14.ActivatedRoute, i14.Router, i23.TranslateService, i8.AlertsService, i29.SettingsService, i18.ResourceService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], entityKey: [2, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_3)), i0.ɵdid(6, 278528, null, 0, i26.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_4)), i0.ɵdid(8, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_5)), i0.ɵdid(10, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_6)), i0.ɵdid(12, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_7)), i0.ɵdid(14, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.insights; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.details.configuration; var currVal_2 = _co.overlayMode; var currVal_3 = _co.entityKey; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3); var currVal_4 = _co.relations; _ck(_v, 6, 0, currVal_4); var currVal_5 = _co.actionsAllowed(i0.ɵnov(_v, 4).item); _ck(_v, 8, 0, currVal_5); var currVal_6 = _co.hasComments; _ck(_v, 10, 0, currVal_6); var currVal_7 = _co.hasFiles; _ck(_v, 12, 0, currVal_7); var currVal_8 = _co.hasAudit; _ck(_v, 14, 0, currVal_8); }, null); }\nfunction View_DetailComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i23.TranslatePipe, [i23.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i23.TranslatePipe, [i23.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 1).transform(\"APP.CORE.SAVE\")), \"\"); var currVal_1 = !_co.editMode; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.SAVE\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_DetailComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i23.TranslatePipe, [i23.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i23.TranslatePipe, [i23.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 1).transform(\"APP.CORE.CREATE\")), \"\"); var currVal_1 = _co.editMode; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CREATE\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_DetailComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i23.TranslatePipe, [i23.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i23.TranslatePipe, [i23.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 1).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")); _ck(_v, 4, 0, currVal_1); }); }\nexport function View_DetailComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { dataForm: 0 }), i0.ɵqud(671088640, 2, { relationLists: 1 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_1)), i0.ɵdid(3, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 6, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_8)), i0.ɵdid(8, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_9)), i0.ɵdid(10, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_DetailComponent_10)), i0.ɵdid(12, 16384, null, 0, i26.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.details; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.canUpdate; _ck(_v, 8, 0, currVal_1); var currVal_2 = (_co.canCreate && (!_co.dataForm || (_co.dataForm.canCreate !== false))); _ck(_v, 10, 0, currVal_2); var currVal_3 = (_co.canCreate || _co.canUpdate); _ck(_v, 12, 0, currVal_3); }, null); }\nexport function View_DetailComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-detail\", [], null, null, null, View_DetailComponent_0, RenderType_DetailComponent)), i0.ɵdid(1, 245760, null, 0, i30.DetailComponent, [i9.UserService, i14.Router, i14.ActivatedRoute, i22.DomainService, i31.DialogService, i8.AlertsService, i29.SettingsService, i23.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar DetailComponentNgFactory = i0.ɵccf(\"sym-detail\", i30.DetailComponent, View_DetailComponent_Host_0, { configuration: \"configuration\", entityKey: \"entityKey\", overlayMode: \"overlayMode\" }, { closing: \"closing\" }, []);\nexport { DetailComponentNgFactory as DetailComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The MarketplaceListComponent is used for displaying Shifts and Projects with open slots\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-flex-table[_ngcontent-%COMP%]{overflow-x:auto;overflow-y:hidden;margin-left:-16px;padding-left:16px;margin-right:-15px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%]:nth-child(2n) .sym-column[_ngcontent-%COMP%]{background-color:#eee}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-header[_ngcontent-%COMP%] .ml-auto[_ngcontent-%COMP%]{padding-right:5px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column[_ngcontent-%COMP%]{overflow:hidden;height:48px;line-height:48px;padding:0 5px;border-left:1px solid rgba(0,0,0,.1)}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column[_ngcontent-%COMP%]:first-child{border-left:0}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column[_ngcontent-%COMP%]:last-child{border-right:1px solid rgba(0,0,0,.1)}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-active[_ngcontent-%COMP%]{background-color:#dcdcdc}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-in-bold[_ngcontent-%COMP%]{font-weight:700}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-check[_ngcontent-%COMP%]{min-width:32px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-check[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#d3d3d3}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-check[_ngcontent-%COMP%] i.sym-active[_ngcontent-%COMP%]{color:#6bdea1}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-color[_ngcontent-%COMP%]{min-width:32px;padding-top:13px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-color[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:none}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-label[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-string[_ngcontent-%COMP%]{width:100%;min-width:150px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-contract-hours[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-realization[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-start-active[_ngcontent-%COMP%]{width:100%;min-width:150px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-inuseby[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-number[_ngcontent-%COMP%]{width:50%;min-width:75px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-datetime[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-name[_ngcontent-%COMP%]{width:83.33333333%;min-width:125px;min-width:70px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-date[_ngcontent-%COMP%]{width:50%;min-width:75px;min-width:70px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-date-relative[_ngcontent-%COMP%]{width:66.66666667%;min-width:100px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-datetime-deviation[_ngcontent-%COMP%]{width:100%;min-width:150px;min-width:70px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-datetime-relative[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-settings[_ngcontent-%COMP%]{width:50%;min-width:75px;min-width:70px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-time[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-time-relative[_ngcontent-%COMP%]{width:50%;min-width:75px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-duration[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px;min-width:55px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-duration-deviation[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px;min-width:110px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-boolean[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-contact[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-email[_ngcontent-%COMP%]{width:66.66666667%;min-width:100px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-emotions[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-entity[_ngcontent-%COMP%]{width:100%;min-width:150px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-facebook[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-google[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-linkedin[_ngcontent-%COMP%]{width:50%;min-width:75px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-image[_ngcontent-%COMP%]{width:33.33333333%;min-width:50px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-marketplace-demand[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-marketplace-service[_ngcontent-%COMP%]{width:66.66666667%;min-width:100px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-notes[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-period[_ngcontent-%COMP%]{width:50%;min-width:75px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-phone[_ngcontent-%COMP%]{width:66.66666667%;min-width:100px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-profile-picture[_ngcontent-%COMP%]{width:16.66666667%;min-width:25px;min-width:48px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-repeat[_ngcontent-%COMP%]{width:50%;min-width:75px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-report-link[_ngcontent-%COMP%]{width:16.66666667%;min-width:25px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-requirement[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-select[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-service[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-skype[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-spendtime[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-twitter[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-weight[_ngcontent-%COMP%]{width:50%;min-width:75px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-spendtime-context[_ngcontent-%COMP%]{width:100%;min-width:150px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-task[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-text[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-url[_ngcontent-%COMP%], .sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column.sym-column-xing[_ngcontent-%COMP%]{width:50%;min-width:75px}.sym-flex-table[_ngcontent-%COMP%] .sym-row[_ngcontent-%COMP%] .sym-column-row-end[_ngcontent-%COMP%]{min-width:16px;height:48px}.input-group.input-group-fixed-width[_ngcontent-%COMP%]{width:280px}@media (max-width:767.98px){.input-group.input-group-fixed-width[_ngcontent-%COMP%]{width:180px}}\"];\nexport { styles as styles };\n","/**\n* @file Container component for dynamically inject columns in a relation grid.\n* @author Tom Verschoore de la Houssaije\n*/\nimport { ComponentFactoryResolver, OnInit, Injector, ViewContainerRef } from '@angular/core';\nimport { ColumnProvider } from '../../column-provider';\nimport { ComponentRegistry } from '../../../core/component-registry';\n/**\n * This class is used to insert columns, of a specific type, into a template by configuration.\n */\nvar ColumnContainerComponent = /** @class */ (function () {\n /**\n * Constructs a ColumnContainerComponent\n */\n function ColumnContainerComponent(containerRef, factoryResolver) {\n this.containerRef = containerRef;\n this.factoryResolver = factoryResolver;\n /** Gets or sets the field configuration used in this container. */\n this.field = undefined;\n /** Gets or sets the entity instance shown by this column container. */\n this.entity = undefined;\n }\n /**\n * Is called directly after the creation of this component\n */\n ColumnContainerComponent.prototype.ngOnInit = function () {\n var _this = this;\n if (this.field === undefined) {\n throw new Error('Field undefined.');\n }\n if (this.field.editor === undefined) {\n this.field.editor = 'string';\n }\n var editor = ComponentRegistry.getComponent('column', this.field.editor);\n var componentFactory = this.factoryResolver.resolveComponentFactory(editor);\n // https://stackoverflow.com/questions/45585606/staticinjector-vs-reflectiveinjector-in-angular\n var injector = Injector.create([\n {\n provide: ColumnProvider,\n useFactory: function () {\n return new ColumnProvider(_this);\n },\n deps: []\n }\n ]);\n // ReflectiveInjector is deprecated #3479\n // const self = this;\n // const providers = ReflectiveInjector.resolve([{\n // provide: ColumnProvider,\n // useFactory: () => {\n // return new ColumnProvider(self);\n // }\n // }]);\n // const injector = ReflectiveInjector.fromResolvedProviders(providers, self.containerRef.parentInjector);\n this.containerRef.createComponent(componentFactory, 0, injector, []);\n };\n return ColumnContainerComponent;\n}());\nexport { ColumnContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Container component for dynamically inject columns in a relation grid.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./column-container.component\";\nvar styles_ColumnContainerComponent = [];\nvar RenderType_ColumnContainerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ColumnContainerComponent, data: {} });\nexport { RenderType_ColumnContainerComponent as RenderType_ColumnContainerComponent };\nexport function View_ColumnContainerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_ColumnContainerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, View_ColumnContainerComponent_0, RenderType_ColumnContainerComponent)), i0.ɵdid(1, 114688, null, 0, i1.ColumnContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ColumnContainerComponentNgFactory = i0.ɵccf(\"sym-column-container\", i1.ColumnContainerComponent, View_ColumnContainerComponent_Host_0, { field: \"field\", entity: \"entity\" }, {}, []);\nexport { ColumnContainerComponentNgFactory as ColumnContainerComponentNgFactory };\n","/**\n * @file Standard DataComponent pagination.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterViewInit, OnDestroy } from '@angular/core';\nimport { Router, NavigationEnd } from '@angular/router';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/** Standard pagination for DataComponents. */\nvar PaginationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PaginationComponent, _super);\n /**\n * Constructs a pagination component.\n * @param router The router for getting en setting the page query parameter.\n */\n function PaginationComponent(router) {\n var _this = _super.call(this) || this;\n _this.router = router;\n /**\n * Gets sets the current page value when in overlayMode.\n * @private\n */\n _this.currentInOverlay = 0;\n /**\n * Gets, sets the overlayMode flag.\n * The overlayMode prohibits changing the uri.\n */\n _this.overlayMode = false;\n /** Gets, sets the total number of retrievable items. */\n _this.totalItems = undefined;\n /** Gets, sets an array of page indexes of all the available pages. */\n _this.availablePages = [0];\n /** The name of the current page index query parameter. */\n _this.pageParam = 'page';\n /** Field representing the maximum page size. */\n _this._pageSize = 5;\n /** Field holding the DataComponent being paged. */\n _this._dataSet = null;\n return _this;\n }\n Object.defineProperty(PaginationComponent.prototype, \"currentPage\", {\n /** Gets the index of the current page */\n get: function () {\n if (this.overlayMode) {\n return this.currentInOverlay;\n }\n var params = JSON.parse(JSON.stringify(this.router.routerState.root.snapshot.queryParams).toLowerCase());\n var value = params[this.pageParam];\n if (value === undefined || value === null) {\n return 0;\n }\n return Number.parseInt(value) - 1;\n },\n /** Sets the index of the current page */\n set: function (value) {\n var current = this.currentPage;\n if (current === value) {\n return;\n }\n if (this.overlayMode) {\n this.currentInOverlay = value;\n return;\n }\n var params = JSON.parse(JSON.stringify(this.router.routerState.root.snapshot.queryParams).toLowerCase());\n params[this.pageParam] = (value + 1).toString(); // User friendly page number in uri.\n this.router.navigate([], { queryParams: params });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PaginationComponent.prototype, \"pageSize\", {\n /** Sets the maximum number of items per page. */\n set: function (value) {\n if (this._pageSize === value) {\n return;\n }\n this._pageSize = value;\n if (this.totalItems) {\n this.calculateAvailablePages(this.totalItems);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PaginationComponent.prototype, \"dataSet\", {\n /** Sets the DataComponent being paged. */\n set: function (value) {\n var _this = this;\n this._dataSet = value;\n if (!this._dataSet) {\n return;\n }\n this.subscriptionPool.add(this._dataSet.onRefresh.subscribe(function (result) {\n _this.calculateAvailablePages(result.inlineCount);\n _this.setPage(_this.currentPage);\n }));\n },\n enumerable: true,\n configurable: true\n });\n /** Callback when pagination is destroyed to cleanup references. */\n PaginationComponent.prototype.ngOnDestroy = function () {\n this.subscriptionPool.unsubscribeAll();\n this._dataSet = null;\n };\n /** Lifecycle hook that is called after a component's view has been fully initialized. */\n PaginationComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n if (this.overlayMode) {\n return;\n }\n this.subscriptionPool.add(this.router.events.subscribe(function (event) {\n if (event instanceof NavigationEnd) {\n window.setTimeout(function () {\n _this.setPage(_this.currentPage);\n }, 500);\n }\n }));\n };\n /**\n * Load the previous subset for paging.\n */\n PaginationComponent.prototype.previousPage = function () {\n this.setPage(this.currentPage - 1);\n };\n /**\n * Load the next subset for paging.\n */\n PaginationComponent.prototype.nextPage = function () {\n this.setPage(this.currentPage + 1);\n };\n /**\n * Tries to set a new current page index.\n * @param index The page index.\n */\n PaginationComponent.prototype.setPage = function (index) {\n if (!this._dataSet) {\n return;\n }\n if (index < 0 && index >= this.availablePages.length) {\n return;\n }\n var dataSet_skip = this._dataSet.queryOptions.skip == null ? 0 : this._dataSet.queryOptions.skip;\n var skip = this._dataSet.queryOptions.take * index;\n if (dataSet_skip !== skip) {\n this._dataSet.queryOptions.skip = skip;\n this._dataSet.refresh();\n }\n this.currentPage = index;\n };\n /**\n * Calculate the available pages (for rendering of the pagination)\n * @param inlineCount Total number of checklist in query\n */\n PaginationComponent.prototype.calculateAvailablePages = function (inlineCount) {\n // Empty availabe pages array\n this.availablePages.length = 0;\n this.totalItems = (inlineCount) ? inlineCount : 0;\n // No checklist at all, add one page\n if (!inlineCount) {\n this.availablePages.push(0);\n return;\n }\n // Create the pages\n var totalPages = Math.ceil(this.totalItems / this._pageSize);\n for (var i = 0; i < totalPages; i += 1) {\n this.availablePages.push(i);\n }\n if (this.currentPage !== 0 && this.currentPage >= totalPages) {\n this.setPage(0);\n }\n };\n return PaginationComponent;\n}(AbstractBase));\nexport { PaginationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Standard DataComponent pagination.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./pagination.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./pagination.component\";\nimport * as i4 from \"@angular/router\";\nvar styles_PaginationComponent = [i0.styles];\nvar RenderType_PaginationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PaginationComponent, data: {} });\nexport { RenderType_PaginationComponent as RenderType_PaginationComponent };\nfunction View_PaginationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"li\", [[\"class\", \"page-item d-none d-md-block\"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"page-link sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setPage(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(4, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"page-item d-none d-md-block\"; var currVal_1 = _ck(_v, 2, 0, (_v.parent.context.$implicit == _co.currentPage)); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = (_v.parent.context.$implicit + 1); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_PaginationComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = (_v.parent.parent.context.$implicit + 1); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_PaginationComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"li\", [[\"class\", \"page-item d-none d-md-block active\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"page-link sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaginationComponent_5)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_v.parent.context.$implicit >= 7) && (_v.parent.context.$implicit <= (_co.availablePages.length - 8))); _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PaginationComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" ... \"]))], null, null); }\nfunction View_PaginationComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"li\", [[\"class\", \"page-item disabled d-none d-md-block\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"page-link\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaginationComponent_7)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_v.parent.context.$implicit >= 7) && (_v.parent.context.$implicit <= (_co.availablePages.length - 8))); _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PaginationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaginationComponent_3)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaginationComponent_4)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaginationComponent_6)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_v.context.$implicit < 7) || (_v.context.$implicit > (_co.availablePages.length - 8))); _ck(_v, 1, 0, currVal_0); var currVal_1 = (((_v.context.$implicit == _co.currentPage) && (_v.context.$implicit >= 7)) && (_v.context.$implicit <= (_co.availablePages.length - 8))); _ck(_v, 3, 0, currVal_1); var currVal_2 = (((_v.context.$implicit == 7) && ((_co.currentPage < 7) || (_co.currentPage > (_co.availablePages.length - 8)))) && (_co.availablePages.length > 14)); _ck(_v, 5, 0, currVal_2); }, null); }\nfunction View_PaginationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaginationComponent_2)), i1.ɵdid(1, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.availablePages; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_PaginationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"ul\", [[\"class\", \"pagination sym-pagination-custom-size mt-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"li\", [[\"class\", \"page-item sym-clickable\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"disabled\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"span\", [[\"class\", \"page-link\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.previousPage() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\u00AB\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaginationComponent_1)), i1.ɵdid(7, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"li\", [[\"class\", \"page-item disabled\"]], null, null, null, null, null)), i1.ɵdid(9, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(10, { \"d-md-none\": 0 }), (_l()(), i1.ɵeld(11, 0, null, null, 3, \"span\", [[\"class\", \"page-link\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(14, null, [\"\", \"/\", \"\"])), (_l()(), i1.ɵeld(15, 0, null, null, 4, \"li\", [[\"class\", \"page-item sym-clickable\"]], null, null, null, null, null)), i1.ɵdid(16, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(17, { \"disabled\": 0 }), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"span\", [[\"class\", \"page-link\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.nextPage() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\u00BB\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"page-item sym-clickable\"; var currVal_1 = _ck(_v, 3, 0, (_co.currentPage == 0)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = !_co.overlayMode; _ck(_v, 7, 0, currVal_2); var currVal_3 = \"page-item disabled\"; var currVal_4 = _ck(_v, 10, 0, !_co.overlayMode); _ck(_v, 9, 0, currVal_3, currVal_4); var currVal_7 = \"page-item sym-clickable\"; var currVal_8 = _ck(_v, 17, 0, (_co.currentPage == (_co.availablePages.length - 1))); _ck(_v, 16, 0, currVal_7, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_5 = (_co.currentPage + 1); var currVal_6 = _co.availablePages.length; _ck(_v, 14, 0, currVal_5, currVal_6); }); }\nexport function View_PaginationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-pagination\", [], null, null, null, View_PaginationComponent_0, RenderType_PaginationComponent)), i1.ɵdid(1, 4374528, null, 0, i3.PaginationComponent, [i4.Router], null, null)], null, null); }\nvar PaginationComponentNgFactory = i1.ɵccf(\"sym-pagination\", i3.PaginationComponent, View_PaginationComponent_Host_0, { overlayMode: \"overlayMode\", pageSize: \"pageSize\", dataSet: \"dataSet\" }, {}, []);\nexport { PaginationComponentNgFactory as PaginationComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Standard DataComponent pagination.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-pagination-custom-size[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]{padding:.25rem .5rem;font-size:.875rem}.sym-pagination-custom-size[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{cursor:default}.sym-pagination-custom-size[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]{line-height:1.5;min-width:35px;text-align:center;text-decoration:none;padding-left:0;padding-right:0}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { SortDirection } from '../../core/helpers/sort-direction';\nimport { FilterOperators } from '../../core/helpers/filter-operators';\nimport { SortDescriptor } from '../../core/helpers/sort-descriptor';\nimport { PropertyFilter } from '../../core/helpers/property-filter';\nimport { ControlBase } from '../../base/helpers/control-base';\nimport { InsightsComponent } from '../../insights/insights/insights.component';\nimport { Entity, EntityType, EntityState, SaveResult, QueryResult, EntityKey } from 'breeze-client';\nimport { keyCodes } from '../../base/helpers/key-codes';\nimport { BreezeService } from '../../core/breeze.service';\nimport { DataRights } from '../../core/helpers/data-rights.enum';\nimport { RoutesService } from '../../routes.service';\nvar ListBase = /** @class */ (function (_super) {\n tslib_1.__extends(ListBase, _super);\n /**\n * Constructs a ListComponent.\n * @param configurationsService Service to get the configuration of this component.\n * @param breezeService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param translateService The translation service.\n */\n function ListBase(userService, breezeService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) {\n var _this = _super.call(this, alertsService) || this;\n _this.userService = userService;\n _this.breezeService = breezeService;\n _this.dialogService = dialogService;\n _this.alertsService = alertsService;\n _this.translateService = translateService;\n _this.router = router;\n _this.localStorageService = localStorageService;\n _this.actionService = actionService;\n /** Event triggered when a entity from the list is selected. */\n _this.selectionChanged = new EventEmitter();\n /** Event triggered when a new entity is created. */\n _this.entityCreated = new EventEmitter();\n /** Event triggered when a new data set is retrieved from the backend api. */\n _this.onRefresh = new EventEmitter();\n /** Event triggered when modifications are committed. */\n _this.itemSaved = new EventEmitter();\n /**\n * Gets, Sets the search value to use as filter.\n */\n _this.searchValue = '';\n /**\n * Gets, sets the last search value to enable smart refreshing.\n * @private\n */\n _this.lastSearchValue = '';\n _this.timeoutId = 0;\n /** Collection of selected entities */\n _this._selected = [];\n /** Sorting rules used to create the EntityQuery. */\n _this.sorting = [];\n /** The source name of the requested entities. */\n _this.sourceName = undefined;\n /** The list of unsortable field editors */\n _this.unSortableEditors = ['color', 'repeat', 'marketplace-demand', 'marketplace-service', 'profile-picture', 'spendtime-context'];\n /** The sortable field names based on the config */\n _this.sortableFieldNames = [];\n /** The current sued fields for sorting */\n _this.sortedFields = [];\n /** Aditional options to generate the requested EntityQuery */\n _this.queryOptions = { skip: 0 };\n /** Collection of retrieved and shown entities */\n _this.items = [];\n /**\n * Indicates whether data is loaded\n */\n _this.isDataLoaded = false;\n /**\n * List of displayed supported search fields.\n * @protected\n * @type {string[]}\n */\n _this.searchFields = [];\n /** List of dynamic query parameters. */\n _this.dynamicParameters = [];\n /** Indicates whether the select all option is selected. */\n _this.multiSelectChecked = false;\n /** Compontent is in refresh mode */\n _this.isRefreshing = true;\n _this.subscriptionPool.add(overlayService.onClosed.subscribe(function (param) {\n if (param === 'refreshList') {\n _this.refresh();\n }\n }));\n _this.subscriptionPool.add(eventsService.register('action-completed').subscribe(function () {\n _this.refresh();\n }));\n return _this;\n }\n Object.defineProperty(ListBase.prototype, \"selected\", {\n get: function () { return this._selected; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"dataSet\", {\n get: function () {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"current\", {\n /**\n * Gets the current selected entity.\n * @type {Entity}\n */\n get: function () {\n return this._current;\n },\n /**\n * Sets the current selected entity.\n */\n set: function (value) {\n if (this._current === value) {\n return;\n }\n this.changeCurrent(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"isCreating\", {\n /** Returns a value indicating whether a new entity is pending. */\n get: function () {\n return this.current && this.current.entityAspect.entityState === EntityState.Added;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"canSearch\", {\n /**\n * Gets whether the list contains any searchable fields.\n * @readonly\n * @type {boolean} A value indicating whether the list can be filtered.\n */\n get: function () {\n return this.searchFields.length > 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"canActions\", {\n /**\n * Gets whether there are actions available\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return (this.configuration.actions && this.configuration.actions.length > 0);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"userResourceKey\", {\n /** Gets the resource key of the current user. */\n get: function () {\n return this.userService.user.Resource_Oid;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"disableListActions\", {\n /**\n * Gets the disable state of the list action buttons (clone and delete).\n * @readonly\n * @type {boolean}\n */\n get: function () {\n if (!this.hasSelectedItems()) {\n return true;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListBase.prototype, \"currentKey\", {\n /**\n * Gets the key of the current entity or null when no entity is selected.\n * @readonly\n * @type {string}\n */\n get: function () {\n if (!this.current) {\n return null;\n }\n var multiKey = this.current.entityAspect.getKey(false);\n var key = '';\n multiKey.values.forEach(function (value) { return key += '_' + value; });\n return key.substring(1);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called to change the current selected entity.\n * Override this method to extend the logic.\n * @protected\n * @param {Entity} value The new current entity or null\n */\n ListBase.prototype.changeCurrent = function (value) {\n this._current = value;\n };\n /**\n * This sets up the filter used for the list. This is overridable in components inheriting from the ListBase\n *\n * @protected\n */\n ListBase.prototype.setupSearchFilter = function () {\n var _this = this;\n // Clear filter.\n this.filter = null;\n this.lastSearchValue = this.searchValue;\n if (this.searchValue) {\n // Create filter\n var searchItems = this.lastSearchValue.trim().split(' ');\n searchItems.forEach(function (text) {\n var item = text.trim();\n if (item !== '') {\n _this.searchFields.forEach(function (field) {\n var dummy = new PropertyFilter(_this, field, FilterOperators.Contains, item, FilterOperators.Or);\n });\n }\n });\n }\n };\n /**\n * Is called after user has changed the searchValue\n * @param {Event} evt Triggered by keyup.\n */\n ListBase.prototype.searchWith = function (event) {\n var _this = this;\n event.cancelBubble = true;\n if (this.lastSearchValue === this.searchValue) {\n return;\n }\n clearTimeout(this.timeoutId);\n this.isRefreshing = true;\n this.timeoutId = window.setTimeout(function () {\n _this.setupSearchFilter();\n _this.refresh();\n }, 500);\n };\n /**\n * Creates a new entity.\n */\n ListBase.prototype.create = function () {\n if (this.current && this.current.entityAspect.entityState.isAdded()) {\n return;\n }\n var item = this.entityType.createEntity();\n this.breezeService.addEntity(item); // First addEntity then setDefaultValues\n this.breezeService.setDefaultValues(this.userService.user, item);\n this.current = item;\n this.afterCreated(item);\n };\n /**\n * Checks whether an entity is the current entity.\n * @param item The entity to check.\n * @returns True when the item is the current entity.\n */\n ListBase.prototype.isActive = function (item) {\n return item ? this.current === item : false;\n };\n /**\n * Determines whether or not an item should be displayed as BOLD\n *\n * @param {Entity} item The item that should be checked\n * @returns {boolean} True when it should be displayed as bold, otherwise false\n *\n */\n ListBase.prototype.isBold = function (item) {\n return false;\n };\n /**\n * Determines whether or not an item should be selectable\n *\n * @param {Entity} item The item that should be checked\n * @returns {boolean} True when the item should be selectable, otherwise false\n *\n */\n ListBase.prototype.isSelectable = function (item) {\n return true;\n };\n /**\n * Checks if an entity is the current entity.\n * @returns True when a item is the current entity\n */\n ListBase.prototype.hasActive = function () {\n return (this.current != null);\n };\n /**\n * Checks whether an entity is part of the selected collection\n * @param item The entity to check.\n * @returns True when the item is part of the selected collection.\n */\n ListBase.prototype.isSelected = function (item) {\n return this.selected.indexOf(item) > -1;\n };\n /**\n * Indicates whether the select all options is selected.\n * @returns True when the select all options is selected.\n */\n ListBase.prototype.isMultiSelectChecked = function () {\n return this.multiSelectChecked;\n };\n /**\n * Makes an entity the entity with focus.\n * @param item The entity to select.\n */\n ListBase.prototype.select = function (item) {\n if (!item || this.current === item) {\n return;\n }\n this.current = item;\n this.selectionChanged.emit(item);\n };\n /**\n * Listener for global key down events\n * @param $event The event\n */\n ListBase.prototype.keyDown = function (event) {\n /**\n * PAS OP: 'document:keydown.out-zone' leek het te doen samen met this.changeDetector.detectChanges()\n * Maar als de pagina niet meer mee scrolt met up of down wordt de detail view niet meer geupdate.\n * Als we hier 'document:keydown.out-zone' willen moeten we dus de detail view zelf actief\n * op de 1 of andere manier ook een this.changeDetector.detectChanges() geven.\n */\n if (document.activeElement === document.body && (event.keyCode === keyCodes['up'] || event.keyCode === keyCodes['down'])) {\n this.onKeyUpOrKeyDown(event.keyCode);\n }\n };\n /**\n * Release the focus of an entity.\n * @param item The entity to deselect.\n */\n ListBase.prototype.deselect = function (item) {\n if (item || item === this.current) {\n this.current = null;\n return item;\n }\n return null;\n };\n /**\n * Toggles the select all option or enforces a state on the option.\n * @param selectAll The state to anforce on the option.\n */\n ListBase.prototype.toggleMultiSelect = function (selectAll) {\n var _this = this;\n // Toggle multi select checked\n this.multiSelectChecked = (selectAll !== undefined) ? selectAll : !this.multiSelectChecked;\n // Start with an empty selection\n // this.selected.splice(0, this.selected.length);\n this.selected.length = 0;\n if (this.multiSelectChecked) {\n // Add all checklist to selection\n this.items.forEach(function (item) {\n if (_this.isSelectable(item)) {\n _this.selected.push(item);\n }\n });\n }\n };\n /**\n * Removes an entity from the list.\n * Is used when deleted by the detail form.\n * @param {string} id The identity of the entity.\n */\n ListBase.prototype.removeItem = function (id) {\n if (!id) {\n return;\n }\n var values = [id];\n if (id.indexOf('K_-') !== 0) {\n values = id.split('_');\n }\n var key = new EntityKey(this.entityType, values);\n var index = this.items.findIndex(function (item) { return item.entityAspect.getKey().equals(key); });\n if (index === -1) {\n return;\n }\n this.items.splice(index, 1);\n index = this.selected.findIndex(function (item) { return item.entityAspect.getKey().equals(key); });\n if (index === -1) {\n return;\n }\n this.selected.splice(index, 1);\n };\n /**\n * Appends or removes a entity from the selected collection.\n * @param item The entity to append or remove from the selected collection.\n */\n ListBase.prototype.toggleSingleSelect = function (item) {\n if (!this.isSelectable(item)) {\n return;\n }\n // Find position of item in selection\n var positionInSelected = this.selected.indexOf(item);\n if (positionInSelected > -1) {\n // Remove item from selection\n this.selected.splice(positionInSelected, 1);\n }\n else {\n // Add item to selection\n this.selected.push(item);\n }\n // test if none or all checklist are in selection (for correct representation of multi select icon)\n if (this.selected.length === 0) {\n this.multiSelectChecked = false;\n }\n else {\n if (this.selected.length === this.items.length) {\n this.multiSelectChecked = true;\n }\n }\n };\n /**\n * Checks whether the selected collection has entities.\n * @returns True when the collection has entities.\n */\n ListBase.prototype.hasSelectedItems = function () {\n return (this.selected.length > 0);\n };\n /**\n * Gives the number of entities in the selected collection.\n * @returns The number of entities in the selected collection.\n */\n ListBase.prototype.numberOfSelectedItems = function () {\n return this.selected.length;\n };\n /**\n * Indicates whether the data set has entities.\n * @returns True when the data set has entities.\n */\n ListBase.prototype.hasItems = function () {\n return this.items.length > 0;\n };\n ListBase.prototype.lookup = function () {\n this.refresh();\n };\n /**\n * Deletes a entity.\n * @param item The entity to delete.\n * @param index The index of the entity within the data collection.\n */\n ListBase.prototype.deleting = function (item, index) {\n this.deleteItem(item, index);\n this.save(undefined);\n };\n /**\n * Commits modifications in the entity model.\n * @param event The HTML event argument that triggered this method.\n */\n ListBase.prototype.save = function (event) {\n if (event) {\n event.target.classList.add('sym-working');\n }\n var self = this;\n this.subscriptionPool.add(this.breezeService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not\n if (error) {\n self.alertsService.createAlert('warning', 'APP.LISTS.ITEMS_UNSUCCESSFULLY_SAVED');\n }\n else {\n self.alertsService.createAlert('success', 'APP.LISTS.ITEMS_SUCCESSFULLY_SAVED');\n }\n }).subscribe(function (value) {\n self.current = null;\n self.refresh();\n self.itemSaved.emit(value);\n }));\n };\n /**\n * Deletes all the entities in the selected collection.\n * @param event The HTML event that invoked this method.\n */\n ListBase.prototype.deleteSelected = function (event) {\n var _this = this;\n if (this.disableListActions) {\n return;\n }\n // Check if action is not called again before previous run is finished\n if (event && event.target.classList.contains('sym-working')) {\n this.alertsService.createAlert('warning', 'APP.LISTS.WAIT_UNTIL_DELETING_IS_FINISHED');\n }\n // Add sym-working to show that application is working\n if (event) {\n event.target.classList.add('sym-working');\n }\n // Run through selected checklist and give them a delete flag\n this.selected.forEach(function (item) {\n _this.breezeService.setDeleted(item);\n _this.items.find(function (test, i) {\n if (test === item) {\n _this.items.splice(i, 1);\n if (_this.current === item) {\n _this.current = null;\n _this.selectionChanged.emit(null); // Force to close detail view.\n }\n return true;\n }\n return false;\n });\n });\n // Save the entities\n this.breezeService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.LISTS.ITEMS_UNSUCCESSFULLY_DELETED', error);\n // Restore not deleted.\n _this.refresh();\n }\n else {\n _this.alertsService.createAlert('success', 'APP.LISTS.ITEMS_SUCCESSFULLY_DELETED');\n // Do a refresh to hide deleted checklist\n _this.refresh();\n }\n });\n };\n /**\n * Returns whether the component is read-only according to the configuration.\n * @returns {boolean} A value indicating whether the component is read-only.\n */\n ListBase.prototype.isReadOnly = function () {\n if (Array.isArray(this.configuration.rights)) {\n var rights = this.configuration.rights;\n return rights.indexOf('Create') < 0 && rights.indexOf('Update') < 0;\n }\n else {\n // tslint:disable-next-line:no-bitwise\n return !(this.configuration.rights & DataRights.Create + DataRights.Update);\n }\n };\n /**\n * Method to retrieve the requested entities from the backend api.\n * @returns An Observable object that retrieves the requested entities.\n */\n ListBase.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result, error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.configuration) {\n return [2 /*return*/, null];\n }\n BreezeService.setDynamicParams(this.queryOptions, this.dynamicParameters, this);\n // Set in refresh mode\n this.isRefreshing = true;\n // Remove selected\n this.toggleMultiSelect(false);\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.breezeService.getDataSet(this, this.items)];\n case 2:\n result = _a.sent();\n this.onRefresh.emit(result);\n this.isDataLoaded = true;\n this.isRefreshing = false;\n this.restoreSelectedDetail();\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n this.isDataLoaded = true;\n this.isRefreshing = false; // Fix for #1554\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/, result];\n }\n });\n });\n };\n /**\n * Is called after a new entity is created.\n * The method triggers the entityCreated event.\n * Override this method to extend logic after creation.\n * @protected\n * @param {Entity} item The entity that is created.\n */\n ListBase.prototype.afterCreated = function (item) {\n this.entityCreated.emit(item);\n };\n /**\n * Restores the selected detail item when url is a detail route.\n * @protected\n */\n ListBase.prototype.restoreSelectedDetail = function () {\n var keyValue = RoutesService.getDetailId(this.router.routerState);\n if (keyValue != null) {\n var key_1 = new EntityKey(this.entityType, keyValue.split('_'));\n var item = this.items.find(function (i) { return i.entityAspect.getKey(false).equals(key_1); });\n if (item) {\n this.current = item;\n }\n }\n };\n /**\n * Is called when key arrow up or down is used.\n * The main list selects the next item, up or down, in response.\n * @protected\n * @param {number} keyCode Key code of the key event.\n */\n ListBase.prototype.onKeyUpOrKeyDown = function (keyCode) {\n var _this = this;\n // Only proceed if there is a active item\n if (this.hasActive()) {\n var position_1 = -1;\n // Find the current item position in items\n this.items.forEach(function (item, index) {\n if (item === _this.current) {\n position_1 = index;\n }\n });\n // Stop if current item is not found in items\n if (position_1 === -1) {\n return;\n }\n // Based on key code go up or down\n if (keyCode === keyCodes['up']) {\n // Stop if current is at the top of the items\n if (position_1 === 0) {\n return;\n }\n // Set previous position\n position_1 = position_1 - 1;\n }\n else if (keyCode === keyCodes['down']) {\n // Stop if current is at the bottom of the items\n if (position_1 === this.items.length - 1) {\n return;\n }\n // Set next position\n position_1 = position_1 + 1;\n }\n // Change active item\n this.select(this.items[position_1]);\n }\n else {\n // No active, set first one active if exist\n this.select(this.items[0]);\n }\n };\n /**\n * Method to initialize the data set for the first time.\n */\n ListBase.prototype.initItemSet = function () {\n var _this = this;\n var entityConfig = this.configuration.data;\n if (entityConfig.listSize == null) {\n throw new Error('List size in the configuration is mandatory');\n }\n this.sourceName = entityConfig.dataSource;\n this.queryOptions.parameters = Object.assign({}, entityConfig.parameters);\n this.queryOptions.expand = entityConfig.expand;\n this.queryOptions.take = entityConfig.listSize;\n BreezeService.getDynamicParams(this.queryOptions, this.dynamicParameters);\n BreezeService.setDynamicParams(this.queryOptions, this.dynamicParameters, this);\n this.breezeService.registerSource(entityConfig.entity, this);\n var fields = this.configuration.data.fields;\n fields.forEach(function (field) {\n ControlBase.setFieldDefaults(field, _this.entityType);\n if (_this.isSortable(field)) {\n _this.sortableFieldNames.push(field.name);\n }\n // Zijn er nog meer velden waar we niet op kunnen zoeken?\n // Hier eigenlijk niet op editor beslissen maar op entity property type.\n switch (field.editor) {\n case 'string':\n case 'text':\n case 'email':\n case 'url':\n case 'phone':\n _this.searchFields.push(field.name);\n break;\n case 'entity':\n field.format.fields.forEach(function (fld) {\n _this.searchFields.push(field.name + '.' + fld);\n });\n break;\n }\n });\n this.setColumnClasses(fields);\n if (this.items.length > 0 && this.items[0].entityType !== this.entityType) {\n // Dit geeft problemen als je met de lijst een nieuwe entity maakt die komt dan niet in je lijst.\n console.warn('Mismatch between type of source (' +\n this.items[0].entityType.name +\n ') and entity type (' +\n this.entityType.name +\n ') in configuration ' +\n this.configuration.key);\n }\n };\n /**\n * Toggles the sort direction of a specific field.\n * @param field The field of the changing sort direction.\n */\n ListBase.prototype.toggleSort = function (field) {\n if (!this.isSortable(field)) {\n return;\n }\n // First find if the field is already used for sorting\n var foundSortedField = this.sortedFields.find(function (sortedField) { return sortedField['name'] === field.name; });\n // Yes, field is already sorted\n if (foundSortedField) {\n if (foundSortedField.direction === SortDirection.Ascending) {\n // Sort direction is ascending, toggle means make it descending\n foundSortedField.direction = SortDirection.Descending;\n }\n else {\n // Sort direction is descending, toggle means remove from sort\n this.sortedFields = this.sortedFields.filter(function (sortedField) {\n return (sortedField.name !== foundSortedField.name);\n });\n }\n }\n else {\n // Add new sorting\n this.sortedFields.push({\n name: field.name,\n property: this.extractSortProperty(field),\n direction: SortDirection.Ascending\n });\n }\n var propertyName = this.configuration.key.split('/').join('-') + '-sort';\n this.localStorageService.updateProperty('local', propertyName, this.sortedFields);\n this.updateSort();\n this.refresh();\n };\n ListBase.prototype.updateSort = function () {\n var _this = this;\n if (!this.configuration.key) {\n return;\n }\n // Read the stored ordening\n var propertyName = this.configuration.key.split('/').join('-') + '-sort';\n this.sortedFields = this.localStorageService.readProperty('local', propertyName, []);\n // Clean up fields if they are not part of configuration anymore\n this.sortedFields = this.sortedFields.filter(function (sortedField) {\n return (_this.sortableFieldNames.indexOf(sortedField.name) !== -1);\n });\n // Empty the sorting array\n this.sorting.length = 0;\n this.sortedFields.forEach(function (sortedField, index) {\n _this.sorting.push(new SortDescriptor(sortedField.name, sortedField.property, sortedField.direction, index));\n });\n };\n /**\n * Override this method to implement logic to store the control state set by the user.\n * @param configKey Reference to the appropiate configuration. Use this reference to save and find the stored state of the control.\n */\n ListBase.prototype.restoreState = function (configKey) {\n this.isDataLoaded = false;\n this.initItemSet();\n this.updateSort();\n this.refresh();\n };\n /**\n * Check if a field editor is sortable\n */\n ListBase.prototype.isSortable = function (field) {\n if (this.unSortableEditors.indexOf(field.editor) !== -1) {\n return false;\n }\n if (field.editor === 'entity') {\n return true;\n }\n if (this.serverSideSortablePath(this.entityType, field.name.split('.'))) {\n return true;\n }\n return false;\n };\n /**\n * Finds the SortDirection of a given entity property.\n *\n * @param property The property name to look for.\n *\n * @returns The found SortDirection or SortDirection.None.\n */\n ListBase.prototype.sortDirectionOf = function (field) {\n var direction = SortDirection.None;\n // Find the position\n this.sortedFields.forEach(function (sortedField) {\n if (sortedField.name === field.name) {\n direction = sortedField.direction;\n }\n });\n return direction;\n };\n /**\n * Finds the order of the sort rule of a specific entity property.\n *\n * @param property The property name to look for.\n *\n * @returns The found order or zero.\n */\n ListBase.prototype.sortOrderOf = function (field) {\n var position = 0;\n // Find the position\n this.sortedFields.forEach(function (sortedField, index) {\n if (sortedField.name === field.name) {\n position = index + 1;\n }\n });\n return position;\n };\n /**\n * Method to create a new entity.\n * @param initialValues The initial property values of the entity.\n * @param index The insert location of the new created entity.\n * @returns The new created entity.\n */\n ListBase.prototype.createItem = function (initialValues, index) {\n var item = this.entityType.createEntity(initialValues);\n item = this.breezeService.addEntity(item);\n if (index) {\n // Useful for inline editing.\n this.items.splice(index, 0, item);\n return item;\n }\n return item;\n };\n /**\n * Deletes a entity.\n * @param item The entity to delete.\n * @param index The location of the entity within the shown list.\n * @returns The deleted entity.\n */\n ListBase.prototype.deleteItem = function (item, index) {\n var _this = this;\n this.breezeService.setDeleted(item);\n this.breezeService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.LISTS.ITEMS_UNSUCCESSFULLY_DELETED');\n }\n else {\n _this.dataSet.refresh(); // Reason: inform pagination of a changing dataset #1664\n _this.alertsService.createAlert('success', 'APP.LISTS.ITEMS_SUCCESSFULLY_DELETED');\n }\n });\n return item;\n };\n /**\n * Checks whether or not the action is allowed.\n * @param {ActionConfiguration} action The action to check.\n * @returns {boolean} True when allowed\n * @memberOf ListBase\n */\n ListBase.prototype.isAllowed = function (action) {\n return this.userService.isActionAllowed(action);\n };\n /**\n * Returns the action's icon\n * @param {ActionConfiguration} action The action\n * @returns {string} An icon class name\n * @memberOf ListBase\n */\n ListBase.prototype.getIcon = function (action) {\n return this.actionService.getIcon(action);\n };\n /**\n * Returns the action's label key\n * @param {ActionConfiguration} action The action\n * @returns {string} A translation label\n * @memberOf ListBase\n */\n ListBase.prototype.getLabelKey = function (action) {\n return this.actionService.getLabelKey(action);\n };\n /**\n * Event when action is clicked.\n * @param {*} event Click event\n * @param {ActionConfiguration} actionConfiguration Action of click event.\n * @memberOf ListBase\n */\n ListBase.prototype.actionSelected = function (event, actionConfiguration) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var input, message, error_2;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n // Is action allowed\n if (actionConfiguration.isSelectionNeeded !== false && this.disableListActions) {\n return [2 /*return*/];\n }\n // Check if action is not called again before previous run is finished\n if (event && event.target.classList.contains('sym-working')) {\n return [2 /*return*/, this.alertsService.createAlert('warning', 'APP.LISTS.WAIT_UNTIL_ACTION_IS_FINISHED')];\n }\n // Add sym-working to show that application is working\n if (event) {\n event.target.classList.add('sym-working');\n }\n input = {\n actionConfiguration: actionConfiguration,\n listBase: this,\n breezeService: this.breezeService\n };\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, 4, 5]);\n return [4 /*yield*/, this.actionService.doAction(input)];\n case 2:\n message = _a.sent();\n this.toggleMultiSelect(false);\n // Skip empty messages. An empty message may be the result of the user canceling the action.\n if (message) {\n this.alertsService.createAlert('success', message);\n }\n return [3 /*break*/, 5];\n case 3:\n error_2 = _a.sent();\n if (error_2) {\n if (!error_2.labelKey) {\n return [2 /*return*/, this.alertsService.createAlert('danger', 'APP.SOCIAL.ACTION_NOT_FOUND', new Error('No labelKey is found'))];\n }\n if (!error_2.message) {\n return [2 /*return*/, this.alertsService.createAlert('danger', error_2.labelKey)];\n }\n return [2 /*return*/, this.alertsService.createAlert('danger', error_2.labelKey, error_2.message)];\n }\n return [2 /*return*/, this.alertsService.createAlert('danger', 'APP.SOCIAL.ACTION_NOT_FOUND', new Error('Received Error is undefined'))];\n case 4:\n if (event) {\n event.target.classList.remove('sym-working');\n }\n return [7 /*endfinally*/];\n case 5:\n this.refresh();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Sets the widths of the columns and calculates the last column\n * @param fields The set of fields.\n */\n ListBase.prototype.setColumnClasses = function (fields) {\n var sumSize = 0;\n var maxSize = (this.canDelete || this.canCreate) ? 23 : 24; // Give the checkbox in the rows some space!\n // Run through the fields\n fields.forEach(function (field, index) {\n // If no size is given set the default\n if (!field['size']) {\n switch (field.editor) {\n case 'color': {\n field['size'] = 1;\n break;\n }\n case 'duration': {\n field['size'] = 2;\n break;\n }\n default: {\n field['size'] = 3;\n break;\n }\n }\n }\n // Add to sum\n sumSize = sumSize + field['size'];\n // Give last column the rest of the space except if total\n // size of the columns is larger than maxSize.\n if (index === fields.length - 1 && sumSize < maxSize) {\n field['size'] = field['size'] + (maxSize - sumSize);\n }\n });\n };\n /**\n * Extract the description of the sort property,\n * this to support sorting for multi field composed list columns\n * @private\n * @param {FieldConfiguration} field The configuration of the column.\n * @returns {string} The sort description of the property\n */\n ListBase.prototype.extractSortProperty = function (field) {\n if (field.editor === 'entity') {\n var fields_1 = '';\n field.format.fields.forEach(function (fld) {\n fields_1 += ',' + field.name + '.' + fld;\n });\n return fields_1.substring(1);\n }\n return field.name;\n };\n /**\n * Checks if path is server-side sortable.\n * @private\n * @param {EntityType} entityType The entity type of the path.\n * @param {string[]} path Array of property names\n * @returns {boolean} True when path is sortable server side.\n */\n ListBase.prototype.serverSideSortablePath = function (entityType, path) {\n if (entityType == null) {\n // entityType Nog niet geladen. Bezig met herstel opgeslagen sortering.\n return true;\n }\n if (path == null || path.length === 0) {\n // Empty path is not sortable.\n return false;\n }\n if (path.length === 1) {\n var property = entityType.getProperty(path[0], false);\n if (property == null) {\n // Property does not exist.\n return false;\n }\n if (property['isUnmapped']) {\n // Property exist only on client-side.\n return false;\n }\n if (property.isNavigationProperty) {\n // Navigation property is not sortable.\n return false;\n }\n // Is Sortable Server-side property.\n return true;\n }\n var navProperty = entityType.getNavigationProperty(path[0]);\n if (navProperty == null) {\n // Navigation property does not exist.\n return false;\n }\n if (navProperty['isUnmapped']) {\n // Property exist only on client-side.\n return false;\n }\n // Check next step in path.\n path.splice(0, 1);\n return this.serverSideSortablePath(navProperty.entityType, path);\n };\n /**\n * Used to improve the performances of the list by introducing\n * an unique identifier per row.\n *\n * @param {number} index The index number\n * @param {Entity} item The item for given row\n * @returns {String} The unique identifier\n */\n ListBase.prototype.trackByItem = function (index, item) {\n if (!item || !item.entityAspect) {\n return index.toString();\n }\n var key = '';\n item.entityAspect.getKey().values.forEach(function (value) {\n key += '_' + value;\n });\n if (key.length <= 1) {\n return index.toString();\n }\n return key.substring(1);\n };\n return ListBase;\n}(ControlBase));\nexport { ListBase };\n","/**\n * @file Standard entity list component.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { ListBase } from '../../base/list/list.base';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { DomainService } from '../../domain.service';\nimport { EventsService } from '../../core/event.service';\nimport { UserService } from '../../user.service';\nimport { Router } from '@angular/router';\nimport { ActionService } from '../../core/action.service';\n/**\n * The standard entity list component\n */\nvar ListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ListComponent, _super);\n /**\n * Constructs a ListComponent.\n * @param configurationsService Service to get the configuration of this component.\n * @param domainService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n */\n function ListComponent(userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) {\n return _super.call(this, userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n }\n return ListComponent;\n}(ListBase));\nexport { ListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Standard entity list component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component\";\nimport * as i7 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i8 from \"../../base/instruction/instruction.component\";\nimport * as i9 from \"@angular/common/http\";\nimport * as i10 from \"../../configurations.service\";\nimport * as i11 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i12 from \"../../base/pagination/pagination.component\";\nimport * as i13 from \"@angular/router\";\nimport * as i14 from \"./list.component\";\nimport * as i15 from \"../../user.service\";\nimport * as i16 from \"../../domain.service\";\nimport * as i17 from \"../../core/dialog.service\";\nimport * as i18 from \"../../core/alerts.service\";\nimport * as i19 from \"../../core/overlay.service\";\nimport * as i20 from \"../../core/local-storage.service\";\nimport * as i21 from \"../../core/event.service\";\nimport * as i22 from \"../../core/action.service\";\nvar styles_ListComponent = [i0.styles];\nvar RenderType_ListComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ListComponent, data: {} });\nexport { RenderType_ListComponent as RenderType_ListComponent };\nfunction View_ListComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ListComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ListComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_2)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_3)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_ListComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_co.configuration.data.labelKey)), \"\"); var currVal_1 = _co.isCreating; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.configuration.data.labelKey)); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_ListComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(4, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(6, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 6).ngClassValid; var currVal_6 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_ListComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_5)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(7, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(8, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_6)), i1.ɵdid(14, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canCreate; _ck(_v, 3, 0, currVal_0); var currVal_3 = \"icon sym-icon-refresh\"; var currVal_4 = _ck(_v, 8, 0, _co.isRefreshing); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_6 = _co.canSearch; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_2 = _co.isRefreshing; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_5 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 10, 0, currVal_5); }); }\nfunction View_ListComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_ListComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ListComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_10)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_ListComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_9)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ListComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_ListComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i1.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i5.View_ColumnContainerComponent_0, i5.RenderType_ColumnContainerComponent)), i1.ɵdid(4, 114688, null, 0, i6.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_ListComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_14)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ListComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_12)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_13)), i1.ɵdid(4, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_ListComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_ListComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ListComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-danger btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteSelected($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-danger btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.disableListActions); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.DELETE\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.DELETE\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = !_co.hasSelectedItems(); _ck(_v, 8, 0, currVal_4); var currVal_5 = _co.numberOfSelectedItems(); _ck(_v, 9, 0, currVal_5); }); }\nfunction View_ListComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.actionSelected($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpad(6, 2), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm ml-1\"; var currVal_2 = _ck(_v, 2, 0, ((_v.parent.context.$implicit.isSelectionNeeded !== false) && _co.disableListActions)); _ck(_v, 1, 0, currVal_1, currVal_2); var currVal_3 = _ck(_v, 6, 0, \"icon\", _co.getIcon(_v.parent.context.$implicit)); _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(_co.getLabelKey(_v.parent.context.$implicit))), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_4 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(_co.getLabelKey(_v.parent.context.$implicit))); _ck(_v, 8, 0, currVal_4); var currVal_5 = !_co.hasSelectedItems(); _ck(_v, 10, 0, currVal_5); var currVal_6 = _co.numberOfSelectedItems(); _ck(_v, 11, 0, currVal_6); }); }\nfunction View_ListComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_19)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isAllowed(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_ListComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 35, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_1)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i7.View_InstructionComponent_0, i7.RenderType_InstructionComponent)), i1.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i8.InstructionComponent, [i9.HttpClient, i10.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_4)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵeld(11, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_7)), i1.ɵdid(14, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_8)), i1.ɵdid(16, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_11)), i1.ɵdid(19, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_15)), i1.ɵdid(21, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_16)), i1.ɵdid(23, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 10, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i11.View_PaginationComponent_0, i11.RenderType_PaginationComponent)), i1.ɵdid(30, 4374528, null, 0, i12.PaginationComponent, [i13.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(31, 0, null, null, 4, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_17)), i1.ɵdid(33, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ListComponent_18)), i1.ɵdid(35, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_2 = !_co.overlayMode; _ck(_v, 8, 0, currVal_2); var currVal_4 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 14, 0, currVal_4); var currVal_5 = _co.configuration.data.fields; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.items; var currVal_7 = _co.trackByItem; _ck(_v, 19, 0, currVal_6, currVal_7); var currVal_8 = !_co.isDataLoaded; _ck(_v, 21, 0, currVal_8); var currVal_9 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 23, 0, currVal_9); var currVal_10 = _co.overlayMode; var currVal_11 = _co.configuration.data.listSize; var currVal_12 = _co.dataSet; _ck(_v, 30, 0, currVal_10, currVal_11, currVal_12); var currVal_13 = _co.canDelete; _ck(_v, 33, 0, currVal_13); var currVal_14 = _co.configuration.actions; _ck(_v, 35, 0, currVal_14); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.configuration.key; _ck(_v, 10, 0, currVal_3); }); }\nexport function View_ListComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-list\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_ListComponent_0, RenderType_ListComponent)), i1.ɵdid(1, 245760, null, 0, i14.ListComponent, [i15.UserService, i16.DomainService, i17.DialogService, i18.AlertsService, i3.TranslateService, i13.Router, i19.OverlayService, i20.LocalStorageService, i21.EventsService, i22.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ListComponentNgFactory = i1.ɵccf(\"sym-list\", i14.ListComponent, View_ListComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { ListComponentNgFactory as ListComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The component is used to display PlanItems returned by the TaskList endpoint, which needs a start and finish property.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-relations-bottom[_ngcontent-%COMP%] .sym-pagination-custom-size{margin-bottom:0}.sym-list[_ngcontent-%COMP%] .sym-wrap-pair[_ngcontent-%COMP%] .sym-active[_ngcontent-%COMP%]{font-weight:700}.sym-list[_ngcontent-%COMP%] .sym-relation-columns-row[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap}.sym-list[_ngcontent-%COMP%] .sym-relation-columns-row[_ngcontent-%COMP%] .sym-column[_ngcontent-%COMP%]{display:inline-block}.sym-list[_ngcontent-%COMP%] .sym-relation-columns-row[_ngcontent-%COMP%] .sym-column[_ngcontent-%COMP%] .sym-column-editor{margin-right:.5rem;color:#6c757d!important;font-size:.8rem;position:relative;top:-2px}.sym-list[_ngcontent-%COMP%] .sym-relation-columns-row[_ngcontent-%COMP%] .sym-column[_ngcontent-%COMP%] .sym-column-editor:hover .sym-show-on-hover{display:none}.sym-list[_ngcontent-%COMP%] .sym-relation-columns-row[_ngcontent-%COMP%] .sym-column[_ngcontent-%COMP%] .sym-column-editor:hover .sym-hide-on-hover{display:inline}.sym-list[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .form-control-label[_ngcontent-%COMP%]{line-height:32px}\"];\nexport { styles as styles };\n","/**\n * @file Component for showing the children of a one to many relation of the selected parent entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ListBase } from '../list/list.base';\nimport { EntityState, EntityAction, EntityType } from 'breeze-client';\nimport { BreezeService } from '../../core/breeze.service';\n/**\n * Component for showing the children of a one to many relation of the selected parent entity.\n */\nvar RelationBase = /** @class */ (function (_super) {\n tslib_1.__extends(RelationBase, _super);\n /**\n * Constructs a RelationComponent.\n * @param configurationsService Service to get the configuration of this component.\n * @param breezeService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param route The active route.\n */\n function RelationBase(userService, breezeService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) {\n var _this = _super.call(this, userService, breezeService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n _this.route = route;\n /**\n * The localization domain\n * @memberOf RelationComponent\n */\n _this.labelDomain = 'MISC';\n /** Configuration of the form to show a related detail entity. */\n _this.childForm = undefined;\n /**\n * Configuration of the form to show a new created related detail entity.\n * @type {ChildComponent}\n * */\n _this.createForm = undefined;\n _this.subRelations = [];\n _this.subForms = [];\n /** Handle to breeze entity change event. */\n _this.subscriptionToAdded = undefined;\n /**\n * Hanle to the master entity in this relation.\n */\n _this.masterEntity = null;\n return _this;\n }\n Object.defineProperty(RelationBase.prototype, \"master\", {\n /**\n * Gets the entity of the master of the depicted master detail relation.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n return this.masterEntity;\n },\n /**\n * Sets the entity of the master of the depicted master detail relation.\n */\n set: function (value) {\n if (this.masterEntity === value) {\n return;\n }\n this.masterEntity = value;\n if (this.entityType && this.masterEntity) {\n this.current = null;\n }\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationBase.prototype, \"editMode\", {\n /** Gets the edit mode of the current selected entity. */\n get: function () {\n if (!this.current) {\n return false;\n }\n return !this.createMode;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationBase.prototype, \"hasChanges\", {\n /**\n * Checks whether or not one of the entities has changed.\n * @readonly\n * @type {boolean}\n */\n get: function () {\n if (!this.items) {\n return false;\n }\n var found = this.items.find(function (entity) {\n var entityState = entity.entityAspect.entityState;\n return entityState === EntityState.Modified;\n });\n return found != null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationBase.prototype, \"createMode\", {\n /** Gets the create mode of the current selected entity. */\n get: function () {\n if (!this.current) {\n return false;\n }\n var entityState = this.current.entityAspect.entityState;\n if (entityState === EntityState.Detached || entityState === EntityState.Added) {\n return true;\n }\n if (this.relationLists.find(function (item) { return item.createMode; }) != null) {\n return true;\n }\n return false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationBase.prototype, \"entityLabel\", {\n /**\n * Gets the entity label for this relation.\n * @readonly\n * @type {string} The entity label\n */\n get: function () {\n if (!this.configuration) {\n return '';\n }\n if ((this.configuration.labelKey + '').indexOf('APP.' + this.labelDomain + '.') !== 0) {\n // Dit is waar we eerst vanuit gingen.\n return this.configuration.data.entity;\n }\n var endIndex = this.configuration.labelKey.indexOf('.#PLURAL');\n if (endIndex === -1) {\n // Alleen bij labels waar je ondersteuning van een '.#SINGULAR' en '.#NEW' vorm bij verwacht.\n // Ga we anders doen dan eerst.\n return this.configuration.data.entity;\n }\n // Nu kan je dus een ander label gebruiken dan de entity naam.\n return this.configuration.labelKey.substring(this.labelDomain.length + 5, endIndex);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RelationBase.prototype, \"foreignKeyValue\", {\n get: function () {\n if (this.masterEntity == null) {\n return null;\n }\n var result = '';\n var values = this.masterEntity.entityAspect.getKey().values;\n values.forEach(function (value) {\n result += '_' + value;\n });\n return result.substring(1);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called before the current selected entity changes.\n * Here we extend the logic.\n * @protected\n * @param {Entity} value The new current entity.\n */\n RelationBase.prototype.changeCurrent = function (value) {\n var _this = this;\n if (this.subscriptionToAdded) {\n var aspect = this.current.entityAspect;\n this.breezeService.entityManager.entityChanged.unsubscribe(this.subscriptionToAdded);\n this.subscriptionToAdded = undefined;\n if (!aspect.entityState.isDetached()) {\n aspect.rejectChanges();\n }\n }\n // By calling super.changeCurrent a new entity is selected.\n _super.prototype.changeCurrent.call(this, value);\n if (!value) {\n return;\n }\n if (value.entityAspect.entityState === EntityState.Added) {\n // When this.current are just created then...\n var self_1 = this;\n // We go to listen if we need to do a list update\n this.subscriptionToAdded = value.entityAspect.entityManager.entityChanged.subscribe(function (args) {\n if (args.entityAction === EntityAction.MergeOnSave && _this.current === args.entity) {\n // this.subscriptionToAdded exists only when this.current is a new added entity\n // The new added entity is currently being saved by someone self.\n // So I refresh my data list.\n args.entity.entityAspect.entityManager.entityChanged.unsubscribe(_this.subscriptionToAdded);\n _this.subscriptionToAdded = undefined;\n _this.refresh();\n }\n });\n }\n };\n /**\n * Method to determine wether or not the component is shown.\n * @returns {boolean} False to hide the component otherwise true.\n * @memberOf RelationComponent\n * */\n RelationBase.prototype.canShowComponent = function () {\n if (this.entityType == null || this.master == null) {\n return false;\n }\n return true;\n };\n RelationBase.prototype.notifyCanceled = function () {\n this.cancel();\n };\n /**\n * Method to notify the component of a successful entity deletion.\n * @param result The returned response of a entity deletion.\n */\n RelationBase.prototype.notifyRemoval = function (result) {\n // TODO: Check and update list?\n };\n /**\n * Method to notify this component of a breeze commit event.\n * @param result The result of the commit.\n */\n RelationBase.prototype.notifySavement = function (result) {\n var _this = this;\n if (result == null || this.current == null) {\n return;\n }\n var found = result.entities.find(function (item) { return item === _this.current; });\n if (!found) {\n // Only dispatch when save result is about this relation.\n return;\n }\n // Dispatch the received notify of the FormChildComponent so parent component can react.\n if (!this.overlayMode) {\n // Niet in overlayMode see issue:\n // Service aanpassen via planbord aanwezigheid, verbeteren (8 uur) #3888\n this.itemSaved.emit(result);\n }\n this.current = null;\n };\n /**\n * Deletes a entity.\n * @param item The entity to delete.\n * @param index The location of the entity within the shown list.\n * @returns The deleted entity.\n */\n RelationBase.prototype.deleteItem = function (item, index) {\n if (item === this.current) {\n this.current = null;\n }\n return _super.prototype.deleteItem.call(this, item, index);\n };\n /**\n * Deletes a entity.\n * @param item The entity to delete.\n * @param index The index of the entity within the data collection.\n */\n RelationBase.prototype.deleting = function (item, index) {\n this.deleteItem(item, index);\n this.save(undefined);\n };\n /**\n * Method to set an entity in edit mode.\n * @param item The entity that gets the edit mode.\n */\n RelationBase.prototype.edit = function (item) {\n if (this.current && this.current.entityAspect.hasValidationErrors) {\n // Stop detail subdetail \"navigate\" when errors issue #1761\n return;\n }\n this.current = this.current !== item ? item : null;\n };\n /**\n * Method to retrieve the requested entities from the backend api.\n * @returns An Observable object that retrieves the requested entities.\n */\n RelationBase.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n if (this.master == null) {\n // Soms heb je dynamische parameter waarden nodig van de master.\n // Daarom stellen we de master nu verplicht\n return [2 /*return*/, null];\n }\n return [2 /*return*/, _super.prototype.refresh.call(this)];\n });\n });\n };\n /**\n * Cancels modifications not yet committed.\n */\n RelationBase.prototype.cancel = function () {\n var entity = this.current;\n if (this.editMode && !entity.entityAspect.entityState.isDetached()) {\n entity.entityAspect.rejectChanges();\n }\n this.current = null;\n };\n /**\n * This method is called when save button of the DetailComponent is clicked.\n * Override this method when you are displaying not from the plannings domain.\n * @param {Event} event The click event.\n * @memberOf RelationComponent\n */\n RelationBase.prototype.formSave = function (event) {\n // Override when needed.\n };\n /**\n * This method is called when delete button of the DetailComponent is clicked.\n * Override this method when you are displaying not from the plannings domain.\n * @param {Event} event The click event.\n * @memberOf RelationComponent\n */\n RelationBase.prototype.formDelete = function (event) {\n // Override when needed.\n };\n /**\n * This method is called when cancel button of the DetailComponent is clicked.\n * Override this method when you are displaying not from the plannings domain.\n * @param {Event} event The click event.\n * @memberOf RelationComponent\n */\n RelationBase.prototype.formCancel = function (event) {\n // Override when needed.\n };\n /**\n * Commits modifications in the entity model.\n * @param event The HTML event argument.\n */\n RelationBase.prototype.save = function (event) {\n if (!this.current) {\n return;\n }\n if (this.subscriptionToAdded) {\n this.breezeService.entityManager.entityChanged.unsubscribe(this.subscriptionToAdded);\n this.subscriptionToAdded = undefined;\n }\n if (this.foreignKeyValue != null) {\n var response = {\n entities: [],\n keyMappings: null,\n XHR: null\n };\n response.entities.push(this.current);\n this.current = null;\n this.refresh();\n this.itemSaved.emit(response);\n return;\n }\n if (!this.breezeService.hasChanges()) {\n this.current = null;\n this.refresh();\n return;\n }\n _super.prototype.save.call(this, event);\n };\n /**\n * Is called when key arrow up or down is used.\n * The main list selects the next item, up or down, in response.\n * The relation list does nothing.\n * @protected\n * @param {number} keyCode Key code of the key event.\n */\n RelationBase.prototype.onKeyUpOrKeyDown = function (keyCode) {\n // Does nothing, because\n // We have no knowledge which list is in focus.\n };\n /**\n * Method to initialize the data set for the first time.\n */\n RelationBase.prototype.initItemSet = function () {\n var _this = this;\n var entityConfig = this.configuration.data;\n if (entityConfig == null) {\n return;\n }\n this.sourceName = entityConfig.dataSource;\n this.queryOptions.parameters = Object.assign({}, entityConfig.parameters);\n this.queryOptions.expand = entityConfig.expand;\n this.queryOptions.take = entityConfig.listSize;\n this.fields = Object.create(entityConfig.fields);\n this.relation = entityConfig.entity;\n BreezeService.getDynamicParams(this.queryOptions, this.dynamicParameters);\n this.entityType = this.breezeService.getEntityType(entityConfig.entity);\n if (this.configuration.components && this.configuration.components.length > 0) {\n var components = Object.create(this.configuration.components);\n this.childForm = components[0];\n this.createForm = this.childForm;\n if (this.configuration.components.length > 1) {\n components.splice(0, 1);\n var test = components[0];\n if (test.component === 'FormChildComponent'\n && test.configuration.key.lastIndexOf('-new') === test.configuration.key.length - 4) {\n this.createForm = test;\n components.splice(0, 1);\n }\n components.forEach(function (component) {\n if (component.component.indexOf('RelationComponent') !== -1) {\n _this.subRelations.push(component);\n }\n else if (component.component.indexOf('FormComponent') !== -1) {\n _this.subForms.push(component);\n }\n });\n }\n }\n };\n /**\n * Is called after a new entity is created.\n * The method triggers the entityCreated event.\n * This method is extended with master detail logic.\n * @protected\n * @param {Entity} item The entity that is created.\n * */\n RelationBase.prototype.afterCreated = function (item) {\n this.breezeService.setupMasterDetail(this.masterType, this.foreignKeyValue, item);\n this.setDefaultValues(item);\n _super.prototype.afterCreated.call(this, item);\n };\n /**\n * Sets domain specific default values.\n * @protected\n * @param {Entity} item The item whose values might be pre-set.\n * @memberOf RelationBase\n */\n RelationBase.prototype.setDefaultValues = function (item) {\n };\n return RelationBase;\n}(ListBase));\nexport { RelationBase };\n","/**\n * @file Processor\n * @author Wim Haanstra\n */\nimport * as moment from 'moment';\nvar DetailLevel = /** @class */ (function () {\n /**\n * Convenience constructor\n */\n function DetailLevel(name, title, startOf, rounding, duration, step, formatter) {\n /** The steps it needs to take on a next or previous */\n this.step = 1;\n this._formatter = null;\n this.name = name;\n this.title = title;\n this.startOf = startOf;\n this.duration = duration;\n this.step = step;\n this.rounding = rounding;\n this.barFormatter = formatter;\n }\n Object.defineProperty(DetailLevel.prototype, \"formatter\", {\n get: function () {\n if (this._formatter == null) {\n this._formatter = (new this.barFormatter());\n }\n return this._formatter;\n },\n enumerable: true,\n configurable: true\n });\n DetailLevel.prototype.startForDate = function (date) {\n return moment(date).startOf(this.startOf).startOf(this.rounding);\n };\n DetailLevel.prototype.endForDate = function (date) {\n return moment(date).endOf(this.startOf).endOf(this.rounding);\n };\n return DetailLevel;\n}());\nexport { DetailLevel };\n","/**\n * @file Mo-Mentos, range support for momentjs\n * @author Wim Haanstra\n */\nimport * as moment from 'moment';\nvar Momentos = /** @class */ (function () {\n /**\n * Creates an instance of Momentos.\n * @param {moment.Moment} start The start of the range\n * @param {moment.Moment} end The end of the range\n * @param {number} [stepSize=1] The stepsize the loop should take\n * @param {moment.unitOfTime.DurationAs} [span='hour'] Step format\n * @param {moment.unitOfTime.StartOf} [endSpan='hour'] Step rounding\n * @param {boolean} [includeEdges=false] Include edges in the loop\n */\n function Momentos(start, end, stepSize, span, endSpan, includeEdges) {\n if (stepSize === void 0) { stepSize = 1; }\n if (span === void 0) { span = 'hour'; }\n if (endSpan === void 0) { endSpan = 'hour'; }\n if (includeEdges === void 0) { includeEdges = false; }\n this.start = start;\n this.end = end;\n this.stepSize = stepSize;\n this.span = span;\n this.endSpan = endSpan;\n this.includeEdges = includeEdges;\n this._cursor = moment(this.start);\n }\n Object.defineProperty(Momentos.prototype, \"length\", {\n get: function () {\n var i = 0;\n var iteratorResult = this.next();\n while (!iteratorResult.done) {\n i++;\n iteratorResult = this.next();\n }\n return i;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Checks if a range intersects with the current range\n *\n * @param {Momentos} range The 'other' range to check\n * @param {boolean} [includeEdges=true] Should edges of the range be included\n * @returns {boolean} Yes or no\n */\n Momentos.prototype.intersectsWith = function (range, includeEdges) {\n if (includeEdges === void 0) { includeEdges = true; }\n if (includeEdges) {\n return this.start < range.end && range.start < this.end;\n }\n else {\n return this.start < range.end && range.start < this.end;\n }\n };\n /**\n * Go to the next step in the iteration\n * @returns {IteratorResult} An Iterator result\n */\n Momentos.prototype.next = function () {\n if ((!this.includeEdges && this._cursor.isBefore(this.end, this.endSpan)) ||\n (this.includeEdges && this._cursor.isSameOrBefore(this.end, this.endSpan))) {\n var result = {\n done: false,\n value: moment(this._cursor)\n };\n this._cursor.add(this.stepSize, this.span);\n return result;\n }\n else {\n return {\n done: true,\n value: null\n };\n }\n };\n /**\n * The iterator\n *\n * @returns {IterableIterator} The iterator\n */\n Momentos.prototype[Symbol.iterator] = function () {\n return this;\n };\n return Momentos;\n}());\nexport { Momentos };\n","var Timeslot = /** @class */ (function () {\n function Timeslot() {\n /**\n * Availabilities within this timeslot\n */\n this.gridAvailabilities = [];\n /**\n * Attendants within this timeslot\n */\n this.gridAttendants = [];\n /**\n * Assignments within this timeslot\n */\n this.gridAssignments = [];\n /**\n * Appointments within this timeslot\n */\n this.gridAppointments = [];\n /**\n * Absences within this timeslot\n */\n this.gridAbsences = [];\n /** Work patterns within this timeslot\n */\n this.gridWorkPatterns = [];\n }\n Object.defineProperty(Timeslot.prototype, \"allObjects\", {\n /**\n * All objects within this timeslot.\n *\n * @readonly\n * @type {any[]} all objects concattenated\n */\n get: function () {\n return this.gridAssignments\n .concat(this.gridAvailabilities)\n .concat(this.gridAppointments)\n .concat(this.gridAbsences)\n .concat(this.gridWorkPatterns);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Clears the timeslot from all the objects\n */\n Timeslot.prototype.clear = function () {\n // this.gridAttendants.splice(0, this.gridAttendants.length);\n // this.gridAvailabilities.splice(0, this.gridAvailabilities.length);\n // this.gridAssignments.splice(0, this.gridAssignments.length);\n // this.gridAppointments.splice(0, this.gridAppointments.length);\n // this.gridAbsences.splice(0, this.gridAbsences.length);\n // this.gridWorkPatterns.splice(0, this.gridWorkPatterns.length);\n this.gridAttendants.length = 0;\n this.gridAvailabilities.length = 0;\n this.gridAssignments.length = 0;\n this.gridAppointments.length = 0;\n this.gridAbsences.length = 0;\n this.gridWorkPatterns.length = 0;\n };\n return Timeslot;\n}());\nexport { Timeslot };\n","/**\n * @file KeyedCollection\n * @author Wim Haanstra\n * A generic dictionary object, that kan be used for KV's\n */\nvar KeyedCollection = /** @class */ (function () {\n function KeyedCollection() {\n this._items = {};\n this._count = 0;\n }\n KeyedCollection.prototype.ContainsKey = function (key) {\n return this._items.hasOwnProperty(key);\n };\n KeyedCollection.prototype.Count = function () {\n return this._count;\n };\n KeyedCollection.prototype.Add = function (key, value) {\n var hasProperty = this.ContainsKey(key);\n this._items[key] = value;\n if (!hasProperty) {\n this._count += 1;\n }\n return value;\n };\n KeyedCollection.prototype.Clear = function () {\n this._items = {};\n this._count = 0;\n };\n KeyedCollection.prototype.Remove = function (key) {\n if (this.ContainsKey(key)) {\n var value = this._items[key];\n delete this._items[key];\n this._count -= 1;\n return value;\n }\n else {\n return null;\n }\n };\n KeyedCollection.prototype.Item = function (key) {\n return this._items[key];\n };\n Object.defineProperty(KeyedCollection.prototype, \"Keys\", {\n get: function () {\n var _this = this;\n var result = [];\n Object.keys(this._items).forEach(function (key) {\n if (_this._items.hasOwnProperty(key)) {\n result.push(key);\n }\n });\n return result;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(KeyedCollection.prototype, \"Values\", {\n get: function () {\n var _this = this;\n var result = [];\n Object.keys(this._items).forEach(function (key) {\n if (_this._items.hasOwnProperty(key)) {\n result.push(_this._items[key]);\n }\n });\n return result;\n },\n enumerable: true,\n configurable: true\n });\n return KeyedCollection;\n}());\nexport { KeyedCollection };\n","/**\n * @file Set of color functions\n * @author Heino Lenting\n */\nvar ColorTools = /** @class */ (function () {\n /**\n * Creates an instance of ColorTools.\n */\n function ColorTools() {\n /**\n * The color is used instead of white\n */\n this._defaultColor = '#C0C0C0'; // silver\n }\n Object.defineProperty(ColorTools.prototype, \"defaultColor\", {\n /**\n * Gets the default display color\n * @readonly\n * @type {string}\n */\n get: function () {\n return this._defaultColor;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a darker or lighter variant of the color, see: Based on https://www.sitepoint.com/javascript-generate-lighter-darker-color/\n * @param color The color\n * @param luminance The luminance (range: -1 and 1)\n * @returns The calculated color\n */\n ColorTools.prototype.colorLuminance = function (color, luminance) {\n if (luminance === void 0) { luminance = 0; }\n // Get rid of #\n if (color.length > 6) {\n color = color.substr(1);\n }\n // Convert to decimal and change luminosity\n var colorValueNew = '#', c, i;\n for (i = 0; i < 3; i++) {\n c = parseInt(color.substr(i * 2, 2), 16);\n c = Math.round(Math.min(Math.max(0, c + (c * luminance)), 255)).toString(16);\n colorValueNew += ('00' + c).substr(c.length);\n }\n return colorValueNew;\n };\n /**\n * Returns a darker variant of the color\n * @param color The color\n * @param percentage The percentage\n * @returns The darker color\n */\n ColorTools.prototype.darken = function (color, percentage) {\n if (percentage === void 0) { percentage = 20; }\n return this.colorLuminance(color, (percentage / 100) * -1);\n };\n /**\n * Returns a lighter variant of the color\n * @param color The color\n * @param percentage The percentage\n * @returns The lighter color\n */\n ColorTools.prototype.lighten = function (color, percentage) {\n if (percentage === void 0) { percentage = 20; }\n return this.colorLuminance(color, (percentage / 100));\n };\n /**\n * Returns the contrasting color (darken or ligten) w.r.t. the color\n * @param color The color for which the highest contrast is returned\n * @param percentage The percentage\n * @returns The highest contrasting color with the parameter\n */\n ColorTools.prototype.maxContrast = function (color, percentage) {\n if (percentage === void 0) { percentage = 20; }\n return this.isDarkenMaxContrast(color) ? this.darken(color, percentage) : this.lighten(color, percentage);\n };\n /**\n * Returns true if the highest contrasting color is darker\n * @param color The color\n * @returns True if highest contrasting color is darker\n */\n ColorTools.prototype.isDarkenMaxContrast = function (color) {\n if (!color) {\n return true;\n }\n var r = parseInt(color.substr(1, 2), 16);\n var g = parseInt(color.substr(3, 2), 16);\n var b = parseInt(color.substr(5, 2), 16);\n return (299 * r + 587 * g + 114 * b > 127000);\n };\n /**\n * Returns the grayscale variant of given color.\n * @param color The color\n * @returns The grayed variant of the color\n */\n ColorTools.prototype.grayscale = function (color) {\n var r = parseInt(color.substr(1, 2), 16);\n var g = parseInt(color.substr(3, 2), 16);\n var b = parseInt(color.substr(5, 2), 16);\n var part = Math.round(r * 0.3 + g * .59 + b * .11).toString(16);\n var grayscale = '#' + part + part + part;\n return grayscale;\n };\n /**\n * Returns the highest contrasting color (black or white)\n * @param color The color for which the highest contrast is returned\n * @returns The highest contrasting color with the parameter\n */\n ColorTools.prototype.contrast = function (color) {\n return this.isDarkenMaxContrast(color) ? '#222' : '#ddd';\n };\n /**\n * Returns the same color, or default color if it is white\n * @param {string} color The actual color\n * @returns {string} The color to be displayed\n */\n ColorTools.prototype.getDisplayColor = function (color) {\n return color === '#FFFFFF' ? this._defaultColor : color;\n };\n return ColorTools;\n}());\nexport { ColorTools };\n","/**\n * @file PlanItemWrapper class is a wrapper of PlanItem, an entity from the backend api.\n * @author Tom Verschoore de la Houssaije.\n */\nimport * as moment from 'moment';\nimport { ColorTools } from '../../base/helpers/color-tools';\nimport { durationToText } from '../../core/helpers/durationToText';\n/**\n * PlanItemWrapper class is a general wrapper for the PlanItem entity from the backend api.\n * Use the PlanItemWrapper class to derive specific wrappers.\n */\nvar PlanItemWrapper = /** @class */ (function () {\n /**\n * Constructs a PlanItemWrapper\n * @param item The PlanItem being wrapped.\n */\n function PlanItemWrapper(item) {\n this.item = item;\n /** The name of the name property. */\n this.nameProperty = 'Name';\n this.colorProp = 'Color';\n /**\n * Field to hold the entity represented by the PlanItem.\n * Use this field instead of this.item.Item.\n * @protected\n * @type {Entity}\n */\n this.entity = null;\n /** Set of color tools */\n this.colorTools = new ColorTools();\n /** Means if element starts (in time) before start of timeslot (= visual for user). */\n this.startsEarlier = false;\n /** Means if element ends (in time) after start of timeslot (= visual for user). */\n this.endsLater = false;\n /** Gets, sets the start hour within a timeslot. */\n this.startHour = 0;\n /** Gets, sets the start minute within a timeslot. */\n this.startMinute = 0;\n /** Gets, sets the end hour within a timeslot. */\n this.endHour = 0;\n /** Gets, sets the end minute within a timeslot. */\n this.endMinute = 0;\n this.timeSpan = 0;\n this.zIndex = 0;\n this.covers = 0;\n this.weight = 0;\n this.initialize();\n }\n Object.defineProperty(PlanItemWrapper.prototype, \"source\", {\n /**\n * Gets the source of the plan item.\n * The source is a mapping of the item purpose.\n * @readonly\n * @type {ItemSource}\n * @memberOf PlanItemWrapper\n */\n get: function () {\n if (this.item == null || this.item.Item == null || this.item.Item['Purpose'] == null) {\n return 'other';\n }\n switch (this.item.Item['Purpose']) {\n case 'GENERATED':\n case 'FORECAST':\n return 'forecast';\n case 'MINIMUM':\n return 'template';\n case 'OTHER':\n return 'other';\n default:\n return 'other';\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"duration\", {\n /** Gets the duration from the PlanItem. */\n get: function () {\n var _duration = (this.isAbcense) ? moment.duration(this.MyDurationAtRealTime()) : moment.duration(this.item.Effort);\n return durationToText(_duration);\n // return moment.duration(this.item.Duration).humanize();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"color\", {\n /** Gets the color form the PlanItem. */\n get: function () {\n // Return default color if entity does not have a color property\n if (!this.entity[this.colorProp] || this.entity[this.colorProp].length === 0) {\n return this.colorTools.defaultColor;\n }\n // Grap the color of the entity (replace white by default color)\n var colorValue = this.colorTools.getDisplayColor(this.entity[this.colorProp]);\n // If Entity is closed we want to see a gray scale of the color\n if (this.entity['Closed'] !== undefined && this.entity['Closed'] === true) {\n // Fix: Gesloten aanwezigheid verdwijnt soms schijnbaar uit agenda en planbord #2032\n // Was eerst 50% lichter daarmee werden sommige kleuren bijna wit en vielen weg in de achtergrond kleur.\n // Nu naar 20% dan zijn ze op mij PC nog net zichtbaar als heel licht grijs.\n // Oorspronkelijke kleur object rgb(250, 208, 159) wordt dan rgb(245, 245, 245)\n colorValue = this.colorTools.grayscale(this.colorTools.lighten(colorValue, 20));\n }\n return colorValue;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"colorDarker\", {\n /** Gets the darker variant of the color */\n get: function () {\n return this.colorTools.darken(this.color, 20);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"contrast\", {\n /** Gets the darker or lighten variant of the color */\n get: function () {\n return this.colorTools.contrast(this.color);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"isDraft\", {\n /** Gets the flag indicating wether the PlanItem is a draft or not. */\n get: function () {\n return this.entity['Draft'];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"isFinished\", {\n /** Gets the flag indicating wether the PlanItem is finished (closed/completed?). */\n get: function () {\n // TODO: Implement this.\n return false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"start\", {\n get: function () {\n return moment(this.item.Start);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"finish\", {\n get: function () {\n return moment(this.item.Finish);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"isAbcense\", {\n get: function () {\n return false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"name\", {\n /** Gets the name of the PlanItem. */\n get: function () {\n return this.entity[this.nameProperty];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"weightClass\", {\n get: function () {\n switch (this.weight) {\n case -1:\n return 'sym-weight-low';\n case 1:\n return 'sym-weight-high';\n default:\n return 'sym-weight-normal';\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanItemWrapper.prototype, \"hasViolations\", {\n get: function () {\n if (this.item == null) {\n return false;\n }\n return this.item.Weight > 0;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Initialize wrapper properties\n * @protected\n * @memberOf PlanItemWrapper\n */\n PlanItemWrapper.prototype.initialize = function () {\n this.entity = this.item.Item;\n this.startHour = moment(this.item.Start).hours();\n this.startMinute = moment(this.item.Start).minutes();\n this.endHour = moment(this.item.Finish).hours();\n this.endMinute = moment(this.item.Finish).minutes();\n if (this.item.Item.Weight) {\n this.weight = this.item.Item.Weight;\n }\n else {\n this.weight = 0;\n }\n this.timeSpan = moment(this.item.Finish).diff(moment(this.item.Start));\n };\n /**\n * Submits this instance to the appropriate collection of the appropriate timeslots.\n * @param timeslots Collection of timeslots that overlap this PlanItemWrapper.\n */\n PlanItemWrapper.prototype.submitToTimeslots = function (timeslots, modificationFunction, isAgenda) {\n var _this = this;\n timeslots.forEach(function (timeslot) {\n var collection = _this.getCollectionOf(timeslot);\n if (collection.indexOf(_this) === -1) {\n collection.push(modificationFunction(_this.forTimeslot(timeslot), isAgenda));\n }\n });\n };\n /**\n * Creates a appropriate copy of this instance to fit the given timeslot.\n * @param timeSlot The timeslot to fit.\n */\n PlanItemWrapper.prototype.forTimeslot = function (timeslot) {\n var result = this.makeCopy();\n result.startsEarlier = result.start.isBefore(timeslot.startDate);\n result.endsLater = result.finish.isAfter(timeslot.endDate); // timeslot.startDate.isBefore(result.finish, 'days');\n // console.log('result start: ' + result.start.format('DD:MM HH:mm') + ' timeslot start:' + timeslot.startDate.format('DD:MM HH:mm'));\n // console.log('result finish: ' + result.finish.format('DD:MM HH:mm') + ' timeslot finish:' + timeslot.endDate.format('DD:MM HH:mm'));\n // console.log('is later via isSame: ' + timeslot.endDate.isSame(result.finish, 'minutes'));\n // console.log('is later via isAfter: ' + result.finish.isAfter(timeslot.endDate, 'minutes'));\n // console.log('is next day: ' + timeslot.startDate.isBefore(result.finish, 'days'));\n // if (result.endsLater) {\n // console.log('ends later: ' + result.finish.format('DD:MM HH:mm') + ' ' + timeslot.endDate.format('DD:MM HH:mm'));\n // } else {\n // console.log('ends today: ' + result.finish.format('DD:MM HH:mm') + ' ' + timeslot.endDate.format('DD:MM HH:mm'));\n // }\n if (result.startsEarlier) {\n result.startHour = timeslot.startDate.hours();\n result.startMinute = timeslot.startDate.minutes();\n }\n if (result.endsLater) {\n result.endHour = timeslot.endDate.hours();\n result.endMinute = timeslot.endDate.minutes();\n // Fix for #1889\n if (result.endMinute === 59) {\n result.endMinute = 60;\n }\n }\n if ((result.endsLater || result.finish.isSame(timeslot.endDate) || timeslot.startDate.isBefore(result.finish, 'days')) && result.endHour === 0) {\n result.endHour = 24;\n }\n // Example: 01:04 ??:?? (result start) and 02:04 00:00 (result finish) and 02:04 00:00 (timeslot finish) is today (because off 00:00 of the next day), see #2365\n if (timeslot.endDate.hours() === 0 && timeslot.endDate.minutes() === 0 && result.finish.hours() === 0 && result.finish.minutes() === 0 && timeslot.startDate.diff(result.finish, 'days') === -1) {\n result.endsLater = false;\n }\n return result;\n };\n /**\n * Gets the appropriate collection of the given timeslot for this specific PlanItemWrapper class.\n * Override this method when deriving a specific class.\n */\n PlanItemWrapper.prototype.getCollectionOf = function (timeSlot) {\n throw new Error('Method getCollectionOf is not implemented. Use sub class of PlanItemWrapper instead.');\n };\n /**\n * Create a copy of this instance.\n * Override this method when deriving a specific class.\n */\n PlanItemWrapper.prototype.makeCopy = function () {\n throw new Error('Method makeCopy is not implemented. Use sub class of PlanItemWrapper instead.');\n };\n /**\n * Calculates the duration of the plan item according to its start and finish.\n * @private\n * @returns The duration as ISO string.\n */\n PlanItemWrapper.prototype.MyDurationAtRealTime = function () {\n var result = moment.duration(this.finish.diff(this.start));\n return result.toISOString();\n };\n Object.defineProperty(PlanItemWrapper.prototype, \"effortAsText\", {\n /**\n * Gets the effort\n */\n get: function () {\n if (!this.item || !this.item.Item || !this.item.Item['Effort']) {\n return undefined;\n }\n return durationToText(moment.duration(this.item.Item['Effort']));\n },\n enumerable: true,\n configurable: true\n });\n return PlanItemWrapper;\n}());\nexport { PlanItemWrapper };\n","/**\n * @file AgendaAssignment class is a wrapper of PlanItem from the backend api towards the Agenda.\n * @author Wim Haanstra\n */\nimport * as tslib_1 from \"tslib\";\nimport { PlanItemWrapper } from './plan-item-wrapper';\n/** AgendaAssignment class is a wrapper of the PlanItem entity containing an Assignment entity. */\nvar AgendaAssignment = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaAssignment, _super);\n /**\n * Constructs a AgendaAssignment.\n * @param item The PlanItem being wrapped.\n */\n function AgendaAssignment(item) {\n return _super.call(this, item) || this;\n }\n Object.defineProperty(AgendaAssignment.prototype, \"projectName\", {\n /** Gets the project name of the wrapped PlanItem. */\n get: function () {\n var navProperty = this.item;\n AgendaAssignment.pathToProject.find(function (segment) {\n navProperty = navProperty[segment];\n return (navProperty === undefined || navProperty === null); // Stop when dead end.\n });\n if (navProperty) {\n return navProperty[this.nameProperty];\n }\n return '';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AgendaAssignment.prototype, \"customerName\", {\n /** Gets the customer name of the wrapped PlanItem. */\n get: function () {\n var navProperty = this.item;\n AgendaAssignment.pathToCustomer.find(function (segment) {\n navProperty = navProperty[segment];\n return (navProperty === undefined || navProperty === null); // Stop when dead end.\n });\n if (navProperty) {\n return navProperty[this.nameProperty];\n }\n return '';\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the appropriate collection of the given timeslot for this AgendaAssignment class.\n */\n AgendaAssignment.prototype.getCollectionOf = function (timeSlot) {\n var flag = this.item.Item[AgendaAssignment.appointmentProperty];\n if (flag) {\n return timeSlot.gridAppointments;\n }\n return timeSlot.gridAssignments;\n };\n /**\n * Create a copy of this instance.\n */\n AgendaAssignment.prototype.makeCopy = function () {\n var copy = new AgendaAssignment(this.item);\n copy.covers = this.covers;\n copy.zIndex = this.zIndex;\n return copy;\n };\n /** The path to navigate towards the project of an Assignment. */\n AgendaAssignment.pathToProject = [\n 'Item',\n 'Deployment',\n 'Demand',\n 'Task',\n 'Project'\n ];\n /** The name of the appointment property. */\n AgendaAssignment.appointmentProperty = 'Appointment';\n /** The path to navigate towards the customer of an Assignment. */\n AgendaAssignment.pathToCustomer = [\n 'Item',\n 'Customer'\n ];\n return AgendaAssignment;\n}(PlanItemWrapper));\nexport { AgendaAssignment };\n","/**\n * @file AgendaAppointment class is a wrapper of PlanItem from the backend api towards the Agenda.\n * @author Wim Haanstra\n */\nimport * as tslib_1 from \"tslib\";\nimport { PlanItemWrapper } from '../helpers/plan-item-wrapper';\nimport * as moment from 'moment';\n/** AgendaAppointment class is a wrapper of the PlanItem entity containing an Appointment entity. */\nvar AgendaAppointment = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaAppointment, _super);\n /**\n * Constructs a AgendaAppointment.\n * @param item The PlanItem being wrapped.\n */\n function AgendaAppointment(item) {\n return _super.call(this, item) || this;\n }\n Object.defineProperty(AgendaAppointment.prototype, \"projectName\", {\n /**\n * Gets a dummy project name.\n * @deprecated\n */\n get: function () {\n return 'Test project name';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AgendaAppointment.prototype, \"isAbcense\", {\n get: function () {\n // Eerder hielde we rekening met Appointments die geen Absence als reden hadden.\n // Van deze Symagic Server mogelijkheid wordt geen gebruik gemaakt.\n // Appointments behoren nu functioneel altijd een Absence als reden te hebben.\n return true;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the hours of leave in human readable format\n */\n AgendaAppointment.prototype.hoursOfLeave = function () {\n if (this.item && this.item.Item && this.item.Item['HoursOfLeave']) {\n return moment.duration(this.item.Item['HoursOfLeave']);\n }\n else {\n return moment.duration(0);\n }\n };\n Object.defineProperty(AgendaAppointment.prototype, \"customerName\", {\n /**\n * Gets a dummy customer name.\n * @deprecated\n */\n get: function () {\n return 'Test customer name';\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the appropriate collection of the given timeslot for this AgendaAppointment class.\n */\n AgendaAppointment.prototype.getCollectionOf = function (timeSlot) {\n // Eerder hielde we rekening met Appointments die geen Absence als reden hadden.\n // Van deze Symagic Server mogelijkheid wordt geen gebruik gemaakt.\n // Appointments behoren nu functioneel altijd een Absence als reden te hebben.\n return timeSlot.gridAbsences;\n };\n /**\n * Create a copy of this instance.\n */\n AgendaAppointment.prototype.makeCopy = function () {\n var copy = new AgendaAppointment(this.item);\n copy.covers = this.covers;\n copy.zIndex = this.zIndex;\n return copy;\n };\n /** The name of the concerns key property. */\n AgendaAppointment.concernsProperty = 'Concerns_Oid';\n return AgendaAppointment;\n}(PlanItemWrapper));\nexport { AgendaAppointment };\n","/**\n * @file AgendaAssignment class is a wrapper of PlanItem from the backend api towards the Agenda.\n * @author Wim Haanstra\n */\nimport * as tslib_1 from \"tslib\";\nimport { PlanItemWrapper } from './plan-item-wrapper';\n/** AgendaAvailability class is a wrapper of the PlanItem entity containing an Availability entity. */\nvar AgendaAvailability = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaAvailability, _super);\n /**\n * Constructs a AgendaAvailability.\n * @param item The PlanItem being wrapped.\n */\n function AgendaAvailability(item) {\n return _super.call(this, item) || this;\n }\n /**\n * Gets the appropriate collection of the given timeslot for this AgendaAvailability class.\n */\n AgendaAvailability.prototype.getCollectionOf = function (timeSlot) {\n return timeSlot.gridAvailabilities;\n };\n /**\n * Create a copy of this instance.\n */\n AgendaAvailability.prototype.makeCopy = function () {\n var copy = new AgendaAvailability(this.item);\n copy.covers = this.covers;\n copy.zIndex = this.zIndex;\n return copy;\n };\n return AgendaAvailability;\n}(PlanItemWrapper));\nexport { AgendaAvailability };\n","/**\n * @file WorkPattern class is a wrapper of PlanItem from the backend api towards the Agenda.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { PlanItemWrapper } from './plan-item-wrapper';\n/** AgendaWorkPattern class is a wrapper of the PlanItem entity containing a WorkPattern entity. */\nvar AgendaWorkPattern = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaWorkPattern, _super);\n /**\n * Constructs an AgendaWorkPattern.\n * @param item The PlanItem being wrapped.\n */\n function AgendaWorkPattern(item) {\n return _super.call(this, item) || this;\n }\n /**\n * Gets the appropriate collection of the given timeslot for this AgendaWorkPattern class.\n */\n AgendaWorkPattern.prototype.getCollectionOf = function (timeSlot) {\n return timeSlot.gridWorkPatterns;\n };\n /**\n * Create a copy of this instance.\n */\n AgendaWorkPattern.prototype.makeCopy = function () {\n var copy = new AgendaWorkPattern(this.item);\n copy.covers = this.covers;\n copy.zIndex = this.zIndex;\n return copy;\n };\n return AgendaWorkPattern;\n}(PlanItemWrapper));\nexport { AgendaWorkPattern };\n","/**\n * @file AgendaAttendant class is a wrapper of PlanItem from the backend api towards the Agenda.\n * @author Wim Haanstra\n */\nimport * as tslib_1 from \"tslib\";\nimport { PlanItemWrapper } from './plan-item-wrapper';\nimport * as moment from 'moment';\n/** AgendaAttendant class is a wrapper of the PlanItem entity containing an Availability entity. */\nvar AgendaAttendant = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaAttendant, _super);\n /**\n * Constructs a AgendaAvailability.\n * @param item The PlanItem being wrapped.\n */\n function AgendaAttendant(item) {\n return _super.call(this, item) || this;\n }\n /**\n * Initialize wrapper properties\n * @protected\n * @memberOf PlanItemWrapper\n */\n AgendaAttendant.prototype.initialize = function () {\n this.entity = this.item.Item;\n var start = this.item.Start;\n var finish = this.item.Finish;\n if (this.entity && this.entity.entityType.shortName === 'Service') {\n start = this.entity['StartBase'];\n finish = this.entity['FinishBase'];\n }\n this.startHour = moment(start).hours();\n this.startMinute = moment(start).minutes();\n this.endHour = moment(finish).hours();\n this.endMinute = moment(finish).minutes();\n this.timeSpan = moment(finish).diff(moment(start));\n this.weight = this.item.Item.Weight || 0;\n };\n Object.defineProperty(AgendaAttendant.prototype, \"start\", {\n get: function () {\n if (this.entity && this.entity.entityType.shortName === 'Service') {\n return moment(this.entity['StartBase']);\n }\n return moment(this.item.Start);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AgendaAttendant.prototype, \"finish\", {\n get: function () {\n if (this.entity && this.entity.entityType.shortName === 'Service') {\n return moment(this.entity['FinishBase']);\n }\n return moment(this.item.Finish);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the appropriate collection of the given timeslot for this AgendaAvailability class.\n */\n AgendaAttendant.prototype.getCollectionOf = function (timeSlot) {\n return timeSlot.gridAttendants;\n };\n /**\n * Create a copy of this instance.\n */\n AgendaAttendant.prototype.makeCopy = function () {\n var copy = new AgendaAttendant(this.item);\n copy.covers = this.covers;\n copy.zIndex = this.zIndex;\n return copy;\n };\n return AgendaAttendant;\n}(PlanItemWrapper));\nexport { AgendaAttendant };\n","/**\n * @file Processor, the base processor for the grids to use\n * @author Wim Haanstra\n */\nimport * as moment from 'moment';\nimport { Timeslot } from '../helpers/timeslot';\nimport { Momentos } from '../../base/helpers/momentos';\nimport { KeyedCollection } from '../../base/helpers/remove-keyed-collection';\nimport { AgendaAssignment } from '../helpers/agenda-assignment';\nimport { AgendaAppointment } from '../helpers/agenda-appointment';\nimport { AgendaAvailability } from '../helpers/agenda-availability';\nimport { AgendaWorkPattern } from '../helpers/agenda-workpattern';\nimport { EntityState } from 'breeze-client';\nimport { AgendaAttendant } from '../helpers/agenda-attendant';\n/**\n * Base class for the processors needed for the grid\n * This has a collection of functions that can be overriden to fill the grid\n * in the right way.\n *\n * @export\n * @class Processor\n */\nvar Processor = /** @class */ (function () {\n function Processor() {\n /** Aantal stappen die gebruikt worden om door de tijdperiode te lopen */\n this.spanStep = 1;\n /** Stapformaat die gebruikt wordt om door de tijdperiode te loopen */\n this.span = 'hours';\n /** Formaat wat gebruikt wordt voor afronding */\n this.endSpan = 'hours';\n /** Collectie van timeslots gekoppeld aan een bepaalde key. */\n this.keyedTimeslots = new KeyedCollection();\n /** The start date used in the query */\n this.queryStartDate = moment();\n /** The finish date used in the query */\n this.queryFinishDate = moment();\n }\n /**\n * Method to determing the Z-index for the supplied items, based on length\n * and start time of the item.\n *\n * @static\n * @param {PlanItemWrapper[]} items Items that should processed\n * @returns {PlanItemWrapper[]} The items with new Z-indexes and orders\n */\n Processor.orderItems = function (items) {\n items = items.sort(function (lhs, rhs) {\n var diff = lhs.timeSpan - rhs.timeSpan;\n if (diff === 0) { // Same length!\n return lhs.start.isSameOrBefore(rhs.start) ? -1 : 1;\n }\n else if (diff > 0) {\n return -1;\n }\n else {\n return 1;\n }\n });\n items.forEach(function (item) {\n item.zIndex = 0;\n });\n var processed = [];\n items.forEach(function (item) {\n // Availabilities worden uitgesloten, deze mogen de Z-index niet beinvloeden.\n if (!(item instanceof AgendaAvailability || item instanceof AgendaWorkPattern)) {\n var itemRange_1 = new Momentos(item.start, item.finish);\n var overlaps = processed.filter(function (filterItem) {\n return itemRange_1.intersectsWith(new Momentos(filterItem.start, filterItem.finish));\n });\n overlaps.sort(function (lhs, rhs) { return lhs.zIndex - rhs.zIndex; });\n if (overlaps.length > 0) {\n var lastItem = overlaps[overlaps.length - 1];\n item.zIndex = lastItem.zIndex + 1;\n }\n var covering = processed.filter(function (filterItem) {\n return item.start.isSame(filterItem.start) && item.finish.isSame(filterItem.finish);\n });\n item.covers = covering.length;\n processed.push(item);\n }\n });\n items = items.sort(function (lhs, rhs) { return lhs.zIndex - rhs.zIndex; });\n return items;\n };\n /**\n * Add a timeslot to the processor, this also checks if a timeslot already exists.\n * When a timeslot already exists, the existing one is returned\n *\n * @param {string} key Key for the collection the timeslot should be inserted in\n * @param {moment.Moment} startDate The start date/time for the timeslot\n * @param {moment.Moment} endDate The end date/time for the timeslot\n * @returns {Timeslot} A generated timeslot, or an existing timeslot when one already exists.\n */\n Processor.prototype.addTimeslot = function (key, startDate, endDate) {\n var timeslots = this.getTimeslots(key);\n // At this moment I think there is never a previous added timeslot with\n // the same start and end. Each add timeslot is unique even over the resources\n // in the planboard. Because of that the following lines are disabled.\n // const existingTimeslots = timeslots.filter(timeslot => {\n // return (timeslot.startDate.isSame(startDate) && timeslot.endDate.isSame(endDate));\n // });\n // if (existingTimeslots.length === 0) {\n var timeslot = new Timeslot();\n timeslot.startDate = startDate.clone();\n timeslot.endDate = endDate.clone();\n timeslots.push(timeslot);\n this.keyedTimeslots.Add(key, timeslots);\n return timeslot;\n // } else {\n // console.log('timeslot found!');\n // return existingTimeslots[0];\n // }\n };\n /**\n * Clear all timeslots from the processor, except plugin timeslots.\n */\n Processor.prototype.clearTimeslots = function () {\n var _this = this;\n this.keyedTimeslots.Keys.forEach(function (key) {\n if (key.indexOf(Processor.pluginKey) === 0) {\n return;\n }\n var timeslots = _this.keyedTimeslots.Item(key);\n timeslots.length = 0;\n });\n };\n /**\n * Counting the currently in use time slots\n */\n Processor.prototype.countTimeslotsInUse = function () {\n var count = 0;\n this.keyedTimeslots.Values.forEach(function (timeslots) {\n count = count + timeslots.length;\n });\n return count;\n };\n /**\n * Methode om tijdsloten te vinden die bij bijbehorende start en eindtijden horen\n * Er kunnen meerdere tijdsloten worden gevonden, als een object langer duurt dan\n * de lengte van een tijdslot.\n *\n * De key wordt gebruikt om een tijdslot te vinden die aan een bepaalde key is toegewezen.\n */\n Processor.prototype.findTimeSlots = function (key, startDate, endDate) {\n var timeslots = this.getTimeslots(key);\n var range = new Momentos(startDate, endDate);\n var results = timeslots.filter(function (timeslot) {\n return range.intersectsWith(new Momentos(timeslot.startDate, timeslot.endDate));\n });\n return results;\n };\n /**\n * Refresh de huidige tijdsloten met objecten die nieuw zijn.\n * Hierdoor hoeven tijdsloten niet opnieuw aangemaakt te worden en kan de inhoud\n * worden vervangen\n */\n Processor.prototype.refreshWith = function (key, entities) {\n var _this = this;\n var timeslots = this.getTimeslots(key);\n timeslots.forEach(function (timeslot) {\n timeslot.clear();\n });\n var result = entities\n .filter(function (item) {\n var state = item.entityAspect.entityState;\n if (state === EntityState.Detached || state === EntityState.Deleted) {\n return false;\n }\n return true;\n })\n .map(function (value) {\n var item = value;\n switch (item.ItemClass.toLowerCase()) {\n case 'assignment':\n return new AgendaAssignment(value);\n case 'appointment':\n return new AgendaAppointment(value);\n case 'availability':\n return new AgendaAvailability(value);\n case 'service':\n case 'attendant':\n return new AgendaAttendant(value);\n case 'workpattern':\n return new AgendaWorkPattern(value);\n default:\n throw new Error('Unknown ItemClass ' + item.ItemClass);\n }\n });\n var results = Processor.orderItems(result);\n results.forEach(function (entity) {\n var foundTimeslots = _this.findTimeSlots(key, entity.start, entity.finish);\n entity.submitToTimeslots(foundTimeslots, _this.adjustEntity, (key === 'AGENDA'));\n });\n };\n /**\n * Used for small modifications of the entity\n *\n * @param {*} entity The entity\n * @param {boolean} isAgenda If view is agenda or not (=planboard or plugin)\n * @returns The entity\n */\n Processor.prototype.adjustEntity = function (entity, isAgenda) {\n return entity;\n };\n /**\n * Helper methode die een tijd als string accepteerd, bv '17:21' en deze\n * omzet naar een ander meegeleverd formaat\n */\n Processor.prototype.formatTime = function (time, format) {\n var date = moment(time, 'HH:mm');\n return date.format(format);\n };\n /**\n * Haal tijdsloten op die gekoppeld zijn aan een bepaalde key\n */\n Processor.prototype.getTimeslots = function (key) {\n if (!this.keyedTimeslots.ContainsKey(key)) {\n var timeslots = [];\n this.keyedTimeslots.Add(key, timeslots);\n }\n return this.keyedTimeslots.Item(key);\n };\n /**\n * Creating a grid segments data structure for fast rendering of the grid\n *\n * @param {string} label\n * @param {(Entity | {})} resource\n * @param {DetailLevel} detailLevel\n * @param {moment.Moment} date\n * @param {GridSegment[]} children\n * @param {TimeslotDecorations} timeslotDecorations\n * @returns {GridSegments}\n * @memberof Processor\n */\n Processor.prototype.createGridSegments = function (label, resource, click, children, timeslotDecorations) {\n return {\n meta: {\n label: label,\n resource: resource\n },\n click: click,\n children: children,\n gridDots: timeslotDecorations.getDots(),\n gridSplitters: timeslotDecorations.getSplitters()\n };\n };\n /**\n * Creating a grid segment data structure for fast rendering of the grid\n *\n * @param {string} label The label of the grid segment\n * @param {GridRows[]} children The children of the grid segment\n * @param {GridLabels} gridLabels The grid labels of the grid segment\n * @returns {GridSegment}\n */\n Processor.prototype.createGridSegment = function (label, children, gridLabels) {\n return {\n meta: {\n label: label\n },\n children: children,\n gridLabels: gridLabels\n };\n };\n /**\n * Creating a grid rows data structure for fast rendering of the grid\n *\n * @param {string} label The label of the grid rows\n * @param {moment.Moment} start The start date\n * @param {moment.Moment} finish The finish datae\n * @param {(Entity | {})} resource The related resource\n * @param {HorizonState} click Data for handling of the grid clicks\n * @param {GridColumn[]} children The children of the grid rows\n * @returns {GridRows}\n */\n Processor.prototype.createGridRows = function (label, start, finish, resource, click, children) {\n return {\n meta: {\n label: label,\n start: start,\n finish: finish,\n resource: resource\n },\n click: click,\n children: children\n };\n };\n /**\n * Creating a grid column data structure for fast rendering of the grid\n *\n * @param {string} label The label of the grid column\n * @param {moment.Moment} start The start date\n * @param {moment.Moment} finish The finish daet\n * @param {(Entity | {})} resource The related resource\n * @param {HorizonState} click Data for handling of the grid clicks\n * @param {Timeslot} timeslot The connected timeslot\n * @returns {GridColumn}\n */\n Processor.prototype.createGridColumn = function (label, start, finish, resource, click, timeslot) {\n return {\n meta: {\n label: label,\n start: start,\n finish: finish,\n resource: resource\n },\n click: click,\n gridAvailabilities: timeslot.gridAvailabilities,\n gridAssignments: timeslot.gridAssignments,\n gridAppointments: timeslot.gridAppointments,\n gridAbsences: timeslot.gridAbsences,\n gridAttendants: timeslot.gridAttendants,\n gridWorkPatterns: timeslot.gridWorkPatterns\n };\n };\n /**\n * This finds the last day in the range, to make sure ranges can be displayed correctly\n *\n * @param {moment} strt\n * @param {moment} finish\n * @returns {moment}\n */\n Processor.prototype.lastDayInPeriod = function (strt, finish, visibleDays) {\n var range = new Momentos(moment(strt), moment(finish), 1, 'day', 'day');\n var lastDay = null;\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var date = iteratorResult.value;\n if (visibleDays.indexOf(date.day()) > -1) {\n lastDay = moment(date);\n }\n iteratorResult = range.next();\n }\n return lastDay;\n };\n /** The key of the plugin timeslots */\n Processor.pluginKey = 'plugin';\n return Processor;\n}());\nexport { Processor };\n","// (7, 23)(7, 21)(8, 18)(8, 22)(0, 24)\n// Keeps the data for the label per grid type, level, and hours visible in the grids\nvar timeslotLabels = {\n 'agenda': {\n 'day': {\n '0-1': [\n { position: 'm0', label: '0' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '1' },\n ],\n '1-2': [\n { position: 'm0', label: '1' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '2' },\n ],\n '2-3': [\n { position: 'm0', label: '2' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '3' },\n ],\n '3-4': [\n { position: 'm0', label: '3' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '4' },\n ],\n '4-5': [\n { position: 'm0', label: '4' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '5' },\n ],\n '5-6': [\n { position: 'm0', label: '5' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '6' },\n ],\n '6-7': [\n { position: 'm0', label: '6' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '7' },\n ],\n '7-8': [\n { position: 'm0', label: '7' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '8' },\n ],\n '8-9': [\n { position: 'm0', label: '8' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '9' },\n ],\n '9-10': [\n { position: 'm0', label: '9' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '10' },\n ],\n '10-11': [\n { position: 'm0', label: '10' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '11' },\n ],\n '11-12': [\n { position: 'm0', label: '11' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '12' },\n ],\n '12-13': [\n { position: 'm0', label: '12' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '13' },\n ],\n '13-14': [\n { position: 'm0', label: '13' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '14' },\n ],\n '14-15': [\n { position: 'm0', label: '14' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '15' },\n ],\n '15-16': [\n { position: 'm0', label: '15' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '16' },\n ],\n '16-17': [\n { position: 'm0', label: '16' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '17' },\n ],\n '17-18': [\n { position: 'm0', label: '17' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '18' },\n ],\n '18-19': [\n { position: 'm0', label: '18' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '19' },\n ],\n '19-20': [\n { position: 'm0', label: '19' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '20' },\n ],\n '20-21': [\n { position: 'm0', label: '20' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '21' },\n ],\n '21-22': [\n { position: 'm0', label: '21' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '22' },\n ],\n '22-23': [\n { position: 'm0', label: '22' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '23' },\n ],\n '23-24': [\n { position: 'm0', label: '23' },\n { position: 'm30', label: ':30' },\n { position: 'm60', label: '24' },\n ]\n },\n 'week': {\n '0-24': [\n { position: 'h0', label: '0' },\n { position: 'h1', label: '1' },\n { position: 'h2', label: '2' },\n { position: 'h3', label: '3' },\n { position: 'h4', label: '4' },\n { position: 'h5', label: '5' },\n { position: 'h6', label: '6' },\n { position: 'h7', label: '7' },\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' },\n { position: 'h22', label: '22' },\n { position: 'h23', label: '23' },\n { position: 'h24', label: '24' }\n ],\n '7-21': [\n { position: 'h7', label: '7' },\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' }\n ],\n '8-18': [\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' }\n ],\n '8-22': [\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' },\n { position: 'h22', label: '22' }\n ],\n '7-23': [\n { position: 'h7', label: '7' },\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' },\n { position: 'h22', label: '22' },\n { position: 'h23', label: '23' }\n ]\n },\n 'month': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n },\n 'quarter': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n }\n },\n 'planboard': {\n 'day': {\n '0-24': [\n { position: 'h0', label: '0' },\n { position: 'h1', label: '1' },\n { position: 'h2', label: '2' },\n { position: 'h3', label: '3' },\n { position: 'h4', label: '4' },\n { position: 'h5', label: '5' },\n { position: 'h6', label: '6' },\n { position: 'h7', label: '7' },\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' },\n { position: 'h22', label: '22' },\n { position: 'h23', label: '23' },\n { position: 'h24', label: '24' }\n ],\n '7-21': [\n { position: 'h7', label: '7' },\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' }\n ],\n '8-18': [\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' }\n ],\n '8-22': [\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' },\n { position: 'h22', label: '22' }\n ],\n '7-23': [\n { position: 'h7', label: '7' },\n { position: 'h8', label: '8' },\n { position: 'h9', label: '9' },\n { position: 'h10', label: '10' },\n { position: 'h11', label: '11' },\n { position: 'h12', label: '12' },\n { position: 'h13', label: '13' },\n { position: 'h14', label: '14' },\n { position: 'h15', label: '15' },\n { position: 'h16', label: '16' },\n { position: 'h17', label: '17' },\n { position: 'h18', label: '18' },\n { position: 'h19', label: '19' },\n { position: 'h20', label: '20' },\n { position: 'h21', label: '21' },\n { position: 'h22', label: '22' },\n { position: 'h23', label: '23' }\n ]\n },\n 'week': {\n '0-24': [\n { position: 'h0', label: '0' },\n { position: 'h24', label: '24' }\n ],\n '7-21': [\n { position: 'h7', label: '7' },\n { position: 'h14', label: '14' },\n { position: 'h21', label: '21' }\n ],\n '8-18': [\n { position: 'h8', label: '8' },\n { position: 'h13', label: '13' },\n { position: 'h18', label: '18' }\n ],\n '8-22': [\n { position: 'h8', label: '8' },\n { position: 'h15', label: '15' },\n { position: 'h22', label: '22' }\n ],\n '7-23': [\n { position: 'h7', label: '7' },\n { position: 'h15', label: '15' },\n { position: 'h23', label: '23' }\n ]\n },\n 'month': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n },\n 'quarter': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n }\n }\n};\n// Keeps the data for the dots per grid type, level, and hours visible in the grids\nvar timeslotDots = {\n 'agenda': {\n 'day': {\n '0-1': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '1-2': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '2-3': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '3-4': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '4-5': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '5-6': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '6-7': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '7-8': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '8-9': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '9-10': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '10-11': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '11-12': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '12-13': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '13-14': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '14-15': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '15-16': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '16-17': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '17-18': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '18-19': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '19-20': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '20-21': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '21-22': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '22-23': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ],\n '23-24': [\n { position: 'm0', variant: 'primary' },\n { position: 'm15', variant: 'secondary' },\n { position: 'm30', variant: 'primary' },\n { position: 'm45', variant: 'secondary' },\n { position: 'm60', variant: 'primary' }\n ]\n },\n 'week': {\n '0-24': [\n { position: 'h0', variant: 'primary' },\n { position: 'h1', variant: 'primary' },\n { position: 'h2', variant: 'primary' },\n { position: 'h3', variant: 'primary' },\n { position: 'h4', variant: 'primary' },\n { position: 'h5', variant: 'primary' },\n { position: 'h6', variant: 'primary' },\n { position: 'h7', variant: 'primary' },\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' },\n { position: 'h22', variant: 'primary' },\n { position: 'h23', variant: 'primary' },\n { position: 'h24', variant: 'primary' }\n ],\n '7-21': [\n { position: 'h7', variant: 'primary' },\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' }\n ],\n '8-18': [\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' }\n ],\n '8-22': [\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' },\n { position: 'h22', variant: 'primary' }\n ],\n '7-23': [\n { position: 'h7', variant: 'primary' },\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' },\n { position: 'h22', variant: 'primary' },\n { position: 'h23', variant: 'primary' }\n ]\n },\n 'month': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n },\n 'quarter': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n }\n },\n 'planboard': {\n 'day': {\n '0-24': [\n { position: 'h0', variant: 'primary' },\n { position: 'h1', variant: 'primary' },\n { position: 'h2', variant: 'primary' },\n { position: 'h3', variant: 'primary' },\n { position: 'h4', variant: 'primary' },\n { position: 'h5', variant: 'primary' },\n { position: 'h6', variant: 'primary' },\n { position: 'h7', variant: 'primary' },\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' },\n { position: 'h22', variant: 'primary' },\n { position: 'h23', variant: 'primary' },\n { position: 'h24', variant: 'primary' }\n ],\n '7-21': [\n { position: 'h7', variant: 'primary' },\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' }\n ],\n '8-18': [\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' }\n ],\n '8-22': [\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' },\n { position: 'h22', variant: 'primary' }\n ],\n '7-23': [\n { position: 'h7', variant: 'primary' },\n { position: 'h8', variant: 'primary' },\n { position: 'h9', variant: 'primary' },\n { position: 'h10', variant: 'primary' },\n { position: 'h11', variant: 'primary' },\n { position: 'h12', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h16', variant: 'primary' },\n { position: 'h17', variant: 'primary' },\n { position: 'h18', variant: 'primary' },\n { position: 'h19', variant: 'primary' },\n { position: 'h20', variant: 'primary' },\n { position: 'h21', variant: 'primary' },\n { position: 'h22', variant: 'primary' },\n { position: 'h23', variant: 'primary' }\n ]\n },\n 'week': {\n '0-24': [\n { position: 'h0', variant: 'primary' },\n { position: 'h12', variant: 'secondary' },\n { position: 'h24', variant: 'primary' }\n ],\n '7-21': [\n { position: 'h7', variant: 'primary' },\n { position: 'h14', variant: 'primary' },\n { position: 'h21', variant: 'primary' }\n ],\n '8-18': [\n { position: 'h8', variant: 'primary' },\n { position: 'h13', variant: 'primary' },\n { position: 'h18', variant: 'primary' }\n ],\n '8-22': [\n { position: 'h8', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h22', variant: 'primary' }\n ],\n '7-23': [\n { position: 'h7', variant: 'primary' },\n { position: 'h15', variant: 'primary' },\n { position: 'h23', variant: 'primary' }\n ]\n },\n 'month': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n },\n 'quarter': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n }\n }\n};\n// Keeps the data for the splitters per grid type, level, and hours visible in the grids\nvar timeslotSplitters = {\n 'agenda': {\n 'day': {\n '0-24': [\n { position: 'm30' },\n ],\n '7-21': [\n { position: 'm30' },\n ],\n '7-23': [\n { position: 'm30' },\n ]\n },\n 'week': {\n '0-24': [\n { position: 'h4' },\n { position: 'h8' },\n { position: 'h12' },\n { position: 'h16' },\n { position: 'h20' }\n ],\n '8-18': [\n { position: 'h10' },\n { position: 'h12' },\n { position: 'h14' },\n { position: 'h16' },\n ],\n '8-22': [\n { position: 'h10' },\n { position: 'h12' },\n { position: 'h14' },\n { position: 'h16' },\n { position: 'h18' },\n { position: 'h20' }\n ],\n '7-21': [\n { position: 'h11', label: '11' },\n { position: 'h17', label: '17' }\n ],\n '7-23': [\n { position: 'h11' },\n { position: 'h15' },\n { position: 'h19' }\n ]\n },\n 'month': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n },\n 'quarter': {\n '0-24': [],\n '7-21': [],\n '7-23': []\n }\n },\n 'planboard': {\n 'day': {\n '0-24': [\n { position: 'h4' },\n { position: 'h8' },\n { position: 'h12' },\n { position: 'h16' },\n { position: 'h20' }\n ],\n '7-21': [\n { position: 'h11' },\n { position: 'h17' },\n { position: 'h21' }\n ],\n '8-18': [\n { position: 'h10' },\n { position: 'h12' },\n { position: 'h14' },\n { position: 'h16' },\n ],\n '8-22': [\n { position: 'h10' },\n { position: 'h12' },\n { position: 'h14' },\n { position: 'h16' },\n { position: 'h18' },\n { position: 'h20' }\n ],\n '7-23': [\n { position: 'h11' },\n { position: 'h15' },\n { position: 'h19' }\n ]\n },\n 'week': {\n '0-24': [\n { position: 'h12' }\n ],\n '7-21': [\n { position: 'h14' },\n ],\n '8-18': [\n { position: 'h13' }\n ],\n '8-22': [\n { position: 'h15' }\n ],\n '7-23': [\n { position: 'h15' },\n ]\n },\n 'month': {\n '0-24': [],\n '7-21': [],\n '8-18': [],\n '8-22': [],\n '7-23': []\n },\n 'quarter': {\n '0-24': [],\n '7-21': [],\n '8-18': [],\n '8-22': [],\n '7-23': []\n }\n }\n};\n/**\n * Used for storing the data for timeslot decorations such as labels, splitters, and dots.\n *\n * @export\n * @class TimeslotDecorations\n */\nvar TimeslotDecorations = /** @class */ (function () {\n /**\n * Creates an instance of TimeslotDecorations.\n * @param {string} gridType\n * @param {DetailLevel} detailLevel\n * @param {number} visibleHourStart\n * @param {number} visibleHoursEnd\n */\n function TimeslotDecorations(gridType, detailLevel, visibleHourStart, visibleHoursEnd) {\n this.gridType = gridType;\n this.detailLevel = detailLevel;\n this.visibleHourStart = visibleHourStart;\n this.visibleHoursEnd = visibleHoursEnd;\n }\n /**\n * Get the dots for given grid type, level and visible hours\n * @returns {GridDot[]}\n */\n TimeslotDecorations.prototype.getDots = function () {\n // If grid type does not exists return empty array\n if (!timeslotDots[this.gridType]) {\n return [];\n }\n // If level does not exists return empty array\n if (!timeslotDots[this.gridType][this.detailLevel.name]) {\n return [];\n }\n // If start / end does not exists return empty array\n if (!timeslotDots[this.gridType][this.detailLevel.name][this.visibleHourStart + '-' + this.visibleHoursEnd]) {\n return [];\n }\n // Return the dots\n return timeslotDots[this.gridType][this.detailLevel.name][this.visibleHourStart + '-' + this.visibleHoursEnd];\n };\n /**\n * Get the splitters for given grid type, level and visible hours\n *\n * @returns {GridSplitter[]}\n */\n TimeslotDecorations.prototype.getSplitters = function () {\n // If grid type does not exists return empty array\n if (!timeslotSplitters[this.gridType]) {\n return [];\n }\n // If level does not exists return empty array\n if (!timeslotSplitters[this.gridType][this.detailLevel.name]) {\n return [];\n }\n // If start / end does not exists return empty array\n if (!timeslotSplitters[this.gridType][this.detailLevel.name][this.visibleHourStart + '-' + this.visibleHoursEnd]) {\n return [];\n }\n // Return the dots\n return timeslotSplitters[this.gridType][this.detailLevel.name][this.visibleHourStart + '-' + this.visibleHoursEnd];\n };\n /**\n * Get the labels for given grid type, level and visible hours\n *\n * @returns {GridLabel[]}\n */\n TimeslotDecorations.prototype.getLabels = function () {\n // If grid type does not exists return empty array\n if (!timeslotLabels[this.gridType]) {\n return [];\n }\n // If level does not exists return empty array\n if (!timeslotLabels[this.gridType][this.detailLevel.name]) {\n return [];\n }\n // If start / end does not exists return empty array\n if (!timeslotLabels[this.gridType][this.detailLevel.name][this.visibleHourStart + '-' + this.visibleHoursEnd]) {\n return [];\n }\n // Return the dots\n return timeslotLabels[this.gridType][this.detailLevel.name][this.visibleHourStart + '-' + this.visibleHoursEnd];\n };\n return TimeslotDecorations;\n}());\nexport { TimeslotDecorations };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file DayProcessor, the processor for the day view of the grid\n * @author Wim Haanstra\n */\nimport * as moment from 'moment';\nimport { Momentos } from '../../base/helpers/momentos';\nimport { Processor } from './processor';\nimport { detailLevelWeek, detailLevelDay } from '../helpers/detail-levels';\nimport { TimeslotDecorations } from '../helpers/timeslot-decorations';\nvar DayProcessor = /** @class */ (function (_super) {\n tslib_1.__extends(DayProcessor, _super);\n function DayProcessor() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /** Formaat wat gebruikt wordt voor afronding */\n _this.endSpan = 'hours';\n return _this;\n }\n /**\n * Creates a description for first level timeslots.\n * @param startDate Start of timeslot to label.\n * @param endDate End of timeslot to label.\n * @returns A description of the timeslot.\n */\n DayProcessor.prototype.label = function (startDate, endDate) {\n var language = this.displayComponent.localisationService.currentLanguage;\n return startDate.format(language.formats.agenda.day.label) + ' - ' + endDate.format(language.formats.agenda.day.label);\n };\n /**\n * Creates a description for sub level timeslots.\n * @param startDate Start of timeslot to label.\n * @param endDate End of timeslot to label.\n * @returns A description of the timeslot.\n */\n DayProcessor.prototype.details = function (startDate, endDate) {\n var duration = moment.duration(endDate.diff(startDate, 'hours'), 'hours');\n return duration.humanize();\n };\n /**\n * Generates the bar items for the day view\n * @param {GridBarBaseComponent} barComponent\n * @returns {GridItem[]}\n */\n DayProcessor.prototype.barGridItems = function (barComponent, gridService) {\n this.displayComponent = barComponent.griddisplay;\n var result = [];\n var start = moment(gridService.startDate).hour(barComponent.visibleHourStart);\n var finish = moment(gridService.endDate).hour(barComponent.visibleHoursEnd);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n this.queryStartDate = start.clone();\n this.queryFinishDate = finish.clone();\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var date = iteratorResult.value;\n var endDate = moment(date).add(this.spanStep, this.span);\n var item = {\n label: this.label(date, endDate),\n details: this.details(date, endDate),\n click: {\n level: detailLevelDay,\n date: date\n }\n };\n result.push(item);\n iteratorResult = range.next();\n }\n return result;\n };\n /**\n * Generates the segments for the day view (agenda)\n * @param {AgendaGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n DayProcessor.prototype.agendaGridSegments = function (displayComponent, gridService) {\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage;\n var currentDate = moment(gridService.date);\n this.clearTimeslots();\n var start = moment(gridService.startDate).hour(displayComponent.visibleHourStart);\n var finish = moment(gridService.endDate).hour(displayComponent.visibleHoursEnd);\n var range = new Momentos(start, finish, this.spanStep, this.span, 'hours');\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var dayDate = iteratorResult.value;\n var endDate = moment(dayDate).add(this.spanStep, this.span);\n var timeslotDecorations = new TimeslotDecorations('agenda', gridService.level, dayDate.hours(), endDate.hours());\n var timeslot = this.addTimeslot('AGENDA', dayDate, endDate);\n var column = this.createGridColumn(dayDate.format(language.formats.agenda.hour + ':00') + ' - ' + endDate.format(language.formats.agenda.hour + ':00'), dayDate, endDate, this.displayComponent.getResource(), undefined, timeslot);\n var click = { level: detailLevelWeek, date: currentDate };\n var rows = this.createGridRows(currentDate.format(language.formats.agenda.day.segments.segment.meta.label), undefined, undefined, undefined, undefined, [column]);\n var segment = this.createGridSegment('1 hour period', [rows], timeslotDecorations.getLabels());\n var segments = this.createGridSegments(currentDate.format(language.formats.agenda.day.segments.meta.label), undefined, click, [segment], timeslotDecorations);\n this.queryStartDate = start ? start.clone() : null;\n this.queryFinishDate = endDate ? endDate.clone() : null;\n collections.push(segments);\n iteratorResult = range.next();\n }\n this.refreshWith('AGENDA', displayComponent.objects.items);\n return collections;\n };\n /**\n * Generates the segments for the day view (planboard)\n * @param {PlanboardGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n DayProcessor.prototype.planboardGridSegments = function (displayComponent, gridService) {\n var _this = this;\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.week;\n var currentDate = moment(gridService.date);\n var start = moment(gridService.startDate).hour(displayComponent.visibleHourStart).minute(0);\n var finish = moment(gridService.endDate).hour(displayComponent.visibleHoursEnd).minute(0);\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, displayComponent.visibleHourStart, displayComponent.visibleHoursEnd);\n this.clearTimeslots();\n displayComponent.resources.items.forEach(function (resource) {\n var click = { level: detailLevelWeek, date: currentDate };\n var timeslot = _this.addTimeslot(resource['Oid'], start, finish);\n var column = _this.createGridColumn(start.format('HH:00') + ' - ' + finish.format('HH:00'), start, finish, resource, undefined, timeslot);\n var rows = _this.createGridRows(currentDate.format(language.segments.segment.meta.label), undefined, undefined, undefined, undefined, [column]);\n var segment = _this.createGridSegment('1 hour period', [rows], timeslotDecorations.getLabels());\n var segments = _this.createGridSegments(currentDate.format(language.segments.meta.label), resource, click, [segment], timeslotDecorations);\n collections.push(segments);\n });\n this.queryStartDate = start ? start.clone() : null;\n this.queryFinishDate = finish ? finish.clone() : null;\n return collections;\n };\n /**\n * Generates the segments for the day view (plugin)\n * @param {PluginViewBase} pluginView\n * @returns {GridCollections}\n */\n DayProcessor.prototype.pluginGridSegments = function (pluginView, gridService) {\n var collections = [];\n var language = pluginView.localisationService.currentLanguage.formats.agenda.week;\n var currentDate = moment(gridService.date);\n var start = moment(gridService.startDate).hour(pluginView.visibleHourStart).minute(0);\n var finish = moment(gridService.endDate).hour(pluginView.visibleHoursEnd).minute(0);\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, pluginView.visibleHourStart, pluginView.visibleHoursEnd);\n this.keyedTimeslots.Remove(pluginView.pluginKey);\n var click = { level: detailLevelWeek, date: currentDate };\n var timeslot = this.addTimeslot(pluginView.pluginKey, start, finish);\n var column = this.createGridColumn(start.format('HH:00') + ' - ' + finish.format('HH:00'), start, finish, {}, undefined, timeslot);\n var rows = this.createGridRows(currentDate.format(language.segments.segment.meta.label), undefined, undefined, undefined, undefined, [column]);\n var segment = this.createGridSegment('1 hour period', [rows], timeslotDecorations.getLabels());\n var segments = this.createGridSegments(currentDate.format(language.segments.meta.label), {}, click, [segment], timeslotDecorations);\n collections.push(segments);\n this.queryStartDate = start ? start.clone() : null;\n this.queryFinishDate = finish ? finish.clone() : null;\n return collections;\n };\n /**\n * Used for small modifications of the entity\n *\n * @param {*} entity The entity\n * @param {boolean} isAgenda If view is agenda or not (=planboard or plugin)\n * @returns The entity\n */\n DayProcessor.prototype.adjustEntity = function (entity, isAgenda) {\n if (isAgenda === true && entity.endMinute === 0) {\n entity.endMinute = 60;\n }\n return entity;\n };\n return DayProcessor;\n}(Processor));\nexport { DayProcessor };\n","/**\n * @file The week processor\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { Processor } from './processor';\nimport * as moment from 'moment';\nimport { Momentos } from '../../base/helpers/momentos';\nimport { detailLevelDay, detailLevelMonth } from '../helpers/detail-levels';\nimport { TimeslotDecorations } from '../helpers/timeslot-decorations';\nvar WeekProcessor = /** @class */ (function (_super) {\n tslib_1.__extends(WeekProcessor, _super);\n function WeekProcessor() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /** Duration of first level timeslots, value: days. */\n _this.span = 'days';\n /** Formaat wat gebruikt wordt voor afronding */\n _this.endSpan = 'hours';\n return _this;\n }\n /**\n * Creates a description for first level timeslots.\n * @param startDate Start of timeslot to label.\n * @param endDate End of timeslot to label.\n * @returns A description of the timeslot.\n */\n WeekProcessor.prototype.label = function (startDate, endDate) {\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.week;\n return startDate.format(language.label);\n };\n /**\n * Creates a description for sub level timeslots.\n * @param startDate Start of timeslot to label.\n * @param endDate End of timeslot to label.\n * @returns A description of the timeslot.\n */\n WeekProcessor.prototype.details = function (startDate, endDate) {\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.week;\n var endTitle = endDate.format(language.details);\n if (endTitle === '00:00') {\n endTitle = '24:00';\n }\n return startDate.format(language.details) + ' - ' + endTitle;\n };\n /**\n * Generates the bar items for the week view\n * @param {GridBarBaseComponent} barComponent\n * @returns {GridItem[]}\n */\n WeekProcessor.prototype.barGridItems = function (barComponent, gridService) {\n this.displayComponent = barComponent.griddisplay;\n var result = [];\n var start = moment(gridService.startDate);\n var finish = moment(gridService.endDate);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var dayDate = moment(iteratorResult.value).hour(barComponent.visibleHourStart);\n var endDate = moment(dayDate).hour(barComponent.visibleHoursEnd);\n var item = {\n identifier: dayDate.format('YYYYMMDD'),\n label: this.label(dayDate, endDate),\n details: this.details(dayDate, endDate),\n click: {\n level: detailLevelDay,\n date: iteratorResult.value\n }\n };\n if (barComponent.visibleDays.indexOf(dayDate.day()) > -1) {\n result.push(item);\n }\n iteratorResult = range.next();\n }\n return result;\n };\n /**\n * Generates the segments for the week view (agenda)\n * @param {AgendaGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n WeekProcessor.prototype.agendaGridSegments = function (displayComponent, gridService) {\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.week;\n var currentDate = moment(gridService.date);\n var start = moment(gridService.startDate);\n var finish = moment(gridService.endDate);\n this.clearTimeslots();\n // const click: HorizonState = { level: detailLevelMonth, date: currentDate };\n var timeslotDecorations = new TimeslotDecorations('agenda', gridService.level, displayComponent.visibleHourStart, displayComponent.visibleHoursEnd);\n var segments = this.createGridSegments(currentDate.format(language.segments.meta.label), undefined, undefined, [], timeslotDecorations);\n var firstDate = null;\n var lastDate = start;\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var dayDate = moment(iteratorResult.value).hour(displayComponent.visibleHourStart);\n var endDate = moment(dayDate).hour(displayComponent.visibleHoursEnd);\n var timeslot = this.addTimeslot('AGENDA', dayDate, endDate);\n var column = this.createGridColumn(dayDate.format(language.details) + ' - ' + endDate.format(language.details), dayDate, endDate, this.displayComponent.getResource(), {\n level: detailLevelDay,\n date: undefined\n }, timeslot);\n var rows = this.createGridRows(dayDate.format(language.segments.segment.meta.label), undefined, undefined, undefined, {\n level: detailLevelDay,\n date: iteratorResult.value\n }, [column]);\n var segment = this.createGridSegment('1 day period', [rows], timeslotDecorations.getLabels());\n if (displayComponent.visibleDays.indexOf(dayDate.day()) > -1) {\n segments.children.push(segment);\n lastDate = endDate;\n if (firstDate === null) {\n firstDate = moment(dayDate);\n }\n }\n iteratorResult = range.next();\n }\n if (segments.children.length > 0 && segments.children[0].children.length > 0) {\n segments.children[0].children[0].meta.label = start.format(language.segments.segment.meta.label) + ' - ' + lastDate.format(language.segments.segment.meta.label);\n }\n this.queryFinishDate = lastDate ? lastDate.clone() : null;\n this.queryStartDate = firstDate ? firstDate.clone() : null;\n this.refreshWith('AGENDA', displayComponent.objects.items);\n collections.push(segments);\n return collections;\n };\n /**\n * Generates the segments for the week view (planboard)\n * @param {PlanboardGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n WeekProcessor.prototype.planboardGridSegments = function (displayComponent, gridService) {\n var _this = this;\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.week;\n var currentDate = moment(gridService.date);\n var start = moment(gridService.startDate).hour(displayComponent.visibleHourStart);\n var finish = moment(gridService.endDate).hour(displayComponent.visibleHoursEnd);\n // const click: HorizonState = { level: detailLevelMonth, date: currentDate };\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, displayComponent.visibleHourStart, displayComponent.visibleHoursEnd);\n this.clearTimeslots();\n displayComponent.resources.items.forEach(function (resource) {\n var segment = _this.createGridSegment('1 day period', [], timeslotDecorations.getLabels());\n var segments = _this.createGridSegments(start.format(language.segments.meta.label), resource, undefined, [segment], timeslotDecorations);\n var range = new Momentos(start, finish, _this.spanStep, _this.span, _this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var offset = moment(iteratorResult.value);\n var date = offset.hour(displayComponent.visibleHourStart);\n var endDate = moment(date).hour(displayComponent.visibleHoursEnd);\n var timeslot = _this.addTimeslot(resource['Oid'], date, endDate);\n var column = _this.createGridColumn(date.format('HH:00') + ' - ' + endDate.format('HH:00'), offset, endDate, resource, {\n level: detailLevelDay,\n date: date\n }, timeslot);\n var rows = _this.createGridRows(date.format(language.segments.segment.children.label), undefined, undefined, undefined, { level: detailLevelDay, date: date }, [column]);\n if (displayComponent.visibleDays.indexOf(date.day()) > -1) {\n segment.children.push(rows);\n }\n iteratorResult = range.next();\n }\n collections.push(segments);\n });\n this.queryStartDate = start ? start.clone() : null;\n this.queryFinishDate = finish ? finish.clone() : null;\n return collections;\n };\n /**\n * Generates the segments for the week view (plugin)\n * @param {PluginViewBase} pluginView\n * @returns {GridCollections}\n */\n WeekProcessor.prototype.pluginGridSegments = function (pluginView, gridService) {\n var collections = [];\n var language = pluginView.localisationService.currentLanguage.formats.agenda.week;\n var start = moment(gridService.startDate).hour(pluginView.visibleHourStart);\n var finish = moment(gridService.endDate).hour(pluginView.visibleHoursEnd);\n var currentDate = moment(gridService.date);\n var click = { level: detailLevelMonth, date: currentDate };\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, pluginView.visibleHourStart, pluginView.visibleHoursEnd);\n this.keyedTimeslots.Remove(pluginView.pluginKey);\n var segment = this.createGridSegment('1 day period', [], timeslotDecorations.getLabels());\n var segments = this.createGridSegments(start.format(language.segments.meta.label), {}, click, [segment], timeslotDecorations);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var offset = moment(iteratorResult.value);\n var date = offset.hour(pluginView.visibleHourStart);\n var endDate = moment(date).hour(pluginView.visibleHoursEnd);\n var timeslot = this.addTimeslot(pluginView.pluginKey, // resource['Oid'],\n date, endDate);\n var column = this.createGridColumn(date.format('HH:00') + ' - ' + endDate.format('HH:00'), offset, endDate, {}, {\n level: detailLevelDay,\n date: date\n }, timeslot);\n var rows = this.createGridRows(date.format(language.segments.segment.children.label), undefined, undefined, undefined, undefined, [column]);\n if (pluginView.visibleDays.indexOf(date.day()) > -1) {\n segment.children.push(rows);\n }\n iteratorResult = range.next();\n }\n collections.push(segments);\n this.queryStartDate = start ? start.clone() : null;\n this.queryFinishDate = finish ? finish.clone() : null;\n return collections;\n };\n return WeekProcessor;\n}(Processor));\nexport { WeekProcessor };\n","/**\n * @file The month processor\n */\nimport * as tslib_1 from \"tslib\";\nimport { Processor } from './processor';\nimport * as moment from 'moment';\nimport { Momentos } from '../../base/helpers/momentos';\nimport { detailLevelDay, detailLevelWeek } from '../helpers/detail-levels';\nimport { TimeslotDecorations } from '../helpers/timeslot-decorations';\nvar MonthProcessor = /** @class */ (function (_super) {\n tslib_1.__extends(MonthProcessor, _super);\n function MonthProcessor() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /** Duration of first level timeslots, value: weeks. */\n _this.span = 'weeks';\n /** Relative moment indicating end of timeslot, value: Start of day. */\n _this.endSpan = 'days';\n return _this;\n }\n /**\n * Creates a description for first level timeslots.\n * @param startDate Start of timeslot to label.\n * @param endDate End of timeslot to label.\n * @returns A description of the timeslot.\n */\n MonthProcessor.prototype.label = function (startDate, endDate) {\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.month;\n return startDate.format(language.label);\n };\n /**\n * Creates a description for sub level timeslots.\n * @param startDate Start of timeslot to label.\n * @param endDate End of timeslot to label.\n * @returns A description of the timeslot.\n */\n MonthProcessor.prototype.details = function (startDate, endDate) {\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.month;\n var lastDate = this.lastDayInPeriod(startDate, endDate, this.displayComponent.visibleDays);\n if (lastDate === null) {\n lastDate = endDate;\n }\n return startDate.format(language.details) + ' - ' + lastDate.format(language.details);\n };\n /**\n * Generates the bar items for the month view\n * @param {GridBarBaseComponent} barComponent\n * @returns {GridItem[]}\n */\n MonthProcessor.prototype.barGridItems = function (barComponent, gridService) {\n this.displayComponent = barComponent.griddisplay;\n var result = [];\n var start = moment(gridService.startDate).hour(barComponent.visibleHourStart);\n var finish = moment(gridService.endDate).hour(barComponent.visibleHoursEnd);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var date = iteratorResult.value;\n var endDate = moment(date).hour(0).add(this.spanStep, this.span);\n var item = {\n label: this.label(date, endDate),\n details: this.details(date, endDate),\n click: {\n level: detailLevelWeek,\n date: iteratorResult.value\n }\n };\n if (barComponent.visibleDays.indexOf(date.day()) > -1) {\n result.push(item);\n }\n iteratorResult = range.next();\n }\n return result;\n };\n /**\n * Generates the segments for the month view (agenda)\n * @param {AgendaGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n MonthProcessor.prototype.agendaGridSegments = function (displayComponent, gridService) {\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.month;\n var currentDate = moment(gridService.date);\n var start = moment(gridService.startDate).hour(displayComponent.visibleHourStart);\n var finish = moment(gridService.endDate).hour(displayComponent.visibleHoursEnd);\n this.clearTimeslots();\n // const click: HorizonState = { level: detailLevelQuarter, date: currentDate };\n var timeslotDecorations = new TimeslotDecorations('agenda', gridService.level, displayComponent.visibleHourStart, displayComponent.visibleHoursEnd);\n var segments = this.createGridSegments(currentDate.format(language.segments.meta.label), undefined, undefined, [], timeslotDecorations);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var iteratorResult = range.next();\n var firstDate = null;\n var lastDate = start;\n while (!iteratorResult.done) {\n var date = iteratorResult.value;\n var endDate = moment(date).add(this.spanStep, this.span);\n var rows = this.createGridRows(date.format(language.segments.segment.meta.label) + ' - ' + endDate.format(language.segments.segment.meta.label), undefined, undefined, undefined, {\n level: detailLevelWeek,\n date: iteratorResult.value\n }, []);\n var segment = this.createGridSegment('1 week period', [rows], []);\n var dayRange = new Momentos(date, endDate, 1, 'day', this.endSpan);\n var dayIterator = dayRange.next();\n while (!dayIterator.done) {\n var dayDate = moment(dayIterator.value);\n var endDayDate = moment(dayDate).hour(displayComponent.visibleHoursEnd);\n var timeslot = this.addTimeslot('AGENDA', dayDate, endDayDate);\n var child = {\n meta: {\n start: dayDate,\n finish: endDayDate,\n label: dayDate.format(language.segments.segment.meta.label),\n resource: this.displayComponent.getResource()\n },\n click: {\n level: detailLevelDay,\n date: dayDate\n },\n gridAvailabilities: timeslot.gridAvailabilities,\n gridAssignments: timeslot.gridAssignments,\n gridAppointments: timeslot.gridAppointments,\n gridAbsences: timeslot.gridAbsences,\n gridAttendants: timeslot.gridAttendants,\n gridWorkPatterns: timeslot.gridWorkPatterns\n };\n if (displayComponent.visibleDays.indexOf(dayDate.day()) > -1) {\n segment.children[0].children.push(child);\n lastDate = endDayDate;\n if (firstDate === null) {\n firstDate = moment(dayDate);\n }\n }\n dayIterator = dayRange.next();\n }\n segment.children[0].meta = {\n label: date.format(language.segments.segment.meta.label) + ' - ' + lastDate.format(language.segments.segment.meta.label)\n };\n segments.children.push(segment);\n iteratorResult = range.next();\n }\n this.queryFinishDate = lastDate.clone();\n this.queryStartDate = firstDate.clone();\n this.refreshWith('AGENDA', displayComponent.objects.items);\n collections.push(segments);\n return collections;\n };\n /**\n * Generates the segments for the month view (planboard)\n * @param {PlanboardGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n MonthProcessor.prototype.planboardGridSegments = function (displayComponent, gridService) {\n var _this = this;\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.month;\n var currentDate = moment(gridService.date);\n var start = moment(gridService.startDate);\n var finish = moment(gridService.endDate);\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, displayComponent.visibleHourStart, displayComponent.visibleHoursEnd);\n this.clearTimeslots();\n displayComponent.resources.items.forEach(function (resource) {\n // const click: HorizonState = { level: detailLevelQuarter, date: currentDate };\n var segment = _this.createGridSegment('1 week period', [], []);\n var segments = _this.createGridSegments(currentDate.format('MMMM, YYYY'), resource, undefined, [segment], timeslotDecorations);\n var weekRange = new Momentos(start, finish, _this.spanStep, _this.span, 'day');\n var weekIterator = weekRange.next();\n while (!weekIterator.done) {\n var date = moment(weekIterator.value);\n var endDate = moment(date).add(_this.spanStep, _this.span);\n var weekSegment = _this.createGridRows(date.format(language.segments.segment.meta.label) + ' - ' + endDate.format(language.segments.segment.meta.label), undefined, undefined, undefined, {\n level: detailLevelWeek,\n date: date\n }, []);\n var dayRange = new Momentos(date, endDate, 1, 'day', 'day');\n var dayIterator = dayRange.next();\n var lastDate = date;\n while (!dayIterator.done) {\n var dayStart = moment(dayIterator.value).hour(displayComponent.visibleHourStart);\n var dayEnd = moment(dayIterator.value).hour(displayComponent.visibleHoursEnd);\n var timeslot = _this.addTimeslot(resource['Oid'], dayStart, dayEnd);\n var daySegment = _this.createGridColumn(dayStart.format(language.segments.segment.children.label), dayStart, dayEnd, resource, {\n level: detailLevelDay,\n date: dayIterator.value\n }, timeslot);\n if (displayComponent.visibleDays.indexOf(dayIterator.value.day()) > -1) {\n weekSegment.children.push(daySegment);\n lastDate = dayIterator.value;\n }\n dayIterator = dayRange.next();\n }\n // Fix label for 'no weekends'\n weekSegment.meta.label = date.format(language.segments.segment.meta.label) + ' - ' + lastDate.format(language.segments.segment.meta.label);\n segment.children.push(weekSegment);\n weekIterator = weekRange.next();\n }\n collections.push(segments);\n });\n this.queryStartDate = start.clone();\n this.queryFinishDate = finish.clone();\n return collections;\n };\n /**\n * Generates the segments for the month view (plugin)\n * @param {PluginViewBase} pluginView\n * @returns {GridCollections}\n */\n MonthProcessor.prototype.pluginGridSegments = function (pluginView, gridService) {\n var collections = [];\n var language = pluginView.localisationService.currentLanguage.formats.agenda.month;\n var currentDate = moment(gridService.date);\n var start = moment(gridService.startDate);\n var finish = moment(gridService.endDate);\n // const click: HorizonState = { level: detailLevelQuarter, date: currentDate };\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, pluginView.visibleHourStart, pluginView.visibleHoursEnd);\n this.keyedTimeslots.Remove(pluginView.pluginKey);\n var segment = this.createGridSegment('1 week period', [], []);\n var segments = this.createGridSegments(currentDate.format('MMMM, YYYY'), {}, undefined, [segment], timeslotDecorations);\n var weekRange = new Momentos(start, finish, this.spanStep, this.span, 'day');\n var weekIterator = weekRange.next();\n while (!weekIterator.done) {\n var date = moment(weekIterator.value);\n var endDate = moment(date).add(this.spanStep, this.span);\n var weekSegment = this.createGridRows(date.format(language.segments.segment.meta.label) + ' - ' + endDate.format(language.segments.segment.meta.label), undefined, undefined, undefined, {\n level: detailLevelWeek,\n date: date\n }, []);\n var dayRange = new Momentos(date, endDate, 1, 'day', 'day');\n var dayIterator = dayRange.next();\n var lastDate = date;\n while (!dayIterator.done) {\n var dayStart = moment(dayIterator.value).hour(pluginView.visibleHourStart);\n var dayEnd = moment(dayIterator.value).hour(pluginView.visibleHoursEnd);\n var timeslot = this.addTimeslot(pluginView.pluginKey, // resource['Oid'],\n dayStart, dayEnd);\n var daySegment = this.createGridColumn(dayStart.format(language.segments.segment.children.label), dayStart, dayEnd, {}, {\n level: detailLevelDay,\n date: dayIterator.value\n }, timeslot);\n if (pluginView.visibleDays.indexOf(dayIterator.value.day()) > -1) {\n weekSegment.children.push(daySegment);\n lastDate = dayIterator.value;\n }\n dayIterator = dayRange.next();\n }\n // Fix label for 'no weekends'\n weekSegment.meta.label = date.format(language.segments.segment.meta.label) + ' - ' + lastDate.format(language.segments.segment.meta.label);\n segment.children.push(weekSegment);\n weekIterator = weekRange.next();\n }\n collections.push(segments);\n this.queryStartDate = start.clone();\n this.queryFinishDate = finish.clone();\n return collections;\n };\n return MonthProcessor;\n}(Processor));\nexport { MonthProcessor };\n","/**\n * @file Processor\n * @author Wim Haanstra\n */\nimport { DetailLevel } from './detail-level';\nimport { DayProcessor } from '../processors/day-processor';\nimport { WeekProcessor } from '../processors/week-processor';\nimport { MonthProcessor } from '../processors/month-processor';\nimport { QuarterProcessor } from '../processors/quarter-processor';\nexport var detailLevelQuarter = new DetailLevel('quarter', 'APP.HORIZON.QUARTER', 'quarter', 'isoWeek', 'months', 3, QuarterProcessor);\nexport var detailLevelMonth = new DetailLevel('month', 'APP.HORIZON.MONTH', 'month', 'isoWeek', 'month', 1, MonthProcessor);\nexport var detailLevelWeek = new DetailLevel('week', 'APP.HORIZON.WEEK', 'isoWeek', 'isoWeek', 'week', 1, WeekProcessor);\nexport var detailLevelDay = new DetailLevel('day', 'APP.HORIZON.DAY', 'day', 'day', 'day', 1, DayProcessor);\nexport var detailLevels = [\n detailLevelQuarter,\n detailLevelMonth,\n detailLevelWeek,\n detailLevelDay\n];\nexport var detailLevelsNamed = {\n quarter: detailLevelQuarter,\n month: detailLevelMonth,\n week: detailLevelWeek,\n day: detailLevelDay\n};\n","/**\n * @file The quarter processor\n */\nimport * as tslib_1 from \"tslib\";\nimport { Processor } from './processor';\nimport * as moment from 'moment';\nimport { Momentos } from '../../base/helpers/momentos';\nimport { detailLevelDay } from '../helpers/detail-levels';\nimport { detailLevelWeek } from '../helpers/detail-levels';\nimport { detailLevelMonth } from '../helpers/detail-levels';\nimport { TimeslotDecorations } from '../helpers/timeslot-decorations';\nvar QuarterProcessor = /** @class */ (function (_super) {\n tslib_1.__extends(QuarterProcessor, _super);\n function QuarterProcessor() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /** Duration of first level timeslots, value: weeks. */\n _this.span = 'weeks';\n /** Aantal stappen die gebruikt worden om door de tijdperiode te lopen */\n _this.spanStep = 2;\n return _this;\n }\n /**\n * @param {moment.Moment} startDate\n * @param {moment.Moment} endDate\n * @returns {string}\n */\n QuarterProcessor.prototype.label = function (startDate, endDate) {\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.quarter;\n var lastDate = this.lastDayInPeriod(startDate, endDate, this.displayComponent.visibleDays);\n if (lastDate === null) {\n lastDate = endDate;\n }\n var text = startDate.format(language.label);\n var endText = lastDate.format(language.label);\n if (text !== endText) {\n text += ', ' + endText;\n }\n return text;\n };\n /**\n * Creates a description for sub level timeslots.\n * @param startDate Start of timeslot to label.\n * @param endDate End of timeslot to label.\n * @returns A description of the timeslot.\n */\n QuarterProcessor.prototype.details = function (startDate, endDate) {\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.quarter;\n var lastDate = this.lastDayInPeriod(startDate, endDate, this.displayComponent.visibleDays);\n if (lastDate === null) {\n lastDate = endDate;\n }\n return startDate.format(language.details) + ' - ' + lastDate.format(language.details);\n };\n /**\n * Generates the bar items for the quarter view\n * @param {GridBarBaseComponent} barComponent\n * @returns {GridItem[]}\n */\n QuarterProcessor.prototype.barGridItems = function (barComponent, gridService) {\n this.displayComponent = barComponent.griddisplay;\n var result = [];\n var start = moment(gridService.startDate).hour(barComponent.visibleHourStart);\n var finish = moment(gridService.endDate).hour(barComponent.visibleHoursEnd);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var date = iteratorResult.value;\n var endDate = moment(date).add(this.spanStep, this.span).hour(barComponent.visibleHoursEnd);\n var item = {\n label: this.label(date, endDate),\n details: this.details(date, endDate),\n click: {\n level: detailLevelMonth,\n date: iteratorResult.value\n }\n };\n if (barComponent.visibleDays.indexOf(date.day()) > -1) {\n result.push(item);\n }\n iteratorResult = range.next();\n }\n return result;\n };\n /**\n * Generates the segments for the quarter view (agenda)\n * @param {AgendaGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n QuarterProcessor.prototype.agendaGridSegments = function (displayComponent, gridService) {\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.quarter;\n var start = moment(gridService.startDate).hour(displayComponent.visibleHourStart).startOf('isoWeek');\n var finish = moment(gridService.endDate).endOf('isoWeek').hour(displayComponent.visibleHoursEnd);\n this.clearTimeslots();\n var timeslotDecorations = new TimeslotDecorations('agenda', gridService.level, displayComponent.visibleHourStart, displayComponent.visibleHoursEnd);\n var segments = this.createGridSegments(start.format(language.segments.meta.label) + ' - ' + finish.format(language.segments.meta.label), undefined, undefined, [], timeslotDecorations);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var firstDate = null;\n var lastDate = start;\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var twoWeekStart = iteratorResult.value;\n var twoWeekEnd = moment(twoWeekStart).add(this.spanStep, this.span);\n var segment = this.createGridSegment('2 week period', [], []);\n var weekRange = new Momentos(twoWeekStart, twoWeekEnd, 1, 'week', 'isoWeek');\n var weekIterator = weekRange.next();\n while (!weekIterator.done) {\n var weekStart = moment(weekIterator.value);\n var weekEnd = moment(weekStart).add(1, 'week');\n var weekSegment = this.createGridRows(weekStart.format(language.segments.segment.meta.label), undefined, undefined, undefined, {\n level: detailLevelWeek,\n date: weekStart\n }, []);\n var dayRange = new Momentos(weekStart, weekEnd, 1, 'day', 'day');\n var dayIterator = dayRange.next();\n while (!dayIterator.done) {\n var offset = moment(dayIterator.value);\n var dayDate = offset.hour(this.displayComponent.visibleHourStart);\n var endDayDate = moment(dayDate).hour(this.displayComponent.visibleHoursEnd);\n var timeslot = this.addTimeslot('AGENDA', dayDate, endDayDate);\n var day = this.createGridColumn(dayDate.format(language.segments.segment.children.label), offset, endDayDate, this.displayComponent.getResource(), {\n level: detailLevelDay,\n date: dayDate\n }, timeslot);\n if (displayComponent.visibleDays.indexOf(dayDate.day()) > -1) {\n weekSegment.children.push(day);\n lastDate = moment(endDayDate);\n if (firstDate === null) {\n firstDate = moment(dayDate);\n }\n }\n dayIterator = dayRange.next();\n }\n if (weekSegment.children.length > 0) {\n weekSegment.meta = {\n label: weekStart.format(language.segments.segment.meta.label)\n };\n segment.children.push(weekSegment);\n }\n weekIterator = weekRange.next();\n }\n if (segment.children.length > 0) {\n segments.children.push(segment);\n }\n iteratorResult = range.next();\n }\n this.refreshWith('AGENDA', displayComponent.objects.items);\n this.queryStartDate = firstDate ? firstDate.clone() : null;\n this.queryFinishDate = lastDate ? lastDate.clone() : null;\n collections.push(segments);\n return collections;\n };\n /**\n * Generates the segments for the quarter view (planboard)\n * @param {PlanboardGridDisplayComponent} displayComponent\n * @returns {GridCollections}\n */\n QuarterProcessor.prototype.planboardGridSegments = function (displayComponent, gridService) {\n var _this = this;\n this.displayComponent = displayComponent;\n var collections = [];\n var language = this.displayComponent.localisationService.currentLanguage.formats.agenda.quarter;\n var start = moment(gridService.startDate).hour(displayComponent.visibleHourStart).startOf('isoWeek');\n var finish = moment(gridService.endDate).endOf('isoWeek').hour(displayComponent.visibleHoursEnd);\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, displayComponent.visibleHourStart, displayComponent.visibleHoursEnd);\n this.clearTimeslots();\n var firstDate = null;\n var lastDate = start;\n displayComponent.resources.items.forEach(function (resource) {\n var segments = _this.createGridSegments(start.format(language.segments.meta.label) + ' - ' + finish.format(language.segments.meta.label), resource, undefined, [], timeslotDecorations);\n var range = new Momentos(start, finish, _this.spanStep, _this.span, _this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var twoWeekStart = iteratorResult.value;\n var twoWeekEnd = moment(twoWeekStart).add(_this.spanStep, _this.span);\n var segment = _this.createGridSegment('2 week period', [], []);\n var weekRange = new Momentos(twoWeekStart, twoWeekEnd, 1, 'week', 'isoWeek');\n var weekIterator = weekRange.next();\n while (!weekIterator.done) {\n var weekStart = moment(weekIterator.value);\n var weekEnd = moment(weekStart).add(1, 'week');\n var weekSegment = _this.createGridRows(weekStart.format(language.segments.segment.meta.label), undefined, undefined, undefined, {\n level: detailLevelWeek,\n date: weekStart\n }, []);\n var dayRange = new Momentos(weekStart, weekEnd, 1, 'day', 'day');\n var dayIterator = dayRange.next();\n while (!dayIterator.done) {\n var offset = moment(dayIterator.value);\n var dayDate = offset.hour(_this.displayComponent.visibleHourStart);\n var endDayDate = moment(dayDate).hour(_this.displayComponent.visibleHoursEnd);\n var timeslot = _this.addTimeslot(resource['Oid'], dayDate, endDayDate);\n var day = _this.createGridColumn(dayDate.format(language.segments.segment.children.label), offset, endDayDate, resource, {\n level: detailLevelDay,\n date: dayDate\n }, timeslot);\n if (displayComponent.visibleDays.indexOf(dayDate.day()) > -1) {\n weekSegment.children.push(day);\n lastDate = moment(endDayDate);\n if (firstDate === null) {\n firstDate = moment(dayDate);\n }\n }\n dayIterator = dayRange.next();\n }\n if (weekSegment.children.length > 0) {\n segment.children.push(weekSegment);\n }\n weekIterator = weekRange.next();\n }\n if (segment.children.length > 0) {\n segments.children.push(segment);\n }\n iteratorResult = range.next();\n }\n collections.push(segments);\n });\n this.queryStartDate = firstDate ? firstDate.clone() : null;\n this.queryFinishDate = lastDate ? lastDate.clone() : null;\n return collections;\n };\n /**\n * Generates the segments for the quarter view (plugin)\n * @param {PluginViewBase} pluginView\n * @returns {GridCollections}\n */\n QuarterProcessor.prototype.pluginGridSegments = function (pluginView, gridService) {\n var collections = [];\n var language = pluginView.localisationService.currentLanguage.formats.agenda.quarter;\n var start = moment(gridService.startDate).hour(pluginView.visibleHourStart).startOf('isoWeek');\n var finish = moment(gridService.endDate).endOf('isoWeek').hour(pluginView.visibleHoursEnd);\n var timeslotDecorations = new TimeslotDecorations('planboard', gridService.level, pluginView.visibleHourStart, pluginView.visibleHoursEnd);\n var firstDate = null;\n var lastDate = start;\n this.keyedTimeslots.Remove(pluginView.pluginKey);\n var segments = this.createGridSegments(start.format(language.segments.meta.label) + ' - ' + finish.format(language.segments.meta.label), {}, undefined, [], timeslotDecorations);\n var range = new Momentos(start, finish, this.spanStep, this.span, this.endSpan);\n var iteratorResult = range.next();\n while (!iteratorResult.done) {\n var twoWeekStart = iteratorResult.value;\n var twoWeekEnd = moment(twoWeekStart).add(this.spanStep, this.span);\n var segment = this.createGridSegment('2 week period', [], []);\n var weekRange = new Momentos(twoWeekStart, twoWeekEnd, 1, 'week', 'isoWeek');\n var weekIterator = weekRange.next();\n while (!weekIterator.done) {\n var weekStart = moment(weekIterator.value);\n var weekEnd = moment(weekStart).add(1, 'week');\n var weekSegment = this.createGridRows(weekStart.format(language.segments.segment.meta.label), undefined, undefined, undefined, {\n level: detailLevelWeek,\n date: weekStart\n }, []);\n var dayRange = new Momentos(weekStart, weekEnd, 1, 'day', 'day');\n var dayIterator = dayRange.next();\n while (!dayIterator.done) {\n var offset = moment(dayIterator.value);\n var dayDate = offset.hour(pluginView.visibleHourStart);\n var endDayDate = moment(dayDate).hour(pluginView.visibleHoursEnd);\n var timeslot = this.addTimeslot(pluginView.pluginKey, dayDate, endDayDate);\n var day = this.createGridColumn(dayDate.format(language.segments.segment.children.label), offset, endDayDate, {}, {\n level: detailLevelDay,\n date: dayDate\n }, timeslot);\n if (pluginView.visibleDays.indexOf(dayDate.day()) > -1) {\n weekSegment.children.push(day);\n lastDate = moment(endDayDate);\n if (firstDate === null) {\n firstDate = moment(dayDate);\n }\n }\n dayIterator = dayRange.next();\n }\n if (weekSegment.children.length > 0) {\n segment.children.push(weekSegment);\n }\n weekIterator = weekRange.next();\n }\n if (segment.children.length > 0) {\n segments.children.push(segment);\n }\n iteratorResult = range.next();\n }\n collections.push(segments);\n this.queryStartDate = firstDate ? firstDate.clone() : null;\n this.queryFinishDate = lastDate ? lastDate.clone() : null;\n return collections;\n };\n return QuarterProcessor;\n}(Processor));\nexport { QuarterProcessor };\n","/**\n * @file Service for global grid variables.\n * @author Maarten Lensink\n */\nimport { OnDestroy, EventEmitter } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport * as moment from 'moment';\nimport { LocalStorageService } from '../core/local-storage.service';\nimport { LocalisationService } from '../core/localisation.service';\nimport { SubscriptionPool } from '../core/helpers/subscription-pool';\nimport { detailLevelsNamed } from './helpers/detail-levels';\nimport { SettingsService } from '../settings.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../core/local-storage.service\";\nimport * as i2 from \"../core/localisation.service\";\nimport * as i3 from \"@angular/router\";\nimport * as i4 from \"../settings.service\";\n/**\n * The service provides information from the HorizonComponent to other components. Also information about visible time is provided.\n * @export\n * @class GridService\n * @implements {OnDestroy}\n */\nvar GridService = /** @class */ (function () {\n function GridService(localStorageService, localisationService, router, route, settingsService) {\n var _this = this;\n this.localStorageService = localStorageService;\n this.localisationService = localisationService;\n this.router = router;\n this.route = route;\n this.settingsService = settingsService;\n /**\n * The current horizon state.\n * @private\n * @type {HorizonState}\n * @memberOf GridService\n */\n this.currentState = GridService.fromParamsToState(this.localStorageService, this.localisationService.currentLanguage.locale, {});\n /**\n * Handle of time out so we can cancel the timeout when needed.\n * @private\n * @type {number}\n * @memberOf GridService\n */\n this.waitForIt = null;\n /**\n * Notifies when the state of the horizon is changed.\n */\n this.stateChanged = new EventEmitter();\n /**\n * Event when zoom changes\n */\n this.zoomChanged = new EventEmitter();\n /**\n * Available zoom levels and Current zoom index.\n * @see Also add these zoom levels to _grids.scss for generating the needed css rules.\n */\n this.availableZoom = [100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950, 1000];\n // The index of the default zoom when the horizon is instantiated\n this.zoomIndex = 0;\n /** Keep track of the subscriptions */\n this.subscriptionPool = new SubscriptionPool();\n this.settingsOpen = false;\n this.subscriptionPool.add(this.localisationService.onLanguageChanged.subscribe(function (language) {\n _this.currentState.date.locale(language.code);\n }));\n // #4063: This implementation of debounceTime (when removing the 'waitForIt' construction) does not seem to work.\n // this.subscriptionPool.add(this.route.queryParams.pipe(debounceTime(750)).subscribe(params => {\n this.subscriptionPool.add(this.route.queryParams.subscribe(function (params) {\n var newState = GridService.fromParamsToState(_this.localStorageService, _this.localisationService.currentLanguage.locale, params);\n if (!_this.statesEqual(newState, _this.currentState)) {\n // Set the new state\n _this.currentState = newState;\n // Keep track of these variable over browser sessions\n _this.localStorageService.updateProperty('local', 'horizon-show-office-hours', newState.officeHours, [true, false]);\n _this.localStorageService.updateProperty('local', 'horizon-show-weekends', newState.weekends, [true, false]);\n _this.localStorageService.updateProperty('session', 'horizon-show-level', newState.level.name, ['quarter', 'month', 'week', 'day']);\n _this.localStorageService.updateProperty('session', 'horizon-show-date', newState.date.format('YYYYMMDD'));\n if (_this.waitForIt != null) {\n // Skip, the state has changed already\n window.clearTimeout(_this.waitForIt);\n }\n _this.waitForIt = window.setTimeout(function () {\n _this.waitForIt = null;\n // Fire event\n _this.stateChanged.emit({});\n }, 750);\n }\n }));\n }\n Object.defineProperty(GridService.prototype, \"date\", {\n /**\n * Get the date\n */\n get: function () {\n return this.currentState.date;\n },\n /**\n * Set the date\n */\n set: function (date) {\n // Make sure we receive a Moment object (input element gives a Date for example)\n if (!moment.isMoment(date)) {\n date = moment(date);\n }\n if (!this.currentState.date.isSame(date, 'd')) {\n this.router.navigate([], { queryParamsHandling: 'merge', queryParams: this.fromStateToParams({ date: date }) });\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"level\", {\n /**\n * Get the level\n */\n get: function () {\n return this.currentState.level;\n },\n /**\n * Set the date\n */\n set: function (level) {\n if (this.currentState.level.name !== level.name) {\n this.router.navigate([], { queryParamsHandling: 'merge', queryParams: this.fromStateToParams({ level: level }) });\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"officeHours\", {\n /**\n * Get the office hours\n */\n get: function () {\n return this.currentState.officeHours;\n },\n /**\n * Set the office hours\n */\n set: function (officeHours) {\n if (this.currentState.officeHours !== officeHours) {\n this.router.navigate([], { queryParamsHandling: 'merge', queryParams: this.fromStateToParams({ officeHours: officeHours }) });\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"weekends\", {\n /**\n * Get the weekends\n */\n get: function () {\n return this.currentState.weekends;\n },\n /**\n * Set the weekends\n */\n set: function (weekends) {\n if (this.currentState.weekends !== weekends) {\n this.router.navigate([], { queryParamsHandling: 'merge', queryParams: this.fromStateToParams({ weekends: weekends }) });\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"startDate\", {\n /**\n * Readonly access to the end date, calculated based on start and level\n */\n get: function () {\n return this.level.startForDate(this.currentState.date);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"endDate\", {\n /**\n * Readonly access to the end date, calculated based on start and level\n */\n get: function () {\n return this.level.endForDate(this.currentState.date);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"visibleHoursStart\", {\n /**\n * The visible hours (start)\n *\n * @readonly\n * @type {number}\n */\n get: function () {\n if (this.officeHours) {\n return this.settingsService.settings.frontend.grid.officeHours.enabled.start;\n }\n else {\n return this.settingsService.settings.frontend.grid.officeHours.disabled.start;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"visibleHoursEnd\", {\n /**\n * The visible hours (finish)\n *\n * @readonly\n * @type {number}\n */\n get: function () {\n if (this.officeHours) {\n return this.settingsService.settings.frontend.grid.officeHours.enabled.end;\n }\n else {\n return this.settingsService.settings.frontend.grid.officeHours.disabled.end;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"visibleDays\", {\n /**\n * The visible days from the horizon\n *\n * @readonly\n * @type {Number[]}\n */\n get: function () {\n if (this.weekends) {\n return this.settingsService.settings.frontend.grid.weekends.enabled;\n }\n else {\n return this.settingsService.settings.frontend.grid.weekends.disabled;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridService.prototype, \"zoom\", {\n /** Get the zoom */\n get: function () {\n return this.availableZoom[this.zoomIndex];\n },\n /** Set the zoom */\n set: function (level) {\n var foundedZoomIndex = this.availableZoom.indexOf(level);\n if (this.zoomIndex === foundedZoomIndex) {\n return;\n }\n if (foundedZoomIndex !== -1) {\n this.zoomIndex = foundedZoomIndex;\n }\n else {\n console.warn('Unsupported zoom level (' + level + ')');\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Translates a set of params to a correct state\n * @param {Params} params\n * @returns {HorizonState}\n */\n GridService.fromParamsToState = function (localStorageService, locale, params) {\n // Create moment object if date (in string format) is given\n var paramDate = moment(params['date'], 'YYYYMMDD').locale(locale);\n // If the given date (via parameters) is valid use it and otherwise pick the value from the local storage (with a default)\n var date = (paramDate.isValid()) ?\n paramDate :\n moment(localStorageService.readProperty('session', 'horizon-show-date', moment().format('YYYYMMDD')), 'YYYYMMDD').locale(locale);\n // tslint:disable-next-line:max-line-length If the given level (via parameters) is valid use it and otherwise pick the value from the local storage (with a default)\n var level = (params['levelName'] !== undefined && detailLevelsNamed[params['levelName']]) ?\n detailLevelsNamed[params['levelName']] :\n detailLevelsNamed[localStorageService.readProperty('session', 'horizon-show-level', 'week', ['quarter', 'month', 'week', 'day'])];\n // If the given office hours (via parameters) is valid use it and otherwise pick the value from the local storage (with a default)\n var officeHours = (params['officeHours'] !== undefined) ?\n (params['officeHours'] === 'true') :\n localStorageService.readProperty('local', 'horizon-show-office-hours', true, [true, false]);\n // If the given weekends (via parameters) is valid use it and otherwise pick the value from the local storage (with a default)\n var weekends = (params['weekends'] !== undefined) ?\n (params['weekends'] === 'true') :\n localStorageService.readProperty('local', 'horizon-show-weekends', false, [true, false]);\n return {\n 'date': date,\n 'level': level,\n 'officeHours': officeHours,\n 'weekends': weekends\n };\n };\n /** Callback is typically used for any custom cleanup that needs to occur when the instance is destroyed. */\n GridService.prototype.ngOnDestroy = function () {\n this.subscriptionPool.unsubscribeAll();\n };\n /**\n * Set (a subset) of Horizon values at once\n * @param horizonClick The horizon params\n */\n GridService.prototype.setHorizon = function (newState) {\n if (!newState) {\n console.warn('No new horizon state is given');\n return;\n }\n if (this.currentState.level.name !== newState.level.name || !this.currentState.date.isSame(newState.date, 'd')) {\n this.router.navigate([], { queryParamsHandling: 'merge', queryParams: this.fromStateToParams(newState) });\n }\n else {\n console.warn('Given HorizonState is equal to current HorizonState');\n }\n };\n /**\n * Translates a exiting state to params (string based)\n * @param {Params} newState\n * @returns {Params}\n */\n GridService.prototype.fromStateToParams = function (newState) {\n return {\n 'officeHours': (newState.officeHours !== undefined) ? newState.officeHours : this.currentState.officeHours,\n 'weekends': (newState.weekends !== undefined) ? newState.weekends : this.currentState.weekends,\n 'levelName': (newState.level !== undefined) ? newState.level.name : this.currentState.level.name,\n 'date': (newState.date !== undefined) ? newState.date.format('YYYYMMDD') : this.currentState.date.format('YYYYMMDD')\n };\n };\n /**\n * Check if two states are equal\n * @param {HorizonState} stateFirst\n * @param {HorizonState} stateSecond\n * @returns\n */\n GridService.prototype.statesEqual = function (stateFirst, stateSecond) {\n var isEqual = true;\n // Test if office hours is equal\n if (stateFirst.officeHours !== stateSecond.officeHours) {\n isEqual = false;\n }\n // Test if weekends is equal\n if (stateFirst.weekends !== stateSecond.weekends) {\n isEqual = false;\n }\n // Test if level is equal\n if (stateFirst.level.name !== stateSecond.level.name) {\n isEqual = false;\n }\n // Test if date is equal\n if (!stateFirst.date.isSame(stateSecond.date, 'd')) {\n isEqual = false;\n }\n return isEqual;\n };\n /**\n * Gets the EntityFormat that is chosen by the filtername\n * @param filter filtername\n * @memberOf GridService\n */\n GridService.prototype.getFormat = function (filter) {\n switch (filter) {\n case 'Team':\n return {\n dataSource: 'TeamItems',\n entity: 'Team',\n fields: ['Name']\n };\n case 'Competence':\n return {\n dataSource: 'FunctionItems',\n entity: 'Function',\n fields: ['Name']\n };\n case 'Region':\n return {\n dataSource: 'Regions',\n entity: 'Location',\n fields: ['Name']\n };\n case 'Resource':\n return {\n dataSource: 'ResourceItems',\n entity: 'Resource',\n fields: ['Name', 'FirstName', 'Prefix'],\n displayFormat: '[Name], [FirstName] [Prefix]'\n };\n case 'Project':\n return {\n dataSource: 'ProjectItems',\n entity: 'Project',\n parameters: {\n start: this.startDate.toDate(),\n finish: this.endDate.toDate()\n },\n fields: ['Name']\n };\n }\n };\n GridService.ngInjectableDef = i0.defineInjectable({ factory: function GridService_Factory() { return new GridService(i0.inject(i1.LocalStorageService), i0.inject(i2.LocalisationService), i0.inject(i3.Router), i0.inject(i3.ActivatedRoute), i0.inject(i4.SettingsService)); }, token: GridService, providedIn: \"root\" });\n return GridService;\n}());\nexport { GridService };\n","/**\n * @file Component for showing the children of a one to many relation of the selected parent entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { RelationBase } from '../../base/relation/relation.base';\nimport { EventsService } from '../../core/event.service';\nimport { GridService } from '../../grids/grid.service';\nimport { UserService } from '../../user.service';\nimport { ActionService } from '../../core/action.service';\n/**\n * Component for showing the children of a one to many relation of the selected parent entity.\n */\nvar RelationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(RelationComponent, _super);\n /**\n * Constructs a RelationComponent.\n * @param configurationsService Service to get the configuration of this component.\n * @param domainService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param route The active route.\n */\n function RelationComponent(userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) {\n return _super.call(this, userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) || this;\n }\n /**\n * Method to determine wether or not the component is shown.\n * @returns {boolean} False to hide the component otherwise true.\n * @memberOf RelationComponent\n * */\n RelationComponent.prototype.canShowComponent = function () {\n if (!_super.prototype.canShowComponent.call(this)) {\n return false;\n }\n if (this.entityType.shortName === 'Taskneed' && this.master.entityAspect.entityState.isAdded()) {\n // Issue: Je kan niet zien of de aanwezigheid goed is aangemaakt #2786\n return false;\n }\n return true;\n };\n /**\n * Deletes a entity.\n * @param item The entity to delete.\n * @param index The location of the entity within the shown list.\n * @returns The deleted entity.\n */\n RelationComponent.prototype.deleteItem = function (item, index) {\n var _this = this;\n if (item === this.current) {\n this.current = null;\n }\n if (item && item.entityType.shortName === 'Taskneed') {\n // Issue: Je kan niet zien of de aanwezigheid goed is aangemaakt #2786\n this.masterEntity['removeNeed'](item['Oid']).subscribe(function (value) {\n _this.breezeService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.LISTS.ITEMS_UNSUCCESSFULLY_DELETED');\n }\n else {\n if (item['Owner_Oid'] === _this.masterEntity['Oid']) {\n item.entityAspect.setDetached();\n }\n _this.dataSet.refresh(); // Reason: inform pagination of a changing dataset #1664\n _this.alertsService.createAlert('success', 'APP.LISTS.ITEMS_SUCCESSFULLY_DELETED');\n }\n });\n });\n return item;\n }\n return _super.prototype.deleteItem.call(this, item, index);\n };\n /**\n * Sets domain specific default values.\n * @protected\n * @param {Entity} item The item whose values might be pre-set.\n * @memberOf RelationBase\n */\n RelationComponent.prototype.setDefaultValues = function (item) {\n if (item.entityType.shortName === 'SpendTime') {\n // Fix issue: Bij realiseren periode overnemen die open staat ipv assignment start en eind. #2561\n // We nemen start/end horizon over wanneer deze korter is als default duur spendtime.\n var spendTime = item;\n var state = GridService.fromParamsToState(this.localStorageService, this.translateService.currentLang, {});\n var hStart = state.level.startForDate(state.date);\n var hEnd = state.level.endForDate(state.date);\n var sDuration = moment.duration(moment(spendTime.Finish).diff(moment(spendTime.Start)));\n var hDuration = moment.duration(hEnd.diff(hStart));\n if (hDuration.asMinutes() < sDuration.asMinutes()) {\n spendTime.Start = hStart.toDate();\n spendTime.Finish = hEnd.toDate();\n }\n }\n if ((item.entityType.shortName === 'Service' || item.entityType.shortName === 'ServiceTemplate') &&\n item['Shift'] != null &&\n item['Shift']['Purpose'] === 'FORECAST') {\n item['Purpose'] = 'MINIMUM';\n }\n };\n /**\n * Method to initialize the data set for the first time.\n */\n RelationComponent.prototype.initItemSet = function () {\n var _this = this;\n _super.prototype.initItemSet.call(this);\n if (this.configuration.data) {\n var entityConfig_1 = this.configuration.data;\n switch (entityConfig_1.entity) {\n case 'SpendTime':\n case 'StateMembershipLink':\n case 'StateExpertiseLink':\n case 'StateLocalityLink':\n case 'StateCostLink':\n case 'StateResource':\n this.subscriptionPool.add(this.breezeService.commitFinishedEvent.subscribe(function (result) {\n if (result.entities && result.entities.some(function (item) { return item.entityType && item.entityType.shortName === entityConfig_1.entity; })) {\n _this.refresh();\n }\n }));\n break;\n case 'Taskneed':\n this.subscriptionPool.add(this.breezeService.commitFinishedEvent.subscribe(function (result) {\n var found = result.entities ? result.entities.find(function (item) { return (item.entityType && item.entityType.shortName === entityConfig_1.entity) || item['Name'] === 'RemoveNeed'; }) : null;\n if (found) {\n if (found['Name'] === 'RemoveNeed' && !found.entityType) {\n _this.current = null;\n }\n _this.refresh();\n }\n }));\n break;\n }\n }\n };\n return RelationComponent;\n}(RelationBase));\nexport { RelationComponent };\n","/**\n* @file Component with standard form functionality for showing a child entity in a parent child relation.\n* @author Tom Verschoore de la Houssaije\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FormBase } from '../form/form.base';\n/**\n * Component with standard form functionality for showing a child entity in a parent child relation.\n */\nvar FormChildBase = /** @class */ (function (_super) {\n tslib_1.__extends(FormChildBase, _super);\n /**\n * Constructs a FormChildBase\n * @param configurationsService Service to get the configuration of this component.\n * @param breezeService Service to access entities form the backend entity api.\n */\n function FormChildBase(breezeService, translateService, alertsService, resourceService) {\n var _this = _super.call(this, breezeService, null, null, translateService, alertsService, resourceService) || this;\n /**\n * Gets sets the master entity of shown master/parent detail/child relation.\n * Is used to extend the logic of FormChildComponent.getIsReadOnly() method.\n * @type {Entity}\n * @memberOf FormChildComponent\n */\n _this.master = null;\n return _this;\n }\n /** Sets the entity key of the child entity shown. */\n /* Waarschijnlijk kan deze code weg zodat we terug vallen op FormBase code.\n Weghalen lost in ieder geval het probleem op wanneer we een PlanItem willen tonen in een FormChild (dag ruil verzoeken)\n Als versie 12 geaccepteerd is kan deze code weg. (Weten we zeker dat we geen ander gedrag willen voor FormChildBase)\n\n @Input() public set entityKey(value: string) {\n if (!value) {\n this.entityKeyValue = undefined;\n this.item = null;\n return;\n }\n\n if (!this.entityType) {\n return;\n }\n\n this.entityKeyValue = value;\n this.getEntityWith(value);\n }\n */\n /**\n * Cancels all the made changes and closes the sidebar.\n */\n FormChildBase.prototype.cancelItem = function () {\n if (this.item) {\n this.item.entityAspect.rejectChanges();\n this.itemCanceled.emit(this.item);\n this.item = null;\n }\n };\n /**\n * Method called after saving is done.\n */\n FormChildBase.prototype.doneSaving = function (newOrDeleted) {\n var result;\n if (this.item) {\n // To notify relation component to lose selection.\n result = {\n entities: [this.item],\n };\n }\n this.item = null;\n this.itemSaved.emit(result);\n };\n return FormChildBase;\n}(FormBase));\nexport { FormChildBase };\n","/**\n * @file The Form Child component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FormChildBase } from '../../base/form-child/form-child.base';\nimport { DomainService } from '../../domain.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ResourceService } from '../../resource.service';\nvar FormChildComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FormChildComponent, _super);\n /**\n * Constructs a FormChildComponent\n * @param configurationsService Service to get the configuration of this component.\n * @param domainService Service to access entities form the backend entity api.\n */\n function FormChildComponent(domainService, translateService, alertsService, resourceService) {\n return _super.call(this, domainService, translateService, alertsService, resourceService) || this;\n }\n /**\n * Gets whether or not the form is readonly.\n * Is used for the isReadOnly and to override properly.\n * Typescript super key word does not give access for properties.\n * @protected\n * @returns {boolean} Value whether or not the form is readonly.\n * @memberOf FormChildComponent\n */\n FormChildComponent.prototype.getIsReadOnly = function () {\n if (this.editMode && this.item && this.item.entityType.shortName === 'Taskneed' && this.master) {\n if (this.master['Oid'] !== this.item['Owner_Oid']) {\n // Issue: Je kan niet zien of de aanwezigheid goed is aangemaakt #2786\n return true;\n }\n }\n return _super.prototype.getIsReadOnly.call(this);\n };\n return FormChildComponent;\n}(FormChildBase));\nexport { FormChildComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Form Child component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i4 from \"../../base/instruction/instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nimport * as i7 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i8 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i9 from \"@angular/forms\";\nimport * as i10 from \"./form-child.component\";\nimport * as i11 from \"../../domain.service\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../resource.service\";\nvar styles_FormChildComponent = [];\nvar RenderType_FormChildComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_FormChildComponent, data: {} });\nexport { RenderType_FormChildComponent as RenderType_FormChildComponent };\nfunction View_FormChildComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 20).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_FormChildComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 20, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(5, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormChildComponent_3)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm \"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save-all\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(18, null, [\"\", \"\"])), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i3.View_InstructionComponent_0, i3.RenderType_InstructionComponent)), i0.ɵdid(20, 180224, [[\"instruction\", 4]], 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_3 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_3); var currVal_7 = _co.configuration.instruction; _ck(_v, 20, 0, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(_co.configuration.data.labelKey)); _ck(_v, 6, 0, currVal_2); var currVal_4 = (_co.editMode || _co.isReadOnly); _ck(_v, 11, 0, currVal_4); var currVal_5 = (!_co.editMode || _co.isReadOnly); _ck(_v, 13, 0, currVal_5); var currVal_6 = _co.configuration.key; _ck(_v, 18, 0, currVal_6); }); }\nfunction View_FormChildComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i7.View_FieldsetContainerComponent_0, i7.RenderType_FieldsetContainerComponent)), i0.ɵdid(2, 49152, null, 0, i8.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.form.controls[_v.context.$implicit.name]; var currVal_2 = _co.item; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_FormChildComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.MARKED_FIELDS_ARE_REQUIRED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FormChildComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FormChildComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mb-3 sym-errors\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormChildComponent_7)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.validationErrors; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_FormChildComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i9.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(2, 540672, null, 0, i9.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i9.ControlContainer, null, [i9.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i9.NgControlStatusGroup, [[4, i9.ControlContainer]], null, null), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-line mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormChildComponent_2)), i0.ɵdid(7, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormChildComponent_4)), i0.ɵdid(10, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormChildComponent_5)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormChildComponent_6)), i0.ɵdid(14, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 7, 0, currVal_8); var currVal_9 = _co.configuration.data.fields; _ck(_v, 10, 0, currVal_9); var currVal_10 = (_co.hasRequiredFields() && !_co.isReadOnly); _ck(_v, 12, 0, currVal_10); var currVal_11 = (_co.validationErrors.length > 0); _ck(_v, 14, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_FormChildComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_FormChildComponent_1)), i0.ɵdid(1, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.form && _co.configuration) && _co.item); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_FormChildComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-form-child\", [], null, null, null, View_FormChildComponent_0, RenderType_FormChildComponent)), i0.ɵdid(1, 245760, null, 0, i10.FormChildComponent, [i11.DomainService, i2.TranslateService, i12.AlertsService, i13.ResourceService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar FormChildComponentNgFactory = i0.ɵccf(\"sym-form-child\", i10.FormChildComponent, View_FormChildComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", hasCloseButton: \"hasCloseButton\", useCache: \"useCache\", labelKey: \"labelKey\", item: \"item\", entityKey: \"entityKey\", master: \"master\" }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }, []);\nexport { FormChildComponentNgFactory as FormChildComponentNgFactory };\n","/**\n * @file Pipe used for translating entity names or retrieving labels involving an entity\n * @author Maarten Lensink\n */\nimport { PipeTransform } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\n/**\n * The class for entity translation functionality\n */\nvar EntityTranslatePipe = /** @class */ (function () {\n function EntityTranslatePipe(translateService) {\n this.translateService = translateService;\n }\n EntityTranslatePipe.prototype.transform = function (entityName, label, domain) {\n if (domain === void 0) { domain = 'MISC'; }\n var key = 'APP.' + domain + '.' + entityName.toUpperCase() + '.';\n if (!label) {\n label = 'SINGULAR';\n }\n label = label.toUpperCase();\n if (label === 'SINGULAR' || label === 'PLURAL' || label === 'NEW' || label === 'OVERVIEW') {\n key += '#';\n }\n key += label;\n return this.translateService.instant(key);\n };\n return EntityTranslatePipe;\n}());\nexport { EntityTranslatePipe };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component for showing the children of a one to many relation of the selected parent entity.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/relation/relation.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i5 from \"../../base/instruction/instruction.component\";\nimport * as i6 from \"@angular/common/http\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i9 from \"../../base/columns/column-container/column-container.component\";\nimport * as i10 from \"./relation.component\";\nimport * as i11 from \"../../user.service\";\nimport * as i12 from \"../../domain.service\";\nimport * as i13 from \"../../core/dialog.service\";\nimport * as i14 from \"../../core/alerts.service\";\nimport * as i15 from \"@angular/router\";\nimport * as i16 from \"../../core/overlay.service\";\nimport * as i17 from \"../../core/local-storage.service\";\nimport * as i18 from \"../../core/event.service\";\nimport * as i19 from \"../../core/action.service\";\nimport * as i20 from \"../form/form.component.ngfactory\";\nimport * as i21 from \"../form/form.component\";\nimport * as i22 from \"../../settings.service\";\nimport * as i23 from \"../../resource.service\";\nimport * as i24 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i25 from \"../../base/pagination/pagination.component\";\nimport * as i26 from \"../form-child/form-child.component.ngfactory\";\nimport * as i27 from \"../form-child/form-child.component\";\nimport * as i28 from \"../../base/pipes/entity-translate.pipe\";\nvar styles_RelationComponent = [i0.styles];\nvar RenderType_RelationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_RelationComponent, data: {} });\nexport { RenderType_RelationComponent as RenderType_RelationComponent };\nfunction View_RelationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 14).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_RelationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(6, null, [\" \", \" (\", \")\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_3)), i1.ɵdid(10, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i4.View_InstructionComponent_0, i4.RenderType_InstructionComponent)), i1.ɵdid(14, 180224, [[\"instruction\", 4]], 0, i5.InstructionComponent, [i6.HttpClient, i7.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_4 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_4); var currVal_6 = _co.configuration.instruction; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.configuration.labelKey)); var currVal_3 = _co.inlineCount; _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_5 = _co.configuration.key; _ck(_v, 12, 0, currVal_5); }); }\nfunction View_RelationComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_RelationComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_7)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.index === 0) && (_v.context.$implicit.editor !== \"hidden\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_RelationComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-icon-edit\": 0, \"sym-icon-close\": 1, \"sym-icon-expand\": 2, \"sym-icon-collapse\": 3 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = _ck(_v, 2, 0, (_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (_co.canUpdate && (_v.parent.context.$implicit === _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit === _co.current))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_RelationComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteItem(_v.parent.context.$implicit, _v.parent.context.index) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null))], null, null); }\nfunction View_RelationComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(3, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit; var currVal_2 = _v.parent.parent.context.$implicit; _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_v.parent.context.$implicit.labelKey)), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_RelationComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_11)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (((_v.context.$implicit.editor !== \"notes\") && (_v.context.$implicit.editor !== \"hidden\")) && (_v.context.index > 0)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_RelationComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-wrap-extend\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_RelationComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_13)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.$implicit.editor === \"notes\") && (_v.parent.context.$implicit[_v.context.$implicit.name] !== \"\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_RelationComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"mb-1\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-item\"]], null, null, null, null, null)), i1.ɵdid(6, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(7, { \"sym-active\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_6)), i1.ɵdid(9, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_8)), i1.ɵdid(13, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_9)), i1.ɵdid(15, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"sym-relation-columns-row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_10)), i1.ɵdid(18, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_12)), i1.ɵdid(20, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-wrap-pair d-flex justify-content-between\"; var currVal_1 = _ck(_v, 3, 0, (_co.fields.length === 1)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"sym-item\"; var currVal_3 = _ck(_v, 7, 0, _co.isActive(_v.context.$implicit)); _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_4 = _co.fields; _ck(_v, 9, 0, currVal_4); var currVal_5 = _co.canRead; _ck(_v, 13, 0, currVal_5); var currVal_6 = _co.canDelete; _ck(_v, 15, 0, currVal_6); var currVal_7 = _co.fields; _ck(_v, 18, 0, currVal_7); var currVal_8 = _co.fields; _ck(_v, 20, 0, currVal_8); }, null); }\nfunction View_RelationComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-list mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_5)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_RelationComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm align-top\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"mb-1\": 0 }), i1.ɵppd(3, 3), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 3)], function (_ck, _v) { var currVal_2 = \"btn btn-secondary btn-sm align-top\"; var currVal_3 = _ck(_v, 2, 0, (i1.ɵnov(_v.parent, 14).totalItems > 0)); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)), \"\"); var currVal_1 = (_co.editMode || _co.current); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)); _ck(_v, 6, 0, currVal_4); }); }\nfunction View_RelationComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-relation\", [], null, [[null, \"itemSaved\"], [\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, View_RelationComponent_0, RenderType_RelationComponent)), i1.ɵdid(1, 245760, null, 0, i10.RelationComponent, [i11.UserService, i12.DomainService, i13.DialogService, i14.AlertsService, i3.TranslateService, i15.Router, i16.OverlayService, i17.LocalStorageService, i15.ActivatedRoute, i18.EventsService, i19.ActionService], { configuration: [0, \"configuration\"], masterType: [1, \"masterType\"], master: [2, \"master\"] }, { itemSaved: \"itemSaved\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.configuration; var currVal_1 = _co.entityType; var currVal_2 = _co.current; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_RelationComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_16)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subRelations; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_RelationComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i20.View_FormComponent_0, i20.RenderType_FormComponent)), i1.ɵdid(1, 245760, null, 0, i21.FormComponent, [i11.UserService, i12.DomainService, i15.ActivatedRoute, i15.Router, i3.TranslateService, i14.AlertsService, i22.SettingsService, i23.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.configuration; var currVal_1 = _co.foreignKeyValue; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_RelationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 17, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_4)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"row mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"d-flex flex-wrap justify-content-between sym-relations-bottom\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_14)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-pagination\", [], [[8, \"hidden\", 0]], null, null, i24.View_PaginationComponent_0, i24.RenderType_PaginationComponent)), i1.ɵdid(14, 4374528, [[\"pagination\", 4]], 0, i25.PaginationComponent, [i15.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"sym-form-child\", [], [[8, \"hidden\", 0]], [[null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.notifySavement($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_1 = (_co.notifyCanceled($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i26.View_FormChildComponent_0, i26.RenderType_FormChildComponent)), i1.ɵdid(16, 245760, null, 0, i27.FormChildComponent, [i12.DomainService, i3.TranslateService, i14.AlertsService, i23.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"], master: [2, \"master\"] }, { itemSaved: \"itemSaved\", itemCanceled: \"itemCanceled\" }), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"sym-form-child\", [], [[8, \"hidden\", 0]], [[null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.notifySavement($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_1 = (_co.notifyCanceled($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i26.View_FormChildComponent_0, i26.RenderType_FormChildComponent)), i1.ɵdid(18, 245760, null, 0, i27.FormChildComponent, [i12.DomainService, i3.TranslateService, i14.AlertsService, i23.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"], master: [2, \"master\"] }, { itemSaved: \"itemSaved\", itemCanceled: \"itemCanceled\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_15)), i1.ɵdid(20, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_17)), i1.ɵdid(22, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasItems(); _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.canCreate; _ck(_v, 11, 0, currVal_2); var currVal_4 = true; var currVal_5 = _co.configuration.data.listSize; var currVal_6 = _co.dataSet; _ck(_v, 14, 0, currVal_4, currVal_5, currVal_6); var currVal_8 = _co.childForm.configuration; var currVal_9 = _co.currentKey; var currVal_10 = _co.master; _ck(_v, 16, 0, currVal_8, currVal_9, currVal_10); var currVal_12 = _co.createForm.configuration; var currVal_13 = _co.currentKey; var currVal_14 = _co.master; _ck(_v, 18, 0, currVal_12, currVal_13, currVal_14); var currVal_15 = _co.current; _ck(_v, 20, 0, currVal_15); var currVal_16 = _co.subForms; _ck(_v, 22, 0, currVal_16); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = (i1.ɵnov(_v, 14).totalItems === 0); _ck(_v, 13, 0, currVal_3); var currVal_7 = _co.createMode; _ck(_v, 15, 0, currVal_7); var currVal_11 = _co.editMode; _ck(_v, 17, 0, currVal_11); }); }\nexport function View_RelationComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i28.EntityTranslatePipe, [i3.TranslateService]), i1.ɵqud(671088640, 1, { relationLists: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RelationComponent_1)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canShowComponent(); _ck(_v, 3, 0, currVal_0); }, null); }\nexport function View_RelationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_RelationComponent_0, RenderType_RelationComponent)), i1.ɵdid(1, 245760, null, 0, i10.RelationComponent, [i11.UserService, i12.DomainService, i13.DialogService, i14.AlertsService, i3.TranslateService, i15.Router, i16.OverlayService, i17.LocalStorageService, i15.ActivatedRoute, i18.EventsService, i19.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar RelationComponentNgFactory = i1.ɵccf(\"sym-relation\", i10.RelationComponent, View_RelationComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\", masterType: \"masterType\", master: \"master\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { RelationComponentNgFactory as RelationComponentNgFactory };\n","/**\n * @file The RepeatSplitFormComponent is used split in repeat in 2.\n * The form is activated with an action button and displayed in the overlay.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnDestroy } from '@angular/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { DomainService } from '../../domain.service';\nimport * as moment from 'moment';\nimport { Router } from '@angular/router';\nimport { RepeatValidation } from '../helpers/repeat-validation';\nimport { TranslateService } from '@ngx-translate/core';\nimport { SettingsService } from '../../settings.service';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * The RepeatSplitFormComponent is used split in repeat in 2.\n * The form is activated with an action button and displayed in the overlay.\n *\n * @export\n * @class RepeatSplitFormComponent\n * @implements {OnDestroy}\n */\nvar RepeatSplitFormComponent = /** @class */ (function (_super) {\n tslib_1.__extends(RepeatSplitFormComponent, _super);\n /**\n * Creates an instance of RepeatSplitFormComponent.\n * @param {DomainService} domainService To communicate with the backend.\n * @param {SettingsService} settingsService Contains settings.\n * @param {AlertsService} alertsService To show feedback messages to the user.\n * @param {OverlayService} overlayService The service that manage the overlay of the application.\n * @param {Router} router The service that manage application routing.\n * @param {OverlayProvider} overlayProvider To provide the needed create parameters.\n * @param {SettingsService} settingsService To provide application settings parameter values.\n */\n function RepeatSplitFormComponent(domainService, settingsService, backendSettingsService, alertsService, overlayService, router, translateService, overlayProvider) {\n var _this = _super.call(this) || this;\n _this.domainService = domainService;\n _this.settingsService = settingsService;\n _this.backendSettingsService = backendSettingsService;\n _this.alertsService = alertsService;\n _this.overlayService = overlayService;\n _this.router = router;\n _this.translateService = translateService;\n /**\n * A list of validation errors\n */\n _this.validationErrors = [];\n _this.originalToSplit = overlayProvider.entity;\n if (!_this.originalToSplit) {\n throw Error('There is no entity to split in RepeatSplitFormComponent.');\n }\n if (_this.originalToSplit.entityType.shortName === 'PlanItem') {\n _this.originalToSplit = _this.originalToSplit['Item'];\n if (!_this.originalToSplit) {\n throw Error('PlanItem has no entity to split in RepeatSplitFormComponent.');\n }\n }\n _this.originalRepeat = _this.originalToSplit['RepeatPattern'];\n if (!_this.originalRepeat) {\n throw Error('Repeat is missing in RepeatSplitFormComponent.');\n }\n // Set split date.\n // We hebben nu nog alleen Availability --> case switch wanneer we meer gaan doen?\n _this.splitDate = _this.backendSettingsService.availabilityClosedTill.clone();\n var originalStart = moment(_this.originalToSplit['Start']);\n var duration = moment(_this.originalToSplit['Finish']).diff(originalStart);\n var newStart = moment(_this.splitDate);\n // Workaround moment.js weekday bug.\n // De week dag zetten, met moment.js, ging fout bij een originalStart van 31-03-2017 00:00\n // Oude code:\n // newStart.weekday(originalStart.weekday());\n // Nieuwe workaround code\n var originalWeekDay = originalStart.toDate().getDay();\n var test = newStart.toDate().getDay();\n while (test !== originalWeekDay) {\n // Ik zorg hiermee nu ook er voor dat ik altijd vooruit ga verder weg van this.splitDate.\n // Zodat ik niet terug ga naar weekdag van de this.splitDate week.\n newStart = newStart.add(1, 'days');\n test = newStart.toDate().getDay();\n }\n newStart = newStart.hours(originalStart.hours());\n newStart = newStart.minutes(originalStart.minutes());\n if (newStart.isSame(originalStart)) {\n // Als je wil splitsen kies je altijd een andere dag.\n newStart = newStart.add(7, 'days');\n }\n // Set split enitity.\n _this.splitEntity = _this.domainService.copy(_this.originalToSplit, true);\n _this.splitEntity['Start'] = newStart.toDate();\n _this.splitEntity['Finish'] = newStart.add(duration).toDate();\n // Set and start with rendering configuration.\n _this.formConfiguration = overlayProvider.configuration;\n return _this;\n }\n Object.defineProperty(RepeatSplitFormComponent.prototype, \"entityOid\", {\n /**\n * Gets the Oid of the new entity.\n * @readonly\n * @type {string}\n */\n get: function () {\n if (!this.splitEntity) {\n return null;\n }\n return this.splitEntity['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Lifecycle hook that is called when the component is destroyed.\n */\n RepeatSplitFormComponent.prototype.ngOnDestroy = function () {\n if (this.splitEntity && this.splitEntity.entityAspect.entityState.isAdded()) {\n // Cleanup the created entity bacause the split is cancelled.\n this.splitEntity.entityAspect.rejectChanges();\n }\n };\n /**\n * Returns a value indicating whether the entity can be split.\n */\n RepeatSplitFormComponent.prototype.canSave = function () {\n if (!this.splitDate) {\n return false;\n }\n // Wens van WJ https://github.com/Symagic/html5/issues/1051#issuecomment-391649312\n // Start moet na of op het Split-tijdstip liggen -> Wordt: Start datum moet na of op het Split datum liggen\n var dateOfStart = this.splitEntity['Start'];\n dateOfStart = new Date(dateOfStart.getFullYear(), dateOfStart.getMonth(), dateOfStart.getDate());\n return !this.splitDate.isAfter(dateOfStart) && this.originalToSplit['Start'] < dateOfStart;\n };\n /**\n * Cancels the request and closes the overlay.\n */\n RepeatSplitFormComponent.prototype.cancelItem = function () {\n if (this.splitEntity) {\n this.splitEntity.entityAspect.rejectChanges();\n }\n this.overlayService.closeOverlay();\n };\n /**\n * Saves the new created reassign request when valid.\n *\n * @param {any} event The click event that triggered the method.\n * @returns void\n */\n RepeatSplitFormComponent.prototype.saveItem = function (event) {\n var _this = this;\n // this.validationErrors.splice(0, this.validationErrors.length);\n this.validationErrors.length = 0;\n var splitUntil = this.calculateSplitUntilDate();\n if (splitUntil === undefined) {\n this.validationErrors.push('APP.DOMAIN.VALIDATORS.ENDLESS_LOOP_CALCULATING_SPLIT_UNTIL');\n return;\n }\n if (splitUntil == null) {\n this.validationErrors.push('APP.DOMAIN.VALIDATORS.SPLIT_UNTIL_BEFORE_START');\n return false;\n }\n var originalStart = this.originalToSplit['Start'];\n var originalFinish = this.originalToSplit['Finish'];\n var effectiveFinish = originalFinish;\n if (splitUntil.getUTCFullYear() < 9999) {\n effectiveFinish = new Date(splitUntil.getTime()\n + originalStart.getHours() * 3600000\n + originalStart.getMinutes() * 60000\n + originalStart.getSeconds() * 1000 // Should be zero, I'm trying to be sure.\n + originalFinish.getTime()\n - originalStart.getTime());\n }\n var currentFinish = this.splitEntity['Finish'];\n if (effectiveFinish > currentFinish) {\n this.validationErrors.push('APP.DOMAIN.VALIDATORS.SPLIT_FINISH_AFTER_FINISH');\n return false;\n }\n if (event) {\n event.target.classList.add('sym-working');\n }\n // Was eerst:\n // this.originalRepeat.UntilDate = this.calculateSplitUntilDate();\n this.originalRepeat.UntilDate = splitUntil; // Maar waarom nog een keer uitrekenen?\n if (splitUntil.getUTCFullYear() === 9999 || splitUntil.getTime() === originalStart.getTime()) {\n // calculateSplitUntilDate returns infinite date when UntilDate is before Start.\n // That is why:\n this.originalRepeat.Kind = 'ONCE';\n }\n this.originalRepeat['@ValidatedRepeatSplit'] = true;\n this.subscriptionPool.add(this.domainService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished.\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not.\n if (error) {\n if (error instanceof Array) {\n _this.validationErrors = error;\n return;\n }\n if (error.entityErrors && error.entityErrors.length > 0) {\n _this.validationErrors = [];\n error.entityErrors.forEach(function (err) {\n _this.subscriptionPool.add(_this.translateService.get(err.errorName).subscribe(function (value) {\n if (value === err.errorName) {\n _this.validationErrors.push(err.errorMessage ? err.errorMessage : 'Error ' + err.errorName +\n ' ' + err.entity.entityType.shortName + '.' + err.propertyName);\n }\n else {\n _this.validationErrors.push(err.errorName);\n }\n }));\n });\n return;\n }\n _this.alertsService.createAlert('warning', 'APP.FORMS.ITEMS_UNSUCCESSFULLY_SAVED', _this.domainService.entityErrorInfo(error.entityErrors));\n }\n else {\n _this.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n _this.overlayService.closeOverlay();\n }\n }, this.formConfiguration.data).subscribe(function (result) {\n var path = _this.router.url;\n var i = path.lastIndexOf('/');\n _this.navigateBackFromNew(_this.splitEntity, path.substr(0, i));\n }));\n };\n /**\n * Calculates until date to stop splitting repeat.\n * Until date is before new start and has a match with the splitting repeat pattern.\n * @private\n * @returns {Date} The splitting until date.\n */\n RepeatSplitFormComponent.prototype.calculateSplitUntilDate = function () {\n var tries = 65;\n var splitUntil = this.splitEntity['Start'];\n splitUntil = new Date(splitUntil.getFullYear(), splitUntil.getMonth(), splitUntil.getDate());\n splitUntil = new Date(splitUntil.getTime() - 86400000); // Go one day backward.\n var untilValidation = this.originalRepeat.validateWith(splitUntil, false);\n while (untilValidation !== RepeatValidation.Ok) {\n tries--;\n if (tries < 0) {\n // Stop from endless loop.\n return undefined;\n }\n var year = splitUntil.getFullYear();\n switch (untilValidation) {\n case RepeatValidation.UntilDateBeforeStart:\n // Original Repeat Will become ONCE.\n return new Date(Date.UTC(9999, 11, 30, 23));\n case RepeatValidation.OccurrenceOrderMismatch:\n case RepeatValidation.WeekDayMismatch:\n // Go one day backward.\n splitUntil = new Date(splitUntil.getTime() - 86400000);\n untilValidation = this.originalRepeat.validateWith(splitUntil, false);\n break;\n case RepeatValidation.DateMismatch:\n var month = splitUntil.getMonth();\n var date = Number.parseInt(this.originalRepeat.Days);\n if (date > splitUntil.getDate()) {\n month--; // We go backward.\n }\n if (month < 0) {\n month = 11; // We go backward\n year--;\n }\n // Go backward to intended date\n splitUntil = new Date(year, month, date);\n if (month !== splitUntil.getMonth()) {\n splitUntil = new Date(year, month + 1, 1);\n splitUntil.setTime(splitUntil.getTime() - 86400000);\n }\n untilValidation = this.originalRepeat.validateWith(splitUntil, false);\n break;\n case RepeatValidation.MonthMismatch:\n year = splitUntil.getFullYear();\n if (this.originalRepeat.Factor - 1 > splitUntil.getMonth()) {\n year--; // We go backward.\n }\n // Go backward to intended month\n splitUntil = new Date(year, this.originalRepeat.Factor - 1, splitUntil.getDate());\n untilValidation = this.originalRepeat.validateWith(splitUntil, false);\n break;\n }\n }\n // Wens van WJ https://github.com/Symagic/html5/issues/999#issuecomment-389877101\n var dateOfStart = this.originalToSplit['Start'];\n dateOfStart = new Date(dateOfStart.getFullYear(), dateOfStart.getMonth(), dateOfStart.getDate());\n if (splitUntil < dateOfStart) {\n return null;\n }\n return splitUntil;\n };\n /**\n * Notifies the main view of a entity creation.\n * @private\n * @param {Entity} item The entity created.\n * @param {string} path The current path root.\n */\n RepeatSplitFormComponent.prototype.navigateBackFromNew = function (item, path) {\n var id = '';\n item.entityType.keyProperties.forEach(function (property) {\n id += '_' + item[property.name];\n });\n id = id.substring(1);\n this.router.navigate([path], { queryParams: { 'new-result': id } });\n };\n return RepeatSplitFormComponent;\n}(AbstractBase));\nexport { RepeatSplitFormComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The RepeatSplitFormComponent is used split in repeat in 2.\n * The form is activated with an action button and displayed in the overlay.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./repeat-split-form.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"../form/form.component.ngfactory\";\nimport * as i5 from \"../form/form.component\";\nimport * as i6 from \"../../user.service\";\nimport * as i7 from \"../../domain.service\";\nimport * as i8 from \"@angular/router\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../settings.service\";\nimport * as i11 from \"../../resource.service\";\nimport * as i12 from \"./repeat-split-form.component\";\nimport * as i13 from \"../../backend-settings.service\";\nimport * as i14 from \"../../core/overlay.service\";\nimport * as i15 from \"../../ui/overlay-provider\";\nvar styles_RepeatSplitFormComponent = [i0.styles];\nvar RenderType_RepeatSplitFormComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_RepeatSplitFormComponent, data: {} });\nexport { RenderType_RepeatSplitFormComponent as RenderType_RepeatSplitFormComponent };\nfunction View_RepeatSplitFormComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_RepeatSplitFormComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mb-3 sym-errors\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RepeatSplitFormComponent_2)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.validationErrors; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_RepeatSplitFormComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"sym-form\", [], null, null, null, i4.View_FormComponent_0, i4.RenderType_FormComponent)), i1.ɵdid(2, 245760, null, 0, i5.FormComponent, [i6.UserService, i7.DomainService, i8.ActivatedRoute, i8.Router, i2.TranslateService, i9.AlertsService, i10.SettingsService, i11.ResourceService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], entityKey: [2, \"entityKey\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RepeatSplitFormComponent_1)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(15, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.formConfiguration; var currVal_1 = true; var currVal_2 = _co.entityOid; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = (_co.validationErrors.length > 0); _ck(_v, 4, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.CORE.SAVE\")), \"\"); var currVal_5 = !_co.canSave(); _ck(_v, 9, 0, currVal_4, currVal_5); var currVal_6 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.CORE.SAVE\")); _ck(_v, 13, 0, currVal_6); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 15, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.CORE.CANCEL\")); _ck(_v, 19, 0, currVal_8); }); }\nexport function View_RepeatSplitFormComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-repeat-split-form\", [], null, null, null, View_RepeatSplitFormComponent_0, RenderType_RepeatSplitFormComponent)), i1.ɵdid(1, 180224, null, 0, i12.RepeatSplitFormComponent, [i7.DomainService, i10.SettingsService, i13.BackendSettingsService, i9.AlertsService, i14.OverlayService, i8.Router, i2.TranslateService, i15.OverlayProvider], null, null)], null, null); }\nvar RepeatSplitFormComponentNgFactory = i1.ɵccf(\"sym-repeat-split-form\", i12.RepeatSplitFormComponent, View_RepeatSplitFormComponent_Host_0, {}, {}, []);\nexport { RepeatSplitFormComponentNgFactory as RepeatSplitFormComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The RepeatSplitFormComponent is used split in repeat in 2.\n * The form is activated with an action button and displayed in the overlay.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { LookupInput } from '../../base/inputs/input-lookup/input-lookup';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * Class for assignee component.\n */\nvar InputAssigneeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputAssigneeComponent, _super);\n /**\n * Constructs an InputAssigneeComponent\n * @param element Reference to HTML document element\n * @param domainService The domain service\n */\n function InputAssigneeComponent(domainService, alertsService, translateService, localisationService) {\n return _super.call(this, domainService, alertsService, translateService, localisationService) || this;\n }\n return InputAssigneeComponent;\n}(LookupInput));\nexport { InputAssigneeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/inputs/input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"../../base/inputs/input-lookup/input-lookup.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i6 from \"../../base/directives/toggle-required.directive\";\nimport * as i7 from \"@angular/forms\";\nimport * as i8 from \"./input-assignee.component\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../core/localisation.service\";\nvar styles_InputAssigneeComponent = [i0.styles, i1.styles];\nvar RenderType_InputAssigneeComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputAssigneeComponent, data: {} });\nexport { RenderType_InputAssigneeComponent as RenderType_InputAssigneeComponent };\nfunction View_InputAssigneeComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 3, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(3, { \"text-muted\": 0, \"sym-selectable\": 1 }), (_l()(), i2.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _ck(_v, 3, 0, !_co.value, _co.value); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", _co.getDisplayValue(), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.getDisplayValue(); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_InputAssigneeComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(3, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(4, { \"sym-icon-search\": 0, \"sym-icon-loading icon-spin\": 1 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 4, 0, !_co.isLoading(), _co.isLoading()); _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.disabled; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_InputAssigneeComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"dropdown-item sym-clickable text-truncate\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"active\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 1, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵted(5, null, [\" \", \" \"])), (_l()(), i2.ɵeld(6, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-planboard sym-match\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(9, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-location sym-no-match\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(11, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-competence sym-no-match\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(13, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-department sym-match\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"dropdown-item sym-clickable text-truncate\"; var currVal_2 = _ck(_v, 2, 0, _co.isActive(_v.context.$implicit)); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getDisplayValueForItem(_v.context.$implicit); _ck(_v, 0, 0, currVal_0); var currVal_3 = _co.getDisplayValueForItem(_v.context.$implicit); _ck(_v, 5, 0, currVal_3); var currVal_4 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 7, 0, i2.ɵnov(_v, 8).transform(\"APP.INPUTS.IS_AVAILABLE\")), \"\"); _ck(_v, 7, 0, currVal_4); var currVal_5 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 9, 0, i2.ɵnov(_v, 10).transform(\"APP.INPUTS.ON_LOCATION\")), \"\"); _ck(_v, 9, 0, currVal_5); var currVal_6 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 11, 0, i2.ɵnov(_v, 12).transform(\"APP.INPUTS.HAS_COMPETENCES\")), \"\"); _ck(_v, 11, 0, currVal_6); var currVal_7 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 13, 0, i2.ɵnov(_v, 14).transform(\"APP.INPUTS.IN_DEPARTMENT\")), \"\"); _ck(_v, 13, 0, currVal_7); }); }\nfunction View_InputAssigneeComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"font-italic sym-p-l\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \" \", \" \", \".. (\", \")\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.AND\")); var currVal_1 = (_co.inlineCount - _co.showItems); var currVal_2 = i2.ɵunv(_v, 2, 2, i2.ɵnov(_v, 4).transform(\"APP.INPUTS.MORE\")); var currVal_3 = i2.ɵunv(_v, 2, 3, i2.ɵnov(_v, 5).transform(\"APP.INPUTS.SPECIFY_SEARCH\")); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_InputAssigneeComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.INPUTS.NO_MATCHES_FOUND\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputAssigneeComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputAssigneeComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 31, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 26, \"div\", [[\"class\", \"dropdown sym-lookup\"]], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"show\": 0 }), i2.ɵdid(6, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], null, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(7, 0, null, null, 9, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(8, 0, null, null, 6, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"focus\"], [null, \"focusout\"], [null, \"keyup\"], [null, \"keydown.enter\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 10)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 10).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 10)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 10)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.textValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"focus\" === en)) {\n var pd_5 = (_co.onFocus() !== false);\n ad = (pd_5 && ad);\n } if ((\"focusout\" === en)) {\n var pd_6 = (_co.onFocusOut() !== false);\n ad = (pd_6 && ad);\n } if ((\"keyup\" === en)) {\n var pd_7 = (_co.lookup($event) !== false);\n ad = (pd_7 && ad);\n } if ((\"keydown.enter\" === en)) {\n var pd_8 = (_co.leaveViaEnter($event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i2.ɵdid(9, 16384, null, 0, i6.ToggleRequiredDirective, [i2.ElementRef], { symToggleRequired: [0, \"symToggleRequired\"] }, null), i2.ɵdid(10, 16384, null, 0, i7.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i2.ɵdid(12, 671744, null, 0, i7.NgModel, [[8, null], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i2.ɵdid(14, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputAssigneeComponent_3)), i2.ɵdid(16, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(17, 0, null, null, 12, \"div\", [[\"class\", \"dropdown-menu sym-dropdown-menu sym-p-a\"]], null, null, null, null, null)), i2.ɵdid(18, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(19, { \"show\": 0 }), (_l()(), i2.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"dropdown-item sym-clickable text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(null) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(21, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i2.ɵted(22, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputAssigneeComponent_4)), i2.ɵdid(25, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputAssigneeComponent_5)), i2.ɵdid(27, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputAssigneeComponent_6)), i2.ɵdid(29, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputAssigneeComponent_7)), i2.ɵdid(31, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = \"dropdown sym-lookup\"; var currVal_2 = _ck(_v, 5, 0, _co.isOpen()); _ck(_v, 4, 0, currVal_1, currVal_2); _ck(_v, 6, 0); var currVal_12 = _co.required; _ck(_v, 9, 0, currVal_12); var currVal_13 = _co.disabled; var currVal_14 = _co.textValue; _ck(_v, 12, 0, currVal_13, currVal_14); var currVal_15 = _co.showButton; _ck(_v, 16, 0, currVal_15); var currVal_16 = \"dropdown-menu sym-dropdown-menu sym-p-a\"; var currVal_17 = _ck(_v, 19, 0, _co.isOpen()); _ck(_v, 18, 0, currVal_16, currVal_17); var currVal_19 = _co.items; _ck(_v, 25, 0, currVal_19); var currVal_20 = ((_co.inlineCount - _co.showItems) > 0); _ck(_v, 27, 0, currVal_20); var currVal_21 = _co.notFound; _ck(_v, 29, 0, currVal_21); var currVal_22 = _co.validationErrors; _ck(_v, 31, 0, currVal_22); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.placeHolderText; var currVal_4 = _co.textValue; var currVal_5 = i2.ɵnov(_v, 14).ngClassUntouched; var currVal_6 = i2.ɵnov(_v, 14).ngClassTouched; var currVal_7 = i2.ɵnov(_v, 14).ngClassPristine; var currVal_8 = i2.ɵnov(_v, 14).ngClassDirty; var currVal_9 = i2.ɵnov(_v, 14).ngClassValid; var currVal_10 = i2.ɵnov(_v, 14).ngClassInvalid; var currVal_11 = i2.ɵnov(_v, 14).ngClassPending; _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11); var currVal_18 = i2.ɵunv(_v, 22, 0, i2.ɵnov(_v, 23).transform(\"APP.INPUTS.NO_ENTITY\")); _ck(_v, 22, 0, currVal_18); }); }\nexport function View_InputAssigneeComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputAssigneeComponent_1)), i2.ɵdid(1, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputAssigneeComponent_2)), i2.ɵdid(3, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputAssigneeComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-assignee\", [], null, [[\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_InputAssigneeComponent_0, RenderType_InputAssigneeComponent)), i2.ɵdid(1, 245760, null, 0, i8.InputAssigneeComponent, [i9.DomainService, i10.AlertsService, i4.TranslateService, i11.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar InputAssigneeComponentNgFactory = i2.ɵccf(\"sym-input-assignee\", i8.InputAssigneeComponent, View_InputAssigneeComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", showButton: \"showButton\", placeholder: \"placeholder\", format: \"format\" }, { valueChange: \"valueChange\", onRefresh: \"onRefresh\", onDropdownChanged: \"onDropdownChanged\" }, []);\nexport { InputAssigneeComponentNgFactory as InputAssigneeComponentNgFactory };\n","/**\n* @file Fieldset component for assignee input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../../base/fieldsets/fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../../base/fieldsets/fieldset-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Class for the assignee entity component\n */\nvar FieldsetAssigneeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetAssigneeComponent, _super);\n /**\n * Constructs a FieldsetEntityComponent\n */\n function FieldsetAssigneeComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetAssigneeComponent.register = function () {\n ComponentRegistry.register('fieldset', 'assignee', FieldsetAssigneeComponent);\n };\n return FieldsetAssigneeComponent;\n}(FieldsetBase));\nexport { FieldsetAssigneeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for assignee input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../input-assignee/input-assignee.component.ngfactory\";\nimport * as i7 from \"../input-assignee/input-assignee.component\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"./fieldset-assignee.component\";\nimport * as i12 from \"../../base/fieldsets/fieldset-provider\";\nvar styles_FieldsetAssigneeComponent = [i0.styles];\nvar RenderType_FieldsetAssigneeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetAssigneeComponent, data: {} });\nexport { RenderType_FieldsetAssigneeComponent as RenderType_FieldsetAssigneeComponent };\nfunction View_FieldsetAssigneeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetAssigneeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetAssigneeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetAssigneeComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetAssigneeComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-assignee\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 12).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.provider.value = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputAssigneeComponent_0, i6.RenderType_InputAssigneeComponent)), i1.ɵdid(12, 245760, null, 0, i7.InputAssigneeComponent, [i8.DomainService, i9.AlertsService, i4.TranslateService, i10.LocalisationService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetAssigneeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-assignee\", [], null, null, null, View_FieldsetAssigneeComponent_0, RenderType_FieldsetAssigneeComponent)), i1.ɵdid(1, 180224, null, 0, i11.FieldsetAssigneeComponent, [i12.FieldsetProvider], null, null)], null, null); }\nvar FieldsetAssigneeComponentNgFactory = i1.ɵccf(\"sym-fieldset-assignee\", i11.FieldsetAssigneeComponent, View_FieldsetAssigneeComponent_Host_0, {}, {}, []);\nexport { FieldsetAssigneeComponentNgFactory as FieldsetAssigneeComponentNgFactory };\n","/**\n * @file Input component for showing resources using a requirement\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { EntityQuery } from 'breeze-client';\nimport { OverlayService } from '../../core/overlay.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { InputBase } from '../../base/inputs/input-base/input-base';\nimport { DomainService } from '../../domain.service';\n/**\n * Class for input showing which resources use a requirement\n */\nvar InputInUseByComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputInUseByComponent, _super);\n /**\n * Constructs a InputInUseByComponent\n */\n function InputInUseByComponent(overlayService, alertsService, domainService) {\n var _this = _super.call(this) || this;\n _this.overlayService = overlayService;\n _this.alertsService = alertsService;\n _this.domainService = domainService;\n /** Number of resources visible in view */\n _this.visibleResources = 3;\n /** All resources */\n _this.resources = [];\n /**\n * Holds the reference of the entity format.\n * @private\n * @type {EntityFormat}\n */\n _this.formatValue = undefined;\n return _this;\n }\n Object.defineProperty(InputInUseByComponent.prototype, \"format\", {\n /**\n * Sets the entity format of the lookup, which entity and properties are used.\n */\n get: function () {\n return this.formatValue;\n },\n /**\n * Sets the entity format of the lookup, which entity and properties are used.\n */\n set: function (value) {\n if (value === this.formatValue) {\n return;\n }\n this.formatValue = value;\n },\n enumerable: true,\n configurable: true\n });\n InputInUseByComponent.prototype.setValue = function (val) {\n _super.prototype.setValue.call(this, val);\n if (!val) {\n return;\n }\n if (!this.format) {\n return;\n }\n this.update(this.format.dataSource, this.value);\n };\n /**\n * get data from datasource\n * @param dataSource endpoint name\n * @param val Oid value\n */\n InputInUseByComponent.prototype.update = function (dataSource, val) {\n var _this = this;\n if (!val) {\n return;\n }\n var query = EntityQuery.from(dataSource).orderBy('Name,FirstName');\n query.parameters = {\n className: val.entityType.shortName,\n oid: val['Oid'],\n impClass: 'Resource'\n };\n this.domainService.entityManager.executeQuery(query).then(function (response) {\n _this.resources = response.results;\n });\n };\n /**\n * A lifecycle hook that is called after Angular has fully initialized a component's view.\n * Define an ngAfterViewInit() method to handle any additional initialization tasks.\n */\n InputInUseByComponent.prototype.ngAfterViewInit = function () {\n var format = this.formatValue;\n if (!format) {\n throw new Error('Column inuseby has as no format');\n }\n var dataSource = format.dataSource;\n if (!dataSource) {\n throw new Error('Column inuseby has as no datasource');\n }\n this.update(dataSource, this.value);\n };\n /**\n * Open any given entity in the app\n * @param entity The entity to open\n */\n InputInUseByComponent.prototype.openEntity = function ($event, entity) {\n $event.stopPropagation();\n if (!entity || this.isInOverlay()) {\n return;\n }\n if (!this.overlayService.goToEntity(entity)) {\n this.alertsService.createAlert('warning', 'APP.LISTS.CAN_NOT_GO_TO_ENTITY');\n }\n };\n /**\n * Returns the first few resources\n */\n InputInUseByComponent.prototype.selection = function () {\n return (this.resources ? this.resources.slice(0, this.visibleResources) : []);\n };\n /**\n * Returns whether the overlay is already open\n */\n InputInUseByComponent.prototype.isInOverlay = function () {\n return this.overlayService.isOpen();\n };\n return InputInUseByComponent;\n}(InputBase));\nexport { InputInUseByComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for showing resources using a requirement\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/inputs/input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"./input-inuseby.component\";\nimport * as i5 from \"../../core/overlay.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"../../domain.service\";\nvar styles_InputInUseByComponent = [i0.styles];\nvar RenderType_InputInUseByComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_InputInUseByComponent, data: {} });\nexport { RenderType_InputInUseByComponent as RenderType_InputInUseByComponent };\nfunction View_InputInUseByComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\", \"]))], null, null); }\nfunction View_InputInUseByComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openEntity($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-clickable\": 0 }), (_l()(), i1.ɵted(4, null, [\"\", \" \", \" \", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputInUseByComponent_4)), i1.ɵdid(6, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, !_co.isInOverlay()); _ck(_v, 2, 0, currVal_0); var currVal_4 = ((_v.context.index < (_co.visibleResources - 1)) && (_v.context.index < (_co.resources.length - 1))); _ck(_v, 6, 0, currVal_4); }, function (_ck, _v) { var currVal_1 = _v.context.$implicit.FirstName; var currVal_2 = _v.context.$implicit.Prefix; var currVal_3 = _v.context.$implicit.Name; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_InputInUseByComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputInUseByComponent_3)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.selection(); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_InputInUseByComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.visibleResources = _co.resources.length) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), (_l()(), i1.ɵted(5, null, [\" \", \".\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.INPUTS.RESOURCES_AND\")); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.resources.length - _co.visibleResources); _ck(_v, 4, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.INPUTS.RESOURCES_MORE\")); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_InputInUseByComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputInUseByComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputInUseByComponent_5)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.resources; _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.resources.length - _co.visibleResources) > 0); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_InputInUseByComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputInUseByComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Please put the resources input in readonly!\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputInUseByComponent_7)), i1.ɵdid(6, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.validationErrors; _ck(_v, 6, 0, currVal_1); }, null); }\nexport function View_InputInUseByComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputInUseByComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_InputInUseByComponent_6)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputInUseByComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-inuseby\", [], null, null, null, View_InputInUseByComponent_0, RenderType_InputInUseByComponent)), i1.ɵdid(1, 4374528, null, 0, i4.InputInUseByComponent, [i5.OverlayService, i6.AlertsService, i7.DomainService], null, null)], null, null); }\nvar InputInUseByComponentNgFactory = i1.ɵccf(\"sym-input-inuseby\", i4.InputInUseByComponent, View_InputInUseByComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", format: \"format\" }, { valueChange: \"valueChange\" }, []);\nexport { InputInUseByComponentNgFactory as InputInUseByComponentNgFactory };\n","/**\n* @file Fieldset component for listing resources using a requirement\n* @author Maarten Lensink\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../../base/fieldsets/fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../../base/fieldsets/fieldset-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Class for listing resources using a requirement\n */\nvar FieldsetInUseByComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetInUseByComponent, _super);\n /**\n * Constructs a FieldsetInUseByComponent\n */\n function FieldsetInUseByComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetInUseByComponent.register = function () {\n ComponentRegistry.register('fieldset', 'inuseby', FieldsetInUseByComponent);\n };\n return FieldsetInUseByComponent;\n}(FieldsetBase));\nexport { FieldsetInUseByComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for listing resources using a requirement\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../input-inuseby/input-inuseby.component.ngfactory\";\nimport * as i7 from \"../input-inuseby/input-inuseby.component\";\nimport * as i8 from \"../../core/overlay.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../domain.service\";\nimport * as i11 from \"./fieldset-inuseby.component\";\nimport * as i12 from \"../../base/fieldsets/fieldset-provider\";\nvar styles_FieldsetInUseByComponent = [i0.styles];\nvar RenderType_FieldsetInUseByComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetInUseByComponent, data: {} });\nexport { RenderType_FieldsetInUseByComponent as RenderType_FieldsetInUseByComponent };\nfunction View_FieldsetInUseByComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetInUseByComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetInUseByComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetInUseByComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetInUseByComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-inuseby\", [], null, null, null, i6.View_InputInUseByComponent_0, i6.RenderType_InputInUseByComponent)), i1.ɵdid(12, 4374528, null, 0, i7.InputInUseByComponent, [i8.OverlayService, i9.AlertsService, i10.DomainService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = _co.provider.field.required; _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = true; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.entity; var currVal_7 = _co.provider.field.format; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetInUseByComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-inuseby\", [], null, null, null, View_FieldsetInUseByComponent_0, RenderType_FieldsetInUseByComponent)), i1.ɵdid(1, 180224, null, 0, i11.FieldsetInUseByComponent, [i12.FieldsetProvider], null, null)], null, null); }\nvar FieldsetInUseByComponentNgFactory = i1.ɵccf(\"sym-fieldset-inuseby\", i11.FieldsetInUseByComponent, View_FieldsetInUseByComponent_Host_0, {}, {}, []);\nexport { FieldsetInUseByComponentNgFactory as FieldsetInUseByComponentNgFactory };\n","/**\n * @file Fieldset component for location input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, ChangeDetectorRef } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FormControl } from '@angular/forms';\nimport { FieldsetBase } from '../../base/fieldsets/fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../../base/fieldsets/fieldset-provider';\nimport { DomainService } from '../../domain.service';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Class for the location fieldset component\n */\nvar FieldsetLocationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetLocationComponent, _super);\n /**\n * Constructs a FieldsetLocationComponent\n * @param translateService Is needed to get a summary of the location.\n * @param provider Provides the configuration information for the fieldset.\n */\n function FieldsetLocationComponent(translateService, provider, domainService, changeDetectorRef) {\n var _this = _super.call(this, provider) || this;\n _this.domainService = domainService;\n _this.changeDetectorRef = changeDetectorRef;\n /**\n * Holds the colors used for displaying location\n * @private\n * @type {string[]}\n */\n _this.colors = [\n '#fb9fa7',\n '#0079a9',\n '#974463',\n '#57405d',\n '#54c1d9',\n '#999653',\n '#ffd46e',\n '#fa853b',\n '#f7674e',\n '#d31433',\n '#dbc996',\n '#674642',\n '#ef4e76',\n '#2e445b',\n '#306476',\n '#57815d',\n '#727158',\n '#e8a055',\n '#b44837',\n '#843e43'\n ];\n /**\n * Labels needed for address lines\n * @private\n * @type {{\n * 'APP.INPUTS.TEXT_PLACEHOLDER': string,\n * 'APP.INPUTS.NO_ENTITY': string\n * }}\n */\n _this.labels = {\n 'APP.INPUTS.TEXT_PLACEHOLDER': '?',\n 'APP.INPUTS.NO_ENTITY': '?'\n };\n /**\n * Gets, sets the lines of the total address.\n * The property is equal to null when the address was not found.\n * @type {string[]}\n */\n _this.addressLines = null;\n /**\n * Is the fieldset in loading mode? E.g. trying to get an address based on\n * the user's input postal code and house number\n */\n _this.loading = false;\n /**\n * The reference of the entity that owns the address (location entity).\n * @private\n * @type {Entity}\n */\n _this._entity = null;\n /**\n * Gets, sets the read only mode of the component.\n */\n _this.readOnly = false;\n /**\n * Temporary field to hold house number value when user wants to edit this value and\n * the location entity is not created yet.\n * @private\n */\n _this._houseNumber = '';\n /**\n * Temporary field to hold postal code value when user wants to edit this value and\n * the location entity is not created yet.\n * @private\n */\n _this._postalCode = '';\n /**\n * Array containing errors after search.\n * @type {string[]}\n */\n _this.validationErrors = [];\n /** Angular controls are used in the template. */\n _this.houseNumberControl = new FormControl();\n _this.postalCodeControl = new FormControl();\n _this.streetControl = new FormControl();\n _this.cityControl = new FormControl();\n _this.subscriptionPool.add(translateService.get(['APP.INPUTS.TEXT_PLACEHOLDER', 'APP.INPUTS.NO_ENTITY']).subscribe(function (values) {\n _this.labels = values;\n }));\n return _this;\n }\n Object.defineProperty(FieldsetLocationComponent.prototype, \"state\", {\n /**\n * The state of the location fieldset is as follow:\n * empty : no user input\n * auto : address is found based on the input (postal code + house number)\n * manual : address is not found and the user can edit the adress himself.\n * @readonly\n * @type {string}\n */\n get: function () {\n if (this.loading) {\n return 'auto';\n }\n var test = this.location;\n if (!test) {\n return this.readOnly ? 'auto' : 'empty';\n }\n if (this.addressLines) {\n // Only filled when address was found or when readonly.\n return 'auto';\n }\n if (!test.entityAspect.entityState.isAdded()) {\n return 'manual';\n }\n if (this.validationErrors.length > 0) {\n // Search button is already used. (but not successful).\n return 'manual';\n }\n if ((test['Oid'] + '').lastIndexOf('_') === 1) {\n // Location is created for holding first time user input.\n return 'empty';\n }\n return 'manual';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetLocationComponent.prototype, \"entity\", {\n /**\n * Gets, the entity that owns the address (location entity).\n * Use this property for template bindings.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n var test = this.provider.entity;\n if (test !== this._entity) {\n this.loading = false;\n this._entity = test;\n this._houseNumber = '';\n this._postalCode = '';\n // this.validationErrors.splice(0, this.validationErrors.length);\n this.validationErrors.length = 0;\n this.refreshAddressLines();\n }\n return test;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetLocationComponent.prototype, \"location\", {\n /**\n * Gets, the location entity representing the address of the entity shown.\n * @type {Entity}\n */\n get: function () {\n var _this = this;\n if (!this.entity) {\n return null;\n }\n var propertyName = this.provider.field.name;\n if (propertyName === '@this') {\n return this.entity;\n }\n var result = this.entity[propertyName];\n if (!result) {\n var property = this.entity.entityType.getNavigationProperty(propertyName);\n if (!property) {\n return;\n }\n var foreignKeyProp = property.foreignKeyNames[0];\n var foreignKey = this.entity[foreignKeyProp];\n if (!foreignKey) {\n return;\n }\n if (this.loading) {\n return result;\n }\n this.loading = true;\n // window.setTimeout werkte niet. Daarom zwaar geschut met changeDetectorRef\n this.changeDetectorRef.detach();\n this.entity.entityAspect.loadNavigationProperty(propertyName, function (data) {\n if (data.results.length === 1) {\n result = data.results[0];\n _this.refreshAddressLines();\n }\n _this.loading = false;\n _this.changeDetectorRef.detectChanges();\n _this.changeDetectorRef.reattach();\n });\n return result;\n }\n return result;\n },\n /**\n * Sets, the location entity representing the address of the entity shown.\n */\n set: function (value) {\n if (!this.entity) {\n return;\n }\n var propertyName = this.provider.field.name;\n var result = this.entity[propertyName];\n if (result && ((value && result['Oid'] !== value['Oid']) || value == null)) {\n // Reset previous location/address maybe it is used by others.\n if (result['$CHANGED_BY_ENTITY']) {\n delete result['$CHANGED_BY_ENTITY'];\n delete result['$CHANGED_BY_PROPERTY'];\n }\n result.entityAspect.rejectChanges();\n }\n this.entity[propertyName] = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetLocationComponent.prototype, \"houseNumber\", {\n /**\n * Gets, the house number of the address.\n * @type {string}\n */\n get: function () {\n var address = this.location;\n if (address) {\n return address['HouseNumber'];\n }\n return this._houseNumber;\n },\n /**\n * Sets, the house number of the address.\n */\n set: function (value) {\n var address = this.location;\n if (address) {\n if (this.updateValue(address, 'HouseNumber', value)) {\n address['$CHANGED_BY_ENTITY'] = this.entity;\n address['$CHANGED_BY_PROPERTY'] = this.provider.field.name;\n }\n return;\n }\n if (this._houseNumber === value) {\n return; // Deel van fix: Merkwaardige validatiemeldingen bij adres #2127\n }\n this._houseNumber = value;\n if (this._houseNumber !== '') {\n this.createNewLocation();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetLocationComponent.prototype, \"postalCode\", {\n /**\n * Gets, the postal code of the address\n * @type {string}\n */\n get: function () {\n var address = this.location;\n if (address) {\n return address['ZipCode'];\n }\n return this._postalCode;\n },\n /**\n * Sets, the postal code of the address\n */\n set: function (value) {\n var address = this.location;\n if (address) {\n if (this.updateValue(address, 'ZipCode', value)) {\n address['$CHANGED_BY_ENTITY'] = this.entity;\n address['$CHANGED_BY_PROPERTY'] = this.provider.field.name;\n address['Color'] = this.pickColor(value);\n }\n return;\n }\n if (this._postalCode === value) {\n return; // Deel van fix: Merkwaardige validatiemeldingen bij adres #2127\n }\n this._postalCode = value;\n if (this._postalCode !== '') {\n this.createNewLocation();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetLocationComponent.prototype, \"street\", {\n /**\n * Gets, the street name of the address.\n * @type {string}\n */\n get: function () {\n var address = this.location;\n if (address) {\n return address['Address'];\n }\n return '';\n },\n /**\n * Sets, the street name of the address.\n */\n set: function (value) {\n var address = this.location;\n if (address) {\n this.updateValue(address, 'Address', value);\n return;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetLocationComponent.prototype, \"city\", {\n /**\n * Gets, the name of the city of the address.\n * @type {string}\n */\n get: function () {\n var address = this.location;\n if (address) {\n return address['Name'];\n }\n return '';\n },\n /**\n * Sets, the name of the city of the address.\n */\n set: function (value) {\n var address = this.location;\n if (address) {\n this.updateValue(address, 'Name', value);\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Register component by the fieldset provider\n * @static\n */\n FieldsetLocationComponent.register = function () {\n ComponentRegistry.register('fieldset', 'location', FieldsetLocationComponent);\n };\n /**\n * Search location by matching postal code and house number.\n * Creates a location without a waypoint when no match is found.\n * @returns {Observable} Result set of query.\n */\n FieldsetLocationComponent.prototype.search = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result, reason_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n // this.validationErrors.splice(0, this.validationErrors.length);\n this.validationErrors.length = 0;\n this.loading = true;\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.domainService.locationByZipCode(this.postalCode, this.houseNumber)];\n case 2:\n result = _a.sent();\n if (result.results.length > 0) {\n this.location = result.results[0];\n this.refreshAddressLines();\n }\n else {\n this.validationErrors.push('APP.DOMAIN.VALIDATORS.ZIPCODE_NUMBER_NOT_FOUND');\n if (!this.entity.entityAspect.entityState.isUnchanged()) {\n this.createNewLocation();\n }\n }\n return [3 /*break*/, 4];\n case 3:\n reason_1 = _a.sent();\n this.validationErrors.push(reason_1);\n this.loading = false;\n return [3 /*break*/, 4];\n case 4:\n this.loading = false;\n return [2 /*return*/, result];\n }\n });\n });\n };\n /**\n * Creates a new location entity without a waypoint to support storage of unknown addresses.\n * @private\n */\n FieldsetLocationComponent.prototype.createNewLocation = function () {\n var entity = this.domainService.getEntityType('Location').createEntity({\n Region: 'A',\n HouseNumber: this.houseNumber,\n ZipCode: this.postalCode,\n Name: this.city,\n Address: this.street,\n Color: this.pickColor(this.postalCode) // A location must have a valid color.\n });\n this.location = this.domainService.addEntity(entity);\n this._houseNumber = '';\n this._postalCode = '';\n this.refreshAddressLines();\n };\n /**\n * Resets the addressLines array and fills it with the\n * lines for showing the total address when the waypoint is known\n * or when the fieldset is in readonly mode.\n * @private\n */\n FieldsetLocationComponent.prototype.refreshAddressLines = function () {\n this.addressLines = null;\n if (!this.location) {\n if (this.readOnly) {\n this.addressLines = [this.labels['APP.INPUTS.NO_ENTITY']];\n }\n return;\n }\n if (!this.readOnly && this.location['Longitude'] === '') {\n return;\n }\n this.addressLines = [];\n this.addressLines.push(this.street + ' ' + this.houseNumber);\n this.addressLines.push(this.postalCode + ' ' + this.city);\n };\n /**\n * Is called right after the directive's data-bound properties have been checked for the\n * first time, and before any of its children have been checked.It is invoked only once when the\n * directive is instantiated.\n */\n FieldsetLocationComponent.prototype.ngOnInit = function () {\n this.readOnly = this.provider.field.readonly ? true : false;\n };\n /**\n * Returns whether the location exists and therefore can be deleted\n * @returns {boolean} A value indicating whether the location can be deleted by the user\n */\n FieldsetLocationComponent.prototype.canDelete = function () {\n return this.provider.entity && this.provider.entity[this.provider.field.name] != null && !this.readOnly;\n };\n /**\n * Removes the location from its parent and set it for deletion\n */\n FieldsetLocationComponent.prototype.delete = function () {\n if (!this.location) {\n return;\n }\n this.addressLines = null;\n this._houseNumber = '';\n this._postalCode = '';\n this.location['Address'] = '';\n this.location['Name'] = '';\n if (this.location.entityAspect.entityState.isAdded()) {\n this.location.entityAspect.rejectChanges();\n }\n else if (this.location.entityAspect.entityState.isUnchangedOrModified()) {\n this.location.entityAspect.setDeleted();\n }\n this.validationErrors.length = 0;\n if (this.entity) {\n this.entity[this.provider.field.name] = null;\n var property = this.entity.entityType.getNavigationProperty(this.provider.field.name);\n if (!property) {\n return;\n }\n this.entity[property.foreignKeyNames[0]] = '';\n }\n };\n /**\n * Sets an address property of the location entity when\n * the value is different from the current value\n * and removes the waypoint information.\n * @private\n * @param {Entity} address The location entity\n * @param {string} propertyName The name of the address property\n * @param {string} value The new value\n * @returns {boolean} True when the value was different from the current value otherwise false\n */\n FieldsetLocationComponent.prototype.updateValue = function (address, propertyName, value) {\n if (address[propertyName] !== value) {\n address[propertyName] = value;\n address['Longitude'] = '';\n address['Latitude'] = '';\n this.addressLines = null;\n return true;\n }\n return false;\n };\n /**\n * Method to pick a color based on the zipcode.\n * @private\n * @param {string} zipCode The zipcode picking the color\n * @returns {string} The color code.\n */\n FieldsetLocationComponent.prototype.pickColor = function (zipCode) {\n // Count the char codes\n var charCodeCount = 0;\n for (var i = 0; i < zipCode.length; i++) {\n charCodeCount += zipCode.charCodeAt(i);\n }\n // And use this together with the remainder function to\n // map the numbers to the available colors.\n var remainder = (charCodeCount % this.colors.length);\n // Pick the color and return it\n return this.colors[remainder];\n };\n return FieldsetLocationComponent;\n}(FieldsetBase));\nexport { FieldsetLocationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for location input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../base/inputs/input-string/input-string.component.ngfactory\";\nimport * as i7 from \"../../base/inputs/input-string/input-string.component\";\nimport * as i8 from \"./fieldset-location.component\";\nimport * as i9 from \"../../base/fieldsets/fieldset-provider\";\nimport * as i10 from \"../../domain.service\";\nvar styles_FieldsetLocationComponent = [i0.styles];\nvar RenderType_FieldsetLocationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetLocationComponent, data: {} });\nexport { RenderType_FieldsetLocationComponent as RenderType_FieldsetLocationComponent };\nfunction View_FieldsetLocationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.LOCATION.POSTAL_CODE?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.LOCATION.POSTAL_CODE?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetLocationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_2)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_3)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.postalCode = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputStringComponent, [], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.LOCATION.POSTAL_CODE?\"; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.postalCodeControl; var currVal_4 = _co.postalCode; _ck(_v, 12, 0, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.LOCATION.POSTAL_CODE\")); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.LOCATION.HOUSE_NUMBER?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.LOCATION.HOUSE_NUMBER?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetLocationComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_5)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_6)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 12, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"col-7\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.houseNumber = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(14, 180224, null, 0, i7.InputStringComponent, [], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(15, 0, null, null, 7, \"div\", [[\"class\", \"col-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-secondary btn-sm pull-right\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.search() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(18, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(19, { \"sym-icon-location\": 0, \"sym-icon-loading\": 1, \"icon-spin\": 2 }), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.LOCATION.HOUSE_NUMBER?\"; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.houseNumberControl; var currVal_4 = _co.houseNumber; _ck(_v, 14, 0, currVal_3, currVal_4); var currVal_5 = \"icon\"; var currVal_6 = _ck(_v, 19, 0, !_co.loading, _co.loading, _co.loading); _ck(_v, 18, 0, currVal_5, currVal_6); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.LOCATION.HOUSE_NUMBER\")); _ck(_v, 6, 0, currVal_1); var currVal_7 = i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 22).transform(\"APP.FORMS.LOCATION.FIND\")); _ck(_v, 21, 0, currVal_7); }); }\nfunction View_FieldsetLocationComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.LOCATION.FULL_ADDRESS?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.LOCATION.FULL_ADDRESS?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetLocationComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\" \", \" \"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.LOCATION.LOADING\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_FieldsetLocationComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_FieldsetLocationComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_12)), i1.ɵdid(2, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.addressLines; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_FieldsetLocationComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_8)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_9)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 4, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_10)), i1.ɵdid(12, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_11)), i1.ɵdid(14, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.LOCATION.FULL_ADDRESS?\"; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = (_co.loading && (_co.state !== \"empty\")); _ck(_v, 12, 0, currVal_3); var currVal_4 = (!_co.loading && _co.addressLines); _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.LOCATION.FULL_ADDRESS\")); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.LOCATION.STREET?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.LOCATION.STREET?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetLocationComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_14)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_15)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.street = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputStringComponent, [], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.LOCATION.STREET?\"; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.streetControl; var currVal_4 = _co.street; _ck(_v, 12, 0, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.LOCATION.STREET\")); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.LOCATION.CITY?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.LOCATION.CITY?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetLocationComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_17)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_18)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-string\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.city = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputStringComponent_0, i6.RenderType_InputStringComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputStringComponent, [], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.LOCATION.CITY?\"; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.cityControl; var currVal_4 = _co.city; _ck(_v, 12, 0, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.FORMS.LOCATION.CITY\")); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-link btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.delete() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.FORMS.REMOVE_ADDRESS\")), \"\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REMOVE_ADDRESS\")); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_FieldsetLocationComponent_20(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_FieldsetLocationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b sym-m-t\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_4)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_7)), i1.ɵdid(6, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_13)), i1.ɵdid(8, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_16)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_19)), i1.ɵdid(12, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetLocationComponent_20)), i1.ɵdid(14, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b sym-m-t\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.provider.field.readonly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.provider.field.readonly; _ck(_v, 4, 0, currVal_1); var currVal_2 = (_co.state === \"auto\"); _ck(_v, 6, 0, currVal_2); var currVal_3 = (_co.state === \"manual\"); _ck(_v, 8, 0, currVal_3); var currVal_4 = (_co.state === \"manual\"); _ck(_v, 10, 0, currVal_4); var currVal_5 = _co.canDelete(); _ck(_v, 12, 0, currVal_5); var currVal_6 = _co.validationErrors; _ck(_v, 14, 0, currVal_6); }, null); }\nexport function View_FieldsetLocationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-location\", [], null, null, null, View_FieldsetLocationComponent_0, RenderType_FieldsetLocationComponent)), i1.ɵdid(1, 245760, null, 0, i8.FieldsetLocationComponent, [i4.TranslateService, i9.FieldsetProvider, i10.DomainService, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar FieldsetLocationComponentNgFactory = i1.ɵccf(\"sym-fieldset-location\", i8.FieldsetLocationComponent, View_FieldsetLocationComponent_Host_0, {}, {}, []);\nexport { FieldsetLocationComponentNgFactory as FieldsetLocationComponentNgFactory };\n","/**\n * @file The Multi type fieldset component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { FieldsetBase } from '../../base/fieldsets/fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../../base/fieldsets/fieldset-provider';\nimport { FormControl } from '@angular/forms';\nimport { ComponentRegistry } from '../../core/component-registry';\nvar FieldsetMultiTypeComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetMultiTypeComponent, _super);\n /**\n * Constructs a FieldsetEntityComponent\n */\n function FieldsetMultiTypeComponent(provider) {\n var _this = _super.call(this, provider) || this;\n _this.sourceTypeValue = undefined;\n _this.lastEntity = null;\n _this.sourceTypeControl = new FormControl();\n _this.sourceTypes = [];\n _this.sources = {};\n return _this;\n }\n Object.defineProperty(FieldsetMultiTypeComponent.prototype, \"sourceType\", {\n get: function () {\n var entity = this.provider.value;\n if (entity !== this.lastEntity) {\n this.lastEntity = entity;\n if (entity) {\n this.sourceTypeValue = entity.entityType.shortName;\n return this.sourceTypeValue;\n }\n if (!this.sourceTypeValue) {\n if (this.sourceTypes.length > 0) {\n this.sourceTypeValue = this.sourceTypes[0].value;\n return this.sourceTypeValue;\n }\n }\n }\n return this.sourceTypeValue;\n },\n set: function (value) {\n if (this.sourceTypeValue === value) {\n return;\n }\n this.sourceTypeValue = value;\n this.provider.value = null;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Register component by the fieldset provider\n */\n FieldsetMultiTypeComponent.register = function () {\n ComponentRegistry.register('fieldset', 'multitype', FieldsetMultiTypeComponent);\n };\n FieldsetMultiTypeComponent.prototype.ngOnInit = function () {\n var _this = this;\n var format = this.provider.field.format;\n Object.keys(format).forEach(function (sourceName) {\n var entityFormat = format[sourceName];\n _this.sourceTypes.push({\n labelKey: sourceName, value: entityFormat.entity\n });\n _this.sources[entityFormat.entity] = entityFormat;\n });\n };\n FieldsetMultiTypeComponent.prototype.sourceTypeSelected = function () {\n return this.sourceTypeValue && this.sourceTypeValue !== '';\n };\n return FieldsetMultiTypeComponent;\n}(FieldsetBase));\nexport { FieldsetMultiTypeComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Multi type fieldset component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../base/inputs/input-radio/input-radio.component.ngfactory\";\nimport * as i7 from \"../../base/inputs/input-radio/input-radio.component\";\nimport * as i8 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i9 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i10 from \"../../domain.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../core/localisation.service\";\nimport * as i13 from \"../../core/overlay.service\";\nimport * as i14 from \"./fieldset-multi-type.component\";\nimport * as i15 from \"../../base/fieldsets/fieldset-provider\";\nvar styles_FieldsetMultiTypeComponent = [i0.styles];\nvar RenderType_FieldsetMultiTypeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetMultiTypeComponent, data: {} });\nexport { RenderType_FieldsetMultiTypeComponent as RenderType_FieldsetMultiTypeComponent };\nfunction View_FieldsetMultiTypeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.MISC.ENTITYTYPE.#SINGULAR?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.MISC.ENTITYTYPE.#SINGULAR?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetMultiTypeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetMultiTypeComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetMultiTypeComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetMultiTypeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetMultiTypeComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetMultiTypeComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.sourceType = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputRadioComponent_0, i6.RenderType_InputRadioComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputRadioComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(13, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetMultiTypeComponent_3)), i1.ɵdid(16, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetMultiTypeComponent_4)), i1.ɵdid(22, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 25).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.provider.value = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i8.View_InputEntityComponent_0, i8.RenderType_InputEntityComponent)), i1.ɵdid(25, 245760, null, 0, i9.InputEntityComponent, [i10.DomainService, i11.AlertsService, i4.TranslateService, i12.LocalisationService, i13.OverlayService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.MISC.ENTITYTYPE.#SINGULAR?\"; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.sourceTypeControl; var currVal_6 = _co.sourceType; var currVal_7 = _co.sourceTypes; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_8 = _co.provider.field.helpKey; _ck(_v, 16, 0, currVal_8); var currVal_10 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 22, 0, currVal_10); var currVal_11 = _co.provider.field.required; var currVal_12 = (_co.provider.field.readonly || !_co.sourceTypeSelected()); var currVal_13 = _co.provider.control; var currVal_14 = _co.provider.value; var currVal_15 = _co.sources[_co.sourceType]; _ck(_v, 25, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.MISC.ENTITYTYPE.#SINGULAR\")); _ck(_v, 6, 0, currVal_1); var currVal_9 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(_co.provider.field.labelKey)); _ck(_v, 19, 0, currVal_9); }); }\nexport function View_FieldsetMultiTypeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-multi-type\", [], null, null, null, View_FieldsetMultiTypeComponent_0, RenderType_FieldsetMultiTypeComponent)), i1.ɵdid(1, 245760, null, 0, i14.FieldsetMultiTypeComponent, [i15.FieldsetProvider], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar FieldsetMultiTypeComponentNgFactory = i1.ɵccf(\"sym-fieldset-multi-type\", i14.FieldsetMultiTypeComponent, View_FieldsetMultiTypeComponent_Host_0, {}, {}, []);\nexport { FieldsetMultiTypeComponentNgFactory as FieldsetMultiTypeComponentNgFactory };\n","/**\n * @file Fieldset component for finding an entity within its parent.\n * @author Maarten Lensink\n *\n * At the moment it is assumed that the child element has a reference to its parent by a navigation property bearing the same name and/or\n * a property referring to the parent's OID by a property \"[parentName]_Oid\". The query paremeter \"oid\" refers to the parent.\n * Label keys next to the input fields are \"APP.MISC.[entityName].#SINGULAR\"\n * Any deviations from these assumptions require a change in the configuration.\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnDestroy, AfterContentChecked } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { FieldsetBase } from '../../base/fieldsets/fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../../base/fieldsets/fieldset-provider';\nimport { DomainService } from '../../domain.service';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Class for selecting a entity with a parent entity.\n */\nvar FieldsetParentChildComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetParentChildComponent, _super);\n /**\n * Constructs a FieldsetEntityComponent.\n */\n function FieldsetParentChildComponent(provider, breezeService) {\n var _this = _super.call(this, provider) || this;\n _this.breezeService = breezeService;\n /**\n * Gets, sets the entity format to find the children of the selected parent.\n * @private\n * @type {EntityFormat}\n */\n _this._childFormat = null;\n /**\n * Gets, sets the entity format to find the all items of the child type.\n * @private\n * @type {EntityFormat}\n * */\n _this._allChildrenFormat = null;\n /**\n * Gets or sets the entity that is shown.\n * @private\n * @type {Entity}\n */\n _this.entity = null;\n /**\n * Field holding the current parent entity.\n * @private\n * @type {Entity}\n */\n _this._parent = null;\n /**\n * Field holding the current child entity.\n * @private\n * @type {Entity}\n */\n _this._child = null;\n /**\n * Subscription reference of property changes of the shown entity.\n * We need this to unsubscripe old subscriptions.\n * @private\n * @type {number}\n */\n _this.subscription = null;\n /**\n * Gets or sets the EntityType of the parent class.\n * We need this to lookup and load the parent.\n * @private\n * @type {EntityType}\n */\n _this.parentType = null;\n /**\n * The label key of the parent entity selector.\n */\n _this.parentLabelKey = '';\n /**\n * The label key of the child entity selector.\n */\n _this.childLabelKey = '';\n _this.parentControl = new FormControl();\n /**\n * The format of the InputEntityComponent that displays the parent.\n */\n _this.parentFormat = null;\n if (provider.field.format) {\n _this.parentFormat = _this.copyFormat(provider.field.format['parent']);\n _this._childFormat = _this.copyFormat(provider.field.format['child']);\n _this._allChildrenFormat = _this.copyFormat(provider.field.format['child']);\n var item = breezeService.getEntityType(_this._allChildrenFormat.entity);\n _this._allChildrenFormat.dataSource = item.defaultResourceName === '' || item.defaultResourceName == null ? item.shortName + 'Items' : item.defaultResourceName;\n _this._allChildrenFormat.parameters = null;\n }\n _this.parentLabelKey = 'APP.MISC.' + _this.parentFormat.entity.toUpperCase() + '.#SINGULAR';\n _this.childLabelKey = 'APP.MISC.' + _this._childFormat.entity.toUpperCase() + '.#SINGULAR';\n _this.parentType = breezeService.getEntityType(_this.parentFormat.entity);\n return _this;\n }\n Object.defineProperty(FieldsetParentChildComponent.prototype, \"childFormat\", {\n /**\n * The format of the InputEntityComponent that displays the child.\n * @type {EntityFormat}\n */\n get: function () {\n if (this._parent == null) {\n return this._allChildrenFormat;\n }\n return this._childFormat;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetParentChildComponent.prototype, \"parent\", {\n /**\n * Gets the current parent entity.\n * @type {Entity}\n */\n get: function () {\n return this._parent;\n },\n /**\n * Sets the current parent entity.\n */\n set: function (value) {\n if (this._parent === value) {\n return;\n }\n this._parent = value;\n if (this._parent) {\n var parentOid = this._parent['Oid'];\n this._childFormat.parameters['oid'] = parentOid;\n if (this._child && this._child[this.parentFormat.entity + '_Oid'] !== parentOid) {\n this._child = null;\n this.provider.value = null;\n }\n if (this._childFormat.parameters['className']) {\n this._childFormat.parameters['className'] = this._parent.entityType.shortName;\n }\n }\n else {\n this._childFormat.parameters['oid'] = '';\n if (this._child) {\n var parentOid = this._child[this.parentFormat.entity + '_Oid'];\n if (parentOid && parentOid.length !== 0) {\n this._child = null;\n this.provider.value = null;\n }\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FieldsetParentChildComponent.prototype, \"child\", {\n /**\n * Gets the current child entity.\n * @type {Entity}\n */\n get: function () {\n return this._child;\n },\n /**\n * Sets the current child entity.\n * It also changes, when needed, the bound property of the shown entity.\n */\n set: function (value) {\n if (value == null) {\n this._child = null;\n // Fix issue #1922, Do I introduce new problems? See code before fix.\n this.provider.value = null;\n // Code before fix issue #1922\n // if (this._child !== this.provider.value) {\n // this.provider.value = this._child;\n // }\n return;\n }\n if (this._child === value) {\n return;\n }\n if (!(value.entityType && value.entityType.shortName === this._childFormat.entity)) {\n // Value is of wrong type.\n this._child = null;\n return;\n }\n this._child = value;\n if (this._child !== this.provider.value) {\n this.provider.value = this._child;\n }\n if (!this._child) {\n return;\n }\n var parent = this._child[this.parentFormat.entity];\n if (parent) {\n this.parent = parent;\n return;\n }\n var parentOid = this._child[this.parentFormat.entity + '_Oid'];\n if (!parentOid || parentOid.length === 0) {\n this.parent = null;\n return;\n }\n this.getEntity(parentOid);\n },\n enumerable: true,\n configurable: true\n });\n FieldsetParentChildComponent.prototype.getEntity = function (parentOid) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var promise;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.breezeService.getEntityByKey(this.parentType, parentOid).toPromise()];\n case 1:\n promise = _a.sent();\n this.parent = promise;\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Register component by the fieldset provider\n */\n FieldsetParentChildComponent.register = function () {\n ComponentRegistry.register('fieldset', 'parentchild', FieldsetParentChildComponent);\n };\n /**\n * Copies the entity format from the configuration to this component.\n * @private\n * @param {EntityFormat} configFormat The entity format given in the configuration.\n * @returns {EntityFormat} An EntityFormat when configFormat exists otherwise null\n */\n FieldsetParentChildComponent.prototype.copyFormat = function (configFormat) {\n if (!configFormat) {\n return null;\n }\n var result = {};\n Object.keys(configFormat).forEach(function (property) {\n switch (property) {\n case 'parameters':\n var parameters_1 = configFormat[property];\n var copyOfParams_1 = {};\n if (parameters_1) {\n Object.keys(parameters_1).forEach(function (item) { return copyOfParams_1[item] = parameters_1[item]; });\n }\n result[property] = copyOfParams_1;\n break;\n case 'fields':\n var array = configFormat[property];\n var copy_1 = [];\n if (array) {\n array.forEach(function (item) { return copy_1.push(item); });\n }\n result[property] = copy_1;\n break;\n default:\n result[property] = configFormat[property];\n }\n });\n if (!result['parameters']) {\n result['parameters'] = { 'oid': '?' };\n }\n if (!result['fields']) {\n result['fields'] = ['Name'];\n }\n return result;\n };\n /**\n * Lifecycle hook that is called when the component is destroyed.\n */\n FieldsetParentChildComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n };\n /**\n * Lifecycle hook that is called after every check of the components's content.\n */\n FieldsetParentChildComponent.prototype.ngAfterContentChecked = function () {\n var _this = this;\n if (this.entity !== this.provider.entity) {\n if (this.subscription != null) {\n this.entity.entityAspect.propertyChanged.unsubscribe(this.subscription);\n }\n this.entity = this.provider.entity;\n this.child = this.provider.value;\n if (this.entity) {\n this.subscription = this.entity.entityAspect.propertyChanged.subscribe(function (prop) {\n if (_this.provider.field && prop.propertyName === _this.provider.field.name) {\n _this.child = prop.newValue;\n }\n });\n }\n }\n };\n return FieldsetParentChildComponent;\n}(FieldsetBase));\nexport { FieldsetParentChildComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for finding an entity within its parent.\n * @author Maarten Lensink\n *\n * At the moment it is assumed that the child element has a reference to its parent by a navigation property bearing the same name and/or\n * a property referring to the parent's OID by a property \"[parentName]_Oid\". The query paremeter \"oid\" refers to the parent.\n * Label keys next to the input fields are \"APP.MISC.[entityName].#SINGULAR\"\n * Any deviations from these assumptions require a change in the configuration.\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i7 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"../../core/overlay.service\";\nimport * as i12 from \"./fieldset-parent-child.component\";\nimport * as i13 from \"../../base/fieldsets/fieldset-provider\";\nvar styles_FieldsetParentChildComponent = [i0.styles];\nvar RenderType_FieldsetParentChildComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetParentChildComponent, data: {} });\nexport { RenderType_FieldsetParentChildComponent as RenderType_FieldsetParentChildComponent };\nfunction View_FieldsetParentChildComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetParentChildComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetParentChildComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetParentChildComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetParentChildComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-line mb-1 mt-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetParentChildComponent_1)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetParentChildComponent_2)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.parent = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputEntityComponent_0, i6.RenderType_InputEntityComponent)), i1.ɵdid(13, 245760, null, 0, i7.InputEntityComponent, [i8.DomainService, i9.AlertsService, i4.TranslateService, i10.LocalisationService, i11.OverlayService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(14, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetParentChildComponent_3)), i1.ɵdid(17, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(18, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(20, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetParentChildComponent_4)), i1.ɵdid(23, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 26).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.child = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputEntityComponent_0, i6.RenderType_InputEntityComponent)), i1.ɵdid(26, 245760, null, 0, i7.InputEntityComponent, [i8.DomainService, i9.AlertsService, i4.TranslateService, i10.LocalisationService, i11.OverlayService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"div\", [[\"class\", \"sym-line mb-1 mt-1\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 4, 0, currVal_0); var currVal_2 = false; _ck(_v, 10, 0, currVal_2); var currVal_3 = false; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.parentControl; var currVal_6 = _co.parent; var currVal_7 = _co.parentFormat; _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_8 = _co.provider.field.helpKey; _ck(_v, 17, 0, currVal_8); var currVal_10 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 23, 0, currVal_10); var currVal_11 = _co.provider.field.required; var currVal_12 = _co.provider.field.readonly; var currVal_13 = _co.provider.control; var currVal_14 = _co.child; var currVal_15 = _co.childFormat; _ck(_v, 26, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(_co.parentLabelKey)); _ck(_v, 7, 0, currVal_1); var currVal_9 = i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(_co.childLabelKey)); _ck(_v, 20, 0, currVal_9); }); }\nexport function View_FieldsetParentChildComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-parent-child\", [], null, null, null, View_FieldsetParentChildComponent_0, RenderType_FieldsetParentChildComponent)), i1.ɵdid(1, 2277376, null, 0, i12.FieldsetParentChildComponent, [i13.FieldsetProvider, i8.DomainService], null, null)], null, null); }\nvar FieldsetParentChildComponentNgFactory = i1.ɵccf(\"sym-fieldset-parent-child\", i12.FieldsetParentChildComponent, View_FieldsetParentChildComponent_Host_0, {}, {}, []);\nexport { FieldsetParentChildComponentNgFactory as FieldsetParentChildComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Fieldset component for repeat input\n * @author Heino Lenting\n */\nimport { OnInit } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FieldsetBase } from '../../base/fieldsets/fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../../base/fieldsets/fieldset-provider';\nimport { DIRTY_FLAG } from '../../core/breeze.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { DomainService } from '../../domain.service';\nimport { RepeatAdapter } from '../helpers/repeat-adapter';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Class for the repeat fieldset component\n */\nvar FieldsetRepeatComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetRepeatComponent, _super);\n /**\n * Constructs a FieldsetRepeatComponent\n * @param translateService Is needed to get a summary of the repeat.\n * @param provider Provides the configuration information for the fieldset.\n */\n function FieldsetRepeatComponent(translateService, localisationService, provider, domainService) {\n var _this = _super.call(this, provider) || this;\n /**\n * Gets, sets the read only mode of the component.\n */\n _this.readOnly = false;\n /** Angular control of this composite is used in the template. */\n _this.factorControl = new FormControl();\n /** Angular control of this composite is used in the template. */\n _this.monthsControl = new FormControl();\n /** Angular control of this composite is used in the template. */\n _this.untilDateControl = new FormControl();\n /** Angular control of this composite is used in the template. */\n _this.endingIsControl = new FormControl();\n /** Angular control of this composite is used in the template. */\n _this.daysControl = new FormControl();\n /** Angular control of this composite is used in the template. */\n _this.offsetTypeControl = new FormControl();\n /** Angular control of this composite is used in the template. */\n _this.orderControl = new FormControl();\n /**\n * Format information for the input select representing\n * the repeat.repeatType property.\n * This is used in the template of the component.\n */\n _this.repeatTypeFormat = [\n { value: 'ONCE', labelKey: 'APP.FORMS.REPEAT.ONCE' },\n { value: 'DAILY', labelKey: 'APP.FORMS.REPEAT.DAILY' },\n { value: 'WEEKDAY', labelKey: 'APP.FORMS.REPEAT.WEEKDAY' },\n { value: 'WEEKLY', labelKey: 'APP.FORMS.REPEAT.WEEKLY' },\n { value: 'MONTHLY', labelKey: 'APP.FORMS.REPEAT.MONTHLY' },\n { value: 'YEARLY', labelKey: 'APP.FORMS.REPEAT.YEARLY' }\n ];\n /**\n * Format information for the input select representing\n * the repeat.repeatType property.\n * This is used in the template of the component.\n */\n _this.orderFormat = [\n { value: 'FIRST', labelKey: 'APP.FORMS.REPEAT.FIRST' },\n { value: 'SECOND', labelKey: 'APP.FORMS.REPEAT.SECOND' },\n { value: 'THIRD', labelKey: 'APP.FORMS.REPEAT.THIRD' },\n { value: 'FOURTH', labelKey: 'APP.FORMS.REPEAT.FOURTH' },\n { value: 'LAST', labelKey: 'APP.FORMS.REPEAT.LAST' }\n ];\n /**\n * Format information for the input checkboxes representing\n * the repeat.days property.\n * This is used in the template of the component.\n */\n _this.daysFormat = [\n { value: 'MON', labelKey: 'APP.FORMS.REPEAT.MON' },\n { value: 'TUE', labelKey: 'APP.FORMS.REPEAT.TUE' },\n { value: 'WED', labelKey: 'APP.FORMS.REPEAT.WED' },\n { value: 'THU', labelKey: 'APP.FORMS.REPEAT.THU' },\n { value: 'FRI', labelKey: 'APP.FORMS.REPEAT.FRI' },\n { value: 'SAT', labelKey: 'APP.FORMS.REPEAT.SAT' },\n { value: 'SUN', labelKey: 'APP.FORMS.REPEAT.SUN' }\n ];\n /**\n * Format information for the input checkboxes representing\n * the repeat.days property.\n * This is used in the template of the component.\n */\n _this.monthsFormat = [\n { value: 1, labelKey: 'APP.FORMS.REPEAT.JANUARY' },\n { value: 2, labelKey: 'APP.FORMS.REPEAT.FEBRUARY' },\n { value: 3, labelKey: 'APP.FORMS.REPEAT.MARCH' },\n { value: 4, labelKey: 'APP.FORMS.REPEAT.APRIL' },\n { value: 5, labelKey: 'APP.FORMS.REPEAT.MAY' },\n { value: 6, labelKey: 'APP.FORMS.REPEAT.JUNE' },\n { value: 7, labelKey: 'APP.FORMS.REPEAT.JULY' },\n { value: 8, labelKey: 'APP.FORMS.REPEAT.AUGUST' },\n { value: 9, labelKey: 'APP.FORMS.REPEAT.SEPTEMER' },\n { value: 10, labelKey: 'APP.FORMS.REPEAT.OCTOBER' },\n { value: 11, labelKey: 'APP.FORMS.REPEAT.NOVEMBER' },\n { value: 12, labelKey: 'APP.FORMS.REPEAT.DECEMBER' }\n ];\n /**\n * Format information for the input checkboxes representing\n * the repeat.days property.\n * This is used in the template of the component.\n */\n _this.dayOfMonthFormat = [\n { value: '1', labelKey: '1' },\n { value: '2', labelKey: '2' },\n { value: '3', labelKey: '3' },\n { value: '4', labelKey: '4' },\n { value: '5', labelKey: '5' },\n { value: '6', labelKey: '6' },\n { value: '7', labelKey: '7' },\n { value: '8', labelKey: '8' },\n { value: '9', labelKey: '9' },\n { value: '10', labelKey: '10' },\n { value: '11', labelKey: '11' },\n { value: '12', labelKey: '12' },\n { value: '13', labelKey: '13' },\n { value: '14', labelKey: '14' },\n { value: '15', labelKey: '15' },\n { value: '16', labelKey: '16' },\n { value: '17', labelKey: '17' },\n { value: '18', labelKey: '18' },\n { value: '19', labelKey: '19' },\n { value: '20', labelKey: '20' },\n { value: '21', labelKey: '21' },\n { value: '22', labelKey: '22' },\n { value: '23', labelKey: '23' },\n { value: '24', labelKey: '24' },\n { value: '25', labelKey: '25' },\n { value: '26', labelKey: '26' },\n { value: '27', labelKey: '27' },\n { value: '28', labelKey: '28' },\n { value: '29', labelKey: '29' },\n { value: '30', labelKey: '30' },\n { value: '31', labelKey: '31' }\n ];\n /**\n * Format information for the input radio buttons representing\n * the repeat.offsetType property.\n * This is used in the template of the component.\n */\n _this.offsetTypeFormat = [\n { value: 'ABSOLUTE', labelKey: 'APP.FORMS.REPEAT.ABSOLUTE' },\n { value: 'RELATIVE', labelKey: 'APP.FORMS.REPEAT.RELATIVE' }\n ];\n var restoringVirtualRepeat = false;\n _this.repeat = new RepeatAdapter(function () {\n var repeat = provider.value;\n if (repeat) {\n if (!repeat.Owner) {\n var wasModified = repeat.entityAspect.entityState.isModified();\n repeat.Owner = provider.entity;\n if (!wasModified) {\n repeat.entityAspect.setUnchanged();\n }\n }\n // Fix Issue #1485\n // No should I close window message when repeat was changed of new owner.\n if (provider.entity && repeat.entityAspect.originalValues['Kind']) {\n // Setting DIRTY_FLAG of owner when repeat Kind has changed.\n provider.entity[DIRTY_FLAG] = true;\n }\n }\n else if (provider.entity && !restoringVirtualRepeat) {\n // Fix Issue: Bij het opslaan van een aangemaakte Beschikbaarheid wordt niet de regel: Succesvol opgeslagen getoond #2581\n var entity_1 = provider.entity;\n if (entity_1.entityAspect.entityState.isUnchanged() && entity_1['RepeatPattern_Oid'] === null) {\n restoringVirtualRepeat = true;\n window.setTimeout(function () {\n domainService.assignVirtualRepeat(entity_1);\n entity_1.entityAspect.setUnchanged();\n restoringVirtualRepeat = false;\n });\n }\n }\n return repeat;\n }, translateService, localisationService, domainService);\n return _this;\n }\n /**\n * set the value to 1 if user fills in 0\n */\n FieldsetRepeatComponent.prototype.onChange = function () {\n if (this.repeat.factor <= 0) {\n this.repeat.factor = 1;\n }\n };\n /**\n * Register component by the fieldset provider\n */\n FieldsetRepeatComponent.register = function () {\n ComponentRegistry.register('fieldset', 'repeat', FieldsetRepeatComponent);\n };\n /**\n * Is called right after the directive's data-bound properties have been checked for the\n * first time, and before any of its children have been checked.It is invoked only once when the\n * directive is instantiated.\n */\n FieldsetRepeatComponent.prototype.ngOnInit = function () {\n this.readOnly = this.provider.field.readonly ? true : false;\n };\n Object.defineProperty(FieldsetRepeatComponent.prototype, \"summary\", {\n /**\n * Gets the summary of the current repeat.\n */\n get: function () {\n return this.repeat.summary();\n },\n enumerable: true,\n configurable: true\n });\n return FieldsetRepeatComponent;\n}(FieldsetBase));\nexport { FieldsetRepeatComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../base/inputs/input-number/input-number.component.ngfactory\";\nimport * as i7 from \"../../base/inputs/input-number/input-number.component\";\nimport * as i8 from \"../../base/inputs/input-radio/input-radio.component.ngfactory\";\nimport * as i9 from \"../../base/inputs/input-radio/input-radio.component\";\nimport * as i10 from \"../../base/inputs/input-select/input-select.component.ngfactory\";\nimport * as i11 from \"../../base/inputs/input-select/input-select.component\";\nimport * as i12 from \"../../base/inputs/input-checkboxes/input-checkboxes.component.ngfactory\";\nimport * as i13 from \"../../base/inputs/input-checkboxes/input-checkboxes.component\";\nimport * as i14 from \"@angular/forms\";\nimport * as i15 from \"../../base/inputs/input-date/input-date.component.ngfactory\";\nimport * as i16 from \"../../base/inputs/input-date/input-date.component\";\nimport * as i17 from \"../../core/localisation.service\";\nimport * as i18 from \"./fieldset-repeat.component\";\nimport * as i19 from \"../../base/fieldsets/fieldset-provider\";\nimport * as i20 from \"../../domain.service\";\nvar styles_FieldsetRepeatComponent = [i0.styles];\nvar RenderType_FieldsetRepeatComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetRepeatComponent, data: {} });\nexport { RenderType_FieldsetRepeatComponent as RenderType_FieldsetRepeatComponent };\nfunction View_FieldsetRepeatComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_2)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_3)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.KIND\")); _ck(_v, 7, 0, currVal_1); var currVal_3 = _co.summary; _ck(_v, 13, 0, currVal_3); }); }\nfunction View_FieldsetRepeatComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.EVERY?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.EVERY?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_8)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_9)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"sym-input-number\", [], null, [[null, \"valueChange\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.factor = $event) !== false);\n ad = (pd_0 && ad);\n } if ((\"change\" === en)) {\n var pd_1 = (_co.onChange() !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputNumberComponent_0, i6.RenderType_InputNumberComponent)), i1.ɵdid(13, 180224, null, 0, i7.InputNumberComponent, [], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.EVERY?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.factorControl; var currVal_4 = _co.repeat.factor; _ck(_v, 13, 0, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.EVERY\")); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.REPEATBY?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.REPEATBY?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_11)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_12)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"sym-input-radio\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.offsetType = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_InputRadioComponent_0, i8.RenderType_InputRadioComponent)), i1.ɵdid(13, 180224, null, 0, i9.InputRadioComponent, [], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.REPEATBY?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.offsetTypeControl; var currVal_4 = _co.repeat.offsetType; var currVal_5 = _co.offsetTypeFormat; _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.REPEATBY\")); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.MONTH?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.MONTH?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_14)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_15)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-input-select\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.factor = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i10.View_InputSelectComponent_0, i10.RenderType_InputSelectComponent)), i1.ɵdid(14, 180224, null, 0, i11.InputSelectComponent, [], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.MONTH?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.monthsControl; var currVal_4 = _co.repeat.factor; var currVal_5 = _co.monthsFormat; _ck(_v, 14, 0, currVal_3, currVal_4, currVal_5); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.MONTH\")); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.DAYOFMONTH?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.DAYOFMONTH?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_17)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_18)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-input-select\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.days = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i10.View_InputSelectComponent_0, i10.RenderType_InputSelectComponent)), i1.ɵdid(14, 180224, null, 0, i11.InputSelectComponent, [], { readOnly: [0, \"readOnly\"], control: [1, \"control\"], value: [2, \"value\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.DAYOFMONTH?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = true; var currVal_4 = _co.daysControl; var currVal_5 = _co.repeat.days; var currVal_6 = _co.dayOfMonthFormat; _ck(_v, 14, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.DAYOFMONTH\")); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_20(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.ORDER?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.ORDER?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_21(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_20)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_21)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-input-select\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.order = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i10.View_InputSelectComponent_0, i10.RenderType_InputSelectComponent)), i1.ɵdid(14, 180224, null, 0, i11.InputSelectComponent, [], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.ORDER?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.orderControl; var currVal_4 = _co.repeat.order; var currVal_5 = _co.orderFormat; _ck(_v, 14, 0, currVal_3, currVal_4, currVal_5); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.ORDER\")); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_23(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.REPEATON?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.REPEATON?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_24(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_22(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_23)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_24)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"sym-input-checkboxes\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.days = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i12.View_InputCheckboxesComponent_0, i12.RenderType_InputCheckboxesComponent)), i1.ɵdid(13, 704512, null, 0, i13.InputCheckboxesComponent, [i1.ChangeDetectorRef], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.REPEATON?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.daysControl; var currVal_4 = _co.repeat.days; var currVal_5 = _co.daysFormat; _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.REPEATON\")); _ck(_v, 7, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_26(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.ENDS?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.ENDS?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_27(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_25(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 34, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 33, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_26)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_27)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 23, \"div\", [[\"class\", \"sym-fieldset-output sym-p-t col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 6, \"input\", [[\"name\", \"radio-endingIS\"], [\"type\", \"radio\"], [\"value\", \"NEVER\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 13)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 13)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 14).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 14).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_6 = ((_co.repeat.endingIs = $event) !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 16384, null, 0, i14.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i14.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(14, 212992, null, 0, i14.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i14.ɵangular_packages_forms_forms_j, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i14.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i14.DefaultValueAccessor, i14.RadioControlValueAccessor]), i1.ɵdid(16, 671744, null, 0, i14.NgModel, [[8, null], [8, null], [8, null], [6, i14.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i14.NgControl, null, [i14.NgModel]), i1.ɵdid(18, 16384, null, 0, i14.NgControlStatus, [[4, i14.NgControl]], null, null), (_l()(), i1.ɵted(19, null, [\" \", \" \"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(21, 0, null, null, 13, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 9, \"div\", [[\"class\", \"col-md-4\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 6, \"input\", [[\"name\", \"radio-endingIS\"], [\"type\", \"radio\"], [\"value\", \"NEAR\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 24)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 24).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 24)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 24)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 25).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 25).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_6 = ((_co.repeat.endingIs = $event) !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(24, 16384, null, 0, i14.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i14.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(25, 212992, null, 0, i14.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i14.ɵangular_packages_forms_forms_j, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i14.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i14.DefaultValueAccessor, i14.RadioControlValueAccessor]), i1.ɵdid(27, 671744, null, 0, i14.NgModel, [[8, null], [8, null], [8, null], [6, i14.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i14.NgControl, null, [i14.NgModel]), i1.ɵdid(29, 16384, null, 0, i14.NgControlStatus, [[4, i14.NgControl]], null, null), (_l()(), i1.ɵted(30, null, [\" \", \" \"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(32, 0, null, null, 2, \"div\", [[\"class\", \"col-md-8 sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 1, \"sym-input-date\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.untilDate = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i15.View_InputDateComponent_0, i15.RenderType_InputDateComponent)), i1.ɵdid(34, 180224, null, 0, i16.InputDateComponent, [i17.LocalisationService], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.ENDS?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_10 = \"radio-endingIS\"; var currVal_11 = \"NEVER\"; _ck(_v, 14, 0, currVal_10, currVal_11); var currVal_12 = \"radio-endingIS\"; var currVal_13 = _co.repeat.endingIs; _ck(_v, 16, 0, currVal_12, currVal_13); var currVal_22 = \"radio-endingIS\"; var currVal_23 = \"NEAR\"; _ck(_v, 25, 0, currVal_22, currVal_23); var currVal_24 = \"radio-endingIS\"; var currVal_25 = _co.repeat.endingIs; _ck(_v, 27, 0, currVal_24, currVal_25); var currVal_27 = _co.untilDateControl; var currVal_28 = _co.repeat.untilDate; _ck(_v, 34, 0, currVal_27, currVal_28); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.ENDS\")); _ck(_v, 7, 0, currVal_1); var currVal_3 = i1.ɵnov(_v, 18).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 18).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 18).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 18).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 18).ngClassValid; var currVal_8 = i1.ɵnov(_v, 18).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 18).ngClassPending; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_14 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.FORMS.REPEAT.NEVER\")); _ck(_v, 19, 0, currVal_14); var currVal_15 = i1.ɵnov(_v, 29).ngClassUntouched; var currVal_16 = i1.ɵnov(_v, 29).ngClassTouched; var currVal_17 = i1.ɵnov(_v, 29).ngClassPristine; var currVal_18 = i1.ɵnov(_v, 29).ngClassDirty; var currVal_19 = i1.ɵnov(_v, 29).ngClassValid; var currVal_20 = i1.ɵnov(_v, 29).ngClassInvalid; var currVal_21 = i1.ɵnov(_v, 29).ngClassPending; _ck(_v, 23, 0, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21); var currVal_26 = i1.ɵunv(_v, 30, 0, i1.ɵnov(_v, 31).transform(\"APP.FORMS.REPEAT.ENDSON\")); _ck(_v, 30, 0, currVal_26); }); }\nfunction View_FieldsetRepeatComponent_29(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.FORMS.REPEAT.SUMMARY?\")); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.FORMS.REPEAT.SUMMARY?\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetRepeatComponent_30(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_FieldsetRepeatComponent_28(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_29)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_30)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"APP.FORMS.REPEAT.SUMMARY?\"; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.SUMMARY\")); _ck(_v, 7, 0, currVal_1); var currVal_3 = _co.summary; _ck(_v, 13, 0, currVal_3); }); }\nfunction View_FieldsetRepeatComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_5)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_6)), i1.ɵdid(10, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-input-select\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.repeat.repeatType = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i10.View_InputSelectComponent_0, i10.RenderType_InputSelectComponent)), i1.ɵdid(14, 180224, null, 0, i11.InputSelectComponent, [], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_7)), i1.ɵdid(16, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_10)), i1.ɵdid(18, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_13)), i1.ɵdid(20, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_16)), i1.ɵdid(22, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_19)), i1.ɵdid(24, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_22)), i1.ɵdid(26, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_25)), i1.ɵdid(28, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_28)), i1.ɵdid(30, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 4, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.provider.control; var currVal_4 = _co.repeat.repeatType; var currVal_5 = _co.repeatTypeFormat; _ck(_v, 14, 0, currVal_3, currVal_4, currVal_5); var currVal_6 = (((_co.repeat.repeatType === \"DAILY\") || (_co.repeat.repeatType === \"WEEKLY\")) || (_co.repeat.repeatType === \"MONTHLY\")); _ck(_v, 16, 0, currVal_6); var currVal_7 = ((_co.repeat.repeatType === \"MONTHLY\") || (_co.repeat.repeatType === \"YEARLY\")); _ck(_v, 18, 0, currVal_7); var currVal_8 = (_co.repeat.repeatType === \"YEARLY\"); _ck(_v, 20, 0, currVal_8); var currVal_9 = (((_co.repeat.repeatType === \"MONTHLY\") || (_co.repeat.repeatType === \"YEARLY\")) && (_co.repeat.offsetType === \"ABSOLUTE\")); _ck(_v, 22, 0, currVal_9); var currVal_10 = (((_co.repeat.repeatType === \"MONTHLY\") || (_co.repeat.repeatType === \"YEARLY\")) && (_co.repeat.offsetType === \"RELATIVE\")); _ck(_v, 24, 0, currVal_10); var currVal_11 = ((_co.repeat.repeatType === \"WEEKLY\") || (((_co.repeat.repeatType === \"MONTHLY\") || (_co.repeat.repeatType === \"YEARLY\")) && (_co.repeat.offsetType === \"RELATIVE\"))); _ck(_v, 26, 0, currVal_11); var currVal_12 = (((((_co.repeat.repeatType === \"DAILY\") || (_co.repeat.repeatType === \"WEEKDAY\")) || (_co.repeat.repeatType === \"WEEKLY\")) || (_co.repeat.repeatType === \"MONTHLY\")) || (_co.repeat.repeatType === \"YEARLY\")); _ck(_v, 28, 0, currVal_12); var currVal_13 = (((((_co.repeat.repeatType === \"DAILY\") || (_co.repeat.repeatType === \"WEEKDAY\")) || (_co.repeat.repeatType === \"WEEKLY\")) || (_co.repeat.repeatType === \"MONTHLY\")) || (_co.repeat.repeatType === \"YEARLY\")); _ck(_v, 30, 0, currVal_13); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.FORMS.REPEAT.KIND\")); _ck(_v, 7, 0, currVal_1); }); }\nexport function View_FieldsetRepeatComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b sym-m-t\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetRepeatComponent_4)), i1.ɵdid(4, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b sym-m-t\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_FieldsetRepeatComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-repeat\", [], null, null, null, View_FieldsetRepeatComponent_0, RenderType_FieldsetRepeatComponent)), i1.ɵdid(1, 245760, null, 0, i18.FieldsetRepeatComponent, [i4.TranslateService, i17.LocalisationService, i19.FieldsetProvider, i20.DomainService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar FieldsetRepeatComponentNgFactory = i1.ɵccf(\"sym-fieldset-repeat\", i18.FieldsetRepeatComponent, View_FieldsetRepeatComponent_Host_0, {}, {}, []);\nexport { FieldsetRepeatComponentNgFactory as FieldsetRepeatComponentNgFactory };\n","/**\n* @file Color validator\n* @author Wim Haanstra\n*/\nimport { Validator } from 'breeze-client';\nexport var NAME_COLOR_VALIDATOR = 'color';\n/**\n * This validator validates the given URL\n */\nexport function ColorValidator() {\n var contxt = {};\n var validator = new Validator(NAME_COLOR_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var stringValue = value;\n if (!stringValue) {\n return false;\n }\n var regularExpression = /^([#]{0,1})([A-Fa-f0-9]{6})$/;\n return regularExpression.test(stringValue);\n }\n}\nValidator.messageTemplates[NAME_COLOR_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.COLOR';\nValidator.register(ColorValidator());\n","/**\n * @file Input component for color input\n * @author Heino Lenting, Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropdownInput } from '../../base/inputs/input-dropdown/input-dropdown.component';\nimport { ColorTools } from '../../base/helpers/color-tools';\nimport { ColorValidator, NAME_COLOR_VALIDATOR } from '../../core/validators/color.validator';\nimport { Validator } from 'breeze-client';\n/**\n * Class for input component for color input\n */\nvar InputColorComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputColorComponent, _super);\n function InputColorComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this._entity = undefined;\n _this.colorPattern = 'assignment';\n _this.parentColor = '#C0C0C0';\n _this.hasParent = false;\n /** Set of color tools */\n _this.colorTools = new ColorTools();\n /**\n * Pre-set color set\n * From: http://godsnotwheregodsnot.blogspot.nl/2012/09/color-distribution-methodology.html\n * Orderning via: http://jsfiddle.net/shanfan/ojgp5718/\n */\n _this.colors = [\n '#C8A1A1', '#FF4A46', '#BA0900', '#7B4F4B', '#FFAA92', '#B77B68', '#A05837', '#772600',\n '#FDE8DC', '#FF913F', '#D16100', '#C0B9B2', '#938A81', '#FAD09F', '#886F4C', '#7A4900',\n '#B79762', '#A77500', '#FFB500', '#FFF69F', '#575329', '#9B9700', '#FFFF00', '#61615A',\n '#4FC601', '#3B9700', '#1E6E00', '#A1C299', '#456648', '#04F757', '#63FFAC', '#008941',\n '#FEFFE6', '#BEC459', '#6B7900', '#A4E804', '#788D66', '#C2FF99', '#1B4400', '#549E79',\n '#0CBD66', '#C2FFED', '#00FECF', '#00C2A0', '#00846F', '#809693', '#004D43', '#00A6AA',\n '#A3C8C9', '#1CE6FF', '#0089A3', '#456D75', '#0AA6D8', '#006FA6', '#404E55', '#8CD0FF',\n '#0086ED', '#DDEFFF', '#99ADC0', '#00489C', '#324E72', '#7A87A1', '#8FB0FF', '#3B5DFF',\n '#6367A9', '#A079BF', '#7900D7', '#B4A8BD', '#4A3B53', '#72418F', '#D790FF', '#BC23FF',\n '#BC23FF', '#EEC3FF', '#FF34FF', '#B903AA', '#6F0062', '#885578', '#D157A0', '#A30059',\n '#FF90C9', '#6B002C', '#FF2F80', '#6A3A4C', '#997D87', '#CB7E98', '#CC0744', '#FFDBE5',\n '#B05B6F', '#FF8A9A'\n ];\n return _this;\n }\n Object.defineProperty(InputColorComponent.prototype, \"entity\", {\n /**\n * Gets the entity with a color property\n */\n get: function () {\n return this._entity;\n },\n /**\n * Sets the entity with a color property\n */\n set: function (value) {\n this._entity = value;\n if (!value || !value.entityType) {\n return;\n }\n var parent = null;\n InputColorComponent.possibleParentTypes.forEach(function (possibility) {\n if (value[possibility] != null) {\n parent = value[possibility];\n }\n });\n if (parent !== null && parent['Color'] !== '#FFFFFF') {\n this.parentColor = parent['Color'];\n }\n switch (value.entityType.shortName) {\n case 'TaskTemplate':\n case 'Task':\n case 'Assignment':\n // Assignments met waarde true voor de property Appointment worden binnen HTML5 als Appointments gezien.\n this.colorPattern = this.entity['Appointment'] ? 'appointment' : 'assignment';\n break;\n case 'Appointment':\n // Eerder hielde we rekening met Appointments die geen Absence als reden hadden.\n // Van deze Symagic Server mogelijkheid wordt geen gebruik gemaakt.\n // Appointments behoren nu functioneel altijd een Absence als reden te hebben.\n this.colorPattern = 'absence';\n break;\n default:\n this.colorPattern = 'assignment';\n break;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Validates a value\n * @param newValue The value to be validated\n * @returns A value indicating whether the value is valid\n * @returns {ValidationErrors} has errors if value is false\n * @memberOf InputColorComponent\n */\n InputColorComponent.prototype.isValidValue = function (newValue) {\n var _a;\n if (ColorValidator().validate(newValue)) {\n var errorKey = NAME_COLOR_VALIDATOR;\n return _a = {},\n _a[errorKey] = Validator.messageTemplates[errorKey],\n _a;\n }\n return null;\n };\n /**\n * Returns the default control validator for color\n * @protected\n * @returns {(ValidatorFn | ValidatorFn[])}\n */\n InputColorComponent.prototype.defaultControlValidator = function () {\n var self = this;\n return function (c) {\n return self.isValidValue(c.value);\n };\n };\n /**\n * Parses a new value into its appropriate type\n * @param newValue The value to be parsed\n * @returns The parsed value\n */\n InputColorComponent.prototype.parseValue = function (newValue) {\n if (typeof newValue === 'string' && newValue.charAt(0) !== '#') {\n newValue = '#' + newValue;\n }\n return newValue.toUpperCase();\n };\n /**\n * Returns the color to be displayed\n * @returns The parent color if the value is white, otherwise the value itself\n */\n InputColorComponent.prototype.displayColor = function () {\n return this.value === '#FFFFFF' ? this.parentColor : this.value;\n };\n /**\n * Sets the value to the selected color and closes the dropdown\n * @param color The string representation of the color to be set\n */\n InputColorComponent.prototype.setColor = function (color) {\n this.value = color;\n this.setClose();\n };\n Object.defineProperty(InputColorComponent.prototype, \"isDraft\", {\n /**\n * Gets a value indicating whether the entity is in draft or final\n */\n get: function () {\n return this.entity && this.entity.Draft;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the font color for the text input\n * @returns {string} The font color for the text input\n */\n InputColorComponent.prototype.getFontColor = function () {\n if (this._validationErrors && this._validationErrors.length) {\n return null;\n }\n return this.colorPattern === 'absence' ? this.colorTools.darken(this.displayColor(), 20) : this.colorTools.contrast(this.displayColor());\n };\n /**\n * Returns the input border color\n * @returns {string} The input border color\n */\n InputColorComponent.prototype.getBorderColor = function () {\n if (this._validationErrors && this._validationErrors.length) {\n return null;\n }\n return this.colorPattern === 'absence' ? this.displayColor() : this.colorTools.darken(this.displayColor(), 20);\n };\n /**\n * Returns the highest contrasting color (black or white) of the parent color if the value is white\n */\n InputColorComponent.prototype.getDropdownBorderParentColor = function () {\n if (this.value !== null && this.value.toUpperCase() !== '#FFFFFF') {\n return this.parentColor;\n }\n return this.colorTools.contrast(this.parentColor);\n };\n /**\n * Returns the highest contrasting color (black or white) if the color is equal to the value\n * @param color The selectable color in the dropdown\n * @returns The highest contrasting color if the parameter is equal to the value, otherwise the parameter is returned\n */\n InputColorComponent.prototype.getDropdownBorderColor = function (color) {\n // If given color is unequal to color, return color (no border is visible)\n if (this.value !== null && this.value.toUpperCase() !== color.toUpperCase()) {\n return color;\n }\n else {\n return this.colorTools.contrast(color);\n }\n };\n InputColorComponent.possibleParentTypes = ['Deployment', 'Demand', 'Task', 'Project', 'Service', 'Shift'];\n return InputColorComponent;\n}(DropdownInput));\nexport { InputColorComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for color input\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/inputs/input-base/input-base.scss.shim.ngstyle\";\nimport * as i1 from \"./input-color.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i6 from \"@angular/forms\";\nimport * as i7 from \"./input-color.component\";\nvar styles_InputColorComponent = [i0.styles, i1.styles];\nvar RenderType_InputColorComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_InputColorComponent, data: {} });\nexport { RenderType_InputColorComponent as RenderType_InputColorComponent };\nfunction View_InputColorComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-color sym-pattern-assignment\"]], [[4, \"color\", null], [4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_3 = \"sym-color sym-pattern-assignment\"; var currVal_4 = _ck(_v, 2, 0, _co.isDraft); _ck(_v, 1, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.colorTools.darken(_co.displayColor(), 20); var currVal_1 = _co.displayColor(); var currVal_2 = _co.colorTools.maxContrast(_co.displayColor(), 20); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_InputColorComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-color sym-pattern-appointment\"]], [[4, \"color\", null], [4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_3 = \"sym-color sym-pattern-appointment\"; var currVal_4 = _ck(_v, 2, 0, _co.isDraft); _ck(_v, 1, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.colorTools.darken(_co.displayColor(), 30); var currVal_1 = _co.displayColor(); var currVal_2 = _co.colorTools.maxContrast(_co.displayColor(), 20); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_InputColorComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-color sym-pattern-absence\"]], [[4, \"color\", null], [4, \"border-color\", null]], null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_2 = \"sym-color sym-pattern-absence\"; var currVal_3 = _ck(_v, 2, 0, _co.isDraft); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.colorTools.darken(_co.displayColor(), 30); var currVal_1 = _co.displayColor(); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_InputColorComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-color sym-pattern-service\"]], [[4, \"color\", null], [4, \"border-color\", null]], null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_2 = \"sym-color sym-pattern-service\"; var currVal_3 = _ck(_v, 2, 0, _co.isDraft); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.displayColor(); var currVal_1 = _co.displayColor(); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_InputColorComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-color-read-only\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_2)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_4)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_5)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.colorPattern === \"assignment\"); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.colorPattern === \"appointment\"); _ck(_v, 4, 0, currVal_1); var currVal_2 = (_co.colorPattern === \"absence\"); _ck(_v, 6, 0, currVal_2); var currVal_3 = (((_co.colorPattern === \"shift\") || (_co.colorPattern === \"service\")) || (_co.colorPattern === \"attendant\")); _ck(_v, 8, 0, currVal_3); }, null); }\nfunction View_InputColorComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-color\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setColor(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgStyle, [i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i2.ɵpod(2, { \"background-color\": 0, \"border-color\": 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _v.context.$implicit, _co.getDropdownBorderColor(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_InputColorComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-color sym-parent-color\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setColor(\"#FFFFFF\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgStyle, [i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i2.ɵpod(2, { \"background-color\": 0, \"color\": 1, \"border-color\": 2 }), (_l()(), i2.ɵted(3, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.parentColor, _co.colorTools.contrast(_co.parentColor), _co.getDropdownBorderParentColor()); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i2.ɵunv(_v, 3, 0, i2.ɵnov(_v, 4).transform(\"APP.INPUTS.PARENT_COLOR\")); _ck(_v, 3, 0, currVal_1); }); }\nfunction View_InputColorComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-input-feedback\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(_v.context.$implicit)); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_InputColorComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 26, \"div\", [], null, null, null, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 21, \"div\", [[\"class\", \"dropdown sym-color-picker\"]], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"show\": 0 }), i2.ɵdid(6, 737280, null, 0, i5.ClickOutsideDirective, [i2.ElementRef, i2.NgZone, i2.PLATFORM_ID], null, { clickOutside: \"clickOutside\" }), (_l()(), i2.ɵeld(7, 0, null, null, 10, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(8, 0, null, null, 6, \"input\", [[\"type\", \"text\"]], [[8, \"value\", 0], [4, \"background-color\", null], [4, \"border-color\", null], [4, \"color\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"valueChange\"], [null, \"click\"], [null, \"focus\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 10)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 10).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 10)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 10)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"click\" === en)) {\n var pd_5 = (_co.toggle() !== false);\n ad = (pd_5 && ad);\n } if ((\"focus\" === en)) {\n var pd_6 = (_co.setClose() !== false);\n ad = (pd_6 && ad);\n } if ((\"input\" === en)) {\n var pd_7 = (_co.valueInput($event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i2.ɵdid(9, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵdid(10, 16384, null, 0, i6.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i6.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵprd(1024, null, i6.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i6.DefaultValueAccessor]), i2.ɵdid(12, 540672, null, 0, i6.FormControlDirective, [[8, null], [8, null], [6, i6.NG_VALUE_ACCESSOR], [2, i6.ɵangular_packages_forms_forms_k]], { form: [0, \"form\"] }, null), i2.ɵprd(2048, null, i6.NgControl, null, [i6.FormControlDirective]), i2.ɵdid(14, 16384, null, 0, i6.NgControlStatus, [[4, i6.NgControl]], null, null), (_l()(), i2.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(16, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggle() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-color\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(18, 0, null, null, 6, \"div\", [[\"class\", \"dropdown-menu sym-colors sym-p-a\"]], null, null, null, null, null)), i2.ɵdid(19, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(20, { \"show\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_7)), i2.ɵdid(22, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_8)), i2.ɵdid(24, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_9)), i2.ɵdid(26, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.hasErrors()); _ck(_v, 1, 0, currVal_0); var currVal_1 = \"dropdown sym-color-picker\"; var currVal_2 = _ck(_v, 5, 0, _co.isOpen()); _ck(_v, 4, 0, currVal_1, currVal_2); _ck(_v, 6, 0); var currVal_14 = ((\"form-control sym-pattern-\" + _co.colorPattern) + (_co.isDraft ? \" sym-is-draft\" : \"\")); _ck(_v, 9, 0, currVal_14); var currVal_15 = _co.control; _ck(_v, 12, 0, currVal_15); var currVal_16 = \"dropdown-menu sym-colors sym-p-a\"; var currVal_17 = _ck(_v, 20, 0, _co.isOpen()); _ck(_v, 19, 0, currVal_16, currVal_17); var currVal_18 = _co.colors; _ck(_v, 22, 0, currVal_18); var currVal_19 = _co.hasParent; _ck(_v, 24, 0, currVal_19); var currVal_20 = _co.validationErrors; _ck(_v, 26, 0, currVal_20); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.value; var currVal_4 = (_co.hasErrors() ? \"#FFFFFF\" : _co.displayColor()); var currVal_5 = _co.getBorderColor(); var currVal_6 = _co.getFontColor(); var currVal_7 = i2.ɵnov(_v, 14).ngClassUntouched; var currVal_8 = i2.ɵnov(_v, 14).ngClassTouched; var currVal_9 = i2.ɵnov(_v, 14).ngClassPristine; var currVal_10 = i2.ɵnov(_v, 14).ngClassDirty; var currVal_11 = i2.ɵnov(_v, 14).ngClassValid; var currVal_12 = i2.ɵnov(_v, 14).ngClassInvalid; var currVal_13 = i2.ɵnov(_v, 14).ngClassPending; _ck(_v, 8, 1, [currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13]); }); }\nexport function View_InputColorComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_1)), i2.ɵdid(1, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_InputColorComponent_6)), i2.ɵdid(3, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.readOnly; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 3, 0, currVal_1); }, null); }\nexport function View_InputColorComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-input-color\", [], null, null, null, View_InputColorComponent_0, RenderType_InputColorComponent)), i2.ɵdid(1, 180224, null, 0, i7.InputColorComponent, [], null, null)], null, null); }\nvar InputColorComponentNgFactory = i2.ɵccf(\"sym-input-color\", i7.InputColorComponent, View_InputColorComponent_Host_0, { required: \"required\", readOnly: \"readOnly\", disabled: \"disabled\", control: \"control\", value: \"value\", entity: \"entity\", hasParent: \"hasParent\" }, { valueChange: \"valueChange\" }, []);\nexport { InputColorComponentNgFactory as InputColorComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Input component for color input\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-color-read-only[_ngcontent-%COMP%] .sym-color[_ngcontent-%COMP%]{height:27px;margin-top:1px;padding:0 6px;font-size:.875rem}.sym-color-picker[_ngcontent-%COMP%] .sym-colors[_ngcontent-%COMP%]{overflow:visible}.sym-color-picker[_ngcontent-%COMP%] .sym-colors[_ngcontent-%COMP%] .sym-color[_ngcontent-%COMP%]{width:16.66666667%;height:20px;float:left;border-style:solid;cursor:pointer}.sym-color-picker[_ngcontent-%COMP%] .sym-colors[_ngcontent-%COMP%] .sym-color.sym-parent-color[_ngcontent-%COMP%]{width:100%;margin-top:5px;text-align:center;font-size:.8rem;display:table}\"];\nexport { styles as styles };\n","/**\n* @file Fieldset component for color input\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { FieldsetBase } from '../../base/fieldsets/fieldset-base/fieldset-base';\nimport { FieldsetProvider } from '../../base/fieldsets/fieldset-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Class for the color fieldset component\n */\nvar FieldsetColorComponent = /** @class */ (function (_super) {\n tslib_1.__extends(FieldsetColorComponent, _super);\n /**\n * Constructs a FieldsetColorComponent\n */\n function FieldsetColorComponent(provider) {\n return _super.call(this, provider) || this;\n }\n /**\n * Register component by the fieldset provider\n */\n FieldsetColorComponent.register = function () {\n ComponentRegistry.register('fieldset', 'color', FieldsetColorComponent);\n };\n FieldsetColorComponent.prototype.hasParent = function () {\n if (!this.provider.entity) {\n return false;\n }\n switch (this.provider.entity.entityType.shortName) {\n case 'Assignment':\n case 'Deployment':\n case 'Demand':\n case 'Attendant':\n case 'Service':\n return true;\n }\n return false;\n };\n return FieldsetColorComponent;\n}(FieldsetBase));\nexport { FieldsetColorComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Fieldset component for color input\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/fieldsets/fieldset-base/fieldset-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../input-color/input-color.component.ngfactory\";\nimport * as i7 from \"../input-color/input-color.component\";\nimport * as i8 from \"./fieldset-color.component\";\nimport * as i9 from \"../../base/fieldsets/fieldset-provider\";\nvar styles_FieldsetColorComponent = [i0.styles];\nvar RenderType_FieldsetColorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FieldsetColorComponent, data: {} });\nexport { RenderType_FieldsetColorComponent as RenderType_FieldsetColorComponent };\nfunction View_FieldsetColorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.provider.field.helpKey)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.provider.field.helpKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FieldsetColorComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nexport function View_FieldsetColorComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4 col-form-label mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetColorComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FieldsetColorComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8 sym-fieldset-output sym-dropdown-orientation-left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-input-color\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.provider.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_InputColorComponent_0, i6.RenderType_InputColorComponent)), i1.ɵdid(12, 180224, null, 0, i7.InputColorComponent, [], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], entity: [4, \"entity\"], hasParent: [5, \"hasParent\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.field.helpKey; _ck(_v, 3, 0, currVal_0); var currVal_2 = (_co.provider.field.required && !_co.provider.field.readonly); _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.provider.field.required; var currVal_4 = _co.provider.field.readonly; var currVal_5 = _co.provider.control; var currVal_6 = _co.provider.value; var currVal_7 = _co.provider.entity; var currVal_8 = _co.hasParent(); _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.provider.field.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_FieldsetColorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-fieldset-color\", [], null, null, null, View_FieldsetColorComponent_0, RenderType_FieldsetColorComponent)), i1.ɵdid(1, 180224, null, 0, i8.FieldsetColorComponent, [i9.FieldsetProvider], null, null)], null, null); }\nvar FieldsetColorComponentNgFactory = i1.ɵccf(\"sym-fieldset-color\", i8.FieldsetColorComponent, View_FieldsetColorComponent_Host_0, {}, {}, []);\nexport { FieldsetColorComponentNgFactory as FieldsetColorComponentNgFactory };\n","/**\n * @file The Column InUsedBy component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { DomainService } from '../../domain.service';\nimport { EntityQuery } from 'breeze-client';\nimport { ComponentRegistry } from '../../core/component-registry';\nvar ColumnInUseByComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnInUseByComponent, _super);\n /**\n * Creates an instance of ColumnInUseByComponent.\n * @param {ColumnProvider} provider Provides the configuration information for the column.\n * @param {ChangeDetectorRef} changeDetector Used for update optimisation\n */\n function ColumnInUseByComponent(provider, changeDetector, domainService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.domainService = domainService;\n _this.resources = [];\n var entity = _this.provider.entity;\n if (entity == null) {\n return _this;\n }\n var format = provider.field.format;\n if (!format) {\n throw new Error('Column inuseby has as no format');\n }\n var dataSource = format.dataSource;\n if (!dataSource) {\n throw new Error('Column inuseby has as no datasource');\n }\n var query = EntityQuery.from(dataSource);\n query.parameters = {\n className: entity.entityType.shortName,\n oid: entity['Oid'],\n impClass: 'Resource'\n };\n _this.domainService.entityManager.executeQuery(query).then(function (response) {\n _this.resources = response.results;\n _this.changeDetector.detectChanges();\n });\n return _this;\n }\n /**\n * Register this column class for the column provider.\n * @static\n */\n ColumnInUseByComponent.register = function () {\n ComponentRegistry.register('column', 'inuseby', ColumnInUseByComponent);\n };\n Object.defineProperty(ColumnInUseByComponent.prototype, \"number\", {\n get: function () {\n return this.resources.length;\n },\n enumerable: true,\n configurable: true\n });\n return ColumnInUseByComponent;\n}(ColumnBase));\nexport { ColumnInUseByComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Column InUsedBy component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./column-inuseby.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-inuseby.component\";\nimport * as i3 from \"../../base/column-provider\";\nimport * as i4 from \"../../domain.service\";\nvar styles_ColumnInUseByComponent = [i0.styles];\nvar RenderType_ColumnInUseByComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnInUseByComponent, data: {} });\nexport { RenderType_ColumnInUseByComponent as RenderType_ColumnInUseByComponent };\nexport function View_ColumnInUseByComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-inuseby\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.number; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnInUseByComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-inuseby\", [], null, null, null, View_ColumnInUseByComponent_0, RenderType_ColumnInUseByComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnInUseByComponent, [i3.ColumnProvider, i1.ChangeDetectorRef, i4.DomainService], null, null)], null, null); }\nvar ColumnInUseByComponentNgFactory = i1.ɵccf(\"sym-column-inuseby\", i2.ColumnInUseByComponent, View_ColumnInUseByComponent_Host_0, {}, {}, []);\nexport { ColumnInUseByComponentNgFactory as ColumnInUseByComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Column InUsedBy component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file Column that calculates realization hours by summing Effort * SumFactor of the spendtimes.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, OnDestroy } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { durationToText } from '../../core/helpers/durationToText';\nimport * as moment from 'moment';\nimport { Entity, EntityType, SaveResult } from 'breeze-client';\nimport { DomainService } from '../../domain.service';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { from } from 'rxjs';\n/**\n * Column that calculates realization hours by summing Effort * SumFactor of the spendtimes.\n * @export\n * @class ColumnRealizationComponent\n * @extends {ColumnBase}\n * @implements {OnDestroy}\n */\nvar ColumnRealizationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnRealizationComponent, _super);\n /**\n * Constructs a ColumnRealizationComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnRealizationComponent(provider, changeDetector, domainService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.domainService = domainService;\n /**\n * The entity which is the subject of the realization hours.\n * @memberOf ColumnRealizationComponent\n */\n _this.entity = _this.provider.entity;\n /**\n * The EntityType of the SpendTime entity.\n * Is needed for SpendTime queries\n * @private\n * @type {EntityType}\n * @memberOf ColumnRealizationComponent\n */\n _this.spendTimeType = undefined;\n /**\n * The calculated realization of work objects.\n * @private\n * @memberOf ColumnRealizationComponent\n */\n _this.sumSpendTimes = '';\n _this.entity = _this.provider.entity;\n if (_this.entity.entityType.shortName !== 'SpendTime') {\n _this.spendTimeType = domainService.getEntityType('SpendTime');\n _this.realizationWork();\n _this.subscriptionPool.add(domainService.commitFinishedEvent.subscribe(function (result) {\n var match = result.entities.find(function (it) { return it.entityType.shortName === 'SpendTime' && it['Account_Oid'] === _this.entity['Oid']; });\n if (match) {\n _this.realizationWork();\n }\n }));\n }\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnRealizationComponent.register = function () {\n ComponentRegistry.register('column', 'realization', ColumnRealizationComponent);\n };\n /**\n * Called just before Angular destroys the component.\n */\n ColumnRealizationComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n };\n Object.defineProperty(ColumnRealizationComponent.prototype, \"durationString\", {\n /**\n * Create human-readable presentation of the duraction\n */\n get: function () {\n switch (this.entity.entityType.shortName) {\n case 'SpendTime':\n return this.realizationSpendTime();\n case 'Attendant':\n case 'Appointment':\n case 'Task':\n case 'Assignment':\n if (!this.sumSpendTimes) {\n this.realizationWork();\n }\n return this.sumSpendTimes;\n default:\n throw new Error(this.entity.entityType.shortName + ' has no SpendTimes! See code of ColumnRealizationComponent.durationString method.');\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Tries to start an optimised change detection based upon entiy property changes.\n * The component will fallback on angular change detection when failing.\n * @protected\n */\n ColumnRealizationComponent.prototype.startOptimisedChangeDetection = function () {\n var _this = this;\n if (this.provider.entity) {\n this.changeDetector.detach();\n var entity = this.provider.entity;\n if (entity.entityType.shortName !== 'SpendTime') {\n return;\n }\n this.propertyChangedSubscription = entity.entityAspect.propertyChanged.subscribe(function (data) {\n _this.changeDetector.detectChanges();\n });\n }\n };\n /**\n * Calculates realization hours by summing Effort * SumFactor of SpendTimes belonging to the work entity.\n * @private\n * @memberOf ColumnRealizationComponent\n */\n ColumnRealizationComponent.prototype.realizationWork = function () {\n var _this = this;\n if (!this.spendTimeType) {\n return;\n }\n var dataSet = new DataSet(this.domainService);\n dataSet.entityType = this.spendTimeType;\n dataSet.sourceName = 'SpendTime';\n dataSet.queryOptions = {\n parameters: {\n className: this.entity.entityType.shortName,\n oid: this.entity['Oid']\n }\n };\n // https://stackoverflow.com/questions/47787575/why-does-detectchanges-method-cause-attempt-to-use-a-destroyed-view-error\n var observable = from(dataSet.refresh());\n this.subscriptionPool.add(observable.subscribe(function (result) {\n if (result.results.length === 0) {\n if (_this.sumSpendTimes !== '') {\n _this.sumSpendTimes = '';\n _this.changeDetector.detectChanges();\n }\n return;\n }\n var sum = 0;\n result.results.map(function (it) { return it; }).forEach(function (item) {\n sum += moment.duration(item.Effort).asMinutes() * item.SumFactor;\n });\n var value = '';\n if (sum < 0) {\n value = '-' + durationToText(moment.duration(-sum, 'minutes'));\n if (value !== _this.sumSpendTimes) {\n _this.sumSpendTimes = value;\n _this.changeDetector.detectChanges();\n }\n return;\n }\n value = durationToText(moment.duration(sum, 'minutes'));\n if (value !== _this.sumSpendTimes) {\n _this.sumSpendTimes = value;\n _this.changeDetector.detectChanges();\n }\n }));\n };\n /**\n * Gives value Effort * SumFactor of the SpendTime as realization hours.\n * @private\n * @returns {string} The calculated value.\n * @memberOf ColumnRealizationComponent\n */\n ColumnRealizationComponent.prototype.realizationSpendTime = function () {\n var factor = this.entity['SumFactor'];\n if (factor === 0) {\n return '0';\n }\n var duration = moment.duration(this.entity['Effort']);\n if (duration) {\n var text = durationToText(duration);\n switch (factor) {\n case -1:\n return '-' + text;\n default:\n return text;\n }\n }\n else {\n return '';\n }\n };\n return ColumnRealizationComponent;\n}(ColumnBase));\nexport { ColumnRealizationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column that calculates realization hours by summing Effort * SumFactor of the spendtimes.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./column-realization.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./column-realization.component\";\nimport * as i3 from \"../../base/column-provider\";\nimport * as i4 from \"../../domain.service\";\nvar styles_ColumnRealizationComponent = [i0.styles];\nvar RenderType_ColumnRealizationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnRealizationComponent, data: {} });\nexport { RenderType_ColumnRealizationComponent as RenderType_ColumnRealizationComponent };\nexport function View_ColumnRealizationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-realization\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.durationString; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnRealizationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-realization\", [], null, null, null, View_ColumnRealizationComponent_0, RenderType_ColumnRealizationComponent)), i1.ɵdid(1, 4374528, null, 0, i2.ColumnRealizationComponent, [i3.ColumnProvider, i1.ChangeDetectorRef, i4.DomainService], null, null)], null, null); }\nvar ColumnRealizationComponentNgFactory = i1.ɵccf(\"sym-column-realization\", i2.ColumnRealizationComponent, View_ColumnRealizationComponent_Host_0, {}, {}, []);\nexport { ColumnRealizationComponentNgFactory as ColumnRealizationComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column that calculates realization hours by summing Effort * SumFactor of the spendtimes.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file The Column Repeat component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { RepeatAdapter } from '../helpers/repeat-adapter';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DomainService } from '../../domain.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nvar ColumnRepeatComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnRepeatComponent, _super);\n /**\n * Constructs a ColumnRepeatComponent.\n * @param translateService Is needed to get a summary of the repeat.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnRepeatComponent(provider, changeDetector, translateService, localisationService, domainService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.repeat = new RepeatAdapter(function () {\n var repeat = provider.value;\n if (repeat && !repeat.Owner) {\n var wasModified = repeat.entityAspect.entityState.isModified();\n repeat.Owner = provider.entity;\n if (!wasModified) {\n repeat.entityAspect.setUnchanged();\n }\n }\n return repeat;\n }, translateService, localisationService, domainService);\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnRepeatComponent.register = function () {\n ComponentRegistry.register('column', 'repeat', ColumnRepeatComponent);\n };\n Object.defineProperty(ColumnRepeatComponent.prototype, \"summary\", {\n /**\n * Gets the summary of the current repeat.\n */\n get: function () {\n return this.repeat.summary();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Optimised change detection is not suported for this component,\n * so we override with an empty method.\n * @protected\n */\n ColumnRepeatComponent.prototype.startOptimisedChangeDetection = function () {\n // Does nothing.\n };\n return ColumnRepeatComponent;\n}(ColumnBase));\nexport { ColumnRepeatComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Column Repeat component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"./column-repeat.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"./column-repeat.component\";\nimport * as i4 from \"../../base/column-provider\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"../../core/localisation.service\";\nimport * as i7 from \"../../domain.service\";\nvar styles_ColumnRepeatComponent = [i0.styles, i1.styles];\nvar RenderType_ColumnRepeatComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_ColumnRepeatComponent, data: {} });\nexport { RenderType_ColumnRepeatComponent as RenderType_ColumnRepeatComponent };\nexport function View_ColumnRepeatComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-repeat\"]], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.summary; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnRepeatComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-column-repeat\", [], null, null, null, View_ColumnRepeatComponent_0, RenderType_ColumnRepeatComponent)), i2.ɵdid(1, 4374528, null, 0, i3.ColumnRepeatComponent, [i4.ColumnProvider, i2.ChangeDetectorRef, i5.TranslateService, i6.LocalisationService, i7.DomainService], null, null)], null, null); }\nvar ColumnRepeatComponentNgFactory = i2.ɵccf(\"sym-column-repeat\", i3.ColumnRepeatComponent, View_ColumnRepeatComponent_Host_0, {}, {}, []);\nexport { ColumnRepeatComponentNgFactory as ColumnRepeatComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Column Repeat component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n* @file Column component for displaying a color value.\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColorTools } from '../../base/helpers/color-tools';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\n/**\n * Column component for displaying a color value\n */\nvar ColumnColorComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnColorComponent, _super);\n /**\n * Constructs a ColumnColorComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnColorComponent(provider, changeDetector) {\n var _this = _super.call(this, provider, changeDetector) || this;\n /** Set of color tools */\n _this.colorTools = new ColorTools();\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnColorComponent.register = function () {\n ComponentRegistry.register('column', 'color', ColumnColorComponent);\n };\n Object.defineProperty(ColumnColorComponent.prototype, \"colorPattern\", {\n /**\n * Presentation of the color is based on the entity type.\n * Options are:\n * - assignment (= default)\n * - appointment\n * - absence\n */\n get: function () {\n switch (this.provider.entity.entityType.shortName) {\n case 'Task':\n case 'TaskTemplate':\n case 'Assignment':\n if (this.provider.entity['Appointment']) {\n // Assignments met waarde true voor de property Appointment worden binnen HTML5 als Appointments gezien.\n return 'appointment';\n }\n return 'assignment';\n case 'Appointment':\n // Eerder hielde we rekening met Appointments die geen Absence als reden hadden.\n // Van deze Symagic Server mogelijkheid wordt geen gebruik gemaakt.\n // Appointments behoren nu functioneel altijd een Absence als reden te hebben.\n return 'absence';\n case 'Shift':\n return 'service';\n case 'Service':\n return 'service';\n case 'Attendant':\n return 'service';\n default:\n return 'assignment';\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ColumnColorComponent.prototype, \"color\", {\n get: function () {\n return this.colorTools.getDisplayColor(this.provider.value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets a value indicating whether the planned item is in draft.\n */\n ColumnColorComponent.prototype.isDraft = function () {\n return this.provider.entity && this.provider.entity.Draft;\n };\n return ColumnColorComponent;\n}(ColumnBase));\nexport { ColumnColorComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a color value.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-color.component\";\nimport * as i4 from \"../../base/column-provider\";\nvar styles_ColumnColorComponent = [i0.styles];\nvar RenderType_ColumnColorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnColorComponent, data: {} });\nexport { RenderType_ColumnColorComponent as RenderType_ColumnColorComponent };\nfunction View_ColumnColorComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-assignment\"]], [[8, \"title\", 0], [4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_3 = \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-assignment\"; var currVal_4 = _ck(_v, 2, 0, _co.isDraft()); _ck(_v, 1, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.color; var currVal_1 = _co.color; var currVal_2 = _co.colorTools.maxContrast(_co.color, 20); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_ColumnColorComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-appointment\"]], [[8, \"title\", 0], [4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_3 = \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-appointment\"; var currVal_4 = _ck(_v, 2, 0, _co.isDraft()); _ck(_v, 1, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.color; var currVal_1 = _co.color; var currVal_2 = _co.colorTools.maxContrast(_co.color, 20); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_ColumnColorComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-absence\"]], [[8, \"title\", 0], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_2 = \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-absence\"; var currVal_3 = _ck(_v, 2, 0, _co.isDraft()); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.color; var currVal_1 = _co.color; _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_ColumnColorComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-service\"]], [[8, \"title\", 0], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-is-draft\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_2 = \"sym-column-editor text-truncate sym-column-editor-color sym-pattern-service\"; var currVal_3 = _ck(_v, 2, 0, _co.isDraft()); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.color; var currVal_1 = _co.color; _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_ColumnColorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [], null, null, null, null, null)), i1.ɵdid(2, 16384, null, 0, i2.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnColorComponent_2)), i1.ɵdid(4, 278528, null, 0, i2.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnColorComponent_3)), i1.ɵdid(6, 278528, null, 0, i2.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnColorComponent_4)), i1.ɵdid(8, 278528, null, 0, i2.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnColorComponent_5)), i1.ɵdid(10, 278528, null, 0, i2.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.colorPattern; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"assignment\"; _ck(_v, 4, 0, currVal_1); var currVal_2 = \"appointment\"; _ck(_v, 6, 0, currVal_2); var currVal_3 = \"absence\"; _ck(_v, 8, 0, currVal_3); var currVal_4 = \"service\"; _ck(_v, 10, 0, currVal_4); }, null); }\nexport function View_ColumnColorComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnColorComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.color; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnColorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-color\", [], null, null, null, View_ColumnColorComponent_0, RenderType_ColumnColorComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnColorComponent, [i4.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnColorComponentNgFactory = i1.ɵccf(\"sym-column-color\", i3.ColumnColorComponent, View_ColumnColorComponent_Host_0, {}, {}, []);\nexport { ColumnColorComponentNgFactory as ColumnColorComponentNgFactory };\n","/**\n * @file Column component for displaying a datetime value and its deviation to a related datetime value.\n * @author Willem Jan Weitering\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { LocalisationService } from '../../core/localisation.service';\nimport * as moment from 'moment';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Column component for displaying a datetime value and its deviation to a related datetime value.\n */\nvar ColumnDatetimeDeviationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnDatetimeDeviationComponent, _super);\n /**\n * Constructs a ColumnDatetimeDeviationComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnDatetimeDeviationComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n _this.showDeviation = true;\n _this.compareValue = undefined;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnDatetimeDeviationComponent.register = function () {\n ComponentRegistry.register('column', 'datetime-deviation', ColumnDatetimeDeviationComponent);\n };\n ColumnDatetimeDeviationComponent.prototype.ngOnInit = function () {\n this.setInitialValues();\n };\n Object.defineProperty(ColumnDatetimeDeviationComponent.prototype, \"timeDeviation\", {\n /* property with deviation info */\n get: function () {\n var timeDeviation = null;\n if (this.showDeviation) {\n // So what's the time deviation and make it human readable\n timeDeviation = this.compareValue.diff(moment(this.provider.value));\n var deviationSign = timeDeviation < 0 ? '+' : '-';\n if (timeDeviation !== 0) {\n timeDeviation = deviationSign + moment.duration(timeDeviation).humanize();\n }\n }\n return timeDeviation;\n },\n enumerable: true,\n configurable: true\n });\n ColumnDatetimeDeviationComponent.prototype.setInitialValues = function () {\n // get format from configuration\n var compareFormat = this.provider.field.format;\n // Do we have to show deviation?\n if (compareFormat.deviationType === 'SpendTime') {\n var account = this.provider.entity['Account'];\n if (account) {\n if (account.entityType.shortName !== 'Assignment') {\n this.showDeviation = false;\n }\n }\n else {\n this.showDeviation = false;\n }\n }\n if (this.showDeviation) {\n // Get value to compare with the base value\n var propertyParts = compareFormat.deviationFrom.split('.');\n var compareValue = this.provider.entity;\n // tslint:disable-next-line\n for (var item in propertyParts) {\n compareValue = compareValue[propertyParts[item]];\n }\n this.compareValue = moment(compareValue);\n }\n };\n return ColumnDatetimeDeviationComponent;\n}(ColumnBase));\nexport { ColumnDatetimeDeviationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a datetime value and its deviation to a related datetime value.\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"ngx-moment\";\nimport * as i5 from \"./column-datetime-deviation.component\";\nimport * as i6 from \"../../base/column-provider\";\nimport * as i7 from \"../../core/localisation.service\";\nvar styles_ColumnDatetimeDeviationComponent = [i0.styles];\nvar RenderType_ColumnDatetimeDeviationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnDatetimeDeviationComponent, data: {} });\nexport { RenderType_ColumnDatetimeDeviationComponent as RenderType_ColumnDatetimeDeviationComponent };\nfunction View_ColumnDatetimeDeviationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.timeDeviation; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnDatetimeDeviationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.CORE.DEVIATION_NONE\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnDatetimeDeviationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnDatetimeDeviationComponent_2)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnDatetimeDeviationComponent_3)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.timeDeviation !== 0); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.timeDeviation === 0); _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_ColumnDatetimeDeviationComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-datetime-deviation\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"span\", [[\"class\", \"sym-hide-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\" \", \" \"])), i1.ɵppd(4, 2), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnDatetimeDeviationComponent_1)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"span\", [[\"class\", \"sym-show-on-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.showDeviation; _ck(_v, 6, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v, 0), _co.provider.value, _co.localisationService.dateTime.format)); _ck(_v, 3, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(_co.provider.value)); _ck(_v, 8, 0, currVal_2); }); }\nexport function View_ColumnDatetimeDeviationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-datetime-deviation\", [], null, null, null, View_ColumnDatetimeDeviationComponent_0, RenderType_ColumnDatetimeDeviationComponent)), i1.ɵdid(1, 4440064, null, 0, i5.ColumnDatetimeDeviationComponent, [i6.ColumnProvider, i1.ChangeDetectorRef, i7.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ColumnDatetimeDeviationComponentNgFactory = i1.ɵccf(\"sym-column-datetime-deviation\", i5.ColumnDatetimeDeviationComponent, View_ColumnDatetimeDeviationComponent_Host_0, {}, {}, []);\nexport { ColumnDatetimeDeviationComponentNgFactory as ColumnDatetimeDeviationComponentNgFactory };\n","/**\n * @file Column component for displaying a duration value and its deviation to a related duration value.\n * @author Willem Jan Weitering\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport * as moment from 'moment';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * Column component for displaying a duration value and its deviation to a related duration value.\n */\nvar ColumnDurationDeviationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnDurationDeviationComponent, _super);\n /**\n * Constructs a ColumnDurationComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnDurationDeviationComponent(provider, changeDetector, localisationService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.localisationService = localisationService;\n _this.showDeviation = true;\n _this.compareValue = undefined;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnDurationDeviationComponent.register = function () {\n ComponentRegistry.register('column', 'duration-deviation', ColumnDurationDeviationComponent);\n };\n ColumnDurationDeviationComponent.prototype.ngOnInit = function () {\n this.setInitialValues();\n };\n Object.defineProperty(ColumnDurationDeviationComponent.prototype, \"deviationString\", {\n get: function () {\n var deviationString = null;\n var duration = moment.duration(this.provider.value);\n if (this.showDeviation) {\n // creating string to indicate difference\n var durationDifference = duration.asMilliseconds() - this.compareValue.asMilliseconds();\n var percentage = Math.round(100 * durationDifference / this.compareValue.asMilliseconds());\n var deviationSign = '';\n if (percentage > 0) {\n deviationSign = '+';\n }\n deviationString = deviationSign + percentage + '%';\n }\n return deviationString;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ColumnDurationDeviationComponent.prototype, \"valueString\", {\n get: function () {\n return moment.utc(moment.duration(this.provider.value).as('milliseconds')).format(this.localisationService.currentLanguage.formats.duration.format);\n },\n enumerable: true,\n configurable: true\n });\n ColumnDurationDeviationComponent.prototype.setInitialValues = function () {\n // get format from configuration\n var compareFormat = this.provider.field.format;\n // Do we have to show deviation?\n if (compareFormat.deviationType === 'SpendTime') {\n var account = this.provider.entity['Account'];\n if (account) {\n if (account.entityType.shortName !== 'Assignment') {\n this.showDeviation = false;\n }\n }\n else {\n this.showDeviation = false;\n }\n }\n if (this.showDeviation) {\n // Get value to compare with the base value\n var propertyParts = compareFormat.deviationFrom.split('.');\n var compareValue = this.provider.entity;\n // tslint:disable-next-line\n for (var item in propertyParts) {\n compareValue = compareValue[propertyParts[item]];\n }\n this.compareValue = moment.duration(compareValue);\n }\n };\n return ColumnDurationDeviationComponent;\n}(ColumnBase));\nexport { ColumnDurationDeviationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a duration value and its deviation to a related duration value.\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-duration-deviation.component\";\nimport * as i4 from \"../../base/column-provider\";\nimport * as i5 from \"../../core/localisation.service\";\nvar styles_ColumnDurationDeviationComponent = [i0.styles];\nvar RenderType_ColumnDurationDeviationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnDurationDeviationComponent, data: {} });\nexport { RenderType_ColumnDurationDeviationComponent as RenderType_ColumnDurationDeviationComponent };\nfunction View_ColumnDurationDeviationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" (\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.deviationString; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnDurationDeviationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-duration-deviation\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnDurationDeviationComponent_1)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.deviationString; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.valueString; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnDurationDeviationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-duration-deviation\", [], null, null, null, View_ColumnDurationDeviationComponent_0, RenderType_ColumnDurationDeviationComponent)), i1.ɵdid(1, 4440064, null, 0, i3.ColumnDurationDeviationComponent, [i4.ColumnProvider, i1.ChangeDetectorRef, i5.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ColumnDurationDeviationComponentNgFactory = i1.ɵccf(\"sym-column-duration-deviation\", i3.ColumnDurationDeviationComponent, View_ColumnDurationDeviationComponent_Host_0, {}, {}, []);\nexport { ColumnDurationDeviationComponentNgFactory as ColumnDurationDeviationComponentNgFactory };\n","/**\n * @file Column component for displaying a requirement column\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Column component for displaying a requirement value\n */\nvar ColumnRequirementComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnRequirementComponent, _super);\n /**\n * Constructs a ColumnRequirementComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnRequirementComponent(provider, changeDetector) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.entity = _this.provider.entity;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnRequirementComponent.register = function () {\n ComponentRegistry.register('column', 'requirement', ColumnRequirementComponent);\n };\n Object.defineProperty(ColumnRequirementComponent.prototype, \"description\", {\n get: function () {\n var category = this.provider.value;\n if (!category) {\n return '';\n }\n var value = category['Name'];\n if (category.entityType.shortName === 'Location') {\n value = category['ZipCode'] === '' ? value : category['ZipCode'] + ' ' + value;\n value = category['HouseNumber'] === '' ? value : category['HouseNumber'] + ' ' + value;\n value = category['Address'] === '' ? value : category['Address'] + ' ' + value;\n }\n return value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * The type of the requirement\n */\n ColumnRequirementComponent.prototype.getType = function () {\n var category = this.provider.value;\n if (!category) {\n return 'unkown';\n }\n switch (category.entityType.shortName) {\n case 'Team':\n return 'department';\n case 'Function':\n return 'competence';\n case 'Location':\n return 'location';\n default:\n return 'unkown';\n }\n };\n return ColumnRequirementComponent;\n}(ColumnBase));\nexport { ColumnRequirementComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a requirement column\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./column-requirement.component\";\nimport * as i4 from \"../../base/column-provider\";\nvar styles_ColumnRequirementComponent = [i0.styles];\nvar RenderType_ColumnRequirementComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnRequirementComponent, data: {} });\nexport { RenderType_ColumnRequirementComponent as RenderType_ColumnRequirementComponent };\nfunction View_ColumnRequirementComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-requirement\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵted(2, null, [\" \", \"\\n\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"icon sym-icon-\", _co.getType(), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.description; _ck(_v, 2, 0, currVal_1); }); }\nexport function View_ColumnRequirementComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnRequirementComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnRequirementComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-requirement\", [], null, null, null, View_ColumnRequirementComponent_0, RenderType_ColumnRequirementComponent)), i1.ɵdid(1, 4374528, null, 0, i3.ColumnRequirementComponent, [i4.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnRequirementComponentNgFactory = i1.ɵccf(\"sym-column-requirement\", i3.ColumnRequirementComponent, View_ColumnRequirementComponent_Host_0, {}, {}, []);\nexport { ColumnRequirementComponentNgFactory as ColumnRequirementComponentNgFactory };\n","/**\n * The column displays a resource's active contract hours.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, OnInit } from '@angular/core';\nimport { EntityQuery } from 'breeze-client';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { durationToText } from '../../core/helpers/durationToText';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\n/**\n * The column displays a resource's active contract hours.\n * @export\n * @class ColumnContractHoursComponent\n * @extends {ColumnBase}\n * @implements {OnDestroy}\n */\nvar ColumnContractHoursComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnContractHoursComponent, _super);\n /**\n * Creates an instance of ColumnContractHoursComponent.\n * @param {ColumnProvider} provider Contains the resource OID.\n * @param {ChangeDetectorRef} changeDetector The parameter is not used.\n * @param {DomainService} domainService Can query the active contract hours.\n * @memberOf ColumnContractHoursComponent\n */\n function ColumnContractHoursComponent(provider, changeDetector, domainService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.provider = provider;\n _this.changeDetector = changeDetector;\n _this.domainService = domainService;\n /**\n * The string representation of the active contract hours.\n * @memberOf ColumnContractHoursComponent\n */\n _this.value = '';\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnContractHoursComponent.register = function () {\n ComponentRegistry.register('column', 'contract-hours', ColumnContractHoursComponent);\n };\n /**\n * Sets the displayed value.\n * @memberOf ColumnContractHoursComponent\n */\n ColumnContractHoursComponent.prototype.ngOnInit = function () {\n var _this = this;\n var query = new EntityQuery('ContractHoursOn');\n query.parameters = { oid: this.provider.entity['Oid'], view: new Date() };\n this.domainService.entityManager.executeQuery(query).then(function (response) {\n _this.value = durationToText(moment.duration(response.results[0]['contract']));\n _this.changeDetector.detectChanges();\n });\n };\n return ColumnContractHoursComponent;\n}(ColumnBase));\nexport { ColumnContractHoursComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * The column displays a resource's active contract hours.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./column-contract-hours.component\";\nimport * as i2 from \"../../base/column-provider\";\nimport * as i3 from \"../../domain.service\";\nvar styles_ColumnContractHoursComponent = [];\nvar RenderType_ColumnContractHoursComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ColumnContractHoursComponent, data: {} });\nexport { RenderType_ColumnContractHoursComponent as RenderType_ColumnContractHoursComponent };\nexport function View_ColumnContractHoursComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-duration\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.value; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_ColumnContractHoursComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-column-contract-hours\", [], null, null, null, View_ColumnContractHoursComponent_0, RenderType_ColumnContractHoursComponent)), i0.ɵdid(1, 4440064, null, 0, i1.ColumnContractHoursComponent, [i2.ColumnProvider, i0.ChangeDetectorRef, i3.DomainService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ColumnContractHoursComponentNgFactory = i0.ɵccf(\"sym-column-contract-hours\", i1.ColumnContractHoursComponent, View_ColumnContractHoursComponent_Host_0, {}, {}, []);\nexport { ColumnContractHoursComponentNgFactory as ColumnContractHoursComponentNgFactory };\n","/**\n * @file The ProfileComponent shows user or recipient properties in the overlay\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, EventEmitter } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ImageService } from '../../base/image.service';\nimport { EntityQuery } from 'breeze-client';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { UserService } from '../../user.service';\nimport { OverlayProvider } from './../overlay-provider';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * The ProfileComponent shows user or recipient properties in the overlay.\n * @export\n * @class ProfileComponent\n * @implements {OnInit}\n */\nvar ProfileComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ProfileComponent, _super);\n /**\n * Creates an instance of ProfileComponent\n */\n function ProfileComponent(userService, translateService, localisationService, overlayService, domainService, alertsService, imageService, overlayProvider) {\n var _this = _super.call(this) || this;\n _this.userService = userService;\n _this.translateService = translateService;\n _this.localisationService = localisationService;\n _this.overlayService = overlayService;\n _this.domainService = domainService;\n _this.alertsService = alertsService;\n _this.imageService = imageService;\n /** Event that emits when an entity is saved */\n _this.itemSaved = new EventEmitter();\n /**\n * True if the resource's expertise has not been loaded yet\n */\n _this.loadingExpertise = true;\n /**\n * True if the resource's locality has not been loaded yet\n */\n _this.loadingLocality = true;\n /**\n * True if the resource's memberships has not been loaded yet\n */\n _this.loadingMemberships = true;\n /**\n * The form group wraps the input controls\n * @memberOf ProfileComponent\n */\n _this.form = new FormGroup({});\n /**\n * Does the user have HTML5 role Employee?\n * @memberOf ProfileComponent\n */\n _this.userIsEmployee = true;\n /**\n * A list of the resource's competences\n */\n _this.competences = [];\n _this.nrVisibleCompetences = 10;\n /**\n * A list of the resource's regions\n */\n _this.regions = [];\n _this.nrVisibleRegions = 10;\n /**\n * A list of the resource's teams\n */\n _this.teams = [];\n _this.nrVisibleTeams = 10;\n _this.config = overlayProvider.configuration;\n return _this;\n }\n Object.defineProperty(ProfileComponent.prototype, \"loading\", {\n /**\n * Gets whether expertise, locality or memberships are still being loaded\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return this.loadingExpertise || this.loadingLocality || this.loadingMemberships;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the resource to be displayed\n */\n ProfileComponent.prototype.ngOnInit = function () {\n var params = this.overlayService.getParams();\n if (!params || !params.entity) {\n return;\n }\n this.userIsEmployee = (this.userService.html5role === 'employee');\n if (params.entity.entityType.shortName === 'Recipient') {\n this.getResource(params);\n return;\n }\n this.resource = params.entity;\n if (params.entity.entityType.shortName === 'Resource') {\n this.domainService.getEntityByKey(this.resource.entityType, this.resource['Oid'], false, 'City, Calendar.Base');\n }\n this.getAttributes();\n };\n /**\n * Returns the full name based on the first and last name of the user\n * @returns {string} The user's full name\n */\n ProfileComponent.prototype.fullName = function () {\n if (this.resource) {\n return this.resource['FirstName'] + ' ' + this.resource['Prefix'] + ' ' + this.resource['Name'];\n }\n return '';\n };\n /**\n * Returnt the title of the user\n *\n * @returns {string}\n */\n ProfileComponent.prototype.title = function () {\n if (this.resource) {\n return this.resource['Title'];\n }\n return '';\n };\n /**\n * Gets a promise with the profile picture url\n */\n ProfileComponent.prototype.pictureUrl = function () {\n var _this = this;\n return new Promise(function (resolve, reject) {\n return _this.imageService.getFile(_this.resource).then(function (upload) {\n resolve(upload.url);\n });\n });\n };\n /**\n * Returns a string representing the birthday, or a text explaining no birthday is known\n * @returns {string} A string representing the (absence of a) birthday\n */\n ProfileComponent.prototype.birthdayString = function () {\n var birthday = moment(this.resource['Birthday']);\n if (moment.isMoment(birthday)) {\n return birthday.format(this.localisationService.currentLanguage.formats.agenda.week.start);\n }\n return this.translateService.instant('APP.SOCIAL.NO_BIRTHDAY');\n };\n /**\n * Gets the resource to be displayed.\n * @private\n * @param {OverlayParameters} params Contains the OID of the user.\n * @memberOf ProfileComponent\n */\n ProfileComponent.prototype.getResource = function (params) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType, user;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n entityType = this.domainService.getEntityType('User');\n return [4 /*yield*/, this.domainService.getEntityByKey(entityType, params.entity['UserOid'], true, 'City, Calendar.Base').toPromise()];\n case 1:\n user = _a.sent();\n this.resource = user['Resource'];\n this.getAttributes();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Retrieves the resource's competences, regions and teams\n * @private\n */\n ProfileComponent.prototype.getAttributes = function () {\n var _this = this;\n this.competences = [];\n this.regions = [];\n this.teams = [];\n var dataSource = {\n functionsOn: 'ResourceFunctionsOn',\n locationsOn: 'ResourceLocationsOn',\n teamsOn: 'ResourceTeamsOn'\n };\n var parameters = {\n className: 'Resource',\n oid: this.resource.Oid,\n view: new Date()\n };\n var expertiseQuery = this.getQuery(dataSource.functionsOn);\n expertiseQuery.parameters = parameters;\n this.domainService.entityManager.executeQuery(expertiseQuery).then(function (response) {\n response.results.forEach(function (link) {\n _this.competences.push(link['Child']['Name']);\n });\n _this.loadingExpertise = false;\n });\n var localityQuery = this.getQuery(dataSource.locationsOn);\n localityQuery.parameters = parameters;\n this.domainService.entityManager.executeQuery(localityQuery).then(function (response) {\n response.results.forEach(function (link) {\n _this.regions.push(link['Child']['Name']);\n });\n _this.loadingLocality = false;\n });\n var membershipQuery = this.getQuery(dataSource.teamsOn);\n membershipQuery.parameters = parameters;\n this.domainService.entityManager.executeQuery(membershipQuery).then(function (response) {\n response.results.forEach(function (link) {\n _this.teams.push(link['Child']['Name']);\n });\n _this.loadingMemberships = false;\n });\n };\n ProfileComponent.prototype.getQuery = function (source) {\n var fields = this.config.data.fields;\n var thisField = fields.find(function (field) { return field.format.dataSource === source; });\n var dataSource = thisField.format.dataSource;\n return EntityQuery.from(dataSource).expand('Child');\n };\n return ProfileComponent;\n}(AbstractBase));\nexport { ProfileComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The ProfileComponent shows user or recipient properties in the overlay\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./profile.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"../../base/profile-picture/profile-picture.component.ngfactory\";\nimport * as i5 from \"../../base/profile-picture/profile-picture.component\";\nimport * as i6 from \"./profile.component\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../core/localisation.service\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"../../domain.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../base/image.service\";\nimport * as i13 from \"../overlay-provider\";\nvar styles_ProfileComponent = [i0.styles];\nvar RenderType_ProfileComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ProfileComponent, data: {} });\nexport { RenderType_ProfileComponent as RenderType_ProfileComponent };\nfunction View_ProfileComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"a\", [], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"tel:\", _co.resource.Tel, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.resource.Tel; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_ProfileComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.SOCIAL.UNKNOWN\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ProfileComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"sym-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-phone\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_3)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_4)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.resource.Tel; _ck(_v, 4, 0, currVal_0); var currVal_1 = !_co.resource.Tel; _ck(_v, 6, 0, currVal_1); }, null); }\nfunction View_ProfileComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"a\", [], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"mailto:\", _co.resource.EMailAddress, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.resource.EMailAddress; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_ProfileComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.SOCIAL.UNKNOWN\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ProfileComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"sym-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-email\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_6)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_7)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.resource.EMailAddress; _ck(_v, 4, 0, currVal_0); var currVal_1 = !_co.resource.EMailAddress; _ck(_v, 6, 0, currVal_1); }, null); }\nfunction View_ProfileComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \" \", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \" \", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.resource.City.Address; var currVal_1 = _co.resource.City.HouseNumber; _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = _co.resource.City.ZipCode; var currVal_3 = _co.resource.City.Name; _ck(_v, 5, 0, currVal_2, currVal_3); }); }\nfunction View_ProfileComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.SOCIAL.UNKNOWN\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ProfileComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-location\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_9)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_10)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.resource.City; _ck(_v, 3, 0, currVal_0); var currVal_1 = !_co.resource.City; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_ProfileComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.birthdayString(); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ProfileComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.SOCIAL.UNKNOWN\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ProfileComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"sym-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-birthday\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_12)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_13)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.resource.Birthday; _ck(_v, 4, 0, currVal_0); var currVal_1 = !_co.resource.Birthday; _ck(_v, 6, 0, currVal_1); }, null); }\nfunction View_ProfileComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.resource.Calendar.Base.Name; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ProfileComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.SOCIAL.NONE\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ProfileComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_ProfileComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ProfileComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.nrVisibleCompetences = _co.competences.length) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \" \", \" \", \".\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.INPUTS.RESOURCES_AND\")); var currVal_1 = (_co.competences.length - _co.nrVisibleCompetences); var currVal_2 = i1.ɵunv(_v, 2, 2, i1.ɵnov(_v, 4).transform(\"APP.INPUTS.RESOURCES_MORE\")); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_ProfileComponent_20(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.SOCIAL.NONE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ProfileComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-box mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-competences\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_ProfileComponent_18)), i1.ɵdid(3, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(0, i3.SlicePipe, []), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_19)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_20)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.competences, 0, _co.nrVisibleCompetences)); _ck(_v, 3, 0, currVal_0); var currVal_1 = (_co.competences.length > _co.nrVisibleCompetences); _ck(_v, 6, 0, currVal_1); var currVal_2 = (_co.competences.length === 0); _ck(_v, 8, 0, currVal_2); }, null); }\nfunction View_ProfileComponent_22(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ProfileComponent_23(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.nrVisibleRegions = _co.regions.length) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \" \", \" \", \".\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.INPUTS.RESOURCES_AND\")); var currVal_1 = (_co.regions.length - _co.nrVisibleRegions); var currVal_2 = i1.ɵunv(_v, 2, 2, i1.ɵnov(_v, 4).transform(\"APP.INPUTS.RESOURCES_MORE\")); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_ProfileComponent_24(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.SOCIAL.NONE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ProfileComponent_21(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-box mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-location\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_ProfileComponent_22)), i1.ɵdid(3, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(0, i3.SlicePipe, []), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_23)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_24)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.regions, 0, _co.nrVisibleRegions)); _ck(_v, 3, 0, currVal_0); var currVal_1 = (_co.regions.length > _co.nrVisibleRegions); _ck(_v, 6, 0, currVal_1); var currVal_2 = (_co.regions.length === 0); _ck(_v, 8, 0, currVal_2); }, null); }\nfunction View_ProfileComponent_26(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ProfileComponent_27(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.nrVisibleTeams = _co.teams.length) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \" \", \" \", \".\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.INPUTS.RESOURCES_AND\")); var currVal_1 = (_co.teams.length - _co.nrVisibleTeams); var currVal_2 = i1.ɵunv(_v, 2, 2, i1.ɵnov(_v, 4).transform(\"APP.INPUTS.RESOURCES_MORE\")); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }); }\nfunction View_ProfileComponent_28(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"sym-none\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.SOCIAL.NONE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ProfileComponent_25(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-department\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_ProfileComponent_26)), i1.ɵdid(3, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(0, i3.SlicePipe, []), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_27)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_28)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.teams, 0, _co.nrVisibleTeams)); _ck(_v, 3, 0, currVal_0); var currVal_1 = (_co.teams.length > _co.nrVisibleTeams); _ck(_v, 6, 0, currVal_1); var currVal_2 = (_co.teams.length === 0); _ck(_v, 8, 0, currVal_2); }, null); }\nfunction View_ProfileComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 25, \"div\", [[\"class\", \"row sym-profile-text mt-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"col-sm-6 offset-lg-1 col-lg-5 offset-xl-2 col-xl-4\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_5)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_8)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_11)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"div\", [[\"class\", \"sym-box mb-3 mb-sm-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-calendar\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_14)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_15)), i1.ɵdid(16, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 8, \"div\", [[\"class\", \"col-sm-6 offset-xl-1 col-xl-5\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_16)), i1.ɵdid(19, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_17)), i1.ɵdid(21, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_21)), i1.ɵdid(23, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_25)), i1.ɵdid(25, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.userIsEmployee; _ck(_v, 3, 0, currVal_0); var currVal_1 = !_co.userIsEmployee; _ck(_v, 5, 0, currVal_1); var currVal_2 = !_co.userIsEmployee; _ck(_v, 7, 0, currVal_2); var currVal_3 = !_co.userIsEmployee; _ck(_v, 9, 0, currVal_3); var currVal_4 = (_co.resource.Calendar && _co.resource.Calendar.Base); _ck(_v, 14, 0, currVal_4); var currVal_5 = (!_co.resource.Calendar || !_co.resource.Calendar.Base); _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.loading; _ck(_v, 19, 0, currVal_6); var currVal_7 = !_co.loading; _ck(_v, 21, 0, currVal_7); var currVal_8 = !_co.loading; _ck(_v, 23, 0, currVal_8); var currVal_9 = !_co.loading; _ck(_v, 25, 0, currVal_9); }, null); }\nfunction View_ProfileComponent_29(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"row sym-profile-text mt-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.SOCIAL.PROFILE.NO_RESOURCE\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_ProfileComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row justify-content-center sym-profile-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-auto\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"sym-profile-picture\", [], null, null, null, i4.View_ProfilePictureComponent_0, i4.RenderType_ProfilePictureComponent)), i1.ɵdid(4, 49152, null, 0, i5.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"row justify-content-center\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"col text-center text-truncate sym-lead\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"row justify-content-center\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"div\", [[\"class\", \"col sym-paragraph text-center text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_1)), i1.ɵdid(12, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProfileComponent_29)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.fullName(); var currVal_1 = 200; _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_4 = _co.resource; _ck(_v, 12, 0, currVal_4); var currVal_5 = !_co.resource; _ck(_v, 14, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.fullName(); _ck(_v, 7, 0, currVal_2); var currVal_3 = _co.title(); _ck(_v, 10, 0, currVal_3); }); }\nexport function View_ProfileComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-profile\", [], null, null, null, View_ProfileComponent_0, RenderType_ProfileComponent)), i1.ɵdid(1, 245760, null, 0, i6.ProfileComponent, [i7.UserService, i2.TranslateService, i8.LocalisationService, i9.OverlayService, i10.DomainService, i11.AlertsService, i12.ImageService, i13.OverlayProvider], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ProfileComponentNgFactory = i1.ɵccf(\"sym-profile\", i6.ProfileComponent, View_ProfileComponent_Host_0, {}, { itemSaved: \"itemSaved\" }, []);\nexport { ProfileComponentNgFactory as ProfileComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The ProfileComponent shows user or recipient properties in the overlay\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-pane[_ngcontent-%COMP%]{margin-top:100px}.sym-pane[_ngcontent-%COMP%] .sym-lead[_ngcontent-%COMP%]{font-size:2rem}.sym-pane[_ngcontent-%COMP%] .sym-paragraph[_ngcontent-%COMP%]{font-size:1.5rem;color:#a8a8a8}.sym-pane[_ngcontent-%COMP%] .row.sym-profile-image[_ngcontent-%COMP%]{position:relative;margin-top:-100px}.sym-pane[_ngcontent-%COMP%] .row.sym-profile-text[_ngcontent-%COMP%] .sym-box[_ngcontent-%COMP%]{margin-left:25px;position:relative}.sym-pane[_ngcontent-%COMP%] .row.sym-profile-text[_ngcontent-%COMP%] .sym-box[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute;left:-25px;top:2px}.sym-pane[_ngcontent-%COMP%] .row.sym-profile-text[_ngcontent-%COMP%] .sym-box[_ngcontent-%COMP%] .sym-none[_ngcontent-%COMP%]{color:#adb5bd}\"];\nexport { styles as styles };\n","/**\n * @file Component representing the footer of the application.\n * @author Tom Verschoore de la Houssaije\n */\nimport { OverlayService } from '../../core/overlay.service';\nimport { SettingsService } from '../../settings.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { TestService } from '../../test.service';\n/**\n * Component representing the footer of the application.\n */\nvar VersionInfoComponent = /** @class */ (function () {\n /**\n * Constructs the footer of the application.\n * @param translateService The translate service to support multi language.\n * @param overlayService The overlay service.\n * @param settingsService The settings service.\n */\n function VersionInfoComponent(overlayService, settingsService, testService, localStorageService) {\n this.overlayService = overlayService;\n this.settingsService = settingsService;\n this.testService = testService;\n this.localStorageService = localStorageService;\n }\n VersionInfoComponent.prototype.close = function () {\n this.overlayService.closeOverlay();\n };\n return VersionInfoComponent;\n}());\nexport { VersionInfoComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing the footer of the application.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./version-info.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/pipes/capitalize.pipe\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"./version-info.component\";\nimport * as i5 from \"../../core/overlay.service\";\nimport * as i6 from \"../../settings.service\";\nimport * as i7 from \"../../test.service\";\nimport * as i8 from \"../../core/local-storage.service\";\nvar styles_VersionInfoComponent = [i0.styles];\nvar RenderType_VersionInfoComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_VersionInfoComponent, data: {} });\nexport { RenderType_VersionInfoComponent as RenderType_VersionInfoComponent };\nexport function View_VersionInfoComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.CapitalizePipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 48, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-version\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm \"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 32, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 31, \"table\", [[\"class\", \"table table-striped mb-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 7, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 6, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"th\", [], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"th\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(21, 0, null, null, 22, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Frontend\"])), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(26, null, [\" \", \" \"])), (_l()(), i1.ɵeld(27, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Symagic Server\"])), (_l()(), i1.ɵeld(30, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(31, null, [\"\", \"\"])), (_l()(), i1.ɵeld(32, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Backend\"])), (_l()(), i1.ɵeld(35, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(36, null, [\"\", \"\"])), (_l()(), i1.ɵeld(37, 0, null, null, 6, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(38, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(39, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(41, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(42, null, [\"\", \"\"])), i1.ɵppd(43, 1), (_l()(), i1.ɵeld(44, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(46, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(47, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(48, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.UI.VERSIONS\")); _ck(_v, 6, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform(\"APP.UI.ENVIRONMENT\")); _ck(_v, 16, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.UI.ENVIRONMENT_VERSION\")); _ck(_v, 19, 0, currVal_2); var currVal_3 = _co.settingsService.settings.frontend.version; _ck(_v, 26, 0, currVal_3); var currVal_4 = _co.testService.results[\"symagic-server-version\"]; _ck(_v, 31, 0, currVal_4); var currVal_5 = _co.testService.results[\"api-server-version\"]; _ck(_v, 36, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 39, 0, i1.ɵnov(_v, 40).transform(\"APP.UI.CUSTOMER_ENVIRONMENT\")); _ck(_v, 39, 0, currVal_6); var currVal_7 = i1.ɵunv(_v, 42, 0, _ck(_v, 43, 0, i1.ɵnov(_v, 0), _co.settingsService.settings.frontend.boot)); _ck(_v, 42, 0, currVal_7); var currVal_8 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 44, 0, i1.ɵnov(_v, 45).transform(\"APP.CORE.CLOSE\")), \"\"); _ck(_v, 44, 0, currVal_8); var currVal_9 = i1.ɵunv(_v, 48, 0, i1.ɵnov(_v, 49).transform(\"APP.CORE.CLOSE\")); _ck(_v, 48, 0, currVal_9); }); }\nexport function View_VersionInfoComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-version-info\", [], null, null, null, View_VersionInfoComponent_0, RenderType_VersionInfoComponent)), i1.ɵdid(1, 49152, null, 0, i4.VersionInfoComponent, [i5.OverlayService, i6.SettingsService, i7.TestService, i8.LocalStorageService], null, null)], null, null); }\nvar VersionInfoComponentNgFactory = i1.ɵccf(\"sym-version-info\", i4.VersionInfoComponent, View_VersionInfoComponent_Host_0, {}, {}, []);\nexport { VersionInfoComponentNgFactory as VersionInfoComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing the footer of the application.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file Component for displaying profile and changing language.\n * @author Maarten Lensink\n */\nimport { OnInit } from '@angular/core';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { AuthenticationService } from '../../authentication.service';\n/**\n * Component for displaying profile and changing language.\n *\n * @export\n * @class AccountComponent\n * @implements {OnInit}\n */\nvar AccountComponent = /** @class */ (function () {\n /**\n * Creates an instance of AccountComponent.\n * @param {AuthenticationService} authenticationService\n * @param {OverlayProvider} overlayProvider\n * @param {OverlayService} overlayService\n * @memberof AccountComponent\n */\n function AccountComponent(authenticationService, overlayProvider, overlayService) {\n this.authenticationService = authenticationService;\n this.overlayProvider = overlayProvider;\n this.overlayService = overlayService;\n }\n /**\n * Sets the configuration and user.\n */\n AccountComponent.prototype.ngOnInit = function () {\n if (!this.overlayProvider || !this.overlayProvider.entity || this.overlayProvider.configuration.components.length === 0) {\n return;\n }\n this.configuration = this.overlayProvider.configuration.components[0].configuration;\n this.user = this.overlayProvider.entity;\n };\n /**\n * Closes the overlay.\n * @param {any} event The parameter is not used.\n */\n AccountComponent.prototype.closeOverlay = function (event) {\n this.overlayService.closeOverlay();\n };\n /**\n * Perform log out from authentication service.\n */\n AccountComponent.prototype.doLogout = function (event) {\n event.stopPropagation();\n this.overlayService.closeOverlay();\n this.authenticationService.logOut();\n return false;\n };\n return AccountComponent;\n}());\nexport { AccountComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component for displaying profile and changing language.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./account.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../domain/form/form.component.ngfactory\";\nimport * as i3 from \"../../domain/form/form.component\";\nimport * as i4 from \"../../user.service\";\nimport * as i5 from \"../../domain.service\";\nimport * as i6 from \"@angular/router\";\nimport * as i7 from \"@ngx-translate/core\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"../../settings.service\";\nimport * as i10 from \"../../resource.service\";\nimport * as i11 from \"./account.component\";\nimport * as i12 from \"../../authentication.service\";\nimport * as i13 from \"../overlay-provider\";\nimport * as i14 from \"../../core/overlay.service\";\nvar styles_AccountComponent = [i0.styles];\nvar RenderType_AccountComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AccountComponent, data: {} });\nexport { RenderType_AccountComponent as RenderType_AccountComponent };\nexport function View_AccountComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"sym-form\", [], null, [[null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.closeOverlay($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_1 = (_co.closeOverlay($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i2.View_FormComponent_0, i2.RenderType_FormComponent)), i1.ɵdid(2, 245760, null, 0, i3.FormComponent, [i4.UserService, i5.DomainService, i6.ActivatedRoute, i6.Router, i7.TranslateService, i8.AlertsService, i9.SettingsService, i10.ResourceService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], item: [2, \"item\"] }, { itemSaved: \"itemSaved\", itemCanceled: \"itemCanceled\" }), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.doLogout($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-logoff\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration; var currVal_1 = true; var currVal_2 = _co.user; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_3 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.UI.LOGOUT\")), \"\"); _ck(_v, 3, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.UI.LOGOUT\")); _ck(_v, 6, 0, currVal_4); }); }\nexport function View_AccountComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-account\", [], null, null, null, View_AccountComponent_0, RenderType_AccountComponent)), i1.ɵdid(1, 114688, null, 0, i11.AccountComponent, [i12.AuthenticationService, i13.OverlayProvider, i14.OverlayService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AccountComponentNgFactory = i1.ɵccf(\"sym-account\", i11.AccountComponent, View_AccountComponent_Host_0, {}, {}, []);\nexport { AccountComponentNgFactory as AccountComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component for displaying profile and changing language.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n* @file Column component for displaying a profile picture\n* @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\n/**\n * Column component for displaying a profile picture\n */\nvar ColumnProfilePictureComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnProfilePictureComponent, _super);\n /**\n * Constructs a ColumnProfilePictureComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnProfilePictureComponent(provider, changeDetector) {\n return _super.call(this, provider, changeDetector) || this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnProfilePictureComponent.register = function () {\n ComponentRegistry.register('column', 'profile-picture', ColumnProfilePictureComponent);\n };\n /**\n * The full name of the resource\n */\n ColumnProfilePictureComponent.prototype.fullName = function () {\n return this.provider.entity['FirstName'] + ' ' + this.provider.entity['Name'];\n };\n return ColumnProfilePictureComponent;\n}(ColumnBase));\nexport { ColumnProfilePictureComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a profile picture\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"./column-profile-picture.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../../base/profile-picture/profile-picture.component.ngfactory\";\nimport * as i4 from \"../../base/profile-picture/profile-picture.component\";\nimport * as i5 from \"./column-profile-picture.component\";\nimport * as i6 from \"../../base/column-provider\";\nvar styles_ColumnProfilePictureComponent = [i0.styles, i1.styles];\nvar RenderType_ColumnProfilePictureComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_ColumnProfilePictureComponent, data: {} });\nexport { RenderType_ColumnProfilePictureComponent as RenderType_ColumnProfilePictureComponent };\nexport function View_ColumnProfilePictureComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-profile-picture\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"sym-profile-picture\", [], null, null, null, i3.View_ProfilePictureComponent_0, i3.RenderType_ProfilePictureComponent)), i2.ɵdid(2, 49152, null, 0, i4.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.fullName(); var currVal_1 = 35; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nexport function View_ColumnProfilePictureComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-column-profile-picture\", [], null, null, null, View_ColumnProfilePictureComponent_0, RenderType_ColumnProfilePictureComponent)), i2.ɵdid(1, 4374528, null, 0, i5.ColumnProfilePictureComponent, [i6.ColumnProvider, i2.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnProfilePictureComponentNgFactory = i2.ɵccf(\"sym-column-profile-picture\", i5.ColumnProfilePictureComponent, View_ColumnProfilePictureComponent_Host_0, {}, {}, []);\nexport { ColumnProfilePictureComponentNgFactory as ColumnProfilePictureComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a profile picture\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-column-editor-profile-picture .sym-profile-picture{margin-top:6px;margin-left:1px}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { mergeMap } from 'rxjs/operators';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityQuery } from 'breeze-client';\nimport * as moment from 'moment';\nimport { Subject } from 'rxjs';\nimport { BreezeService } from '../core/breeze.service';\nimport { AlertsService } from '../core/alerts.service';\nimport { DomainService } from '../domain.service';\nimport { EntityManagerService } from '../entity-manager.service';\nimport { RangeValidator } from '../core/validators/range.validator';\nvar ForecastService = /** @class */ (function (_super) {\n tslib_1.__extends(ForecastService, _super);\n /**\n * Creates an instance of ForecastService.\n * @param {AlertsService} alertsService The alerts service.\n * @param {TranslateService} translateService The translate service.\n * @memberOf ForecastService\n */\n function ForecastService(alertsService, translateService, entityManagerService) {\n var _this = _super.call(this, alertsService, translateService, entityManagerService) || this;\n /**\n * Supported forecast entity types.\n * @private\n * @type {{ [key: string]: Function }\n */\n _this.registerEntityTypes = {};\n /**\n * A value indicating whether the service is waiting for a call from the backend saying the calculation or planning is completed.\n * @private\n * @memberOf ForecastService\n */\n _this._isExecuting = false;\n /**\n * A value indicating whether the service is waiting for a call from the backend saying the calculation or planning is completed.\n * @private\n * @memberOf ForecastService\n */\n _this._isCalculating = false;\n /**\n * Will be fired when this service is done planning or calculating the forecast.\n * @memberOf ForecastService\n */\n _this.processCompleted = new Subject();\n _this.initialize('forecast');\n if (_this.entityManager && _this.metadataStore) {\n ForecastService.entityTypes = _this.entityManager.metadataStore.getEntityTypes();\n Object.keys(_this.registerEntityTypes).forEach(function (entityType) {\n _this.metadataStore.registerEntityTypeCtor(entityType, _this.registerEntityTypes[entityType]);\n });\n _this.registerValidator('Correction', 'Value', RangeValidator(0, Infinity));\n _this.registerValidator('Shrinkage', 'Value', RangeValidator(0, 99));\n }\n return _this;\n }\n Object.defineProperty(ForecastService.prototype, \"isExecuting\", {\n /**\n * Getter and setter a value indicating whether the service is waiting for a calculation or planning to be completed.\n * @readonly\n * @type {boolean}\n * @memberOf ForecastService\n */\n get: function () {\n return this._isExecuting;\n },\n set: function (value) {\n this._isExecuting = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ForecastService.prototype, \"isCalculating\", {\n /**\n * Gets a value indicating whether the service is waitinf for a calculation or planning to be completed.\n * @readonly\n * @type {boolean}\n * @memberOf ForecastService\n */\n get: function () {\n return this._isCalculating;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the expected service level according to the Erlang C formula.\n * @static\n * @param {number} resources The number of call center agents.\n * @param {number} calls The expected number of calls.\n * @param {moment.Duration} timeLength The length of time in which the number of calls are expected.\n * @param {moment.Duration} aht The average handling time.\n * @param {moment.Duration} maxWait The maximum time a calling customer may wait to still be within the SLA.\n * @returns {number} The expected service level given all the parameters.\n * @memberOf ForecastService\n */\n ForecastService.getServiceLevel = function (resources, calls, timeLength, aht, maxWait) {\n if (calls === 0) {\n return 1;\n }\n // Traffic intensity.\n var erlang = aht.asSeconds() * calls / timeLength.asSeconds();\n // If there are fewer resources than that, there will be more calls coming in than there are resources to answer them.\n if (erlang > resources) {\n return 0;\n }\n // Erlang Loss Function, or probability of blockage, is the simple measurement which does not take the random timing of incoming calls into account.\n var erlangB = 1;\n for (var r = 0; r < resources; r++) {\n erlangB += Math.pow(erlang, r) / ForecastService.factorial(r);\n }\n // The call traffic per resource.\n var epr = erlang / resources;\n var F = Math.pow(erlang, resources) / ForecastService.factorial(resources);\n var erlangC = F / (F + (1 - epr) * erlangB);\n // The probability of calls answered before the maximum waiting time.\n var result = 1 - erlangC * Math.exp(-(resources - erlang) * maxWait.asSeconds() / aht.asSeconds());\n return result;\n };\n /**\n * Returns the factorial of the parameter.\n * @private\n * @static\n * @param {number} n n! is returned.\n * @returns {number} The factorial. That is 1 * 2 * ... * n.\n * @memberOf ForecastService\n */\n ForecastService.factorial = function (n) {\n if (n < 0) {\n return NaN;\n }\n var result = 1;\n for (var i = 2; i <= n; i++) {\n result *= i;\n }\n return result;\n };\n /**\n * Sets default values for every newly created entity (just after creation).\n * Specially for non standard (Symagic Server) entity types.\n * @param item The entity to update.\n * @memberOf ForecastService\n */\n ForecastService.prototype.setDefaultValues = function (user, item) {\n _super.prototype.setDefaultValues.call(this, user, item);\n if (item.entityType.shortName === 'SpecialDay') {\n item['EffectDuration'] = 1;\n }\n };\n /**\n * Sets the domain master key of a forecast entities.\n * @param masterType The domain entity type.\n * @param masterOid The OID of the domain entity type.\n * @param detail The forecast entity.\n * @returns The forecast entity with the master key set.\n * @memberOf ForecastService\n */\n ForecastService.prototype.setupMasterDetail = function (masterType, masterOid, detail) {\n switch (masterType.shortName) {\n case 'Calendar':\n if (detail.entityType.shortName !== 'SpecialDay') {\n this.alertsService.createAlert('warning', 'APP.FORECAST.SPECIALDAYS_EXPECTED', detail.entityType.shortName);\n return detail;\n }\n detail['CalendarKey'] = DomainService.oidToKey(masterOid);\n break;\n case 'Function':\n if (detail.entityType.shortName !== 'Divider') {\n this.alertsService.createAlert('warning', 'APP.FORECAST.DIVIDERS_EXPECTED', detail.entityType.shortName);\n return detail;\n }\n detail['FunctionKey'] = DomainService.oidToKey(masterOid);\n break;\n default:\n this.alertsService.createAlert('warning', 'APP.FORECAST.NO_FORECAST_RELATION', masterType.shortName);\n break;\n }\n return detail;\n };\n /**\n * The execute flow\n * @param {Entity} template The shift template entity\n * @returns {Promise}\n * @memberOf ForecastService\n */\n ForecastService.prototype.execute = function (domainService, funct, template, script, start, finish) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var query, result, forecast, date, error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.isExecuting || this._isCalculating) {\n this.processDone('APP.FORECAST.EXECUTION_OR_CALCULATION_IS_RUNNING', false);\n return [2 /*return*/];\n }\n if (!template) {\n this.processDone('APP.FORECAST.NO_TEMPLATE_SELECTED', false);\n return [2 /*return*/];\n }\n this.isExecuting = true;\n query = EntityQuery.from('Plan');\n query.parameters = { functionOid: funct['Oid'], templateOid: template['Oid'], start: start.toDate(), finish: finish.toDate() };\n _a.label = 1;\n case 1:\n _a.trys.push([1, 4, , 5]);\n return [4 /*yield*/, this.entityManager.executeQuery(query)];\n case 2:\n result = _a.sent();\n if (!result || result.results.length === 0) {\n this.processDone('APP.FORECAST.EXECUTION_UNSUCCESSFUL', false, 'APP.FORECAST.COPYING_TEMPLATE_FAILED');\n return [2 /*return*/];\n }\n if (!script) {\n this.processDone('APP.FORECAST.EXECUTION_COMPLETED', true);\n return [2 /*return*/];\n }\n forecast = result.results[0];\n date = new Date(forecast['Start']);\n date.setHours(0, 0, 0, 0);\n return [4 /*yield*/, this.startRunscript(domainService, script, [forecast['Oid']], date)];\n case 3:\n _a.sent();\n return [3 /*break*/, 5];\n case 4:\n error_1 = _a.sent();\n this.processDone(null, false, error_1);\n return [3 /*break*/, 5];\n case 5: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * The calculate flow\n * @param {Entity} item The shift template entity\n * @returns {Promise}\n * @memberOf ForecastService\n */\n ForecastService.prototype.calculate = function (item, start, finish) {\n var _this = this;\n if (this.isExecuting || this._isCalculating) {\n this.processDone('APP.FORECAST.EXECUTION_OR_CALCULATION_IS_RUNNING', false);\n return;\n }\n this._isCalculating = true;\n var query = EntityQuery.from('Calculate');\n query.parameters = { oid: item['Oid'], start: start.toDate(), finish: finish.toDate() };\n this.entityManager.executeQuery(query).then(function (result) {\n if (result) {\n _this.processDone('APP.FORECAST.CALCULATION_COMPLETED', true);\n }\n else {\n _this.processDone('APP.FORECAST.CALCULATION_UNSUCCESSFUL', false, 'APP.FORECAST.CALIBRATION_FAILED');\n }\n }).catch(function (error) {\n // Issue: Server errors forecast #2940\n // this.processDone('APP.FORECAST.CALCULATION_UNSUCCESSFUL', false, error);\n _this.processDone(null, false, error); // Centrale error handler geeft alert.\n });\n };\n /**\n * Sets indicators to show the service is not waiting anymore and fires the event that indicates as such.\n * @private\n * @param {string} alert The label is displayed in an alert.\n * @param {boolean} success A value indicating whether the process was completed successfully.\n * @param {*} [error] Errors, if any.\n * @memberOf ForecastService\n */\n ForecastService.prototype.processDone = function (alert, success, error) {\n if (alert) { // Om dubbele alert te kunnen verkomen wanneer centrale error handler dit op pakt.\n this.alertsService.createAlert(success ? 'success' : 'warning', alert, error);\n }\n this._isCalculating = false;\n this.isExecuting = false;\n this.processCompleted.next(success);\n };\n /**\n * Runs the script\n * @private\n * @param {BreezeService} domainService The domain service is needed to save changes and have the plan macro method invoked.\n * @param {PlanMacro} script The script.\n * @param {any} [parameters=[]] Parameters passed on to the method.\n * @param {Date} [date] The parameter for the MoveTo method.\n * @memberOf ForecastService\n */\n ForecastService.prototype.startRunscript = function (domainService, script, parameters, date) {\n if (parameters === void 0) { parameters = []; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var error_2;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 6, , 7]);\n return [4 /*yield*/, this.startReplaceSubjectWith(domainService, script, parameters, date)];\n case 1:\n _a.sent();\n return [4 /*yield*/, this.startMoveTo(domainService, script, date)];\n case 2:\n _a.sent();\n return [4 /*yield*/, this.startScriptInit(domainService, script)];\n case 3:\n _a.sent();\n return [4 /*yield*/, this.startScriptRun(domainService, script)];\n case 4:\n _a.sent();\n return [4 /*yield*/, this.scriptInProgress(script)];\n case 5:\n _a.sent();\n this.processDone('APP.FORECAST.EXECUTION_COMPLETED', true);\n return [3 /*break*/, 7];\n case 6:\n error_2 = _a.sent();\n this.processDone('APP.FORECAST.EXECUTION_UNSUCCESSFUL', false, error_2);\n return [3 /*break*/, 7];\n case 7: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Starts the invoke\n * @private\n * @param {BreezeService} domainService The domain service is needed to save changes and have the plan macro method invoked.\n * @param {PlanMacro} entity The entity.\n * @param {string} method The script method is executed.\n * @param {any} [parameters=[]] Parameters passed on to the method.\n * @memberOf ForecastService\n */\n ForecastService.prototype.startInvokeMethod = function (domainService, entity, method, parameters) {\n if (parameters === void 0) { parameters = []; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n _this.invokeSubscription = BreezeService.invokeMethod(entity, method, parameters)\n .pipe(mergeMap(function () {\n return domainService.saveChanges(function (error) {\n if (error) {\n return reject(new Error(error));\n }\n });\n })).subscribe(function (response) {\n var lastResult = response.entities.find(function (foundEntity) { return foundEntity['Origin'] === entity.Oid && foundEntity['entityType'] == null; });\n if (!lastResult || !lastResult['Value']) {\n // this.processDone('APP.FORECAST.NO_SCRIPT_RESULT', false, method);\n return reject(new Error(method));\n }\n resolve(lastResult);\n }, function () { return _this.invokeSubscription.unsubscribe(); });\n _this.subscriptionPool.add(_this.invokeSubscription);\n })];\n });\n });\n };\n /**\n * Runs the ReplaceSubjectsWith script\n * @private\n * @param {BreezeService} domainService The domain service is needed to save changes and have the plan macro method invoked.\n * @param {PlanMacro} entity The entity.\n * @param {any} [parameters=[]] Parameters passed on to the method.\n * @param {Date} [date] The parameter for the MoveTo method.\n * @memberOf ForecastService\n */\n ForecastService.prototype.startReplaceSubjectWith = function (domainService, entity, parameter, date) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var lastResult;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.startInvokeMethod(domainService, entity, 'ReplaceSubjectsWith', parameter)];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (!moment.isDate(date)) {\n return reject(new Error('Invalid parameter for MoveTo: ' + date));\n }\n if (lastResult['Name'] !== 'ReplaceSubjectsWith') {\n return reject(new Error('ReplaceSubjectsWith'));\n }\n resolve();\n })];\n }\n });\n });\n };\n /**\n * Runs the MoveTo script\n * @private\n * @param {BreezeService} domainService The domain service is needed to save changes and have the plan macro method invoked.\n * @param {PlanMacro} screntityipt The entity.\n * @param {Date} [date] The parameter for the MoveTo method.\n * @memberOf ForecastService\n */\n ForecastService.prototype.startMoveTo = function (domainService, entity, date) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var lastResult;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.startInvokeMethod(domainService, entity, 'MoveTo', [date])];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (lastResult['Name'] !== 'MoveTo') {\n return reject(new Error('MoveTo'));\n }\n resolve();\n })];\n }\n });\n });\n };\n /**\n * Runs the ScriptInit script\n * @private\n * @param {BreezeService} domainService The domain service is needed to save changes and have the plan macro method invoked.\n * @param {PlanMacro} entity The entity.\n * @memberOf ForecastService\n */\n ForecastService.prototype.startScriptInit = function (domainService, entity) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var lastResult;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.startInvokeMethod(domainService, entity, 'ScriptInit', [])];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (lastResult['Name'] !== 'ScriptInit') {\n return reject(new Error('ScriptInit'));\n }\n resolve();\n })];\n }\n });\n });\n };\n /**\n * Runs the ScriptRun script\n * @private\n * @param {BreezeService} domainService The domain service is needed to save changes and have the plan macro method invoked.\n * @param {PlanMacro} entity The entity.\n * @memberOf ForecastService\n */\n ForecastService.prototype.startScriptRun = function (domainService, entity) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var lastResult;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.startInvokeMethod(domainService, entity, 'ScriptRun', [500])];\n case 1:\n lastResult = _a.sent();\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (lastResult['Value'] === 'FINISHED') {\n resolve();\n }\n if (lastResult['Value'] === 'INITIALIZING' || lastResult['Value'] === 'RUNNING') {\n resolve();\n }\n if (lastResult['Name'] !== 'ScriptRun') {\n return reject(new Error('ScriptRun'));\n }\n })];\n }\n });\n });\n };\n ForecastService.prototype.scriptInProgress = function (script) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var query, status;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n query = EntityQuery.from('ScriptInProgress');\n query.parameters = { oid: script['Oid'], timeout: 500 };\n return [4 /*yield*/, script.entityAspect.entityManager.executeQuery(query).then(function (result) { return result.results[0] + ''; })];\n case 1:\n status = _a.sent();\n if (status === 'INITIALIZING' || status === 'RUNNING') {\n return [2 /*return*/, this.scriptInProgress(script)];\n }\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (status === 'FINISHED') {\n resolve();\n }\n reject(new Error('Invalid result from scriptInProgress: ' + status));\n })];\n }\n });\n });\n };\n return ForecastService;\n}(BreezeService));\nexport { ForecastService };\n","/**\n * @file Check calendar component\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterViewInit } from '@angular/core';\nimport { EntityQuery, QueryOptions, FetchStrategy } from 'breeze-client';\nimport * as moment from 'moment';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ForecastService } from '../forecast.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * The component presents mismatches between the calendar and forecast data.\n * @export\n * @class CheckCalendarComponent\n * @implements {AfterViewInit}\n */\nvar CheckCalendarComponent = /** @class */ (function (_super) {\n tslib_1.__extends(CheckCalendarComponent, _super);\n /**\n * Creates an instance of CheckCalendarComponent.\n * @param {ForecastService} forecastService\n * @param {LocalisationService} localisationService\n * @param {OverlayService} overlayService\n * @param {OverlayProvider} overlayProvider\n * @memberOf CheckCalendarComponent\n */\n function CheckCalendarComponent(forecastService, localisationService, overlayService, overlayProvider) {\n var _this = _super.call(this) || this;\n _this.forecastService = forecastService;\n _this.localisationService = localisationService;\n _this.overlayService = overlayService;\n /**\n * The state is used for the template.\n * @memberOf CheckCalendarComponent\n */\n _this.state = 'loading';\n _this.function = overlayProvider.entity;\n return _this;\n }\n /**\n * Retrieves the mismatches between the calendar and the call data, if any.\n * @memberOf CheckCalendarComponent\n */\n CheckCalendarComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n var query = EntityQuery.from('CalendarAnomalies');\n query.parameters = { oid: this.function['Oid'] };\n query.queryOptions = new QueryOptions({ fetchStrategy: FetchStrategy.FromServer });\n this.forecastService.entityManager.executeQuery(query).then(function (response) {\n _this.items = response.results.slice(0, 25);\n _this.state = _this.items.length === 0 ? 'noErrors' : 'hasErrors';\n });\n };\n /**\n * Returns a string representation of the date parameter.\n * @param {Date} date The date is converted to a string.\n * @returns {string} The localised date.\n * @memberOf CheckCalendarComponent\n */\n CheckCalendarComponent.prototype.dateToString = function (date) {\n return moment(date).format(this.localisationService.currentLanguage.formats.date.format);\n };\n /**\n * Closes the overlay.\n * @memberOf CheckCalendarComponent\n */\n CheckCalendarComponent.prototype.close = function ($event) {\n this.overlayService.closeOverlay();\n };\n return CheckCalendarComponent;\n}(AbstractBase));\nexport { CheckCalendarComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Check calendar component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"./check-calendar.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./check-calendar.component\";\nimport * as i6 from \"../forecast.service\";\nimport * as i7 from \"../../core/localisation.service\";\nimport * as i8 from \"../../core/overlay.service\";\nimport * as i9 from \"../../ui/overlay-provider\";\nvar styles_CheckCalendarComponent = [i0.styles, i1.styles];\nvar RenderType_CheckCalendarComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_CheckCalendarComponent, data: {} });\nexport { RenderType_CheckCalendarComponent as RenderType_CheckCalendarComponent };\nfunction View_CheckCalendarComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(3, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 3, 0, i2.ɵnov(_v, 4).transform(\"APP.FORECAST.LOADING\")); _ck(_v, 3, 0, currVal_0); }); }\nfunction View_CheckCalendarComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(3, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 3, 0, i2.ɵnov(_v, 4).transform(\"APP.FORECAST.CALENDAR_CORRECT\")); _ck(_v, 3, 0, currVal_0); }); }\nfunction View_CheckCalendarComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"tr\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.dateToString(_v.context.$implicit.Date); _ck(_v, 2, 0, currVal_0); var currVal_1 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_v.context.$implicit.Label)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_CheckCalendarComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 10, \"table\", [[\"class\", \"table table-striped\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 6, \"thead\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"th\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 2, \"th\", [], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_CheckCalendarComponent_4)), i2.ɵdid(11, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.items; _ck(_v, 11, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.FORECAST.DATE\")); _ck(_v, 4, 0, currVal_0); var currVal_1 = i2.ɵunv(_v, 7, 0, i2.ɵnov(_v, 8).transform(\"APP.FORECAST.ANOMALY\")); _ck(_v, 7, 0, currVal_1); }); }\nexport function View_CheckCalendarComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 16, null, null, null, null, null, null, null)), i2.ɵdid(1, 16384, null, 0, i4.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_CheckCalendarComponent_1)), i2.ɵdid(3, 278528, null, 0, i4.NgSwitchCase, [i2.ViewContainerRef, i2.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_CheckCalendarComponent_2)), i2.ɵdid(5, 278528, null, 0, i4.NgSwitchCase, [i2.ViewContainerRef, i2.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_CheckCalendarComponent_3)), i2.ɵdid(7, 278528, null, 0, i4.NgSwitchCase, [i2.ViewContainerRef, i2.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i2.ɵeld(8, 0, null, null, 8, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 6, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(11, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(13, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(14, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(15, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.state; _ck(_v, 1, 0, currVal_0); var currVal_1 = \"loading\"; _ck(_v, 3, 0, currVal_1); var currVal_2 = \"noErrors\"; _ck(_v, 5, 0, currVal_2); var currVal_3 = \"hasErrors\"; _ck(_v, 7, 0, currVal_3); }, function (_ck, _v) { var currVal_4 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 11, 0, i2.ɵnov(_v, 12).transform(\"APP.FORECAST.CLOSE\")), \"\"); _ck(_v, 11, 0, currVal_4); var currVal_5 = i2.ɵunv(_v, 15, 0, i2.ɵnov(_v, 16).transform(\"APP.FORECAST.CLOSE\")); _ck(_v, 15, 0, currVal_5); }); }\nexport function View_CheckCalendarComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-check-calendar\", [], null, null, null, View_CheckCalendarComponent_0, RenderType_CheckCalendarComponent)), i2.ɵdid(1, 4374528, null, 0, i5.CheckCalendarComponent, [i6.ForecastService, i7.LocalisationService, i8.OverlayService, i9.OverlayProvider], null, null)], null, null); }\nvar CheckCalendarComponentNgFactory = i2.ɵccf(\"sym-check-calendar\", i5.CheckCalendarComponent, View_CheckCalendarComponent_Host_0, {}, {}, []);\nexport { CheckCalendarComponentNgFactory as CheckCalendarComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Check calendar component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-icon-refresh[_ngcontent-%COMP%]{opacity:.25}.sym-icon-check[_ngcontent-%COMP%]{color:#6bdea1}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:0}\"];\nexport { styles as styles };\n","/**\n * @file Forecast form child component\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { FormChildBase } from '../../base/form-child/form-child.base';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ForecastService } from '../forecast.service';\nimport { ResourceService } from '../../resource.service';\nvar ForecastFormChildComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ForecastFormChildComponent, _super);\n /**\n * Creates an instance of ForecastFormChildComponent.\n * @param {ForecastService} forecastService\n * @param {TranslateService} translateService\n * @param {AlertsService} alertsService\n * @memberof ForecastFormChildComponent\n */\n function ForecastFormChildComponent(forecastService, translateService, alertsService, resourceService) {\n return _super.call(this, forecastService, translateService, alertsService, resourceService) || this;\n }\n return ForecastFormChildComponent;\n}(FormChildBase));\nexport { ForecastFormChildComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Forecast form child component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i4 from \"../../base/instruction/instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nimport * as i7 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i8 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i9 from \"@angular/forms\";\nimport * as i10 from \"./forecast-form-child.component\";\nimport * as i11 from \"../forecast.service\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../resource.service\";\nvar styles_ForecastFormChildComponent = [];\nvar RenderType_ForecastFormChildComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ForecastFormChildComponent, data: {} });\nexport { RenderType_ForecastFormChildComponent as RenderType_ForecastFormChildComponent };\nfunction View_ForecastFormChildComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 20).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ForecastFormChildComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 20, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(5, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ForecastFormChildComponent_3)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm \"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save-all\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(18, null, [\"\", \"\"])), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i3.View_InstructionComponent_0, i3.RenderType_InstructionComponent)), i0.ɵdid(20, 180224, [[\"instruction\", 4]], 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_3 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_3); var currVal_7 = _co.configuration.instruction; _ck(_v, 20, 0, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(_co.configuration.data.labelKey)); _ck(_v, 6, 0, currVal_2); var currVal_4 = (_co.editMode || _co.isReadOnly); _ck(_v, 11, 0, currVal_4); var currVal_5 = (!_co.editMode || _co.isReadOnly); _ck(_v, 13, 0, currVal_5); var currVal_6 = _co.configuration.key; _ck(_v, 18, 0, currVal_6); }); }\nfunction View_ForecastFormChildComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i7.View_FieldsetContainerComponent_0, i7.RenderType_FieldsetContainerComponent)), i0.ɵdid(2, 49152, null, 0, i8.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.form.controls[_v.context.$implicit.name]; var currVal_2 = _co.item; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_ForecastFormChildComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.MARKED_FIELDS_ARE_REQUIRED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ForecastFormChildComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ForecastFormChildComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mb-3 sym-errors\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ForecastFormChildComponent_7)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.validationErrors; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ForecastFormChildComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i9.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(2, 540672, null, 0, i9.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i9.ControlContainer, null, [i9.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i9.NgControlStatusGroup, [[4, i9.ControlContainer]], null, null), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-line mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ForecastFormChildComponent_2)), i0.ɵdid(7, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ForecastFormChildComponent_4)), i0.ɵdid(10, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ForecastFormChildComponent_5)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ForecastFormChildComponent_6)), i0.ɵdid(14, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 7, 0, currVal_8); var currVal_9 = _co.configuration.data.fields; _ck(_v, 10, 0, currVal_9); var currVal_10 = (_co.hasRequiredFields() && !_co.isReadOnly); _ck(_v, 12, 0, currVal_10); var currVal_11 = (_co.validationErrors.length > 0); _ck(_v, 14, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_ForecastFormChildComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_ForecastFormChildComponent_1)), i0.ɵdid(1, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.form && _co.configuration) && _co.item); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ForecastFormChildComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-forecast-form-child\", [], null, null, null, View_ForecastFormChildComponent_0, RenderType_ForecastFormChildComponent)), i0.ɵdid(1, 245760, null, 0, i10.ForecastFormChildComponent, [i11.ForecastService, i2.TranslateService, i12.AlertsService, i13.ResourceService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ForecastFormChildComponentNgFactory = i0.ɵccf(\"sym-forecast-form-child\", i10.ForecastFormChildComponent, View_ForecastFormChildComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", hasCloseButton: \"hasCloseButton\", useCache: \"useCache\", labelKey: \"labelKey\", item: \"item\", entityKey: \"entityKey\", master: \"master\" }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }, []);\nexport { ForecastFormChildComponentNgFactory as ForecastFormChildComponentNgFactory };\n","/**\n * @file Forecast relation component\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { RelationBase } from '../../base/relation/relation.base';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { ForecastService } from '../forecast.service';\nimport { ForecastFormChildComponent } from '../forecast-form-child/forecast-form-child.component';\nimport { EventsService } from '../../core/event.service';\nimport { UserService } from '../../user.service';\nimport { ActionService } from '../../core/action.service';\nvar ForecastRelationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ForecastRelationComponent, _super);\n /**\n * Constructs a forecast relation component.\n * @param configurationsService Service to get the configuration of this component.\n * @param workSlipsService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param route The active route.\n */\n function ForecastRelationComponent(userService, forecastService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) {\n var _this = _super.call(this, userService, forecastService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) || this;\n /**\n * The localization domain\n * @memberOf ForecastRelationComponent\n */\n _this.labelDomain = 'FORECAST';\n return _this;\n }\n /**\n * This method is called when save button of the DetailComponent is clicked.\n * @param {Event} event The click event.\n * @memberOf ForecastRelationComponent\n */\n ForecastRelationComponent.prototype.formSave = function (event) {\n // Fix: Invullen Bijzondere dag wordt niet opgeslagen bij knop: diskette #3049\n if (this.dataForm && (this.dataForm.hasChanges || this.dataForm.createMode)) {\n this.dataForm.saveItem(event, true);\n return;\n }\n this.save(event);\n };\n /**\n * This method is called when delete button of the DetailComponent is clicked.\n * @param {Event} event The click event.\n * @memberOf ForecastRelationComponent\n */\n ForecastRelationComponent.prototype.formDelete = function (event) {\n // TODO: De boel opruimen als dit nodig is?\n // Zie ook: Invullen Bijzondere dag wordt niet opgeslagen bij knop: diskette #3049\n };\n /**\n * This method is called when cancel button of the DetailComponent is clicked.\n * @param {Event} event The click event.\n * @memberOf ForecastRelationComponent\n */\n ForecastRelationComponent.prototype.formCancel = function (event) {\n // Fix: Invullen Bijzondere dag wordt niet opgeslagen bij knop: diskette #3049\n this.cancel();\n };\n /**\n * Method to retrieve the requested entities from the backend api.\n * @returns {Observable} An Observable object that retrieves the requested entities.\n * @memberOf ForecastRelationComponent\n */\n ForecastRelationComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n if (this.master == null) {\n // Soms heb je dynamische parameter waarden nodig van de master.\n // Daarom stellen we de master nu verplicht\n return [2 /*return*/, null];\n }\n return [2 /*return*/, _super.prototype.refresh.call(this)];\n });\n });\n };\n return ForecastRelationComponent;\n}(RelationBase));\nexport { ForecastRelationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Forecast relation component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/relation/relation.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i5 from \"../../base/instruction/instruction.component\";\nimport * as i6 from \"@angular/common/http\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i9 from \"../../base/columns/column-container/column-container.component\";\nimport * as i10 from \"../../domain/form/form.component.ngfactory\";\nimport * as i11 from \"../../domain/form/form.component\";\nimport * as i12 from \"../../user.service\";\nimport * as i13 from \"../../domain.service\";\nimport * as i14 from \"@angular/router\";\nimport * as i15 from \"../../core/alerts.service\";\nimport * as i16 from \"../../settings.service\";\nimport * as i17 from \"../../resource.service\";\nimport * as i18 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i19 from \"../../base/pagination/pagination.component\";\nimport * as i20 from \"../forecast-form-child/forecast-form-child.component.ngfactory\";\nimport * as i21 from \"../forecast-form-child/forecast-form-child.component\";\nimport * as i22 from \"../forecast.service\";\nimport * as i23 from \"../../base/pipes/entity-translate.pipe\";\nimport * as i24 from \"./forecast-relation.component\";\nimport * as i25 from \"../../core/dialog.service\";\nimport * as i26 from \"../../core/overlay.service\";\nimport * as i27 from \"../../core/local-storage.service\";\nimport * as i28 from \"../../core/event.service\";\nimport * as i29 from \"../../core/action.service\";\nvar styles_ForecastRelationComponent = [i0.styles];\nvar RenderType_ForecastRelationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ForecastRelationComponent, data: {} });\nexport { RenderType_ForecastRelationComponent as RenderType_ForecastRelationComponent };\nfunction View_ForecastRelationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 14).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ForecastRelationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(6, null, [\" \", \" (\", \")\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_3)), i1.ɵdid(10, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i4.View_InstructionComponent_0, i4.RenderType_InstructionComponent)), i1.ɵdid(14, 180224, [[\"instruction\", 4]], 0, i5.InstructionComponent, [i6.HttpClient, i7.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_4 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_4); var currVal_6 = _co.configuration.instruction; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.configuration.labelKey)); var currVal_3 = _co.inlineCount; _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_5 = _co.configuration.key; _ck(_v, 12, 0, currVal_5); }); }\nfunction View_ForecastRelationComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_ForecastRelationComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_7)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.index === 0) && (_v.context.$implicit.editor !== \"hidden\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ForecastRelationComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-icon-edit\": 0, \"sym-icon-close\": 1, \"sym-icon-expand\": 2, \"sym-icon-collapse\": 3 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = _ck(_v, 2, 0, (_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (_co.canUpdate && (_v.parent.context.$implicit === _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit === _co.current))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_ForecastRelationComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteItem(_v.parent.context.$implicit, _v.parent.context.index) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null))], null, null); }\nfunction View_ForecastRelationComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(3, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit; var currVal_2 = _v.parent.parent.context.$implicit; _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_v.parent.context.$implicit.labelKey)), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_ForecastRelationComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_11)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (((_v.context.$implicit.editor !== \"notes\") && (_v.context.$implicit.editor !== \"hidden\")) && (_v.context.index > 0)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ForecastRelationComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-wrap-extend\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_ForecastRelationComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_13)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.$implicit.editor === \"notes\") && (_v.parent.context.$implicit[_v.context.$implicit.name] !== \"\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ForecastRelationComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"mb-1\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-item\"]], null, null, null, null, null)), i1.ɵdid(6, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(7, { \"sym-active\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_6)), i1.ɵdid(9, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_8)), i1.ɵdid(13, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_9)), i1.ɵdid(15, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"sym-relation-columns-row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_10)), i1.ɵdid(18, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_12)), i1.ɵdid(20, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-wrap-pair d-flex justify-content-between\"; var currVal_1 = _ck(_v, 3, 0, (_co.fields.length === 1)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"sym-item\"; var currVal_3 = _ck(_v, 7, 0, _co.isActive(_v.context.$implicit)); _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_4 = _co.fields; _ck(_v, 9, 0, currVal_4); var currVal_5 = _co.canRead; _ck(_v, 13, 0, currVal_5); var currVal_6 = _co.canDelete; _ck(_v, 15, 0, currVal_6); var currVal_7 = _co.fields; _ck(_v, 18, 0, currVal_7); var currVal_8 = _co.fields; _ck(_v, 20, 0, currVal_8); }, null); }\nfunction View_ForecastRelationComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-list mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_5)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ForecastRelationComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm align-top\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"mb-1\": 0 }), i1.ɵppd(3, 3), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 3)], function (_ck, _v) { var currVal_2 = \"btn btn-secondary btn-sm align-top\"; var currVal_3 = _ck(_v, 2, 0, (i1.ɵnov(_v.parent, 14).totalItems > 0)); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)), \"\"); var currVal_1 = (_co.editMode || _co.current); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)); _ck(_v, 6, 0, currVal_4); }); }\nfunction View_ForecastRelationComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i10.View_FormComponent_0, i10.RenderType_FormComponent)), i1.ɵdid(1, 245760, null, 0, i11.FormComponent, [i12.UserService, i13.DomainService, i14.ActivatedRoute, i14.Router, i3.TranslateService, i15.AlertsService, i16.SettingsService, i17.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.configuration; var currVal_1 = _co.foreignKeyValue; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_ForecastRelationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 13, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_4)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"row mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"d-flex flex-wrap justify-content-between sym-relations-bottom\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_14)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-pagination\", [], [[8, \"hidden\", 0]], null, null, i18.View_PaginationComponent_0, i18.RenderType_PaginationComponent)), i1.ɵdid(14, 4374528, [[\"pagination\", 4]], 0, i19.PaginationComponent, [i14.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"sym-forecast-form-child\", [], null, [[null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.notifySavement($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_1 = (_co.notifyCanceled($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i20.View_ForecastFormChildComponent_0, i20.RenderType_ForecastFormChildComponent)), i1.ɵdid(16, 245760, [[2, 4]], 0, i21.ForecastFormChildComponent, [i22.ForecastService, i3.TranslateService, i15.AlertsService, i17.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemCanceled: \"itemCanceled\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_15)), i1.ɵdid(18, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasItems(); _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.canCreate; _ck(_v, 11, 0, currVal_2); var currVal_4 = true; var currVal_5 = _co.configuration.data.listSize; var currVal_6 = _co.dataSet; _ck(_v, 14, 0, currVal_4, currVal_5, currVal_6); var currVal_7 = _co.childForm.configuration; var currVal_8 = _co.currentKey; _ck(_v, 16, 0, currVal_7, currVal_8); var currVal_9 = _co.subForms; _ck(_v, 18, 0, currVal_9); }, function (_ck, _v) { var currVal_3 = (i1.ɵnov(_v, 14).totalItems === 0); _ck(_v, 13, 0, currVal_3); }); }\nexport function View_ForecastRelationComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i23.EntityTranslatePipe, [i3.TranslateService]), i1.ɵqud(671088640, 1, { relationLists: 1 }), i1.ɵqud(671088640, 2, { dataForm: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastRelationComponent_1)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityType; _ck(_v, 4, 0, currVal_0); }, null); }\nexport function View_ForecastRelationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-forecast-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_ForecastRelationComponent_0, RenderType_ForecastRelationComponent)), i1.ɵdid(1, 245760, null, 0, i24.ForecastRelationComponent, [i12.UserService, i22.ForecastService, i25.DialogService, i15.AlertsService, i3.TranslateService, i14.Router, i26.OverlayService, i27.LocalStorageService, i14.ActivatedRoute, i28.EventsService, i29.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ForecastRelationComponentNgFactory = i1.ɵccf(\"sym-forecast-relation\", i24.ForecastRelationComponent, View_ForecastRelationComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\", masterType: \"masterType\", master: \"master\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { ForecastRelationComponentNgFactory as ForecastRelationComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { UserService } from '../../user.service';\nimport { ActionService } from '../../core/action.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { ListBase } from '../../base/list/list.base';\nimport { ForecastService } from '../forecast.service';\nvar ForecastListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ForecastListComponent, _super);\n /**\n * Creates an instance of ForecastListComponent.\n * @param {UserService} userService\n * @param {ForecastService} forecastService\n * @param {DialogService} dialogService\n * @param {AlertsService} alertsService\n * @param {TranslateService} translateService\n * @param {Router} router\n * @param {OverlayService} overlayService\n * @param {LocalStorageService} localStorageService\n * @param {EventsService} eventsService\n * @param {ActionService} actionService\n * @memberOf ForecastListComponent\n */\n function ForecastListComponent(userService, forecastService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) {\n return _super.call(this, userService, forecastService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n }\n /**\n * Overrides to refresh the list immediately.\n * @returns {Promise} The query results.\n * @memberOf ForecastListComponent\n */\n ForecastListComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, _super.prototype.refresh.call(this)];\n case 1:\n result = _a.sent();\n this.items = this.items;\n return [2 /*return*/, result];\n }\n });\n });\n };\n /**\n * Overrides to make the whole list unsortable.\n * @param {FieldConfiguration} field The parameter is not used.\n * @returns {boolean} false.\n * @memberOf ForecastListComponent\n */\n ForecastListComponent.prototype.isSortable = function (field) {\n return false;\n };\n return ForecastListComponent;\n}(ListBase));\nexport { ForecastListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component\";\nimport * as i7 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i8 from \"../../base/instruction/instruction.component\";\nimport * as i9 from \"@angular/common/http\";\nimport * as i10 from \"../../configurations.service\";\nimport * as i11 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i12 from \"../../base/pagination/pagination.component\";\nimport * as i13 from \"@angular/router\";\nimport * as i14 from \"./forecast-list.component\";\nimport * as i15 from \"../../user.service\";\nimport * as i16 from \"../forecast.service\";\nimport * as i17 from \"../../core/dialog.service\";\nimport * as i18 from \"../../core/alerts.service\";\nimport * as i19 from \"../../core/overlay.service\";\nimport * as i20 from \"../../core/local-storage.service\";\nimport * as i21 from \"../../core/event.service\";\nimport * as i22 from \"../../core/action.service\";\nvar styles_ForecastListComponent = [i0.styles];\nvar RenderType_ForecastListComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ForecastListComponent, data: {} });\nexport { RenderType_ForecastListComponent as RenderType_ForecastListComponent };\nfunction View_ForecastListComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ForecastListComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ForecastListComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_2)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_3)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_ForecastListComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_co.configuration.data.labelKey)), \"\"); var currVal_1 = _co.isCreating; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.configuration.data.labelKey)); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_ForecastListComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(4, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(6, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 6).ngClassValid; var currVal_6 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_ForecastListComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_5)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(7, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(8, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_6)), i1.ɵdid(14, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canCreate; _ck(_v, 3, 0, currVal_0); var currVal_3 = \"icon sym-icon-refresh\"; var currVal_4 = _ck(_v, 8, 0, _co.isRefreshing); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_6 = _co.canSearch; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_2 = _co.isRefreshing; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_5 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 10, 0, currVal_5); }); }\nfunction View_ForecastListComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_ForecastListComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ForecastListComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_10)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_ForecastListComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_9)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ForecastListComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_ForecastListComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i1.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i5.View_ColumnContainerComponent_0, i5.RenderType_ColumnContainerComponent)), i1.ɵdid(4, 114688, null, 0, i6.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_ForecastListComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_14)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ForecastListComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_12)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_13)), i1.ɵdid(4, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_ForecastListComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_ForecastListComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_ForecastListComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-danger btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteSelected($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-danger btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.disableListActions); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.DELETE\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.DELETE\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = !_co.hasSelectedItems(); _ck(_v, 8, 0, currVal_4); var currVal_5 = _co.numberOfSelectedItems(); _ck(_v, 9, 0, currVal_5); }); }\nfunction View_ForecastListComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.actionSelected($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpad(6, 2), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm ml-1\"; var currVal_2 = _ck(_v, 2, 0, ((_v.parent.context.$implicit.isSelectionNeeded !== false) && _co.disableListActions)); _ck(_v, 1, 0, currVal_1, currVal_2); var currVal_3 = _ck(_v, 6, 0, \"icon\", _co.getIcon(_v.parent.context.$implicit)); _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(_co.getLabelKey(_v.parent.context.$implicit))), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_4 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(_co.getLabelKey(_v.parent.context.$implicit))); _ck(_v, 8, 0, currVal_4); var currVal_5 = !_co.hasSelectedItems(); _ck(_v, 10, 0, currVal_5); var currVal_6 = _co.numberOfSelectedItems(); _ck(_v, 11, 0, currVal_6); }); }\nfunction View_ForecastListComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_19)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isAllowed(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_ForecastListComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 35, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_1)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i7.View_InstructionComponent_0, i7.RenderType_InstructionComponent)), i1.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i8.InstructionComponent, [i9.HttpClient, i10.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_4)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵeld(11, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_7)), i1.ɵdid(14, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_8)), i1.ɵdid(16, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_11)), i1.ɵdid(19, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_15)), i1.ɵdid(21, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_16)), i1.ɵdid(23, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 10, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i11.View_PaginationComponent_0, i11.RenderType_PaginationComponent)), i1.ɵdid(30, 4374528, null, 0, i12.PaginationComponent, [i13.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(31, 0, null, null, 4, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_17)), i1.ɵdid(33, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ForecastListComponent_18)), i1.ɵdid(35, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_2 = !_co.overlayMode; _ck(_v, 8, 0, currVal_2); var currVal_4 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 14, 0, currVal_4); var currVal_5 = _co.configuration.data.fields; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.items; var currVal_7 = _co.trackByItem; _ck(_v, 19, 0, currVal_6, currVal_7); var currVal_8 = !_co.isDataLoaded; _ck(_v, 21, 0, currVal_8); var currVal_9 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 23, 0, currVal_9); var currVal_10 = _co.overlayMode; var currVal_11 = _co.configuration.data.listSize; var currVal_12 = _co.dataSet; _ck(_v, 30, 0, currVal_10, currVal_11, currVal_12); var currVal_13 = _co.canDelete; _ck(_v, 33, 0, currVal_13); var currVal_14 = _co.configuration.actions; _ck(_v, 35, 0, currVal_14); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.configuration.key; _ck(_v, 10, 0, currVal_3); }); }\nexport function View_ForecastListComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-forecast-list\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_ForecastListComponent_0, RenderType_ForecastListComponent)), i1.ɵdid(1, 245760, null, 0, i14.ForecastListComponent, [i15.UserService, i16.ForecastService, i17.DialogService, i18.AlertsService, i3.TranslateService, i13.Router, i19.OverlayService, i20.LocalStorageService, i21.EventsService, i22.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ForecastListComponentNgFactory = i1.ɵccf(\"sym-forecast-list\", i14.ForecastListComponent, View_ForecastListComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { ForecastListComponentNgFactory as ForecastListComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { AfterContentInit } from '@angular/core';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { ForecastListComponent } from '../forecast-list/forecast-list.component';\nimport { ForecastService } from '../forecast.service';\nvar ShrinkageComponent = /** @class */ (function () {\n /**\n * Creates an instance of ShrinkageComponent.\n * @param {OverlayProvider} overlayProvider contains the day of the week and the selected function.\n * @param {ForecastService} forecastService is used to handle the shrinkage entities with the back-end.\n * @param {AlertsService} alertsService is used to display alerts.\n * @memberOf ShrinkageComponent\n */\n function ShrinkageComponent(overlayProvider, overlayService, forecastService, alertsService) {\n this.overlayService = overlayService;\n this.forecastService = forecastService;\n this.alertsService = alertsService;\n /**\n * Configuration for the list component displaying existing shrinkages.\n * @type {ComponentConfiguration}\n * @memberOf ShrinkageComponent\n */\n this.listConfiguration = {\n data: {\n entity: 'Shrinkage',\n dataSource: 'DayShrinkages',\n listSize: 10,\n // The values are set in the constructor.\n parameters: {\n day: null,\n oid: null\n },\n fields: [\n {\n name: 'Start',\n editor: 'duration',\n labelKey: 'APP.MISC.SHRINKAGE.START'\n },\n {\n name: 'Finish',\n editor: 'duration',\n labelKey: 'APP.MISC.SHRINKAGE.FINISH'\n },\n {\n name: 'Value',\n editor: 'number',\n labelKey: 'APP.MISC.SHRINKAGE.VALUE'\n }\n ]\n },\n rights: ['Read']\n };\n /**\n * The configuration for the starting time of the new shrinkage.\n * @type {FieldConfiguration}\n * @memberOf ShrinkageComponent\n */\n this.startField = {\n name: 'Start',\n editor: 'duration',\n labelKey: 'APP.MISC.SHRINKAGE.START',\n helpKey: 'APP.MISC.SHRINKAGE.START?'\n };\n /**\n * The configuration for the finishing time of the new shrinkage.\n * @type {FieldConfiguration}\n * @memberOf ShrinkageComponent\n */\n this.finishField = {\n name: 'Finish',\n editor: 'duration',\n labelKey: 'APP.MISC.SHRINKAGE.FINISH',\n helpKey: 'APP.MISC.SHRINKAGE.FINISH?'\n };\n /**\n * The configuration for the value of the new shrinkage.\n * @type {FieldConfiguration}\n * @memberOf ShrinkageComponent\n */\n this.valueField = {\n name: 'Value',\n editor: 'number',\n labelKey: 'APP.MISC.SHRINKAGE.VALUE',\n helpKey: 'APP.MISC.SHRINKAGE.VALUE?'\n };\n /**\n * The form group and underlying controls are needed for the angular input validation mechanism.\n * @memberOf ShrinkageComponent\n */\n this.form = new FormGroup({});\n /**\n * The form control binds to the starting time fieldset of the new shrinkage.\n * @memberOf ShrinkageComponent\n */\n this.startControl = new FormControl();\n /**\n * The form control binds to the finishing time fieldsetof the new shrinkage.\n * @memberOf ShrinkageComponent\n */\n this.finishControl = new FormControl();\n /**\n * The form control binds to the value fieldset of the new shrinkage.\n * @memberOf ShrinkageComponent\n */\n this.valueControl = new FormControl();\n /**\n * The shrinkage can be added via a form.\n * @type {Entity}\n * @memberOf ShrinkageComponent\n */\n this.shrinkage = null;\n /**\n * A value indicating whether the first shrinkage was created.\n * @private\n * @memberOf ShrinkageComponent\n */\n this.initialCreated = false;\n if (!overlayProvider.entity) {\n alertsService.createAlert('danger', 'APP.FORECAST.NO_FUNCTION_GIVEN');\n return;\n }\n this.day = Number.parseInt(overlayProvider.action.method);\n var oid = overlayProvider.entity['Oid'];\n this.listConfiguration.data.parameters['day'] = this.day;\n this.listConfiguration.data.parameters['oid'] = oid;\n this.functionKey = DomainService.oidToKey(oid);\n this.shrinkageType = this.forecastService.getEntityType('Shrinkage');\n }\n /**\n * Sets up the first shrinkage in the form.\n * @memberOf ShrinkageComponent\n */\n ShrinkageComponent.prototype.ngAfterContentInit = function () {\n this.resetNewShrinkage();\n };\n /**\n * Closes the overlay.\n * @memberOf ShrinkageComponent\n */\n ShrinkageComponent.prototype.close = function () {\n this.overlayService.closeOverlay();\n };\n /**\n * Adds the first shrinkage in case there is none yet.\n * @param {any} data The query result of the list component refresh operation.\n * @memberOf ShrinkageComponent\n */\n ShrinkageComponent.prototype.listRefresh = function () {\n if (this.listComponent.items.length > 0) {\n return;\n }\n if (this.initialCreated) {\n this.alertsService.createAlert('danger', 'APP.FORECAST.CANNOT_CREATE_SHRINKAGE');\n this.overlayService.closeOverlay();\n return;\n }\n this.initialCreated = true;\n var first = this.listComponent.entityType.createEntity({\n DayOfWeek: this.day,\n FunctionKey: this.functionKey,\n Start: moment.duration().toISOString(),\n Finish: moment.duration('23:59').toISOString(),\n Value: 0\n });\n this.forecastService.addEntity(first);\n this.saveChanges(true);\n };\n /**\n * Copies the values from the selected entity.\n * @param {Entity} entity The selected entity.\n * @returns\n * @memberOf ShrinkageComponent\n */\n ShrinkageComponent.prototype.shrinkageSelected = function (entity) {\n if (!entity) {\n return;\n }\n this.shrinkage['Start'] = entity['Start'];\n this.shrinkage['Finish'] = entity['Finish'];\n this.shrinkage['Value'] = entity['Value'];\n };\n /**\n * Creates a new shrinkage and fits it in the existing data set.\n * @memberOf ShrinkageComponent\n */\n ShrinkageComponent.prototype.add = function (event) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var newStart, newFinish, newValue, smallerTotalOverlaps, largerTotalOverlap, splitShrinkage, startOverlap, finishOverlap;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (event) {\n event.target.classList.add('sym-working');\n }\n newStart = moment.duration(this.shrinkage['Start']);\n newFinish = moment.duration(this.shrinkage['Finish']);\n if (newStart.asMilliseconds() >= newFinish.asMilliseconds()) {\n this.alertsService.createAlert('warning', 'APP.FORECAST.SHRINKAGE_INVALID_TIMESLOT');\n return [2 /*return*/];\n }\n if (!newStart.isValid() || newStart.asDays() >= 1 || !newFinish.isValid() || newFinish.asDays() >= 1) {\n this.alertsService.createAlert('warning', 'APP.FORECAST.SHRINKAGE_INVALID_TIME');\n return [2 /*return*/];\n }\n newValue = parseInt(this.shrinkage['Value']);\n if (isNaN(newValue) || newValue < 0 || newValue > 99) {\n this.alertsService.createAlert('warning', 'APP.FORECAST.SHRINKAGE_INVALID_VALUE');\n return [2 /*return*/];\n }\n smallerTotalOverlaps = this.listComponent.items.filter(function (s) {\n return newStart.asMinutes() <= moment.duration(s['Start']).asMinutes() &&\n newFinish.asMinutes() >= moment.duration(s['Finish']).asMinutes();\n });\n smallerTotalOverlaps.forEach(function (s) {\n s.entityAspect.setDeleted();\n });\n largerTotalOverlap = this.listComponent.items.find(function (s) {\n return newStart.asMinutes() > moment.duration(s['Start']).asMinutes() &&\n newFinish.asMinutes() < moment.duration(s['Finish']).asMinutes();\n });\n if (largerTotalOverlap) {\n splitShrinkage = this.listComponent.entityType.createEntity({\n DayOfWeek: this.day,\n FunctionKey: this.functionKey,\n Start: newFinish.toISOString(),\n Finish: largerTotalOverlap['Finish'],\n Value: largerTotalOverlap['Value']\n });\n this.forecastService.addEntity(splitShrinkage);\n largerTotalOverlap['Finish'] = newStart.toISOString();\n }\n else {\n startOverlap = this.listComponent.items.find(function (s) {\n return !s.entityAspect.entityState.isDeleted() &&\n newStart.asMinutes() <= moment.duration(s['Start']).asMinutes() &&\n newFinish.asMinutes() > moment.duration(s['Start']).asMinutes();\n });\n if (startOverlap) {\n startOverlap['Start'] = newFinish.toISOString();\n }\n finishOverlap = this.listComponent.items.find(function (s) {\n return !s.entityAspect.entityState.isDeleted() &&\n newStart.asMinutes() < moment.duration(s['Finish']).asMinutes() &&\n newFinish.asMinutes() >= moment.duration(s['Finish']).asMinutes();\n });\n if (finishOverlap) {\n finishOverlap['Finish'] = newStart.toISOString();\n }\n }\n this.forecastService.addEntity(this.shrinkage);\n return [4 /*yield*/, this.saveChanges()];\n case 1:\n _a.sent();\n this.resetNewShrinkage();\n if (event) {\n event.target.classList.remove('sym-working');\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Sets the shrinkage to be added.\n * @private\n * @memberOf ShrinkageComponent\n */\n ShrinkageComponent.prototype.resetNewShrinkage = function () {\n this.shrinkage = this.shrinkageType.createEntity({\n DayOfWeek: this.day,\n FunctionKey: this.functionKey,\n Start: moment.duration().toISOString(),\n Finish: moment.duration('23:59').toISOString(),\n Value: 0\n });\n };\n /**\n * Saves changes to the forecast service and reloads the data set.\n * @private\n * @param {boolean} first A value indicating whether the first shrinkage is saved.\n * @memberOf ShrinkageComponent\n */\n ShrinkageComponent.prototype.saveChanges = function (first) {\n if (first === void 0) { first = false; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.forecastService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('danger', 'APP.FORECAST.SHRINKAGE_NOT_SAVED');\n console.error(error);\n // #4061: The changes are not done by the user, so no alert.\n }\n else if (!first) {\n _this.alertsService.createAlert('success', 'APP.FORECAST.SHRINKAGE_SUCCESSFULLY_ADDED');\n }\n }).toPromise()];\n case 1:\n _a.sent();\n return [4 /*yield*/, this.listComponent.refresh()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n return ShrinkageComponent;\n}());\nexport { ShrinkageComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../forecast-list/forecast-list.component.ngfactory\";\nimport * as i2 from \"../forecast-list/forecast-list.component\";\nimport * as i3 from \"../../user.service\";\nimport * as i4 from \"../forecast.service\";\nimport * as i5 from \"../../core/dialog.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"@ngx-translate/core\";\nimport * as i8 from \"@angular/router\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"../../core/local-storage.service\";\nimport * as i11 from \"../../core/event.service\";\nimport * as i12 from \"../../core/action.service\";\nimport * as i13 from \"@angular/forms\";\nimport * as i14 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i15 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i16 from \"@angular/common\";\nimport * as i17 from \"./shrinkage.component\";\nimport * as i18 from \"../../ui/overlay-provider\";\nvar styles_ShrinkageComponent = [];\nvar RenderType_ShrinkageComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ShrinkageComponent, data: {} });\nexport { RenderType_ShrinkageComponent as RenderType_ShrinkageComponent };\nfunction View_ShrinkageComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-forecast-list\", [], null, [[null, \"selectionChanged\"], [null, \"onRefresh\"], [\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"selectionChanged\" === en)) {\n var pd_1 = (_co.shrinkageSelected($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"onRefresh\" === en)) {\n var pd_2 = (_co.listRefresh() !== false);\n ad = (pd_2 && ad);\n } return ad; }, i1.View_ForecastListComponent_0, i1.RenderType_ForecastListComponent)), i0.ɵdid(1, 245760, [[1, 4], [\"list\", 4]], 0, i2.ForecastListComponent, [i3.UserService, i4.ForecastService, i5.DialogService, i6.AlertsService, i7.TranslateService, i8.Router, i9.OverlayService, i10.LocalStorageService, i11.EventsService, i12.ActionService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"] }, { selectionChanged: \"selectionChanged\", onRefresh: \"onRefresh\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.listConfiguration; var currVal_1 = true; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_ShrinkageComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 10, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i13.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(2, 540672, null, 0, i13.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i13.ControlContainer, null, [i13.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i13.NgControlStatusGroup, [[4, i13.ControlContainer]], null, null), (_l()(), i0.ɵeld(5, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i14.View_FieldsetContainerComponent_0, i14.RenderType_FieldsetContainerComponent)), i0.ɵdid(6, 49152, null, 0, i15.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(7, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i14.View_FieldsetContainerComponent_0, i14.RenderType_FieldsetContainerComponent)), i0.ɵdid(8, 49152, null, 0, i15.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(9, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i14.View_FieldsetContainerComponent_0, i14.RenderType_FieldsetContainerComponent)), i0.ɵdid(10, 49152, null, 0, i15.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = _co.startField; var currVal_9 = _co.startControl; var currVal_10 = _co.shrinkage; _ck(_v, 6, 0, currVal_8, currVal_9, currVal_10); var currVal_11 = _co.finishField; var currVal_12 = _co.finishControl; var currVal_13 = _co.shrinkage; _ck(_v, 8, 0, currVal_11, currVal_12, currVal_13); var currVal_14 = _co.valueField; var currVal_15 = _co.valueControl; var currVal_16 = _co.shrinkage; _ck(_v, 10, 0, currVal_14, currVal_15, currVal_16); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_ShrinkageComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { listComponent: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ShrinkageComponent_1)), i0.ɵdid(2, 16384, null, 0, i16.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 3, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-shrinkage\"]], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\" \", \" \"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(9, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ShrinkageComponent_2)), i0.ɵdid(12, 16384, null, 0, i16.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(13, 0, null, null, 15, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 14, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 13, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 12, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.add($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(19, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-add\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(23, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(25, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(27, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.day != null) && _co.functionKey); _ck(_v, 2, 0, currVal_0); var currVal_2 = _co.shrinkage; _ck(_v, 12, 0, currVal_2); }, function (_ck, _v) { var currVal_1 = i0.ɵunv(_v, 7, 0, i0.ɵnov(_v, 8).transform(\"APP.FORECAST.SHRINKAGE_NEW\")); _ck(_v, 7, 0, currVal_1); var currVal_3 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 17, 0, i0.ɵnov(_v, 18).transform(\"APP.FORECAST.SET_SHRINKAGE\")), \"\"); _ck(_v, 17, 0, currVal_3); var currVal_4 = i0.ɵunv(_v, 21, 0, i0.ɵnov(_v, 22).transform(\"APP.FORECAST.SET_SHRINKAGE\")); _ck(_v, 21, 0, currVal_4); var currVal_5 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 23, 0, i0.ɵnov(_v, 24).transform(\"APP.FORECAST.CLOSE\")), \"\"); _ck(_v, 23, 0, currVal_5); var currVal_6 = i0.ɵunv(_v, 27, 0, i0.ɵnov(_v, 28).transform(\"APP.FORECAST.CLOSE\")); _ck(_v, 27, 0, currVal_6); }); }\nexport function View_ShrinkageComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-shrinkage\", [], null, null, null, View_ShrinkageComponent_0, RenderType_ShrinkageComponent)), i0.ɵdid(1, 1097728, null, 0, i17.ShrinkageComponent, [i18.OverlayProvider, i9.OverlayService, i4.ForecastService, i6.AlertsService], null, null)], null, null); }\nvar ShrinkageComponentNgFactory = i0.ɵccf(\"sym-shrinkage\", i17.ShrinkageComponent, View_ShrinkageComponent_Host_0, {}, {}, []);\nexport { ShrinkageComponentNgFactory as ShrinkageComponentNgFactory };\n","/**\n * @file The AdHoc component.\n * @author Maarten Lensink\n*/\nimport * as tslib_1 from \"tslib\";\nimport { DomainService } from '../../domain.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ListBase } from '../../base/list/list.base';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { EventsService } from '../../core/event.service';\nimport { UserService } from '../../user.service';\nimport { Router } from '@angular/router';\nimport { ActionService } from '../../core/action.service';\nvar AdHocComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AdHocComponent, _super);\n function AdHocComponent(userService, domainService, dialogService, alertsService, translateService, router, overlayProvider, overlayService, localStorageService, eventsService, actionService) {\n var _this = _super.call(this, userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n _this.overlayService = overlayService;\n _this.overlayMode = true;\n _this.configuration = overlayProvider.configuration;\n return _this;\n }\n AdHocComponent.prototype.select = function (item) {\n this.overlayService.closeOverlay(item);\n };\n return AdHocComponent;\n}(ListBase));\nexport { AdHocComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The AdHoc component.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component\";\nimport * as i7 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i8 from \"../../base/instruction/instruction.component\";\nimport * as i9 from \"@angular/common/http\";\nimport * as i10 from \"../../configurations.service\";\nimport * as i11 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i12 from \"../../base/pagination/pagination.component\";\nimport * as i13 from \"@angular/router\";\nimport * as i14 from \"./ad-hoc.component\";\nimport * as i15 from \"../../user.service\";\nimport * as i16 from \"../../domain.service\";\nimport * as i17 from \"../../core/dialog.service\";\nimport * as i18 from \"../../core/alerts.service\";\nimport * as i19 from \"../../ui/overlay-provider\";\nimport * as i20 from \"../../core/overlay.service\";\nimport * as i21 from \"../../core/local-storage.service\";\nimport * as i22 from \"../../core/event.service\";\nimport * as i23 from \"../../core/action.service\";\nvar styles_AdHocComponent = [i0.styles];\nvar RenderType_AdHocComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AdHocComponent, data: {} });\nexport { RenderType_AdHocComponent as RenderType_AdHocComponent };\nfunction View_AdHocComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AdHocComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_AdHocComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_2)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_3)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_AdHocComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_co.configuration.data.labelKey)), \"\"); var currVal_1 = _co.isCreating; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.configuration.data.labelKey)); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_AdHocComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(4, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(6, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 6).ngClassValid; var currVal_6 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_AdHocComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_5)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(7, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(8, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_6)), i1.ɵdid(14, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canCreate; _ck(_v, 3, 0, currVal_0); var currVal_3 = \"icon sym-icon-refresh\"; var currVal_4 = _ck(_v, 8, 0, _co.isRefreshing); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_6 = _co.canSearch; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_2 = _co.isRefreshing; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_5 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 10, 0, currVal_5); }); }\nfunction View_AdHocComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_AdHocComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_AdHocComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_10)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_AdHocComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_9)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AdHocComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_AdHocComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i1.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i5.View_ColumnContainerComponent_0, i5.RenderType_ColumnContainerComponent)), i1.ɵdid(4, 114688, null, 0, i6.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_AdHocComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_14)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AdHocComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_12)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_13)), i1.ɵdid(4, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AdHocComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_AdHocComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_AdHocComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-danger btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteSelected($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-danger btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.disableListActions); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.DELETE\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.DELETE\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = !_co.hasSelectedItems(); _ck(_v, 8, 0, currVal_4); var currVal_5 = _co.numberOfSelectedItems(); _ck(_v, 9, 0, currVal_5); }); }\nfunction View_AdHocComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.actionSelected($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpad(6, 2), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm ml-1\"; var currVal_2 = _ck(_v, 2, 0, ((_v.parent.context.$implicit.isSelectionNeeded !== false) && _co.disableListActions)); _ck(_v, 1, 0, currVal_1, currVal_2); var currVal_3 = _ck(_v, 6, 0, \"icon\", _co.getIcon(_v.parent.context.$implicit)); _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(_co.getLabelKey(_v.parent.context.$implicit))), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_4 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(_co.getLabelKey(_v.parent.context.$implicit))); _ck(_v, 8, 0, currVal_4); var currVal_5 = !_co.hasSelectedItems(); _ck(_v, 10, 0, currVal_5); var currVal_6 = _co.numberOfSelectedItems(); _ck(_v, 11, 0, currVal_6); }); }\nfunction View_AdHocComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_19)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isAllowed(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_AdHocComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 35, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_1)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i7.View_InstructionComponent_0, i7.RenderType_InstructionComponent)), i1.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i8.InstructionComponent, [i9.HttpClient, i10.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_4)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵeld(11, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_7)), i1.ɵdid(14, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_8)), i1.ɵdid(16, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_11)), i1.ɵdid(19, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_15)), i1.ɵdid(21, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_16)), i1.ɵdid(23, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 10, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i11.View_PaginationComponent_0, i11.RenderType_PaginationComponent)), i1.ɵdid(30, 4374528, null, 0, i12.PaginationComponent, [i13.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(31, 0, null, null, 4, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_17)), i1.ɵdid(33, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdHocComponent_18)), i1.ɵdid(35, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_2 = !_co.overlayMode; _ck(_v, 8, 0, currVal_2); var currVal_4 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 14, 0, currVal_4); var currVal_5 = _co.configuration.data.fields; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.items; var currVal_7 = _co.trackByItem; _ck(_v, 19, 0, currVal_6, currVal_7); var currVal_8 = !_co.isDataLoaded; _ck(_v, 21, 0, currVal_8); var currVal_9 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 23, 0, currVal_9); var currVal_10 = _co.overlayMode; var currVal_11 = _co.configuration.data.listSize; var currVal_12 = _co.dataSet; _ck(_v, 30, 0, currVal_10, currVal_11, currVal_12); var currVal_13 = _co.canDelete; _ck(_v, 33, 0, currVal_13); var currVal_14 = _co.configuration.actions; _ck(_v, 35, 0, currVal_14); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.configuration.key; _ck(_v, 10, 0, currVal_3); }); }\nexport function View_AdHocComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-ad-hoc\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_AdHocComponent_0, RenderType_AdHocComponent)), i1.ɵdid(1, 245760, null, 0, i14.AdHocComponent, [i15.UserService, i16.DomainService, i17.DialogService, i18.AlertsService, i3.TranslateService, i13.Router, i19.OverlayProvider, i20.OverlayService, i21.LocalStorageService, i22.EventsService, i23.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AdHocComponentNgFactory = i1.ɵccf(\"sym-ad-hoc\", i14.AdHocComponent, View_AdHocComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { AdHocComponentNgFactory as AdHocComponentNgFactory };\n","/**\n * @file ControlAdapter is introduced to partly solve the deprecated support of ngModel with reactive forms.\n * @see https://angular.io/api/forms/FormControlName#use-with-ngmodel\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { FormControl } from '@angular/forms';\n/**\n * ControlAdapter is introduced to partly solve the deprecated support of ngModel with reactive forms.\n * Currently used in HorizonComponent.\n * @export\n * @class ControlAdapter\n * @extends {FormControl}\n */\nvar ControlAdapter = /** @class */ (function (_super) {\n tslib_1.__extends(ControlAdapter, _super);\n /**\n * Creates an instance of ControlAdapter.\n * @param {*} entity The entity used in the binding\n * @param {string} property The property name used in the binding.\n * @param {*} [formState] Initializes the control with an initial value, or an object that defines the initial value and disabled state.\n * @param {(ValidatorFn | ValidatorFn[] | AbstractControlOptions | null)} [validatorOrOpts] A synchronous validator function, or an array of\n * such functions, or an `AbstractControlOptions` object that contains validation functions\n * and a validation trigger.\n * @param {(AsyncValidatorFn | AsyncValidatorFn[] | null)} [asyncValidator] A single async validator or array of async validator functions\n * @memberOf ControlAdapter\n */\n function ControlAdapter(entity, property, formState, validatorOrOpts, asyncValidator) {\n var _this = _super.call(this, formState, validatorOrOpts, asyncValidator) || this;\n _this.entity = entity;\n _this.property = property;\n return _this;\n }\n Object.defineProperty(ControlAdapter.prototype, \"value\", {\n /**\n * Gets the value of the binding\n * @type {*}\n * @memberOf ControlAdapter\n */\n get: function () {\n if (this.entity) {\n return this.entity[this.property];\n }\n },\n /**\n * Sets the value of the binding.\n * @memberOf ControlAdapter\n */\n set: function (val) {\n if (this.entity) {\n this.entity[this.property] = val;\n }\n },\n enumerable: true,\n configurable: true\n });\n return ControlAdapter;\n}(FormControl));\nexport { ControlAdapter };\n","/**\n * @file Component to navigate through time\n * @author Wim Haanstra\n */\nimport { OnDestroy } from '@angular/core';\nimport * as moment from 'moment';\nimport { FormGroup, FormControl } from '@angular/forms';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { detailLevels } from '../helpers/detail-levels';\nimport { ControlAdapter } from '../../base/helpers/control-adapter';\nimport { GridService } from '../grid.service';\nimport { SubscriptionPool } from '../../core/helpers/subscription-pool';\n/**\n * Component to specify a horizon for views\n */\nvar HorizonComponent = /** @class */ (function () {\n /**\n * Creates an instance of HorizonComponent.\n * @param alertsService Service to communicate messages to the user.\n * @param {LocalisationService} localisationService\n * @param {Router} router\n *\n */\n function HorizonComponent(localisationService, gridService) {\n var _this = this;\n this.localisationService = localisationService;\n this.gridService = gridService;\n /** Keep track of the subscriptions */\n this.subscriptionPool = new SubscriptionPool();\n /** The angular FormGroup used for property validation and feedback. */\n this.form = null;\n /**\n * The horizon has support for two modes:\n * - list, with support for date and level\n * - grid, with support for date, level, office, weekends and zoom\n *\n * @type {HorizonMode}\n */\n this.mode = 'horizonModeList';\n this.overlayMode = false;\n /** Loading state of component */\n this.isLoading = false;\n /** Default the zoom out button is not visible */\n this.zoomOutVisible = false;\n this.form = new FormGroup({});\n this.form.addControl('CurrentDate', new FormControl());\n this.form.addControl('OfficeHours1', new ControlAdapter(this, 'officeHours'));\n this.form.addControl('OfficeHours2', new ControlAdapter(this, 'officeHours'));\n this.form.addControl('Weekends1', new ControlAdapter(this, 'weekends'));\n this.form.addControl('Weekends2', new ControlAdapter(this, 'weekends'));\n // Fix: Periodeniveau-kiezer past zich niet aan als periodeniveau buiten de kiezer om veranderd is. #3387\n this.form.addControl('Level', new FormControl(this.gridService.level));\n this.subscriptionPool.add(gridService.stateChanged.subscribe(function (value) {\n _this.form.controls['Level'].setValue(_this.gridService.level);\n }));\n this.subscriptionPool.add(this.form.controls['Level'].valueChanges.subscribe(function (value) {\n _this.level = value;\n }));\n }\n Object.defineProperty(HorizonComponent.prototype, \"settingsOpen\", {\n /** Settings open on small devices */\n get: function () {\n return this.gridService.settingsOpen;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"date\", {\n get: function () {\n return this.gridService.date;\n },\n set: function (value) {\n this.gridService.date = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"level\", {\n get: function () {\n return this.gridService.level;\n },\n set: function (value) {\n this.gridService.level = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"availableZoom\", {\n get: function () {\n return this.gridService.availableZoom;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"zoomIndex\", {\n get: function () {\n return this.gridService.zoomIndex;\n },\n set: function (value) {\n this.gridService.zoomIndex = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"allowedLevels\", {\n /**\n * The allowed levels for the horizon\n */\n get: function () {\n return detailLevels;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"weekends\", {\n get: function () {\n return this.gridService.weekends;\n },\n set: function (value) {\n this.gridService.weekends = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"officeHours\", {\n get: function () {\n return this.gridService.officeHours;\n },\n set: function (value) {\n this.gridService.officeHours = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the start date to today\n */\n HorizonComponent.prototype.today = function () {\n this.date = moment();\n };\n /**\n * Go to the next period\n */\n HorizonComponent.prototype.next = function () {\n this.date = moment(this.date).add(this.level.step, this.level.duration);\n };\n /**\n * Go to the previous period\n */\n HorizonComponent.prototype.previous = function () {\n this.date = moment(this.date).subtract(this.level.step, this.level.duration);\n };\n Object.defineProperty(HorizonComponent.prototype, \"displayEndDate\", {\n /**\n * The end date of the current detail level\n * @readonly\n * @private\n * @type {moment.Moment}\n */\n get: function () {\n return moment(this.gridService.date).endOf(this.level.startOf);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(HorizonComponent.prototype, \"displayDate\", {\n /**\n * Returns the date(range) for the horizon\n */\n get: function () {\n var normalized = moment.normalizeUnits(this.level.startOf);\n if (normalized === 'isoWeek') {\n normalized = 'week';\n }\n var displayStartDate = moment(this.gridService.date).startOf(this.level.startOf);\n var result = displayStartDate.format(this.localisationService.currentLanguage.formats.agenda[normalized].start);\n if (this.localisationService.currentLanguage.formats.agenda[normalized].finish) {\n result += ' - ' + this.displayEndDate.format(this.localisationService.currentLanguage.formats.agenda[normalized].finish);\n }\n return result;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Lifecycle hook that is called PlanboardRowInfoComponent is destroyed.\n */\n HorizonComponent.prototype.ngOnDestroy = function () {\n this.subscriptionPool.unsubscribeAll();\n };\n /**\n * Change zoom level down with one step\n */\n HorizonComponent.prototype.zoomIn = function () {\n this.zoomOutVisible = true;\n if (this.zoomIndex < this.availableZoom.length - 1) {\n this.zoomIndex = this.zoomIndex + 1;\n this.gridService.zoomChanged.emit(this.zoomIndex);\n }\n };\n /**\n * Change zoom level up with one step\n */\n HorizonComponent.prototype.zoomOut = function () {\n if (this.zoomIndex > 0) {\n this.zoomIndex = this.zoomIndex - 1;\n this.gridService.zoomChanged.emit(this.zoomIndex);\n }\n };\n return HorizonComponent;\n}());\nexport { HorizonComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to navigate through time\n * @author Wim Haanstra\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./horizon.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"../../base/inputs/input-date/input-date.component.ngfactory\";\nimport * as i6 from \"../../base/inputs/input-date/input-date.component\";\nimport * as i7 from \"../../core/localisation.service\";\nimport * as i8 from \"../../base/pipes/capitalize.pipe\";\nimport * as i9 from \"./horizon.component\";\nimport * as i10 from \"../grid.service\";\nvar styles_HorizonComponent = [i0.styles];\nvar RenderType_HorizonComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_HorizonComponent, data: {} });\nexport { RenderType_HorizonComponent as RenderType_HorizonComponent };\nfunction View_HorizonComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"formControlName\", \"Weekends1\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(4, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_k]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(6, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"span\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.weekends = !_co.weekends) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_7 = \"Weekends1\"; _ck(_v, 4, 0, currVal_7); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 6).ngClassValid; var currVal_5 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.HORIZON.WEEKENDS\")); _ck(_v, 8, 0, currVal_8); }); }\nfunction View_HorizonComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"d-md-none\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"form-check sym-m-b pl-0\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_3)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"formControlName\", \"OfficeHours1\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 6).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(6, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(8, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_k]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(10, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"span\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.officeHours = !_co.officeHours) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.level.name !== \"day\"); _ck(_v, 3, 0, currVal_0); var currVal_8 = \"OfficeHours1\"; _ck(_v, 8, 0, currVal_8); }, function (_ck, _v) { var currVal_1 = i1.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 10).ngClassValid; var currVal_6 = i1.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 10).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(\"APP.HORIZON.OFFICEHOURS\")); _ck(_v, 12, 0, currVal_9); }); }\nfunction View_HorizonComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-wrap-part\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin d-sm-none .d-md-inline\"]], null, null, null, null, null))], null, null); }\nfunction View_HorizonComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline d-none d-sm-inline-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"formControlName\", \"Weekends2\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(4, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_k]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(6, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"span\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.weekends = !_co.weekends) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_7 = \"Weekends2\"; _ck(_v, 4, 0, currVal_7); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 6).ngClassValid; var currVal_5 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.HORIZON.WEEKENDS\")); _ck(_v, 8, 0, currVal_8); }); }\nfunction View_HorizonComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"sym-wrap-part sym-wrap-part-checkbox-weekends-officehours\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_6)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline d-none d-sm-inline-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"formControlName\", \"OfficeHours2\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(7, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_k]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(9, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.officeHours = !_co.officeHours) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.level.name !== \"day\"); _ck(_v, 2, 0, currVal_0); var currVal_8 = \"OfficeHours2\"; _ck(_v, 7, 0, currVal_8); }, function (_ck, _v) { var currVal_1 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 9).ngClassValid; var currVal_6 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"APP.HORIZON.OFFICEHOURS\")); _ck(_v, 11, 0, currVal_9); }); }\nfunction View_HorizonComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.zoomOut() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"disabled\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-zoom-out\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"btn btn-sm btn-secondary\"; var currVal_1 = _ck(_v, 2, 0, (_co.zoomIndex == 0)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_HorizonComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"sym-wrap-part sym-wrap-part-button-zoom\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"btn-group\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_8)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.zoomIn() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { \"disabled\": 0 }), (_l()(), i1.ɵeld(7, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-zoom-in\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.zoomOutVisible; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"btn btn-sm btn-secondary\"; var currVal_2 = _ck(_v, 6, 0, (_co.zoomIndex == (_co.availableZoom.length - 1))); _ck(_v, 5, 0, currVal_1, currVal_2); }, null); }\nfunction View_HorizonComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_v.context.$implicit.title)); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_HorizonComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 49, \"form\", [[\"class\", \"clearfix\"], [\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i2.ɵangular_packages_forms_forms_bh, [], null, null), i1.ɵdid(2, 540672, null, 0, i2.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i2.ControlContainer, null, [i2.FormGroupDirective]), i1.ɵdid(4, 16384, null, 0, i2.NgControlStatusGroup, [[4, i2.ControlContainer]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_2)), i1.ɵdid(6, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 42, \"div\", [[\"class\", \"sym-wrap sym-horizon-wrap\"]], null, null, null, null, null)), i1.ɵdid(8, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpad(9, 1), (_l()(), i1.ɵeld(10, 0, null, null, 17, \"div\", [[\"class\", \"sym-wrap-right sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_4)), i1.ɵdid(12, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_5)), i1.ɵdid(14, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_7)), i1.ɵdid(16, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 10, \"div\", [[\"class\", \"sym-wrap-part sym-wrap-part-select-level\"]], null, null, null, null, null)), i1.ɵdid(18, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(19, { \"sym-single-zoom-button\": 0 }), (_l()(), i1.ɵeld(20, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm\"], [\"formControlName\", \"Level\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 21).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 21).onTouched() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(21, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(23, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_k]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(25, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_9)), i1.ɵdid(27, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(28, 0, null, null, 21, \"div\", [[\"class\", \"sym-wrap-left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 6, \"div\", [[\"class\", \"sym-wrap-part sym-wrap-part-button-today\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.today() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(32, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-now\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(34, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(36, 0, null, null, 5, \"div\", [[\"class\", \"sym-wrap-part sym-wrap-part-button-back-next\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(37, 0, null, null, 4, \"div\", [[\"class\", \"btn-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(38, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.previous() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(39, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-back\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(40, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.next() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(41, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-next\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(42, 0, null, null, 3, \"div\", [[\"class\", \"sym-wrap-part sym-wrap-part-input-date\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 2, \"div\", [[\"class\", \"sym-dropdown-orientation-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(44, 0, null, null, 1, \"sym-input-date\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.date = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_InputDateComponent_0, i5.RenderType_InputDateComponent)), i1.ɵdid(45, 180224, null, 0, i6.InputDateComponent, [i7.LocalisationService], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i1.ɵeld(46, 0, null, null, 3, \"div\", [[\"class\", \"sym-wrap-part sym-wrap-part-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(47, 0, null, null, 2, \"h5\", [], null, null, null, null, null)), (_l()(), i1.ɵted(48, null, [\"\", \"\"])), i1.ɵppd(49, 1)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = _co.settingsOpen; _ck(_v, 6, 0, currVal_8); var currVal_9 = \"sym-wrap sym-horizon-wrap\"; var currVal_10 = _ck(_v, 9, 0, _co.mode); _ck(_v, 8, 0, currVal_9, currVal_10); var currVal_11 = _co.isLoading; _ck(_v, 12, 0, currVal_11); var currVal_12 = (_co.mode == \"horizonModeGrid\"); _ck(_v, 14, 0, currVal_12); var currVal_13 = (_co.mode == \"horizonModeGrid\"); _ck(_v, 16, 0, currVal_13); var currVal_14 = \"sym-wrap-part sym-wrap-part-select-level\"; var currVal_15 = _ck(_v, 19, 0, !_co.zoomOutVisible); _ck(_v, 18, 0, currVal_14, currVal_15); var currVal_23 = \"Level\"; _ck(_v, 23, 0, currVal_23); var currVal_24 = _co.allowedLevels; _ck(_v, 27, 0, currVal_24); var currVal_27 = _co.form.controls[\"CurrentDate\"]; var currVal_28 = _co.date; _ck(_v, 45, 0, currVal_27, currVal_28); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 4).ngClassValid; var currVal_5 = i1.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_16 = i1.ɵnov(_v, 25).ngClassUntouched; var currVal_17 = i1.ɵnov(_v, 25).ngClassTouched; var currVal_18 = i1.ɵnov(_v, 25).ngClassPristine; var currVal_19 = i1.ɵnov(_v, 25).ngClassDirty; var currVal_20 = i1.ɵnov(_v, 25).ngClassValid; var currVal_21 = i1.ɵnov(_v, 25).ngClassInvalid; var currVal_22 = i1.ɵnov(_v, 25).ngClassPending; _ck(_v, 20, 0, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_25 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 30, 0, i1.ɵnov(_v, 31).transform(\"APP.HORIZON.TODAY\")), \"\"); _ck(_v, 30, 0, currVal_25); var currVal_26 = i1.ɵunv(_v, 34, 0, i1.ɵnov(_v, 35).transform(\"APP.HORIZON.TODAY\")); _ck(_v, 34, 0, currVal_26); var currVal_29 = i1.ɵunv(_v, 48, 0, _ck(_v, 49, 0, i1.ɵnov(_v.parent, 0), _co.displayDate)); _ck(_v, 48, 0, currVal_29); }); }\nexport function View_HorizonComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i8.CapitalizePipe, []), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HorizonComponent_1)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.form && !_co.overlayMode); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_HorizonComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-horizon\", [], null, null, null, View_HorizonComponent_0, RenderType_HorizonComponent)), i1.ɵdid(1, 180224, null, 0, i9.HorizonComponent, [i7.LocalisationService, i10.GridService], null, null)], null, null); }\nvar HorizonComponentNgFactory = i1.ɵccf(\"sym-horizon\", i9.HorizonComponent, View_HorizonComponent_Host_0, { mode: \"mode\", overlayMode: \"overlayMode\" }, {}, []);\nexport { HorizonComponentNgFactory as HorizonComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to navigate through time\n * @author Wim Haanstra\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".col-md-8[_ngcontent-%COMP%] .sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], [_nghost-%COMP%] .form-text, [_nghost-%COMP%] .sym-input-feedback{display:none}@media (max-width:1199.98px){.sym-wrap-part-button-today[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}.sym-wrap-part.sym-wrap-part-input-date[_ngcontent-%COMP%]{max-width:125px}.sym-wrap-part.sym-wrap-part-input-date[_ngcontent-%COMP%] .sym-input-feedback[_ngcontent-%COMP%]{display:none}.sym-wrap-part.sym-wrap-part-checkbox-weekends-officehours[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%]{margin-right:.3rem!important;height:30px}.sym-wrap-part.sym-wrap-part-checkbox-weekends-officehours[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%]:last-child{margin-right:0!important}@media (max-width:767.98px){.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%]{height:100px;margin-bottom:0!important}.sym-wrap.sym-horizon-wrap.horizonModeGrid[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-select-level[_ngcontent-%COMP%]{left:75px}.sym-wrap.sym-horizon-wrap.horizonModeGrid[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-select-level.sym-single-zoom-button[_ngcontent-%COMP%]{left:41px}.sym-wrap.sym-horizon-wrap.horizonModeList[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-select-level[_ngcontent-%COMP%]{left:0}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-right[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-checkbox-weekends-officehours[_ngcontent-%COMP%]{display:none}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-right[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-button-zoom[_ngcontent-%COMP%]{margin-left:0!important}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-right[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-select-level[_ngcontent-%COMP%]{max-width:none;position:absolute;right:0;margin-right:0!important;margin-left:0!important}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-right[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-select-level[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-left[_ngcontent-%COMP%]{position:relative;float:left;width:100%}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-left[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-input-date[_ngcontent-%COMP%]{max-width:none;position:absolute;right:0;left:118px;margin-right:0!important}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-left[_ngcontent-%COMP%] .sym-wrap-part.sym-wrap-part-header[_ngcontent-%COMP%]{width:100%;padding-top:.3rem!important;height:33px}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-left.horizonModeGrid[_ngcontent-%COMP%] .sym-wrapper-right[_ngcontent-%COMP%] .sym-wrapper-right-rest[_ngcontent-%COMP%]{left:75px}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-left.horizonModeList[_ngcontent-%COMP%] .sym-wrapper-right[_ngcontent-%COMP%] .sym-wrapper-right-rest[_ngcontent-%COMP%]{left:0}.sym-wrap.sym-horizon-wrap[_ngcontent-%COMP%] .sym-wrap-right[_ngcontent-%COMP%]{position:relative;float:left;width:100%}}\"];\nexport { styles as styles };\n","/**\n * @file Date based entity list component.\n * @author Wim Haanstra\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { empty } from 'rxjs';\nimport { ListBase } from '../../base/list/list.base';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { BreezeService } from '../../core/breeze.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { EventsService } from '../../core/event.service';\nimport { GridService } from '../grid.service';\nimport { detailLevelDay } from '../helpers/detail-levels';\nimport { UserService } from '../../user.service';\nimport { mergeMap } from 'rxjs/operators';\nimport { ActionService } from '../../core/action.service';\n/**\n * Date based entity list component.\n * @export\n * @class AgendaListComponent\n * @extends {ListBase}\n */\nvar AgendaListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaListComponent, _super);\n /**\n * Constructs a AgendaListComponent.\n * @param configurationsService Service to get the configuration of this component.\n * @param domainService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param router Service for routing events.\n */\n function AgendaListComponent(userService, domainService, // TODO: remove this Inject construction\n dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, gridService, actionService) {\n var _this = _super.call(this, userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n _this.gridService = gridService;\n _this.subscriptionPool.add(_this.gridService.stateChanged\n .pipe(mergeMap(function () {\n if (_this.entityType) {\n // When this._objects.entityType then DataSet registered.\n var result = _this.refresh();\n return result ? result : empty();\n }\n else {\n return empty();\n }\n }))\n .subscribe(function () {\n // Selected PlanItem can be excluded when new period is chosen.\n // So we deselect.\n _this.select(null);\n }));\n return _this;\n }\n Object.defineProperty(AgendaListComponent.prototype, \"start\", {\n /**\n * Gets the start date of the horizon.\n * @readonly\n * @type {moment.Moment}\n * @memberOf AgendaListComponent\n */\n get: function () {\n return this.gridService.startDate;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AgendaListComponent.prototype, \"finish\", {\n /**\n * Gets the end date of the horizon.\n * @readonly\n * @type {moment.Moment}\n * @memberOf AgendaListComponent\n */\n get: function () {\n return this.gridService.endDate;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Method to retrieve the requested entities from the back-end API.\n * @returns An observable object that retrieves the requested entities.\n */\n AgendaListComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n if (this.overlayMode) {\n this.gridService.level = detailLevelDay;\n }\n return [2 /*return*/, _super.prototype.refresh.call(this)];\n });\n });\n };\n return AgendaListComponent;\n}(ListBase));\nexport { AgendaListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Date based entity list component.\n * @author Wim Haanstra\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component\";\nimport * as i7 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i8 from \"../../base/instruction/instruction.component\";\nimport * as i9 from \"@angular/common/http\";\nimport * as i10 from \"../../configurations.service\";\nimport * as i11 from \"../horizon/horizon.component.ngfactory\";\nimport * as i12 from \"../horizon/horizon.component\";\nimport * as i13 from \"../../core/localisation.service\";\nimport * as i14 from \"../grid.service\";\nimport * as i15 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i16 from \"../../base/pagination/pagination.component\";\nimport * as i17 from \"@angular/router\";\nimport * as i18 from \"./agenda-list.component\";\nimport * as i19 from \"../../user.service\";\nimport * as i20 from \"../../domain.service\";\nimport * as i21 from \"../../core/dialog.service\";\nimport * as i22 from \"../../core/alerts.service\";\nimport * as i23 from \"../../core/overlay.service\";\nimport * as i24 from \"../../core/local-storage.service\";\nimport * as i25 from \"../../core/event.service\";\nimport * as i26 from \"../../core/action.service\";\nvar styles_AgendaListComponent = [i0.styles];\nvar RenderType_AgendaListComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AgendaListComponent, data: {} });\nexport { RenderType_AgendaListComponent as RenderType_AgendaListComponent };\nfunction View_AgendaListComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AgendaListComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaListComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_2)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_3)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_AgendaListComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_co.configuration.data.labelKey)), \"\"); var currVal_1 = _co.isCreating; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_co.configuration.data.labelKey)); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_AgendaListComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(4, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(6, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 6).ngClassValid; var currVal_6 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_AgendaListComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_5)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(7, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(8, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_6)), i1.ɵdid(14, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canCreate; _ck(_v, 3, 0, currVal_0); var currVal_3 = \"icon sym-icon-refresh\"; var currVal_4 = _ck(_v, 8, 0, _co.isRefreshing); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_6 = _co.canSearch; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_2 = _co.isRefreshing; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_5 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 10, 0, currVal_5); }); }\nfunction View_AgendaListComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_AgendaListComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_AgendaListComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_10)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_AgendaListComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_9)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AgendaListComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_AgendaListComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i1.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i5.View_ColumnContainerComponent_0, i5.RenderType_ColumnContainerComponent)), i1.ɵdid(4, 114688, null, 0, i6.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_AgendaListComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_14)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AgendaListComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_12)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_13)), i1.ɵdid(4, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AgendaListComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_AgendaListComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_AgendaListComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-danger btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteSelected($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-danger btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.disableListActions); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.DELETE\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.DELETE\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = !_co.hasSelectedItems(); _ck(_v, 8, 0, currVal_4); var currVal_5 = _co.numberOfSelectedItems(); _ck(_v, 9, 0, currVal_5); }); }\nfunction View_AgendaListComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.actionSelected($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { disabled: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpad(6, 2), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm ml-1\"; var currVal_2 = _ck(_v, 2, 0, ((_v.parent.context.$implicit.isSelectionNeeded !== false) && _co.disableListActions)); _ck(_v, 1, 0, currVal_1, currVal_2); var currVal_3 = _ck(_v, 6, 0, \"icon\", _co.getIcon(_v.parent.context.$implicit)); _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 3).transform(_co.getLabelKey(_v.parent.context.$implicit))), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_4 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(_co.getLabelKey(_v.parent.context.$implicit))); _ck(_v, 8, 0, currVal_4); var currVal_5 = !_co.hasSelectedItems(); _ck(_v, 10, 0, currVal_5); var currVal_6 = _co.numberOfSelectedItems(); _ck(_v, 11, 0, currVal_6); }); }\nfunction View_AgendaListComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_19)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isAllowed(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_AgendaListComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 38, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 11, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_1)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i7.View_InstructionComponent_0, i7.RenderType_InstructionComponent)), i1.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i8.InstructionComponent, [i9.HttpClient, i10.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"sym-horizon\", [], null, null, null, i11.View_HorizonComponent_0, i11.RenderType_HorizonComponent)), i1.ɵdid(8, 180224, null, 0, i12.HorizonComponent, [i13.LocalisationService, i14.GridService], { mode: [0, \"mode\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_4)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), (_l()(), i1.ɵeld(14, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_7)), i1.ɵdid(17, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_8)), i1.ɵdid(19, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_11)), i1.ɵdid(22, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_15)), i1.ɵdid(24, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_16)), i1.ɵdid(26, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 10, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i15.View_PaginationComponent_0, i15.RenderType_PaginationComponent)), i1.ɵdid(33, 4374528, null, 0, i16.PaginationComponent, [i17.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(34, 0, null, null, 4, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_17)), i1.ɵdid(36, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaListComponent_18)), i1.ɵdid(38, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"horizonModeList\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = !_co.overlayMode; _ck(_v, 11, 0, currVal_3); var currVal_5 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 17, 0, currVal_5); var currVal_6 = _co.configuration.data.fields; _ck(_v, 19, 0, currVal_6); var currVal_7 = _co.items; var currVal_8 = _co.trackByItem; _ck(_v, 22, 0, currVal_7, currVal_8); var currVal_9 = !_co.isDataLoaded; _ck(_v, 24, 0, currVal_9); var currVal_10 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 26, 0, currVal_10); var currVal_11 = _co.overlayMode; var currVal_12 = _co.configuration.data.listSize; var currVal_13 = _co.dataSet; _ck(_v, 33, 0, currVal_11, currVal_12, currVal_13); var currVal_14 = _co.canDelete; _ck(_v, 36, 0, currVal_14); var currVal_15 = _co.configuration.actions; _ck(_v, 38, 0, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = _co.configuration.key; _ck(_v, 13, 0, currVal_4); }); }\nexport function View_AgendaListComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-list\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_AgendaListComponent_0, RenderType_AgendaListComponent)), i1.ɵdid(1, 245760, null, 0, i18.AgendaListComponent, [i19.UserService, i20.DomainService, i21.DialogService, i22.AlertsService, i3.TranslateService, i17.Router, i23.OverlayService, i24.LocalStorageService, i25.EventsService, i14.GridService, i26.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaListComponentNgFactory = i1.ɵccf(\"sym-agenda-list\", i18.AgendaListComponent, View_AgendaListComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { AgendaListComponentNgFactory as AgendaListComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard grid component\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"@-webkit-keyframes delayed-visibility{to{visibility:visible}}@keyframes delayed-visibility{to{visibility:visible}}.sym-grid-2783-fix[_ngcontent-%COMP%]{height:32px} .sym-grid{font-size:80%}@media (max-width:767.98px){ .sym-grid sym-plugin-container, .sym-grid sym-plugin-selector{display:none}} .sym-grid .sym-method-select{height:31px!important;line-height:18px} .sym-grid .sym-is-current-hour, .sym-grid .sym-is-today{background-color:rgba(0,0,0,.4);padding-left:3px;padding-right:3px;border-radius:3px;border:1px solid rgba(0,0,0,.2);color:#fff} .sym-grid .sym-column, .sym-grid .sym-rows{width:100%} .sym-grid .sym-column .form-check-inline, .sym-grid .sym-rows .form-check-inline{display:inline-block!important} .sym-grid .sym-column.sym-column-input, .sym-grid .sym-rows.sym-column-input{padding:5px 4px 0!important} .sym-grid .sym-column.sym-column-input input, .sym-grid .sym-rows.sym-column-input input{height:31px;font-size:.875rem;line-height:31px!important;padding:0} .sym-grid .sym-column.sym-column-input input::-webkit-inner-spin-button, .sym-grid .sym-column.sym-column-input input::-webkit-outer-spin-button, .sym-grid .sym-rows.sym-column-input input::-webkit-inner-spin-button, .sym-grid .sym-rows.sym-column-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0} .sym-grid .sym-column.sym-column-input input[type=number], .sym-grid .sym-rows.sym-column-input input[type=number]{-moz-appearance:textfield} .sym-grid .sym-column-full{width:100%!important} .sym-grid .sym-columns-in-row-1 .sym-column, .sym-grid .sym-rows-in-row-1 .sym-rows{width:100%} .sym-grid .sym-columns-in-row-2 .sym-column, .sym-grid .sym-rows-in-row-2 .sym-rows{width:50%} .sym-grid .sym-columns-in-row-3 .sym-column, .sym-grid .sym-rows-in-row-3 .sym-rows{width:33.33333333%} .sym-grid .sym-columns-in-row-4 .sym-column, .sym-grid .sym-rows-in-row-4 .sym-rows{width:25%} .sym-grid .sym-columns-in-row-5 .sym-column, .sym-grid .sym-rows-in-row-5 .sym-rows{width:20%} .sym-grid .sym-columns-in-row-6 .sym-column, .sym-grid .sym-rows-in-row-6 .sym-rows{width:16.66666667%} .sym-grid .sym-columns-in-row-7 .sym-column, .sym-grid .sym-rows-in-row-7 .sym-rows{width:14.28571429%} .sym-grid.sym-level-day .sym-icon-finished{font-size:2rem} .sym-grid.sym-level-week .sym-icon-finished{font-size:1.25rem}@media (max-width:767.98px){ .sym-grid.sym-level-month.sym-variant-planboard .sym-grid-display .sym-rows{width:100%}} .sym-grid.sym-level-month .sym-icon-finished{display:none} .sym-grid.sym-level-quarter.sym-variant-agenda .sym-grid-display .sym-rows{width:50%}@media (max-width:767.98px){ .sym-grid.sym-level-quarter.sym-variant-agenda .sym-grid-display .sym-rows{width:100%}} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-rows{width:50%}@media (max-width:767.98px){ .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-rows{width:100%}} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-1 .sym-grid-segment{width:100%;float:left} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-2 .sym-grid-segment{width:50%;float:left} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-3 .sym-grid-segment{width:33.33333333%;float:left} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-4 .sym-grid-segment{width:25%;float:left} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-5 .sym-grid-segment{width:20%;float:left} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-6 .sym-grid-segment{width:16.66666667%;float:left} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-7 .sym-grid-segment{width:14.28571429%;float:left} .sym-grid.sym-level-quarter.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-segments-in-segment-8 .sym-grid-segment{width:12.5%;float:left} .sym-grid.sym-level-quarter .sym-icon-finished{display:none} .sym-grid.sym-hours-h7-h23 .sym-start-h0{left:calc(-43.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h0{right:calc(143.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h1{left:calc(-37.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h1{right:calc(137.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h2{left:calc(-31.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h2{right:calc(131.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h3{left:calc(-25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h3{right:calc(125% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h4{left:calc(-18.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h4{right:calc(118.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h5{left:calc(-12.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h5{right:calc(112.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h6{left:calc(-6.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h6{right:calc(106.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h7{left:0} .sym-grid.sym-hours-h7-h23 .sym-end-h7{right:100%} .sym-grid.sym-hours-h7-h23 .sym-start-h8{left:calc(6.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h8{right:calc(93.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h9{left:calc(12.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h9{right:calc(87.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h10{left:calc(18.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h10{right:calc(81.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h11{left:calc(25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h11{right:calc(75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h12{left:calc(31.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h12{right:calc(68.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h13{left:calc(37.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h13{right:calc(62.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h14{left:calc(43.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h14{right:calc(56.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h15{left:calc(50% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h15{right:calc(50% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h16{left:calc(56.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h16{right:calc(43.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h17{left:calc(62.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h17{right:calc(37.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h18{left:calc(68.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h18{right:calc(31.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h19{left:calc(75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h19{right:calc(25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h20{left:calc(81.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h20{right:calc(18.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h21{left:calc(87.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h21{right:calc(12.5% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h22{left:calc(93.75% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h22{right:calc(6.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-h23{left:100%} .sym-grid.sym-hours-h7-h23 .sym-end-h23{right:0} .sym-grid.sym-hours-h7-h23 .sym-start-h24{left:calc(106.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-end-h24{right:calc(-6.25% - 1px)} .sym-grid.sym-hours-h7-h23 .sym-start-m0{margin-left:0} .sym-grid.sym-hours-h7-h23 .sym-end-m0{margin-right:0} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m0{left:0;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m0{right:100%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m1{margin-left:.10416667%} .sym-grid.sym-hours-h7-h23 .sym-end-m1{margin-right:-.10416667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m1{left:1.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m1{right:98.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m2{margin-left:.20833333%} .sym-grid.sym-hours-h7-h23 .sym-end-m2{margin-right:-.20833333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m2{left:3.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m2{right:96.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m3{margin-left:.3125%} .sym-grid.sym-hours-h7-h23 .sym-end-m3{margin-right:-.3125%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m3{left:5%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m3{right:95%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m4{margin-left:.41666667%} .sym-grid.sym-hours-h7-h23 .sym-end-m4{margin-right:-.41666667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m4{left:6.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m4{right:93.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m5{margin-left:.52083333%} .sym-grid.sym-hours-h7-h23 .sym-end-m5{margin-right:-.52083333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m5{left:8.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m5{right:91.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m6{margin-left:.625%} .sym-grid.sym-hours-h7-h23 .sym-end-m6{margin-right:-.625%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m6{left:10%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m6{right:90%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m7{margin-left:.72916667%} .sym-grid.sym-hours-h7-h23 .sym-end-m7{margin-right:-.72916667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m7{left:11.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m7{right:88.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m8{margin-left:.83333333%} .sym-grid.sym-hours-h7-h23 .sym-end-m8{margin-right:-.83333333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m8{left:13.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m8{right:86.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m9{margin-left:.9375%} .sym-grid.sym-hours-h7-h23 .sym-end-m9{margin-right:-.9375%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m9{left:15%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m9{right:85%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m10{margin-left:1.04166667%} .sym-grid.sym-hours-h7-h23 .sym-end-m10{margin-right:-1.04166667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m10{left:16.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m10{right:83.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m11{margin-left:1.14583333%} .sym-grid.sym-hours-h7-h23 .sym-end-m11{margin-right:-1.14583333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m11{left:18.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m11{right:81.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m12{margin-left:1.25%} .sym-grid.sym-hours-h7-h23 .sym-end-m12{margin-right:-1.25%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m12{left:20%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m12{right:80%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m13{margin-left:1.35416667%} .sym-grid.sym-hours-h7-h23 .sym-end-m13{margin-right:-1.35416667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m13{left:21.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m13{right:78.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m14{margin-left:1.45833333%} .sym-grid.sym-hours-h7-h23 .sym-end-m14{margin-right:-1.45833333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m14{left:23.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m14{right:76.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m15{margin-left:1.5625%} .sym-grid.sym-hours-h7-h23 .sym-end-m15{margin-right:-1.5625%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m15{left:25%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m15{right:75%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m16{margin-left:1.66666667%} .sym-grid.sym-hours-h7-h23 .sym-end-m16{margin-right:-1.66666667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m16{left:26.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m16{right:73.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m17{margin-left:1.77083333%} .sym-grid.sym-hours-h7-h23 .sym-end-m17{margin-right:-1.77083333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m17{left:28.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m17{right:71.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m18{margin-left:1.875%} .sym-grid.sym-hours-h7-h23 .sym-end-m18{margin-right:-1.875%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m18{left:30%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m18{right:70%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m19{margin-left:1.97916667%} .sym-grid.sym-hours-h7-h23 .sym-end-m19{margin-right:-1.97916667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m19{left:31.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m19{right:68.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m20{margin-left:2.08333333%} .sym-grid.sym-hours-h7-h23 .sym-end-m20{margin-right:-2.08333333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m20{left:33.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m20{right:66.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m21{margin-left:2.1875%} .sym-grid.sym-hours-h7-h23 .sym-end-m21{margin-right:-2.1875%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m21{left:35%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m21{right:65%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m22{margin-left:2.29166667%} .sym-grid.sym-hours-h7-h23 .sym-end-m22{margin-right:-2.29166667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m22{left:36.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m22{right:63.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m23{margin-left:2.39583333%} .sym-grid.sym-hours-h7-h23 .sym-end-m23{margin-right:-2.39583333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m23{left:38.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m23{right:61.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m24{margin-left:2.5%} .sym-grid.sym-hours-h7-h23 .sym-end-m24{margin-right:-2.5%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m24{left:40%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m24{right:60%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m25{margin-left:2.60416667%} .sym-grid.sym-hours-h7-h23 .sym-end-m25{margin-right:-2.60416667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m25{left:41.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m25{right:58.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m26{margin-left:2.70833333%} .sym-grid.sym-hours-h7-h23 .sym-end-m26{margin-right:-2.70833333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m26{left:43.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m26{right:56.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m27{margin-left:2.8125%} .sym-grid.sym-hours-h7-h23 .sym-end-m27{margin-right:-2.8125%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m27{left:45%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m27{right:55%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m28{margin-left:2.91666667%} .sym-grid.sym-hours-h7-h23 .sym-end-m28{margin-right:-2.91666667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m28{left:46.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m28{right:53.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m29{margin-left:3.02083333%} .sym-grid.sym-hours-h7-h23 .sym-end-m29{margin-right:-3.02083333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m29{left:48.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m29{right:51.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m30{margin-left:3.125%} .sym-grid.sym-hours-h7-h23 .sym-end-m30{margin-right:-3.125%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m30{left:50%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m30{right:50%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m31{margin-left:3.22916667%} .sym-grid.sym-hours-h7-h23 .sym-end-m31{margin-right:-3.22916667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m31{left:51.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m31{right:48.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m32{margin-left:3.33333333%} .sym-grid.sym-hours-h7-h23 .sym-end-m32{margin-right:-3.33333333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m32{left:53.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m32{right:46.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m33{margin-left:3.4375%} .sym-grid.sym-hours-h7-h23 .sym-end-m33{margin-right:-3.4375%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m33{left:55%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m33{right:45%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m34{margin-left:3.54166667%} .sym-grid.sym-hours-h7-h23 .sym-end-m34{margin-right:-3.54166667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m34{left:56.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m34{right:43.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m35{margin-left:3.64583333%} .sym-grid.sym-hours-h7-h23 .sym-end-m35{margin-right:-3.64583333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m35{left:58.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m35{right:41.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m36{margin-left:3.75%} .sym-grid.sym-hours-h7-h23 .sym-end-m36{margin-right:-3.75%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m36{left:60%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m36{right:40%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m37{margin-left:3.85416667%} .sym-grid.sym-hours-h7-h23 .sym-end-m37{margin-right:-3.85416667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m37{left:61.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m37{right:38.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m38{margin-left:3.95833333%} .sym-grid.sym-hours-h7-h23 .sym-end-m38{margin-right:-3.95833333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m38{left:63.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m38{right:36.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m39{margin-left:4.0625%} .sym-grid.sym-hours-h7-h23 .sym-end-m39{margin-right:-4.0625%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m39{left:65%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m39{right:35%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m40{margin-left:4.16666667%} .sym-grid.sym-hours-h7-h23 .sym-end-m40{margin-right:-4.16666667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m40{left:66.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m40{right:33.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m41{margin-left:4.27083333%} .sym-grid.sym-hours-h7-h23 .sym-end-m41{margin-right:-4.27083333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m41{left:68.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m41{right:31.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m42{margin-left:4.375%} .sym-grid.sym-hours-h7-h23 .sym-end-m42{margin-right:-4.375%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m42{left:70%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m42{right:30%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m43{margin-left:4.47916667%} .sym-grid.sym-hours-h7-h23 .sym-end-m43{margin-right:-4.47916667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m43{left:71.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m43{right:28.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m44{margin-left:4.58333333%} .sym-grid.sym-hours-h7-h23 .sym-end-m44{margin-right:-4.58333333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m44{left:73.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m44{right:26.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m45{margin-left:4.6875%} .sym-grid.sym-hours-h7-h23 .sym-end-m45{margin-right:-4.6875%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m45{left:75%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m45{right:25%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m46{margin-left:4.79166667%} .sym-grid.sym-hours-h7-h23 .sym-end-m46{margin-right:-4.79166667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m46{left:76.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m46{right:23.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m47{margin-left:4.89583333%} .sym-grid.sym-hours-h7-h23 .sym-end-m47{margin-right:-4.89583333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m47{left:78.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m47{right:21.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m48{margin-left:5%} .sym-grid.sym-hours-h7-h23 .sym-end-m48{margin-right:-5%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m48{left:80%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m48{right:20%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m49{margin-left:5.10416667%} .sym-grid.sym-hours-h7-h23 .sym-end-m49{margin-right:-5.10416667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m49{left:81.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m49{right:18.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m50{margin-left:5.20833333%} .sym-grid.sym-hours-h7-h23 .sym-end-m50{margin-right:-5.20833333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m50{left:83.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m50{right:16.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m51{margin-left:5.3125%} .sym-grid.sym-hours-h7-h23 .sym-end-m51{margin-right:-5.3125%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m51{left:85%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m51{right:15%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m52{margin-left:5.41666667%} .sym-grid.sym-hours-h7-h23 .sym-end-m52{margin-right:-5.41666667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m52{left:86.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m52{right:13.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m53{margin-left:5.52083333%} .sym-grid.sym-hours-h7-h23 .sym-end-m53{margin-right:-5.52083333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m53{left:88.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m53{right:11.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m54{margin-left:5.625%} .sym-grid.sym-hours-h7-h23 .sym-end-m54{margin-right:-5.625%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m54{left:90%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m54{right:10%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m55{margin-left:5.72916667%} .sym-grid.sym-hours-h7-h23 .sym-end-m55{margin-right:-5.72916667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m55{left:91.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m55{right:8.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m56{margin-left:5.83333333%} .sym-grid.sym-hours-h7-h23 .sym-end-m56{margin-right:-5.83333333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m56{left:93.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m56{right:6.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m57{margin-left:5.9375%} .sym-grid.sym-hours-h7-h23 .sym-end-m57{margin-right:-5.9375%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m57{left:95%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m57{right:5%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m58{margin-left:6.04166667%} .sym-grid.sym-hours-h7-h23 .sym-end-m58{margin-right:-6.04166667%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m58{left:96.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m58{right:3.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m59{margin-left:6.14583333%} .sym-grid.sym-hours-h7-h23 .sym-end-m59{margin-right:-6.14583333%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m59{left:98.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m59{right:1.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-start-m60{margin-left:6.25%} .sym-grid.sym-hours-h7-h23 .sym-end-m60{margin-right:-6.25%} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-start-m60{left:100%;margin-left:-2px} .sym-grid.sym-hours-h7-h23.sym-variant-agenda.sym-level-day .sym-end-m60{right:0;margin-right:-2px} .sym-grid.sym-hours-h7-h23 .sym-hours-h0-h24-visible, .sym-grid.sym-hours-h7-h23 .sym-hours-h7-h21-visible, .sym-grid.sym-hours-h7-h23 .sym-hours-h8-h18-visible, .sym-grid.sym-hours-h7-h23 .sym-hours-h8-h22-visible{display:none} .sym-grid.sym-hours-h7-h21 .sym-start-h0{left:calc(-50% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h0{right:calc(150% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h1{left:calc(-42.85714286% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h1{right:calc(142.85714286% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h2{left:calc(-35.71428571% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h2{right:calc(135.71428571% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h3{left:calc(-28.57142857% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h3{right:calc(128.57142857% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h4{left:calc(-21.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h4{right:calc(121.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h5{left:calc(-14.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h5{right:calc(114.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h6{left:calc(-7.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h6{right:calc(107.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h7{left:0} .sym-grid.sym-hours-h7-h21 .sym-end-h7{right:100%} .sym-grid.sym-hours-h7-h21 .sym-start-h8{left:calc(7.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h8{right:calc(92.85714286% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h9{left:calc(14.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h9{right:calc(85.71428571% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h10{left:calc(21.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h10{right:calc(78.57142857% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h11{left:calc(28.57142857% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h11{right:calc(71.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h12{left:calc(35.71428571% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h12{right:calc(64.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h13{left:calc(42.85714286% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h13{right:calc(57.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h14{left:calc(50% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h14{right:calc(50% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h15{left:calc(57.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h15{right:calc(42.85714286% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h16{left:calc(64.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h16{right:calc(35.71428571% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h17{left:calc(71.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h17{right:calc(28.57142857% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h18{left:calc(78.57142857% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h18{right:calc(21.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h19{left:calc(85.71428571% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h19{right:calc(14.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h20{left:calc(92.85714286% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h20{right:calc(7.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h21{left:100%} .sym-grid.sym-hours-h7-h21 .sym-end-h21{right:0} .sym-grid.sym-hours-h7-h21 .sym-start-h22{left:calc(107.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h22{right:calc(-7.14285714% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h23{left:calc(114.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h23{right:calc(-14.28571429% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-h24{left:calc(121.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-end-h24{right:calc(-21.42857143% - 1px)} .sym-grid.sym-hours-h7-h21 .sym-start-m0{margin-left:0} .sym-grid.sym-hours-h7-h21 .sym-end-m0{margin-right:0} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m0{left:0;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m0{right:100%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m1{margin-left:.11904762%} .sym-grid.sym-hours-h7-h21 .sym-end-m1{margin-right:-.11904762%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m1{left:1.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m1{right:98.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m2{margin-left:.23809524%} .sym-grid.sym-hours-h7-h21 .sym-end-m2{margin-right:-.23809524%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m2{left:3.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m2{right:96.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m3{margin-left:.35714286%} .sym-grid.sym-hours-h7-h21 .sym-end-m3{margin-right:-.35714286%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m3{left:5%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m3{right:95%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m4{margin-left:.47619048%} .sym-grid.sym-hours-h7-h21 .sym-end-m4{margin-right:-.47619048%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m4{left:6.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m4{right:93.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m5{margin-left:.5952381%} .sym-grid.sym-hours-h7-h21 .sym-end-m5{margin-right:-.5952381%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m5{left:8.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m5{right:91.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m6{margin-left:.71428571%} .sym-grid.sym-hours-h7-h21 .sym-end-m6{margin-right:-.71428571%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m6{left:10%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m6{right:90%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m7{margin-left:.83333333%} .sym-grid.sym-hours-h7-h21 .sym-end-m7{margin-right:-.83333333%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m7{left:11.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m7{right:88.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m8{margin-left:.95238095%} .sym-grid.sym-hours-h7-h21 .sym-end-m8{margin-right:-.95238095%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m8{left:13.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m8{right:86.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m9{margin-left:1.07142857%} .sym-grid.sym-hours-h7-h21 .sym-end-m9{margin-right:-1.07142857%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m9{left:15%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m9{right:85%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m10{margin-left:1.19047619%} .sym-grid.sym-hours-h7-h21 .sym-end-m10{margin-right:-1.19047619%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m10{left:16.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m10{right:83.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m11{margin-left:1.30952381%} .sym-grid.sym-hours-h7-h21 .sym-end-m11{margin-right:-1.30952381%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m11{left:18.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m11{right:81.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m12{margin-left:1.42857143%} .sym-grid.sym-hours-h7-h21 .sym-end-m12{margin-right:-1.42857143%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m12{left:20%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m12{right:80%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m13{margin-left:1.54761905%} .sym-grid.sym-hours-h7-h21 .sym-end-m13{margin-right:-1.54761905%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m13{left:21.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m13{right:78.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m14{margin-left:1.66666667%} .sym-grid.sym-hours-h7-h21 .sym-end-m14{margin-right:-1.66666667%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m14{left:23.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m14{right:76.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m15{margin-left:1.78571429%} .sym-grid.sym-hours-h7-h21 .sym-end-m15{margin-right:-1.78571429%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m15{left:25%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m15{right:75%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m16{margin-left:1.9047619%} .sym-grid.sym-hours-h7-h21 .sym-end-m16{margin-right:-1.9047619%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m16{left:26.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m16{right:73.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m17{margin-left:2.02380952%} .sym-grid.sym-hours-h7-h21 .sym-end-m17{margin-right:-2.02380952%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m17{left:28.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m17{right:71.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m18{margin-left:2.14285714%} .sym-grid.sym-hours-h7-h21 .sym-end-m18{margin-right:-2.14285714%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m18{left:30%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m18{right:70%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m19{margin-left:2.26190476%} .sym-grid.sym-hours-h7-h21 .sym-end-m19{margin-right:-2.26190476%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m19{left:31.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m19{right:68.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m20{margin-left:2.38095238%} .sym-grid.sym-hours-h7-h21 .sym-end-m20{margin-right:-2.38095238%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m20{left:33.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m20{right:66.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m21{margin-left:2.5%} .sym-grid.sym-hours-h7-h21 .sym-end-m21{margin-right:-2.5%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m21{left:35%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m21{right:65%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m22{margin-left:2.61904762%} .sym-grid.sym-hours-h7-h21 .sym-end-m22{margin-right:-2.61904762%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m22{left:36.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m22{right:63.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m23{margin-left:2.73809524%} .sym-grid.sym-hours-h7-h21 .sym-end-m23{margin-right:-2.73809524%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m23{left:38.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m23{right:61.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m24{margin-left:2.85714286%} .sym-grid.sym-hours-h7-h21 .sym-end-m24{margin-right:-2.85714286%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m24{left:40%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m24{right:60%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m25{margin-left:2.97619048%} .sym-grid.sym-hours-h7-h21 .sym-end-m25{margin-right:-2.97619048%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m25{left:41.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m25{right:58.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m26{margin-left:3.0952381%} .sym-grid.sym-hours-h7-h21 .sym-end-m26{margin-right:-3.0952381%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m26{left:43.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m26{right:56.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m27{margin-left:3.21428571%} .sym-grid.sym-hours-h7-h21 .sym-end-m27{margin-right:-3.21428571%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m27{left:45%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m27{right:55%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m28{margin-left:3.33333333%} .sym-grid.sym-hours-h7-h21 .sym-end-m28{margin-right:-3.33333333%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m28{left:46.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m28{right:53.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m29{margin-left:3.45238095%} .sym-grid.sym-hours-h7-h21 .sym-end-m29{margin-right:-3.45238095%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m29{left:48.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m29{right:51.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m30{margin-left:3.57142857%} .sym-grid.sym-hours-h7-h21 .sym-end-m30{margin-right:-3.57142857%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m30{left:50%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m30{right:50%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m31{margin-left:3.69047619%} .sym-grid.sym-hours-h7-h21 .sym-end-m31{margin-right:-3.69047619%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m31{left:51.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m31{right:48.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m32{margin-left:3.80952381%} .sym-grid.sym-hours-h7-h21 .sym-end-m32{margin-right:-3.80952381%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m32{left:53.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m32{right:46.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m33{margin-left:3.92857143%} .sym-grid.sym-hours-h7-h21 .sym-end-m33{margin-right:-3.92857143%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m33{left:55%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m33{right:45%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m34{margin-left:4.04761905%} .sym-grid.sym-hours-h7-h21 .sym-end-m34{margin-right:-4.04761905%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m34{left:56.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m34{right:43.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m35{margin-left:4.16666667%} .sym-grid.sym-hours-h7-h21 .sym-end-m35{margin-right:-4.16666667%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m35{left:58.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m35{right:41.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m36{margin-left:4.28571429%} .sym-grid.sym-hours-h7-h21 .sym-end-m36{margin-right:-4.28571429%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m36{left:60%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m36{right:40%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m37{margin-left:4.4047619%} .sym-grid.sym-hours-h7-h21 .sym-end-m37{margin-right:-4.4047619%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m37{left:61.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m37{right:38.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m38{margin-left:4.52380952%} .sym-grid.sym-hours-h7-h21 .sym-end-m38{margin-right:-4.52380952%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m38{left:63.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m38{right:36.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m39{margin-left:4.64285714%} .sym-grid.sym-hours-h7-h21 .sym-end-m39{margin-right:-4.64285714%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m39{left:65%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m39{right:35%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m40{margin-left:4.76190476%} .sym-grid.sym-hours-h7-h21 .sym-end-m40{margin-right:-4.76190476%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m40{left:66.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m40{right:33.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m41{margin-left:4.88095238%} .sym-grid.sym-hours-h7-h21 .sym-end-m41{margin-right:-4.88095238%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m41{left:68.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m41{right:31.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m42{margin-left:5%} .sym-grid.sym-hours-h7-h21 .sym-end-m42{margin-right:-5%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m42{left:70%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m42{right:30%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m43{margin-left:5.11904762%} .sym-grid.sym-hours-h7-h21 .sym-end-m43{margin-right:-5.11904762%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m43{left:71.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m43{right:28.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m44{margin-left:5.23809524%} .sym-grid.sym-hours-h7-h21 .sym-end-m44{margin-right:-5.23809524%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m44{left:73.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m44{right:26.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m45{margin-left:5.35714286%} .sym-grid.sym-hours-h7-h21 .sym-end-m45{margin-right:-5.35714286%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m45{left:75%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m45{right:25%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m46{margin-left:5.47619048%} .sym-grid.sym-hours-h7-h21 .sym-end-m46{margin-right:-5.47619048%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m46{left:76.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m46{right:23.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m47{margin-left:5.5952381%} .sym-grid.sym-hours-h7-h21 .sym-end-m47{margin-right:-5.5952381%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m47{left:78.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m47{right:21.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m48{margin-left:5.71428571%} .sym-grid.sym-hours-h7-h21 .sym-end-m48{margin-right:-5.71428571%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m48{left:80%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m48{right:20%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m49{margin-left:5.83333333%} .sym-grid.sym-hours-h7-h21 .sym-end-m49{margin-right:-5.83333333%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m49{left:81.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m49{right:18.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m50{margin-left:5.95238095%} .sym-grid.sym-hours-h7-h21 .sym-end-m50{margin-right:-5.95238095%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m50{left:83.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m50{right:16.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m51{margin-left:6.07142857%} .sym-grid.sym-hours-h7-h21 .sym-end-m51{margin-right:-6.07142857%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m51{left:85%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m51{right:15%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m52{margin-left:6.19047619%} .sym-grid.sym-hours-h7-h21 .sym-end-m52{margin-right:-6.19047619%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m52{left:86.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m52{right:13.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m53{margin-left:6.30952381%} .sym-grid.sym-hours-h7-h21 .sym-end-m53{margin-right:-6.30952381%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m53{left:88.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m53{right:11.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m54{margin-left:6.42857143%} .sym-grid.sym-hours-h7-h21 .sym-end-m54{margin-right:-6.42857143%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m54{left:90%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m54{right:10%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m55{margin-left:6.54761905%} .sym-grid.sym-hours-h7-h21 .sym-end-m55{margin-right:-6.54761905%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m55{left:91.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m55{right:8.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m56{margin-left:6.66666667%} .sym-grid.sym-hours-h7-h21 .sym-end-m56{margin-right:-6.66666667%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m56{left:93.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m56{right:6.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m57{margin-left:6.78571429%} .sym-grid.sym-hours-h7-h21 .sym-end-m57{margin-right:-6.78571429%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m57{left:95%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m57{right:5%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m58{margin-left:6.9047619%} .sym-grid.sym-hours-h7-h21 .sym-end-m58{margin-right:-6.9047619%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m58{left:96.66666667%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m58{right:3.33333333%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m59{margin-left:7.02380952%} .sym-grid.sym-hours-h7-h21 .sym-end-m59{margin-right:-7.02380952%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m59{left:98.33333333%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m59{right:1.66666667%;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-start-m60{margin-left:7.14285714%} .sym-grid.sym-hours-h7-h21 .sym-end-m60{margin-right:-7.14285714%} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-start-m60{left:100%;margin-left:-2px} .sym-grid.sym-hours-h7-h21.sym-variant-agenda.sym-level-day .sym-end-m60{right:0;margin-right:-2px} .sym-grid.sym-hours-h7-h21 .sym-hours-h0-h24-visible, .sym-grid.sym-hours-h7-h21 .sym-hours-h7-h23-visible, .sym-grid.sym-hours-h7-h21 .sym-hours-h8-h18-visible, .sym-grid.sym-hours-h7-h21 .sym-hours-h8-h22-visible{display:none} .sym-grid.sym-hours-h8-h18 .sym-start-h0{left:calc(-80% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h0{right:calc(180% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h1{left:calc(-70% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h1{right:calc(170% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h2{left:calc(-60% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h2{right:calc(160% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h3{left:calc(-50% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h3{right:calc(150% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h4{left:calc(-40% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h4{right:calc(140% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h5{left:calc(-30% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h5{right:calc(130% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h6{left:calc(-20% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h6{right:calc(120% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h7{left:calc(-10% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h7{right:calc(110% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h8{left:0} .sym-grid.sym-hours-h8-h18 .sym-end-h8{right:100%} .sym-grid.sym-hours-h8-h18 .sym-start-h9{left:calc(10% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h9{right:calc(90% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h10{left:calc(20% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h10{right:calc(80% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h11{left:calc(30% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h11{right:calc(70% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h12{left:calc(40% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h12{right:calc(60% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h13{left:calc(50% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h13{right:calc(50% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h14{left:calc(60% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h14{right:calc(40% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h15{left:calc(70% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h15{right:calc(30% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h16{left:calc(80% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h16{right:calc(20% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h17{left:calc(90% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h17{right:calc(10% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h18{left:100%} .sym-grid.sym-hours-h8-h18 .sym-end-h18{right:0} .sym-grid.sym-hours-h8-h18 .sym-start-h19{left:calc(110% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h19{right:calc(-10% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h20{left:calc(120% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h20{right:calc(-20% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h21{left:calc(130% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h21{right:calc(-30% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h22{left:calc(140% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h22{right:calc(-40% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h23{left:calc(150% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h23{right:calc(-50% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-h24{left:calc(160% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-end-h24{right:calc(-60% - 1px)} .sym-grid.sym-hours-h8-h18 .sym-start-m0{margin-left:0} .sym-grid.sym-hours-h8-h18 .sym-end-m0{margin-right:0} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m0{left:0;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m0{right:100%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m1{margin-left:.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m1{margin-right:-.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m1{left:1.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m1{right:98.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m2{margin-left:.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m2{margin-right:-.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m2{left:3.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m2{right:96.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m3{margin-left:.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m3{margin-right:-.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m3{left:5%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m3{right:95%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m4{margin-left:.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m4{margin-right:-.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m4{left:6.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m4{right:93.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m5{margin-left:.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m5{margin-right:-.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m5{left:8.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m5{right:91.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m6{margin-left:1%} .sym-grid.sym-hours-h8-h18 .sym-end-m6{margin-right:-1%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m6{left:10%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m6{right:90%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m7{margin-left:1.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m7{margin-right:-1.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m7{left:11.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m7{right:88.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m8{margin-left:1.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m8{margin-right:-1.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m8{left:13.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m8{right:86.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m9{margin-left:1.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m9{margin-right:-1.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m9{left:15%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m9{right:85%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m10{margin-left:1.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m10{margin-right:-1.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m10{left:16.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m10{right:83.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m11{margin-left:1.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m11{margin-right:-1.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m11{left:18.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m11{right:81.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m12{margin-left:2%} .sym-grid.sym-hours-h8-h18 .sym-end-m12{margin-right:-2%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m12{left:20%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m12{right:80%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m13{margin-left:2.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m13{margin-right:-2.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m13{left:21.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m13{right:78.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m14{margin-left:2.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m14{margin-right:-2.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m14{left:23.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m14{right:76.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m15{margin-left:2.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m15{margin-right:-2.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m15{left:25%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m15{right:75%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m16{margin-left:2.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m16{margin-right:-2.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m16{left:26.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m16{right:73.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m17{margin-left:2.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m17{margin-right:-2.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m17{left:28.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m17{right:71.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m18{margin-left:3%} .sym-grid.sym-hours-h8-h18 .sym-end-m18{margin-right:-3%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m18{left:30%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m18{right:70%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m19{margin-left:3.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m19{margin-right:-3.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m19{left:31.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m19{right:68.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m20{margin-left:3.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m20{margin-right:-3.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m20{left:33.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m20{right:66.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m21{margin-left:3.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m21{margin-right:-3.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m21{left:35%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m21{right:65%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m22{margin-left:3.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m22{margin-right:-3.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m22{left:36.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m22{right:63.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m23{margin-left:3.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m23{margin-right:-3.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m23{left:38.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m23{right:61.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m24{margin-left:4%} .sym-grid.sym-hours-h8-h18 .sym-end-m24{margin-right:-4%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m24{left:40%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m24{right:60%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m25{margin-left:4.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m25{margin-right:-4.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m25{left:41.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m25{right:58.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m26{margin-left:4.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m26{margin-right:-4.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m26{left:43.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m26{right:56.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m27{margin-left:4.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m27{margin-right:-4.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m27{left:45%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m27{right:55%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m28{margin-left:4.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m28{margin-right:-4.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m28{left:46.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m28{right:53.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m29{margin-left:4.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m29{margin-right:-4.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m29{left:48.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m29{right:51.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m30{margin-left:5%} .sym-grid.sym-hours-h8-h18 .sym-end-m30{margin-right:-5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m30{left:50%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m30{right:50%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m31{margin-left:5.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m31{margin-right:-5.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m31{left:51.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m31{right:48.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m32{margin-left:5.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m32{margin-right:-5.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m32{left:53.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m32{right:46.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m33{margin-left:5.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m33{margin-right:-5.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m33{left:55%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m33{right:45%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m34{margin-left:5.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m34{margin-right:-5.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m34{left:56.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m34{right:43.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m35{margin-left:5.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m35{margin-right:-5.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m35{left:58.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m35{right:41.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m36{margin-left:6%} .sym-grid.sym-hours-h8-h18 .sym-end-m36{margin-right:-6%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m36{left:60%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m36{right:40%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m37{margin-left:6.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m37{margin-right:-6.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m37{left:61.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m37{right:38.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m38{margin-left:6.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m38{margin-right:-6.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m38{left:63.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m38{right:36.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m39{margin-left:6.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m39{margin-right:-6.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m39{left:65%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m39{right:35%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m40{margin-left:6.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m40{margin-right:-6.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m40{left:66.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m40{right:33.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m41{margin-left:6.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m41{margin-right:-6.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m41{left:68.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m41{right:31.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m42{margin-left:7%} .sym-grid.sym-hours-h8-h18 .sym-end-m42{margin-right:-7%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m42{left:70%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m42{right:30%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m43{margin-left:7.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m43{margin-right:-7.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m43{left:71.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m43{right:28.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m44{margin-left:7.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m44{margin-right:-7.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m44{left:73.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m44{right:26.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m45{margin-left:7.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m45{margin-right:-7.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m45{left:75%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m45{right:25%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m46{margin-left:7.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m46{margin-right:-7.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m46{left:76.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m46{right:23.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m47{margin-left:7.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m47{margin-right:-7.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m47{left:78.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m47{right:21.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m48{margin-left:8%} .sym-grid.sym-hours-h8-h18 .sym-end-m48{margin-right:-8%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m48{left:80%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m48{right:20%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m49{margin-left:8.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m49{margin-right:-8.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m49{left:81.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m49{right:18.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m50{margin-left:8.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m50{margin-right:-8.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m50{left:83.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m50{right:16.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m51{margin-left:8.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m51{margin-right:-8.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m51{left:85%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m51{right:15%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m52{margin-left:8.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m52{margin-right:-8.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m52{left:86.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m52{right:13.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m53{margin-left:8.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m53{margin-right:-8.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m53{left:88.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m53{right:11.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m54{margin-left:9%} .sym-grid.sym-hours-h8-h18 .sym-end-m54{margin-right:-9%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m54{left:90%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m54{right:10%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m55{margin-left:9.16666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m55{margin-right:-9.16666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m55{left:91.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m55{right:8.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m56{margin-left:9.33333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m56{margin-right:-9.33333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m56{left:93.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m56{right:6.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m57{margin-left:9.5%} .sym-grid.sym-hours-h8-h18 .sym-end-m57{margin-right:-9.5%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m57{left:95%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m57{right:5%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m58{margin-left:9.66666667%} .sym-grid.sym-hours-h8-h18 .sym-end-m58{margin-right:-9.66666667%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m58{left:96.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m58{right:3.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m59{margin-left:9.83333333%} .sym-grid.sym-hours-h8-h18 .sym-end-m59{margin-right:-9.83333333%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m59{left:98.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m59{right:1.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-start-m60{margin-left:10%} .sym-grid.sym-hours-h8-h18 .sym-end-m60{margin-right:-10%} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-start-m60{left:100%;margin-left:-2px} .sym-grid.sym-hours-h8-h18.sym-variant-agenda.sym-level-day .sym-end-m60{right:0;margin-right:-2px} .sym-grid.sym-hours-h8-h18 .sym-hours-h0-h24-visible, .sym-grid.sym-hours-h8-h18 .sym-hours-h7-h21-visible, .sym-grid.sym-hours-h8-h18 .sym-hours-h7-h23-visible, .sym-grid.sym-hours-h8-h18 .sym-hours-h8-h22-visible{display:none} .sym-grid.sym-hours-h8-h22 .sym-start-h0{left:calc(-57.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h0{right:calc(157.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h1{left:calc(-50% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h1{right:calc(150% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h2{left:calc(-42.85714286% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h2{right:calc(142.85714286% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h3{left:calc(-35.71428571% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h3{right:calc(135.71428571% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h4{left:calc(-28.57142857% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h4{right:calc(128.57142857% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h5{left:calc(-21.42857143% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h5{right:calc(121.42857143% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h6{left:calc(-14.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h6{right:calc(114.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h7{left:calc(-7.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h7{right:calc(107.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h8{left:0} .sym-grid.sym-hours-h8-h22 .sym-end-h8{right:100%} .sym-grid.sym-hours-h8-h22 .sym-start-h9{left:calc(7.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h9{right:calc(92.85714286% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h10{left:calc(14.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h10{right:calc(85.71428571% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h11{left:calc(21.42857143% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h11{right:calc(78.57142857% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h12{left:calc(28.57142857% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h12{right:calc(71.42857143% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h13{left:calc(35.71428571% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h13{right:calc(64.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h14{left:calc(42.85714286% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h14{right:calc(57.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h15{left:calc(50% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h15{right:calc(50% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h16{left:calc(57.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h16{right:calc(42.85714286% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h17{left:calc(64.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h17{right:calc(35.71428571% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h18{left:calc(71.42857143% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h18{right:calc(28.57142857% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h19{left:calc(78.57142857% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h19{right:calc(21.42857143% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h20{left:calc(85.71428571% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h20{right:calc(14.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h21{left:calc(92.85714286% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h21{right:calc(7.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h22{left:100%} .sym-grid.sym-hours-h8-h22 .sym-end-h22{right:0} .sym-grid.sym-hours-h8-h22 .sym-start-h23{left:calc(107.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h23{right:calc(-7.14285714% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-h24{left:calc(114.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-end-h24{right:calc(-14.28571429% - 1px)} .sym-grid.sym-hours-h8-h22 .sym-start-m0{margin-left:0} .sym-grid.sym-hours-h8-h22 .sym-end-m0{margin-right:0} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m0{left:0;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m0{right:100%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m1{margin-left:.11904762%} .sym-grid.sym-hours-h8-h22 .sym-end-m1{margin-right:-.11904762%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m1{left:1.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m1{right:98.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m2{margin-left:.23809524%} .sym-grid.sym-hours-h8-h22 .sym-end-m2{margin-right:-.23809524%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m2{left:3.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m2{right:96.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m3{margin-left:.35714286%} .sym-grid.sym-hours-h8-h22 .sym-end-m3{margin-right:-.35714286%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m3{left:5%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m3{right:95%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m4{margin-left:.47619048%} .sym-grid.sym-hours-h8-h22 .sym-end-m4{margin-right:-.47619048%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m4{left:6.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m4{right:93.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m5{margin-left:.5952381%} .sym-grid.sym-hours-h8-h22 .sym-end-m5{margin-right:-.5952381%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m5{left:8.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m5{right:91.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m6{margin-left:.71428571%} .sym-grid.sym-hours-h8-h22 .sym-end-m6{margin-right:-.71428571%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m6{left:10%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m6{right:90%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m7{margin-left:.83333333%} .sym-grid.sym-hours-h8-h22 .sym-end-m7{margin-right:-.83333333%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m7{left:11.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m7{right:88.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m8{margin-left:.95238095%} .sym-grid.sym-hours-h8-h22 .sym-end-m8{margin-right:-.95238095%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m8{left:13.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m8{right:86.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m9{margin-left:1.07142857%} .sym-grid.sym-hours-h8-h22 .sym-end-m9{margin-right:-1.07142857%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m9{left:15%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m9{right:85%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m10{margin-left:1.19047619%} .sym-grid.sym-hours-h8-h22 .sym-end-m10{margin-right:-1.19047619%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m10{left:16.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m10{right:83.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m11{margin-left:1.30952381%} .sym-grid.sym-hours-h8-h22 .sym-end-m11{margin-right:-1.30952381%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m11{left:18.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m11{right:81.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m12{margin-left:1.42857143%} .sym-grid.sym-hours-h8-h22 .sym-end-m12{margin-right:-1.42857143%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m12{left:20%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m12{right:80%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m13{margin-left:1.54761905%} .sym-grid.sym-hours-h8-h22 .sym-end-m13{margin-right:-1.54761905%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m13{left:21.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m13{right:78.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m14{margin-left:1.66666667%} .sym-grid.sym-hours-h8-h22 .sym-end-m14{margin-right:-1.66666667%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m14{left:23.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m14{right:76.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m15{margin-left:1.78571429%} .sym-grid.sym-hours-h8-h22 .sym-end-m15{margin-right:-1.78571429%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m15{left:25%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m15{right:75%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m16{margin-left:1.9047619%} .sym-grid.sym-hours-h8-h22 .sym-end-m16{margin-right:-1.9047619%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m16{left:26.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m16{right:73.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m17{margin-left:2.02380952%} .sym-grid.sym-hours-h8-h22 .sym-end-m17{margin-right:-2.02380952%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m17{left:28.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m17{right:71.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m18{margin-left:2.14285714%} .sym-grid.sym-hours-h8-h22 .sym-end-m18{margin-right:-2.14285714%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m18{left:30%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m18{right:70%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m19{margin-left:2.26190476%} .sym-grid.sym-hours-h8-h22 .sym-end-m19{margin-right:-2.26190476%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m19{left:31.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m19{right:68.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m20{margin-left:2.38095238%} .sym-grid.sym-hours-h8-h22 .sym-end-m20{margin-right:-2.38095238%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m20{left:33.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m20{right:66.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m21{margin-left:2.5%} .sym-grid.sym-hours-h8-h22 .sym-end-m21{margin-right:-2.5%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m21{left:35%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m21{right:65%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m22{margin-left:2.61904762%} .sym-grid.sym-hours-h8-h22 .sym-end-m22{margin-right:-2.61904762%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m22{left:36.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m22{right:63.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m23{margin-left:2.73809524%} .sym-grid.sym-hours-h8-h22 .sym-end-m23{margin-right:-2.73809524%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m23{left:38.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m23{right:61.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m24{margin-left:2.85714286%} .sym-grid.sym-hours-h8-h22 .sym-end-m24{margin-right:-2.85714286%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m24{left:40%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m24{right:60%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m25{margin-left:2.97619048%} .sym-grid.sym-hours-h8-h22 .sym-end-m25{margin-right:-2.97619048%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m25{left:41.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m25{right:58.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m26{margin-left:3.0952381%} .sym-grid.sym-hours-h8-h22 .sym-end-m26{margin-right:-3.0952381%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m26{left:43.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m26{right:56.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m27{margin-left:3.21428571%} .sym-grid.sym-hours-h8-h22 .sym-end-m27{margin-right:-3.21428571%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m27{left:45%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m27{right:55%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m28{margin-left:3.33333333%} .sym-grid.sym-hours-h8-h22 .sym-end-m28{margin-right:-3.33333333%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m28{left:46.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m28{right:53.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m29{margin-left:3.45238095%} .sym-grid.sym-hours-h8-h22 .sym-end-m29{margin-right:-3.45238095%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m29{left:48.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m29{right:51.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m30{margin-left:3.57142857%} .sym-grid.sym-hours-h8-h22 .sym-end-m30{margin-right:-3.57142857%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m30{left:50%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m30{right:50%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m31{margin-left:3.69047619%} .sym-grid.sym-hours-h8-h22 .sym-end-m31{margin-right:-3.69047619%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m31{left:51.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m31{right:48.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m32{margin-left:3.80952381%} .sym-grid.sym-hours-h8-h22 .sym-end-m32{margin-right:-3.80952381%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m32{left:53.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m32{right:46.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m33{margin-left:3.92857143%} .sym-grid.sym-hours-h8-h22 .sym-end-m33{margin-right:-3.92857143%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m33{left:55%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m33{right:45%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m34{margin-left:4.04761905%} .sym-grid.sym-hours-h8-h22 .sym-end-m34{margin-right:-4.04761905%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m34{left:56.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m34{right:43.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m35{margin-left:4.16666667%} .sym-grid.sym-hours-h8-h22 .sym-end-m35{margin-right:-4.16666667%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m35{left:58.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m35{right:41.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m36{margin-left:4.28571429%} .sym-grid.sym-hours-h8-h22 .sym-end-m36{margin-right:-4.28571429%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m36{left:60%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m36{right:40%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m37{margin-left:4.4047619%} .sym-grid.sym-hours-h8-h22 .sym-end-m37{margin-right:-4.4047619%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m37{left:61.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m37{right:38.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m38{margin-left:4.52380952%} .sym-grid.sym-hours-h8-h22 .sym-end-m38{margin-right:-4.52380952%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m38{left:63.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m38{right:36.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m39{margin-left:4.64285714%} .sym-grid.sym-hours-h8-h22 .sym-end-m39{margin-right:-4.64285714%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m39{left:65%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m39{right:35%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m40{margin-left:4.76190476%} .sym-grid.sym-hours-h8-h22 .sym-end-m40{margin-right:-4.76190476%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m40{left:66.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m40{right:33.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m41{margin-left:4.88095238%} .sym-grid.sym-hours-h8-h22 .sym-end-m41{margin-right:-4.88095238%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m41{left:68.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m41{right:31.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m42{margin-left:5%} .sym-grid.sym-hours-h8-h22 .sym-end-m42{margin-right:-5%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m42{left:70%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m42{right:30%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m43{margin-left:5.11904762%} .sym-grid.sym-hours-h8-h22 .sym-end-m43{margin-right:-5.11904762%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m43{left:71.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m43{right:28.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m44{margin-left:5.23809524%} .sym-grid.sym-hours-h8-h22 .sym-end-m44{margin-right:-5.23809524%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m44{left:73.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m44{right:26.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m45{margin-left:5.35714286%} .sym-grid.sym-hours-h8-h22 .sym-end-m45{margin-right:-5.35714286%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m45{left:75%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m45{right:25%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m46{margin-left:5.47619048%} .sym-grid.sym-hours-h8-h22 .sym-end-m46{margin-right:-5.47619048%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m46{left:76.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m46{right:23.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m47{margin-left:5.5952381%} .sym-grid.sym-hours-h8-h22 .sym-end-m47{margin-right:-5.5952381%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m47{left:78.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m47{right:21.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m48{margin-left:5.71428571%} .sym-grid.sym-hours-h8-h22 .sym-end-m48{margin-right:-5.71428571%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m48{left:80%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m48{right:20%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m49{margin-left:5.83333333%} .sym-grid.sym-hours-h8-h22 .sym-end-m49{margin-right:-5.83333333%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m49{left:81.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m49{right:18.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m50{margin-left:5.95238095%} .sym-grid.sym-hours-h8-h22 .sym-end-m50{margin-right:-5.95238095%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m50{left:83.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m50{right:16.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m51{margin-left:6.07142857%} .sym-grid.sym-hours-h8-h22 .sym-end-m51{margin-right:-6.07142857%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m51{left:85%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m51{right:15%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m52{margin-left:6.19047619%} .sym-grid.sym-hours-h8-h22 .sym-end-m52{margin-right:-6.19047619%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m52{left:86.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m52{right:13.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m53{margin-left:6.30952381%} .sym-grid.sym-hours-h8-h22 .sym-end-m53{margin-right:-6.30952381%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m53{left:88.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m53{right:11.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m54{margin-left:6.42857143%} .sym-grid.sym-hours-h8-h22 .sym-end-m54{margin-right:-6.42857143%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m54{left:90%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m54{right:10%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m55{margin-left:6.54761905%} .sym-grid.sym-hours-h8-h22 .sym-end-m55{margin-right:-6.54761905%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m55{left:91.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m55{right:8.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m56{margin-left:6.66666667%} .sym-grid.sym-hours-h8-h22 .sym-end-m56{margin-right:-6.66666667%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m56{left:93.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m56{right:6.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m57{margin-left:6.78571429%} .sym-grid.sym-hours-h8-h22 .sym-end-m57{margin-right:-6.78571429%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m57{left:95%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m57{right:5%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m58{margin-left:6.9047619%} .sym-grid.sym-hours-h8-h22 .sym-end-m58{margin-right:-6.9047619%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m58{left:96.66666667%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m58{right:3.33333333%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m59{margin-left:7.02380952%} .sym-grid.sym-hours-h8-h22 .sym-end-m59{margin-right:-7.02380952%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m59{left:98.33333333%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m59{right:1.66666667%;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-start-m60{margin-left:7.14285714%} .sym-grid.sym-hours-h8-h22 .sym-end-m60{margin-right:-7.14285714%} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-start-m60{left:100%;margin-left:-2px} .sym-grid.sym-hours-h8-h22.sym-variant-agenda.sym-level-day .sym-end-m60{right:0;margin-right:-2px} .sym-grid.sym-hours-h8-h22 .sym-hours-h0-h24-visible, .sym-grid.sym-hours-h8-h22 .sym-hours-h7-h21-visible, .sym-grid.sym-hours-h8-h22 .sym-hours-h7-h23-visible, .sym-grid.sym-hours-h8-h22 .sym-hours-h8-h18-visible{display:none} .sym-grid.sym-hours-h0-h24 .sym-start-h0{left:0} .sym-grid.sym-hours-h0-h24 .sym-end-h0{right:100%} .sym-grid.sym-hours-h0-h24 .sym-start-h1{left:calc(4.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h1{right:calc(95.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h2{left:calc(8.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h2{right:calc(91.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h3{left:calc(12.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h3{right:calc(87.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h4{left:calc(16.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h4{right:calc(83.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h5{left:calc(20.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h5{right:calc(79.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h6{left:calc(25% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h6{right:calc(75% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h7{left:calc(29.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h7{right:calc(70.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h8{left:calc(33.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h8{right:calc(66.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h9{left:calc(37.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h9{right:calc(62.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h10{left:calc(41.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h10{right:calc(58.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h11{left:calc(45.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h11{right:calc(54.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h12{left:calc(50% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h12{right:calc(50% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h13{left:calc(54.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h13{right:calc(45.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h14{left:calc(58.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h14{right:calc(41.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h15{left:calc(62.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h15{right:calc(37.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h16{left:calc(66.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h16{right:calc(33.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h17{left:calc(70.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h17{right:calc(29.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h18{left:calc(75% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h18{right:calc(25% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h19{left:calc(79.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h19{right:calc(20.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h20{left:calc(83.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h20{right:calc(16.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h21{left:calc(87.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h21{right:calc(12.5% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h22{left:calc(91.66666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h22{right:calc(8.33333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h23{left:calc(95.83333333% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-end-h23{right:calc(4.16666667% - 1px)} .sym-grid.sym-hours-h0-h24 .sym-start-h24{left:100%} .sym-grid.sym-hours-h0-h24 .sym-end-h24{right:0} .sym-grid.sym-hours-h0-h24 .sym-start-m0{margin-left:0} .sym-grid.sym-hours-h0-h24 .sym-end-m0{margin-right:0} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m0{left:0;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m0{right:100%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m1{margin-left:.06944444%} .sym-grid.sym-hours-h0-h24 .sym-end-m1{margin-right:-.06944444%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m1{left:1.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m1{right:98.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m2{margin-left:.13888889%} .sym-grid.sym-hours-h0-h24 .sym-end-m2{margin-right:-.13888889%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m2{left:3.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m2{right:96.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m3{margin-left:.20833333%} .sym-grid.sym-hours-h0-h24 .sym-end-m3{margin-right:-.20833333%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m3{left:5%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m3{right:95%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m4{margin-left:.27777778%} .sym-grid.sym-hours-h0-h24 .sym-end-m4{margin-right:-.27777778%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m4{left:6.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m4{right:93.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m5{margin-left:.34722222%} .sym-grid.sym-hours-h0-h24 .sym-end-m5{margin-right:-.34722222%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m5{left:8.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m5{right:91.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m6{margin-left:.41666667%} .sym-grid.sym-hours-h0-h24 .sym-end-m6{margin-right:-.41666667%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m6{left:10%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m6{right:90%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m7{margin-left:.48611111%} .sym-grid.sym-hours-h0-h24 .sym-end-m7{margin-right:-.48611111%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m7{left:11.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m7{right:88.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m8{margin-left:.55555556%} .sym-grid.sym-hours-h0-h24 .sym-end-m8{margin-right:-.55555556%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m8{left:13.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m8{right:86.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m9{margin-left:.625%} .sym-grid.sym-hours-h0-h24 .sym-end-m9{margin-right:-.625%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m9{left:15%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m9{right:85%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m10{margin-left:.69444444%} .sym-grid.sym-hours-h0-h24 .sym-end-m10{margin-right:-.69444444%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m10{left:16.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m10{right:83.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m11{margin-left:.76388889%} .sym-grid.sym-hours-h0-h24 .sym-end-m11{margin-right:-.76388889%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m11{left:18.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m11{right:81.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m12{margin-left:.83333333%} .sym-grid.sym-hours-h0-h24 .sym-end-m12{margin-right:-.83333333%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m12{left:20%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m12{right:80%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m13{margin-left:.90277778%} .sym-grid.sym-hours-h0-h24 .sym-end-m13{margin-right:-.90277778%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m13{left:21.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m13{right:78.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m14{margin-left:.97222222%} .sym-grid.sym-hours-h0-h24 .sym-end-m14{margin-right:-.97222222%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m14{left:23.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m14{right:76.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m15{margin-left:1.04166667%} .sym-grid.sym-hours-h0-h24 .sym-end-m15{margin-right:-1.04166667%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m15{left:25%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m15{right:75%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m16{margin-left:1.11111111%} .sym-grid.sym-hours-h0-h24 .sym-end-m16{margin-right:-1.11111111%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m16{left:26.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m16{right:73.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m17{margin-left:1.18055556%} .sym-grid.sym-hours-h0-h24 .sym-end-m17{margin-right:-1.18055556%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m17{left:28.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m17{right:71.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m18{margin-left:1.25%} .sym-grid.sym-hours-h0-h24 .sym-end-m18{margin-right:-1.25%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m18{left:30%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m18{right:70%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m19{margin-left:1.31944444%} .sym-grid.sym-hours-h0-h24 .sym-end-m19{margin-right:-1.31944444%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m19{left:31.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m19{right:68.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m20{margin-left:1.38888889%} .sym-grid.sym-hours-h0-h24 .sym-end-m20{margin-right:-1.38888889%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m20{left:33.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m20{right:66.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m21{margin-left:1.45833333%} .sym-grid.sym-hours-h0-h24 .sym-end-m21{margin-right:-1.45833333%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m21{left:35%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m21{right:65%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m22{margin-left:1.52777778%} .sym-grid.sym-hours-h0-h24 .sym-end-m22{margin-right:-1.52777778%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m22{left:36.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m22{right:63.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m23{margin-left:1.59722222%} .sym-grid.sym-hours-h0-h24 .sym-end-m23{margin-right:-1.59722222%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m23{left:38.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m23{right:61.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m24{margin-left:1.66666667%} .sym-grid.sym-hours-h0-h24 .sym-end-m24{margin-right:-1.66666667%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m24{left:40%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m24{right:60%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m25{margin-left:1.73611111%} .sym-grid.sym-hours-h0-h24 .sym-end-m25{margin-right:-1.73611111%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m25{left:41.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m25{right:58.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m26{margin-left:1.80555556%} .sym-grid.sym-hours-h0-h24 .sym-end-m26{margin-right:-1.80555556%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m26{left:43.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m26{right:56.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m27{margin-left:1.875%} .sym-grid.sym-hours-h0-h24 .sym-end-m27{margin-right:-1.875%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m27{left:45%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m27{right:55%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m28{margin-left:1.94444444%} .sym-grid.sym-hours-h0-h24 .sym-end-m28{margin-right:-1.94444444%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m28{left:46.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m28{right:53.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m29{margin-left:2.01388889%} .sym-grid.sym-hours-h0-h24 .sym-end-m29{margin-right:-2.01388889%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m29{left:48.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m29{right:51.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m30{margin-left:2.08333333%} .sym-grid.sym-hours-h0-h24 .sym-end-m30{margin-right:-2.08333333%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m30{left:50%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m30{right:50%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m31{margin-left:2.15277778%} .sym-grid.sym-hours-h0-h24 .sym-end-m31{margin-right:-2.15277778%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m31{left:51.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m31{right:48.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m32{margin-left:2.22222222%} .sym-grid.sym-hours-h0-h24 .sym-end-m32{margin-right:-2.22222222%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m32{left:53.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m32{right:46.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m33{margin-left:2.29166667%} .sym-grid.sym-hours-h0-h24 .sym-end-m33{margin-right:-2.29166667%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m33{left:55%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m33{right:45%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m34{margin-left:2.36111111%} .sym-grid.sym-hours-h0-h24 .sym-end-m34{margin-right:-2.36111111%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m34{left:56.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m34{right:43.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m35{margin-left:2.43055556%} .sym-grid.sym-hours-h0-h24 .sym-end-m35{margin-right:-2.43055556%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m35{left:58.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m35{right:41.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m36{margin-left:2.5%} .sym-grid.sym-hours-h0-h24 .sym-end-m36{margin-right:-2.5%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m36{left:60%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m36{right:40%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m37{margin-left:2.56944444%} .sym-grid.sym-hours-h0-h24 .sym-end-m37{margin-right:-2.56944444%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m37{left:61.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m37{right:38.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m38{margin-left:2.63888889%} .sym-grid.sym-hours-h0-h24 .sym-end-m38{margin-right:-2.63888889%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m38{left:63.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m38{right:36.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m39{margin-left:2.70833333%} .sym-grid.sym-hours-h0-h24 .sym-end-m39{margin-right:-2.70833333%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m39{left:65%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m39{right:35%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m40{margin-left:2.77777778%} .sym-grid.sym-hours-h0-h24 .sym-end-m40{margin-right:-2.77777778%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m40{left:66.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m40{right:33.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m41{margin-left:2.84722222%} .sym-grid.sym-hours-h0-h24 .sym-end-m41{margin-right:-2.84722222%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m41{left:68.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m41{right:31.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m42{margin-left:2.91666667%} .sym-grid.sym-hours-h0-h24 .sym-end-m42{margin-right:-2.91666667%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m42{left:70%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m42{right:30%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m43{margin-left:2.98611111%} .sym-grid.sym-hours-h0-h24 .sym-end-m43{margin-right:-2.98611111%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m43{left:71.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m43{right:28.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m44{margin-left:3.05555556%} .sym-grid.sym-hours-h0-h24 .sym-end-m44{margin-right:-3.05555556%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m44{left:73.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m44{right:26.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m45{margin-left:3.125%} .sym-grid.sym-hours-h0-h24 .sym-end-m45{margin-right:-3.125%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m45{left:75%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m45{right:25%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m46{margin-left:3.19444444%} .sym-grid.sym-hours-h0-h24 .sym-end-m46{margin-right:-3.19444444%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m46{left:76.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m46{right:23.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m47{margin-left:3.26388889%} .sym-grid.sym-hours-h0-h24 .sym-end-m47{margin-right:-3.26388889%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m47{left:78.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m47{right:21.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m48{margin-left:3.33333333%} .sym-grid.sym-hours-h0-h24 .sym-end-m48{margin-right:-3.33333333%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m48{left:80%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m48{right:20%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m49{margin-left:3.40277778%} .sym-grid.sym-hours-h0-h24 .sym-end-m49{margin-right:-3.40277778%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m49{left:81.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m49{right:18.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m50{margin-left:3.47222222%} .sym-grid.sym-hours-h0-h24 .sym-end-m50{margin-right:-3.47222222%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m50{left:83.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m50{right:16.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m51{margin-left:3.54166667%} .sym-grid.sym-hours-h0-h24 .sym-end-m51{margin-right:-3.54166667%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m51{left:85%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m51{right:15%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m52{margin-left:3.61111111%} .sym-grid.sym-hours-h0-h24 .sym-end-m52{margin-right:-3.61111111%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m52{left:86.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m52{right:13.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m53{margin-left:3.68055556%} .sym-grid.sym-hours-h0-h24 .sym-end-m53{margin-right:-3.68055556%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m53{left:88.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m53{right:11.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m54{margin-left:3.75%} .sym-grid.sym-hours-h0-h24 .sym-end-m54{margin-right:-3.75%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m54{left:90%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m54{right:10%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m55{margin-left:3.81944444%} .sym-grid.sym-hours-h0-h24 .sym-end-m55{margin-right:-3.81944444%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m55{left:91.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m55{right:8.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m56{margin-left:3.88888889%} .sym-grid.sym-hours-h0-h24 .sym-end-m56{margin-right:-3.88888889%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m56{left:93.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m56{right:6.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m57{margin-left:3.95833333%} .sym-grid.sym-hours-h0-h24 .sym-end-m57{margin-right:-3.95833333%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m57{left:95%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m57{right:5%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m58{margin-left:4.02777778%} .sym-grid.sym-hours-h0-h24 .sym-end-m58{margin-right:-4.02777778%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m58{left:96.66666667%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m58{right:3.33333333%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m59{margin-left:4.09722222%} .sym-grid.sym-hours-h0-h24 .sym-end-m59{margin-right:-4.09722222%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m59{left:98.33333333%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m59{right:1.66666667%;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-start-m60{margin-left:4.16666667%} .sym-grid.sym-hours-h0-h24 .sym-end-m60{margin-right:-4.16666667%} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-start-m60{left:100%;margin-left:-2px} .sym-grid.sym-hours-h0-h24.sym-variant-agenda.sym-level-day .sym-end-m60{right:0;margin-right:-2px} .sym-grid.sym-hours-h0-h24 .sym-hours-h7-h21-visible, .sym-grid.sym-hours-h0-h24 .sym-hours-h7-h23-visible, .sym-grid.sym-hours-h0-h24 .sym-hours-h8-h18-visible, .sym-grid.sym-hours-h0-h24 .sym-hours-h8-h22-visible{display:none} .sym-grid .sym-grid-bar, .sym-grid .sym-grid-display, .sym-grid .sym-grid-drag{min-height:37px} .sym-grid .sym-grid-bar .sym-grid-segments, .sym-grid .sym-grid-display .sym-grid-segments, .sym-grid .sym-grid-drag .sym-grid-segments{width:100%;float:left} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment .sym-rows, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment .sym-rows, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment .sym-rows{border-right:1px solid #ccc} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment .sym-rows:first-child, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment .sym-rows:first-child, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment .sym-rows:first-child{border-left:1px solid #ccc}@media (max-width:767.98px){ .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment .sym-rows, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment .sym-rows, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment .sym-rows{border-left:1px solid #ccc}} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment:first-child, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment:first-child, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment:first-child{border-top:1px solid #ccc} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant{-webkit-transition:top 1s ease 0s;transition:top 1s ease 0s;z-index:1} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-1, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-1, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-1, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-1, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-1, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-1, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-1, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-1, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-1{top:11px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-2, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-2, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-2, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-2, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-2, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-2, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-2, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-2, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-2{top:23px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-3, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-3, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-3, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-3, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-3, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-3, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-3, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-3, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-3{top:35px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-4, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-4, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-4, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-4, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-4, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-4, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-4, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-4, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-4{top:47px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-5, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-5, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-5, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-5, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-5, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-5, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-5, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-5, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-5{top:59px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-6, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-6, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-6, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-6, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-6, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-6, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-6, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-6, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-6{top:71px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-7, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-7, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-7, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-7, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-7, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-7, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-7, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-7, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-7{top:83px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-8, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-8, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-8, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-8, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-8, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-8, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-8, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-8, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-8{top:95px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-9, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-9, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-9, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-9, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-9, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-9, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-9, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-9, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-9{top:107px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-10, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-10, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-10, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-10, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-10, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-10, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-10, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-10, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-10{top:119px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-11, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-11, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-11, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-11, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-11, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-11, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-11, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-11, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-11{top:131px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-12, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-12, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-12, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-12, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-12, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-12, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-12, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-12, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-12{top:143px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-13, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-13, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-13, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-13, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-13, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-13, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-13, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-13, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-13{top:155px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-14, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-14, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-14, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-14, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-14, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-14, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-14, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-14, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-14{top:167px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-15, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-15, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-15, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-15, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-15, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-15, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-15, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-15, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-15{top:179px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-16, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-16, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-16, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-16, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-16, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-16, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-16, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-16, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-16{top:191px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-17, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-17, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-17, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-17, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-17, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-17, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-17, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-17, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-17{top:203px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-18, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-18, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-18, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-18, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-18, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-18, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-18, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-18, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-18{top:215px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-19, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-19, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-19, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-19, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-19, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-19, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-19, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-19, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-19{top:227px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-20, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-20, .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-20, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-20, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-20, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-20, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-absence.sym-zindex-20, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-appointment.sym-zindex-20, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-assignment.sym-zindex-20{top:239px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-1, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-1, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-1{top:31px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-2, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-2, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-2{top:43px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-3, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-3, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-3{top:55px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-4, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-4, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-4{top:67px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-5, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-5, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-5{top:79px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-6, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-6, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-6{top:91px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-7, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-7, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-7{top:103px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-8, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-8, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-8{top:115px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-9, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-9, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-9{top:127px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-10, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-10, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-10{top:139px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-11, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-11, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-11{top:151px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-12, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-12, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-12{top:163px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-13, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-13, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-13{top:175px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-14, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-14, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-14{top:187px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-15, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-15, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-15{top:199px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-16, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-16, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-16{top:211px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-17, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-17, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-17{top:223px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-18, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-18, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-18{top:235px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-19, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-19, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-19{top:247px!important} .sym-grid .sym-grid-bar .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-20, .sym-grid .sym-grid-display .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-20, .sym-grid .sym-grid-drag .sym-grid-segments .sym-grid-segment.sym-grid-expanded .sym-attendant.sym-zindex-20{top:259px!important} .sym-grid .sym-grid-bar .sym-rows, .sym-grid .sym-grid-display .sym-rows, .sym-grid .sym-grid-drag .sym-rows{float:left} .sym-grid .sym-grid-bar .sym-rows.sym-rows-full, .sym-grid .sym-grid-display .sym-rows.sym-rows-full, .sym-grid .sym-grid-drag .sym-rows.sym-rows-full{width:100%!important} .sym-grid .sym-grid-bar .sym-rows .sym-row, .sym-grid .sym-grid-display .sym-rows .sym-row, .sym-grid .sym-grid-drag .sym-rows .sym-row{position:relative;background-color:#fff;border-bottom:1px solid #ccc} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-text, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-text, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-text{background-color:#fff} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-full, .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-full .sym-column, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-full, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-full .sym-column, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-full, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-full .sym-column{height:84px} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-full .sym-column .sym-texts, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-full .sym-column .sym-texts, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-full .sym-column .sym-texts{margin-top:42px} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-half, .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-half .sym-column, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-half, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-half .sym-column, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-half, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-half .sym-column{height:42px} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-quarter, .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-quarter .sym-column, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-quarter, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-quarter .sym-column, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-quarter, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-quarter .sym-column{height:21px} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-five-eighths, .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-five-eighths>.sym-column, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-five-eighths, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-five-eighths>.sym-column, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-five-eighths, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-five-eighths>.sym-column{height:52.5px} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-eighth, .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-eighth .sym-column, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-eighth, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-eighth .sym-column, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-eighth, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-eighth .sym-column{height:10.5px} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-as-button, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-as-button, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-as-button{background-color:#e0e0e0} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-drop, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-drop, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-drop{color:#dee2e6} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-drop.sym-row-drop-active, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-drop.sym-row-drop-active, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-drop.sym-row-drop-active{color:#343a40} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-row-unavailable, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-row-unavailable, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-row-unavailable{background-color:#f2f2f2} .sym-grid .sym-grid-bar .sym-rows .sym-row.sym-no-border, .sym-grid .sym-grid-display .sym-rows .sym-row.sym-no-border, .sym-grid .sym-grid-drag .sym-rows .sym-row.sym-no-border{border:0} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column{float:left;position:relative;border-right:1px solid #ccc} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column:last-child, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column:last-child, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column:last-child{border-right:none} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column .sym-texts .sym-text, .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column .text-truncate, .sym-grid .sym-grid-bar .sym-texts .sym-grid-display .sym-rows .sym-row .sym-column .sym-text, .sym-grid .sym-grid-bar .sym-texts .sym-grid-drag .sym-rows .sym-row .sym-column .sym-text, .sym-grid .sym-grid-bar .sym-texts .sym-rows .sym-row .sym-column .sym-text, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column .text-truncate, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column .text-truncate{padding-left:.3rem!important;padding-right:.3rem!important} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column.sym-column-click, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column.sym-column-click, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column.sym-column-click{cursor:pointer} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column .sym-grid-clicker, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column .sym-grid-clicker, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column .sym-grid-clicker{position:absolute;right:0;left:0;top:0;bottom:0;z-index:2;cursor:pointer} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column .sym-column-icons, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column .sym-column-icons, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column .sym-column-icons{position:absolute;right:3px;top:0} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column .sym-drop-target, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column .sym-drop-target, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column .sym-drop-target{position:absolute;top:-1px;right:0;bottom:0;left:-1px;z-index:30} .sym-grid .sym-grid-bar .sym-rows .sym-row .sym-column .sym-drop-target.sym-drop-target-no-match, .sym-grid .sym-grid-display .sym-rows .sym-row .sym-column .sym-drop-target.sym-drop-target-no-match, .sym-grid .sym-grid-drag .sym-rows .sym-row .sym-column .sym-drop-target.sym-drop-target-no-match{background-color:rgba(0,0,0,.4)}@media (min-width:768px){ .sym-grid .sym-grid-bar{padding-right:0}}@media (max-width:767.98px){ .sym-grid .sym-grid-bar .sym-grid-segment, .sym-grid .sym-grid-bar .sym-row, .sym-grid .sym-grid-bar .sym-rows{border:0!important} .sym-grid .sym-grid-bar .sym-column, .sym-grid .sym-grid-bar .sym-row{height:32px!important}} .sym-grid .sym-grid-bar .sym-column-picture .sym-profile-picture{position:absolute;left:4px;top:4px}@media (max-width:991.98px){ .sym-grid .sym-grid-bar .sym-column-picture .sym-profile-picture{display:none}} .sym-grid .sym-grid-bar .sym-column-picture .sym-texts{position:absolute;left:38px;top:2px;right:0;bottom:0}@media (max-width:991.98px){ .sym-grid .sym-grid-bar .sym-column-picture .sym-texts{left:4px}} .sym-grid .sym-grid-bar .sym-column-label, .sym-grid .sym-grid-drag-source .sym-column-label{padding:0 4px} .sym-grid .sym-grid-bar .sym-column-label .sym-wrap-pair, .sym-grid .sym-grid-drag-source .sym-column-label .sym-wrap-pair{height:20px;line-height:20px} .sym-grid .sym-grid-bar .sym-column-input{padding-left:1px}@media (min-width:768px){ .sym-grid .sym-grid-bar .sym-column-input{padding:5px 4px 0!important}} .sym-grid .sym-grid-scroll-column{padding-left:-5px;padding-right:0;padding-bottom:60px;overflow:auto} .sym-grid .sym-grid-scroll-column .sym-grid-scroll-container{margin-left:1px} .sym-grid .sym-grid-scroll-column .sym-grid-scroll-container .sym-grid-display{padding-right:15px}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-100, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-100, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-100{width:200%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-150, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-150, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-150{width:300%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-200, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-200, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-200{width:400%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-250, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-250, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-250{width:500%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-300, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-300, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-300{width:600%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-350, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-350, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-350{width:700%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-400, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-400, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-400{width:800%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-450, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-450, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-450{width:900%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-500, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-500, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-500{width:1000%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-550, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-550, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-550{width:1100%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-600, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-600, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-600{width:1200%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-650, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-650, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-650{width:1300%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-700, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-700, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-700{width:1400%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-750, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-750, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-750{width:1500%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-800, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-800, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-800{width:1600%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-850, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-850, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-850{width:1700%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-900, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-900, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-900{width:1800%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-950, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-950, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-950{width:1900%!important}}@media (max-width:575.98px){ .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-display.sym-grid-zoom-1000, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display.sym-grid-zoom-1000, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display.sym-grid-zoom-1000{width:2000%!important}} .sym-grid .sym-grid-display{width:100%} .sym-grid .sym-grid-display .sym-grid-segments.sym-grid-segments-data .sym-grid-segment:first-child{border-top:0!important} .sym-grid .sym-grid-display.sym-grid-zoom-100{width:100%} .sym-grid .sym-grid-display.sym-grid-zoom-150{width:150%} .sym-grid .sym-grid-display.sym-grid-zoom-200{width:200%} .sym-grid .sym-grid-display.sym-grid-zoom-250{width:250%} .sym-grid .sym-grid-display.sym-grid-zoom-300{width:300%} .sym-grid .sym-grid-display.sym-grid-zoom-350{width:350%} .sym-grid .sym-grid-display.sym-grid-zoom-400{width:400%} .sym-grid .sym-grid-display.sym-grid-zoom-450{width:450%} .sym-grid .sym-grid-display.sym-grid-zoom-500{width:500%} .sym-grid .sym-grid-display.sym-grid-zoom-550{width:550%} .sym-grid .sym-grid-display.sym-grid-zoom-600{width:600%} .sym-grid .sym-grid-display.sym-grid-zoom-650{width:650%} .sym-grid .sym-grid-display.sym-grid-zoom-700{width:700%} .sym-grid .sym-grid-display.sym-grid-zoom-750{width:750%} .sym-grid .sym-grid-display.sym-grid-zoom-800{width:800%} .sym-grid .sym-grid-display.sym-grid-zoom-850{width:850%} .sym-grid .sym-grid-display.sym-grid-zoom-900{width:900%} .sym-grid .sym-grid-display.sym-grid-zoom-950{width:950%} .sym-grid .sym-grid-display.sym-grid-zoom-1000{width:1000%} .sym-grid .sym-grid-display .sym-columns-in-row-1 .sym-label-center{text-align:left} .sym-grid .sym-grid-display .sym-absence, .sym-grid .sym-grid-display .sym-appointment, .sym-grid .sym-grid-display .sym-assignment, .sym-grid .sym-grid-display .sym-attendant, .sym-grid .sym-grid-display .sym-service{position:absolute;top:0;height:38px;-webkit-transition:top 1s ease 0s;transition:top 1s ease 0s;z-index:1} .sym-grid .sym-grid-display .sym-absence .sym-texts, .sym-grid .sym-grid-display .sym-appointment .sym-texts, .sym-grid .sym-grid-display .sym-assignment .sym-texts, .sym-grid .sym-grid-display .sym-attendant .sym-texts, .sym-grid .sym-grid-display .sym-service .sym-texts{position:absolute;left:2px;right:2px;top:3px;font-size:11px;color:#222} .sym-grid .sym-grid-display .sym-absence .sym-texts .sym-text, .sym-grid .sym-grid-display .sym-appointment .sym-texts .sym-text, .sym-grid .sym-grid-display .sym-assignment .sym-texts .sym-text, .sym-grid .sym-grid-display .sym-attendant .sym-texts .sym-text, .sym-grid .sym-grid-display .sym-service .sym-texts .sym-text{overflow:hidden;white-space:nowrap;line-height:11px;height:12px} .sym-grid .sym-grid-display .sym-absence .sym-watermark, .sym-grid .sym-grid-display .sym-appointment .sym-watermark, .sym-grid .sym-grid-display .sym-assignment .sym-watermark, .sym-grid .sym-grid-display .sym-attendant .sym-watermark, .sym-grid .sym-grid-display .sym-service .sym-watermark{position:absolute;bottom:5px;right:5px;color:#fff;opacity:.5} .sym-grid .sym-grid-display .sym-absence .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-absence .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-appointment .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-appointment .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-assignment .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-assignment .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-attendant .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-attendant .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-service .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-service .sym-starts-earlier-helper{position:absolute;top:0;bottom:0;display:none} .sym-grid .sym-grid-display .sym-absence.sym-starts-earlier .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-appointment.sym-starts-earlier .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-assignment.sym-starts-earlier .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-attendant.sym-starts-earlier .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-service.sym-starts-earlier .sym-starts-earlier-helper{display:block} .sym-grid .sym-grid-display .sym-absence.sym-starts-earlier .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-appointment.sym-starts-earlier .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-assignment.sym-starts-earlier .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-attendant.sym-starts-earlier .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-service.sym-starts-earlier .sym-resize-helper-start{display:none!important} .sym-grid .sym-grid-display .sym-absence.sym-ends-later .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-appointment.sym-ends-later .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-assignment.sym-ends-later .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-attendant.sym-ends-later .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-service.sym-ends-later .sym-ends-later-helper{display:block} .sym-grid .sym-grid-display .sym-absence.sym-ends-later .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-appointment.sym-ends-later .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-assignment.sym-ends-later .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-attendant.sym-ends-later .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-service.sym-ends-later .sym-resize-helper-finish{display:none!important} .sym-grid .sym-grid-display .sym-absence .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-absence .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-appointment .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-appointment .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-assignment .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-assignment .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-attendant .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-attendant .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-service .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-service .sym-resize-helper-start{position:absolute;width:12px;height:12px;border:2px solid #000;background-color:#fff;z-index:1;cursor:ew-resize;display:none;visibility:hidden;top:-7px} .sym-grid .sym-grid-display .sym-absence .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-appointment .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-assignment .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-attendant .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-service .sym-resize-helper-start{left:-7px} .sym-grid .sym-grid-display .sym-absence .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-appointment .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-assignment .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-attendant .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-service .sym-resize-helper-finish{right:-7px} .sym-grid .sym-grid-display .sym-absence:hover .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-absence:hover .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-appointment:hover .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-appointment:hover .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-assignment:hover .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-assignment:hover .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-attendant:hover .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-attendant:hover .sym-resize-helper-start, .sym-grid .sym-grid-display .sym-service:hover .sym-resize-helper-finish, .sym-grid .sym-grid-display .sym-service:hover .sym-resize-helper-start{display:block;-webkit-animation:delayed-visibility 0s 1s forwards;animation:delayed-visibility 0s 1s forwards} .sym-grid .sym-grid-display .sym-absence .sym-active-helper, .sym-grid .sym-grid-display .sym-appointment .sym-active-helper, .sym-grid .sym-grid-display .sym-assignment .sym-active-helper, .sym-grid .sym-grid-display .sym-attendant .sym-active-helper, .sym-grid .sym-grid-display .sym-service .sym-active-helper{display:none;position:absolute;left:-2px;top:-2px;right:-2px;bottom:-2px;z-index:9999;border:2px solid #343a40} .sym-grid .sym-grid-display .sym-absence .sym-active-helper.sym-active-helper-in-resize, .sym-grid .sym-grid-display .sym-appointment .sym-active-helper.sym-active-helper-in-resize, .sym-grid .sym-grid-display .sym-assignment .sym-active-helper.sym-active-helper-in-resize, .sym-grid .sym-grid-display .sym-attendant .sym-active-helper.sym-active-helper-in-resize, .sym-grid .sym-grid-display .sym-service .sym-active-helper.sym-active-helper-in-resize{display:block} .sym-grid .sym-grid-display .sym-absence .sym-active-helper .sym-resize-info, .sym-grid .sym-grid-display .sym-appointment .sym-active-helper .sym-resize-info, .sym-grid .sym-grid-display .sym-assignment .sym-active-helper .sym-resize-info, .sym-grid .sym-grid-display .sym-attendant .sym-active-helper .sym-resize-info, .sym-grid .sym-grid-display .sym-service .sym-active-helper .sym-resize-info{position:absolute;color:#222;font-size:11px;width:30px;top:-17px} .sym-grid .sym-grid-display .sym-absence .sym-active-helper .sym-resize-info.sym-resize-info-start, .sym-grid .sym-grid-display .sym-appointment .sym-active-helper .sym-resize-info.sym-resize-info-start, .sym-grid .sym-grid-display .sym-assignment .sym-active-helper .sym-resize-info.sym-resize-info-start, .sym-grid .sym-grid-display .sym-attendant .sym-active-helper .sym-resize-info.sym-resize-info-start, .sym-grid .sym-grid-display .sym-service .sym-active-helper .sym-resize-info.sym-resize-info-start{left:-15px;text-align:left} .sym-grid .sym-grid-display .sym-absence .sym-active-helper .sym-resize-info.sym-resize-info-finish, .sym-grid .sym-grid-display .sym-appointment .sym-active-helper .sym-resize-info.sym-resize-info-finish, .sym-grid .sym-grid-display .sym-assignment .sym-active-helper .sym-resize-info.sym-resize-info-finish, .sym-grid .sym-grid-display .sym-attendant .sym-active-helper .sym-resize-info.sym-resize-info-finish, .sym-grid .sym-grid-display .sym-service .sym-active-helper .sym-resize-info.sym-resize-info-finish{right:-15px;text-align:right} .sym-grid .sym-grid-display .sym-absence .sym-icon-container, .sym-grid .sym-grid-display .sym-appointment .sym-icon-container, .sym-grid .sym-grid-display .sym-assignment .sym-icon-container, .sym-grid .sym-grid-display .sym-attendant .sym-icon-container, .sym-grid .sym-grid-display .sym-service .sym-icon-container{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden} .sym-grid .sym-grid-display .sym-absence .sym-icon-container .sym-icon-violation, .sym-grid .sym-grid-display .sym-appointment .sym-icon-container .sym-icon-violation, .sym-grid .sym-grid-display .sym-assignment .sym-icon-container .sym-icon-violation, .sym-grid .sym-grid-display .sym-attendant .sym-icon-container .sym-icon-violation, .sym-grid .sym-grid-display .sym-service .sym-icon-container .sym-icon-violation{display:block;position:absolute;right:-2px;bottom:0} .sym-grid .sym-grid-display .sym-absence .sym-draft-label, .sym-grid .sym-grid-display .sym-appointment .sym-draft-label, .sym-grid .sym-grid-display .sym-assignment .sym-draft-label, .sym-grid .sym-grid-display .sym-attendant .sym-draft-label, .sym-grid .sym-grid-display .sym-service .sym-draft-label{display:none} .sym-grid .sym-grid-display .sym-absence.sym-is-draft .sym-draft-label, .sym-grid .sym-grid-display .sym-appointment.sym-is-draft .sym-draft-label, .sym-grid .sym-grid-display .sym-assignment.sym-is-draft .sym-draft-label, .sym-grid .sym-grid-display .sym-attendant.sym-is-draft .sym-draft-label, .sym-grid .sym-grid-display .sym-service.sym-is-draft .sym-draft-label{display:inline} .sym-grid .sym-grid-display .sym-absence.sym-active .sym-active-helper, .sym-grid .sym-grid-display .sym-absence:hover .sym-active-helper, .sym-grid .sym-grid-display .sym-appointment.sym-active .sym-active-helper, .sym-grid .sym-grid-display .sym-appointment:hover .sym-active-helper, .sym-grid .sym-grid-display .sym-assignment.sym-active .sym-active-helper, .sym-grid .sym-grid-display .sym-assignment:hover .sym-active-helper, .sym-grid .sym-grid-display .sym-attendant.sym-active .sym-active-helper, .sym-grid .sym-grid-display .sym-attendant:hover .sym-active-helper, .sym-grid .sym-grid-display .sym-service.sym-active .sym-active-helper, .sym-grid .sym-grid-display .sym-service:hover .sym-active-helper{display:block} .sym-grid .sym-grid-display .sym-absence.sym-active.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-absence:hover.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-appointment.sym-active.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-appointment:hover.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-assignment.sym-active.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-assignment:hover.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-attendant.sym-active.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-attendant:hover.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-service.sym-active.sym-starts-earlier .sym-active-helper, .sym-grid .sym-grid-display .sym-service:hover.sym-starts-earlier .sym-active-helper{left:-1px;border-left:0} .sym-grid .sym-grid-display .sym-absence.sym-active.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-absence:hover.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-appointment.sym-active.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-appointment:hover.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-assignment.sym-active.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-assignment:hover.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-attendant.sym-active.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-attendant:hover.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-service.sym-active.sym-ends-later .sym-active-helper, .sym-grid .sym-grid-display .sym-service:hover.sym-ends-later .sym-active-helper{right:-1px;border-right:0} .sym-grid .sym-grid-display .sym-absence.sym-active .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-absence.sym-active .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-absence:hover .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-absence:hover .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-appointment.sym-active .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-appointment.sym-active .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-appointment:hover .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-appointment:hover .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-assignment.sym-active .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-assignment.sym-active .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-assignment:hover .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-assignment:hover .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-attendant.sym-active .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-attendant.sym-active .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-attendant:hover .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-attendant:hover .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-service.sym-active .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-service.sym-active .sym-starts-earlier-helper, .sym-grid .sym-grid-display .sym-service:hover .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-service:hover .sym-starts-earlier-helper{display:none} .sym-grid .sym-grid-display .sym-absence:hover, .sym-grid .sym-grid-display .sym-appointment:hover, .sym-grid .sym-grid-display .sym-assignment:hover, .sym-grid .sym-grid-display .sym-attendant:hover, .sym-grid .sym-grid-display .sym-service:hover{cursor:pointer;z-index:99!important} .sym-grid .sym-grid-display .sym-absence:hover .sym-icon-delete, .sym-grid .sym-grid-display .sym-appointment:hover .sym-icon-delete, .sym-grid .sym-grid-display .sym-assignment:hover .sym-icon-delete, .sym-grid .sym-grid-display .sym-attendant:hover .sym-icon-delete, .sym-grid .sym-grid-display .sym-service:hover .sym-icon-delete{display:block} .sym-grid .sym-grid-display .sym-absence:hover, .sym-grid .sym-grid-display .sym-appointment:hover, .sym-grid .sym-grid-display .sym-assignment:hover, .sym-grid .sym-grid-display .sym-service:hover{top:12px!important} .sym-grid .sym-grid-display .sym-absence.sym-zindex-0:hover, .sym-grid .sym-grid-display .sym-appointment.sym-zindex-0:hover, .sym-grid .sym-grid-display .sym-assignment.sym-zindex-0:hover, .sym-grid .sym-grid-display .sym-service.sym-zindex-0:hover{top:0!important} .sym-grid .sym-grid-display .sym-attendant:hover{top:32px!important} .sym-grid .sym-grid-display .sym-attendant.sym-zindex-0:hover{top:20px!important} .sym-grid .sym-grid-display .sym-absence.sym-active, .sym-grid .sym-grid-display .sym-appointment.sym-active, .sym-grid .sym-grid-display .sym-assignment.sym-active{z-index:99!important} .sym-grid .sym-grid-display .sym-assignments .sym-assignment{border:1px solid #fff} .sym-grid .sym-grid-display .sym-assignments .sym-assignment.sym-is-draft{opacity:.25} .sym-grid .sym-grid-display .sym-assignments .sym-assignment .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-assignments .sym-assignment .sym-starts-earlier-helper{width:4px} .sym-grid .sym-grid-display .sym-assignments .sym-assignment .sym-starts-earlier-helper{background-image:url(images/planboard-zigzag-left.2303b6ea35df74896f9e.png);left:-1px} .sym-grid .sym-grid-display .sym-assignments .sym-assignment .sym-ends-later-helper{background-image:url(images/planboard-zigzag-right.13dede7bfdbd8e097a0d.png);right:-1px} .sym-grid .sym-grid-display .sym-appointments .sym-appointment{background-size:1rem 1rem;background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);border:1px solid #fff} .sym-grid .sym-grid-display .sym-appointments .sym-appointment.sym-is-draft{opacity:.25} .sym-grid .sym-grid-display .sym-appointments .sym-appointment .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-appointments .sym-appointment .sym-starts-earlier-helper{width:4px} .sym-grid .sym-grid-display .sym-appointments .sym-appointment .sym-starts-earlier-helper{background-image:url(images/planboard-zigzag-left.2303b6ea35df74896f9e.png);left:-1px} .sym-grid .sym-grid-display .sym-appointments .sym-appointment .sym-ends-later-helper{background-image:url(images/planboard-zigzag-right.13dede7bfdbd8e097a0d.png);right:-1px} .sym-grid .sym-grid-display .sym-absences .sym-absence{border:4px solid transparent;background-color:hsla(0,0%,100%,.7)} .sym-grid .sym-grid-display .sym-absences .sym-absence .sym-icon-violation{color:#ced4da} .sym-grid .sym-grid-display .sym-absences .sym-absence .sym-texts{top:0} .sym-grid .sym-grid-display .sym-absences .sym-absence.sym-is-draft{border-style:dashed} .sym-grid .sym-grid-display .sym-absences .sym-absence.sym-starts-earlier{border-left:0} .sym-grid .sym-grid-display .sym-absences .sym-absence.sym-ends-later{border-right:0} .sym-grid .sym-grid-display .sym-absences .sym-absence .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-absences .sym-absence .sym-starts-earlier-helper{width:2px} .sym-grid .sym-grid-display .sym-absences .sym-absence .sym-starts-earlier-helper{left:-2px} .sym-grid .sym-grid-display .sym-absences .sym-absence .sym-ends-later-helper{right:-2px} .sym-grid .sym-grid-display .sym-absences .sym-absence .sym-active-helper{left:-4px;top:-4px;right:-4px;bottom:-4px} .sym-grid .sym-grid-display .sym-absences .sym-absence.sym-starts-earlier .sym-active-helper{left:0} .sym-grid .sym-grid-display .sym-absences .sym-absence.sym-ends-later .sym-active-helper{right:0} .sym-grid .sym-grid-display .sym-availabilities .sym-availability{background-color:#fff;position:absolute;top:0;height:41px;z-index:1} .sym-grid .sym-grid-display .sym-availabilities .sym-availability.sym-weight-low{background:repeating-linear-gradient(90deg,#fff,#fff 10px,#f2f2f2 0,#f2f2f2 20px)} .sym-grid .sym-grid-display .sym-workpatterns .sym-workpattern{background-color:#fff;position:absolute;top:0;height:41px} .sym-grid .sym-grid-display .sym-workpatterns .sym-workpattern .sym-workpattern-end, .sym-grid .sym-grid-display .sym-workpatterns .sym-workpattern .sym-workpattern-start{position:absolute;top:-5px;width:1px;bottom:-5px;background-color:#adb5bd;z-index:1} .sym-grid .sym-grid-display .sym-workpatterns .sym-workpattern .sym-workpattern-start{left:0} .sym-grid .sym-grid-display .sym-workpatterns .sym-workpattern .sym-workpattern-end{right:-1px} .sym-grid .sym-grid-display .sym-attendants .sym-attendant{top:20px;height:21px;border-left:4px solid transparent;border-bottom:4px solid transparent;border-right:4px solid transparent;background-color:#fff} .sym-grid .sym-grid-display .sym-attendants .sym-attendant.sym-is-draft{border-style:dashed} .sym-grid .sym-grid-display .sym-attendants .sym-attendant.sym-starts-earlier{border-left:0} .sym-grid .sym-grid-display .sym-attendants .sym-attendant.sym-ends-later{border-right:0} .sym-grid .sym-grid-display .sym-attendants .sym-attendant .sym-icon-violation{color:#ced4da;bottom:1px} .sym-grid .sym-grid-display .sym-attendants .sym-attendant .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-attendants .sym-attendant .sym-starts-earlier-helper{width:2px} .sym-grid .sym-grid-display .sym-attendants .sym-attendant .sym-starts-earlier-helper{left:-2px} .sym-grid .sym-grid-display .sym-attendants .sym-attendant .sym-ends-later-helper{right:-2px} .sym-grid .sym-grid-display .sym-attendants .sym-attendant .sym-active-helper{left:-4px;top:-2px;right:-4px;bottom:-4px} .sym-grid .sym-grid-display .sym-attendants .sym-attendant.sym-starts-earlier .sym-active-helper{left:0} .sym-grid .sym-grid-display .sym-attendants .sym-attendant.sym-ends-later .sym-active-helper{right:0} .sym-grid .sym-grid-display .sym-services .sym-service{border-left:4px solid transparent;border-bottom:4px solid transparent;border-right:4px solid transparent;height:42px;background-color:#fff} .sym-grid .sym-grid-display .sym-services .sym-service.sym-is-draft{border-style:dashed} .sym-grid .sym-grid-display .sym-services .sym-service.sym-starts-earlier{border-left:0} .sym-grid .sym-grid-display .sym-services .sym-service.sym-ends-later{border-right:0} .sym-grid .sym-grid-display .sym-services .sym-service .sym-icon-violation{color:#ced4da;bottom:1px} .sym-grid .sym-grid-display .sym-services .sym-service .sym-ends-later-helper, .sym-grid .sym-grid-display .sym-services .sym-service .sym-starts-earlier-helper{width:2px} .sym-grid .sym-grid-display .sym-services .sym-service .sym-starts-earlier-helper{left:-2px} .sym-grid .sym-grid-display .sym-services .sym-service .sym-ends-later-helper{right:-2px} .sym-grid .sym-grid-display .sym-services .sym-service .sym-active-helper{left:-4px;top:-2px;right:-4px;bottom:-4px} .sym-grid .sym-grid-display .sym-services .sym-service.sym-starts-earlier .sym-active-helper{left:0} .sym-grid .sym-grid-display .sym-services .sym-service.sym-ends-later .sym-active-helper{right:0} .sym-grid .sym-grid-display .sym-services .sym-service .sym-texts{top:1px} .sym-grid .sym-grid-display .sym-services .sym-service .sym-texts .sym-text{height:11px} .sym-grid .sym-grid-display .sym-services .sym-service:hover{top:0!important;cursor:move;bottom:0!important} .sym-grid .sym-grid-display .sym-bars .sym-bar-positioner{position:absolute;top:0;bottom:0;-webkit-transition:opacity .3s ease-out;transition:opacity .3s ease-out} .sym-grid .sym-grid-display .sym-bars .sym-bar-positioner .sym-bar{position:absolute;left:0;right:2px} .sym-grid .sym-grid-display .sym-bars .sym-bar-positioner .sym-bar-extra{z-index:1;background-color:transparent;border:0} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-base{top:0;height:2px} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-0{top:0;height:0%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-1{top:0;height:1%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-2{top:0;height:2%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-3{top:0;height:3%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-4{top:0;height:4%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-5{top:0;height:5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-6{top:0;height:6%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-7{top:0;height:7%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-8{top:0;height:8%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-9{top:0;height:9%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-10{top:0;height:10%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-11{top:0;height:11%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-12{top:0;height:12%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-13{top:0;height:13%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-14{top:0;height:14%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-15{top:0;height:15%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-16{top:0;height:16%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-17{top:0;height:17%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-18{top:0;height:18%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-19{top:0;height:19%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-20{top:0;height:20%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-21{top:0;height:21%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-22{top:0;height:22%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-23{top:0;height:23%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-24{top:0;height:24%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-25{top:0;height:25%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-26{top:0;height:26%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-27{top:0;height:27%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-28{top:0;height:28%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-29{top:0;height:29%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-30{top:0;height:30%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-31{top:0;height:31%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-32{top:0;height:32%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-33{top:0;height:33%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-34{top:0;height:34%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-35{top:0;height:35%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-36{top:0;height:36%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-37{top:0;height:37%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-38{top:0;height:38%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-39{top:0;height:39%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-40{top:0;height:40%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-41{top:0;height:41%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-42{top:0;height:42%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-43{top:0;height:43%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-44{top:0;height:44%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-45{top:0;height:45%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-46{top:0;height:46%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-47{top:0;height:47%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-48{top:0;height:48%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-49{top:0;height:49%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-50{top:0;height:50%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-51{top:0;height:51%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-52{top:0;height:52%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-53{top:0;height:53%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-54{top:0;height:54%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-55{top:0;height:55%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-56{top:0;height:56%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-57{top:0;height:57%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-58{top:0;height:58%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-59{top:0;height:59%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-60{top:0;height:60%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-61{top:0;height:61%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-62{top:0;height:62%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-63{top:0;height:63%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-64{top:0;height:64%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-65{top:0;height:65%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-66{top:0;height:66%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-67{top:0;height:67%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-68{top:0;height:68%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-69{top:0;height:69%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-70{top:0;height:70%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-71{top:0;height:71%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-72{top:0;height:72%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-73{top:0;height:73%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-74{top:0;height:74%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-75{top:0;height:75%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-76{top:0;height:76%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-77{top:0;height:77%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-78{top:0;height:78%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-79{top:0;height:79%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-80{top:0;height:80%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-81{top:0;height:81%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-82{top:0;height:82%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-83{top:0;height:83%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-84{top:0;height:84%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-85{top:0;height:85%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-86{top:0;height:86%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-87{top:0;height:87%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-88{top:0;height:88%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-89{top:0;height:89%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-90{top:0;height:90%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-91{top:0;height:91%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-92{top:0;height:92%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-93{top:0;height:93%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-94{top:0;height:94%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-95{top:0;height:95%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-96{top:0;height:96%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-97{top:0;height:97%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-98{top:0;height:98%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-99{top:0;height:99%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-negative .sym-bar-negative.sym-bar-negative-100{top:0;height:100%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-base{bottom:0;height:2px} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-0{bottom:0;height:0%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-1{bottom:0;height:1%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-2{bottom:0;height:2%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-3{bottom:0;height:3%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-4{bottom:0;height:4%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-5{bottom:0;height:5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-6{bottom:0;height:6%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-7{bottom:0;height:7%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-8{bottom:0;height:8%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-9{bottom:0;height:9%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-10{bottom:0;height:10%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-11{bottom:0;height:11%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-12{bottom:0;height:12%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-13{bottom:0;height:13%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-14{bottom:0;height:14%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-15{bottom:0;height:15%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-16{bottom:0;height:16%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-17{bottom:0;height:17%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-18{bottom:0;height:18%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-19{bottom:0;height:19%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-20{bottom:0;height:20%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-21{bottom:0;height:21%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-22{bottom:0;height:22%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-23{bottom:0;height:23%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-24{bottom:0;height:24%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-25{bottom:0;height:25%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-26{bottom:0;height:26%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-27{bottom:0;height:27%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-28{bottom:0;height:28%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-29{bottom:0;height:29%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-30{bottom:0;height:30%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-31{bottom:0;height:31%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-32{bottom:0;height:32%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-33{bottom:0;height:33%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-34{bottom:0;height:34%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-35{bottom:0;height:35%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-36{bottom:0;height:36%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-37{bottom:0;height:37%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-38{bottom:0;height:38%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-39{bottom:0;height:39%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-40{bottom:0;height:40%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-41{bottom:0;height:41%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-42{bottom:0;height:42%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-43{bottom:0;height:43%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-44{bottom:0;height:44%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-45{bottom:0;height:45%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-46{bottom:0;height:46%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-47{bottom:0;height:47%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-48{bottom:0;height:48%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-49{bottom:0;height:49%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-50{bottom:0;height:50%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-51{bottom:0;height:51%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-52{bottom:0;height:52%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-53{bottom:0;height:53%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-54{bottom:0;height:54%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-55{bottom:0;height:55%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-56{bottom:0;height:56%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-57{bottom:0;height:57%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-58{bottom:0;height:58%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-59{bottom:0;height:59%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-60{bottom:0;height:60%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-61{bottom:0;height:61%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-62{bottom:0;height:62%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-63{bottom:0;height:63%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-64{bottom:0;height:64%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-65{bottom:0;height:65%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-66{bottom:0;height:66%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-67{bottom:0;height:67%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-68{bottom:0;height:68%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-69{bottom:0;height:69%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-70{bottom:0;height:70%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-71{bottom:0;height:71%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-72{bottom:0;height:72%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-73{bottom:0;height:73%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-74{bottom:0;height:74%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-75{bottom:0;height:75%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-76{bottom:0;height:76%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-77{bottom:0;height:77%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-78{bottom:0;height:78%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-79{bottom:0;height:79%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-80{bottom:0;height:80%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-81{bottom:0;height:81%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-82{bottom:0;height:82%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-83{bottom:0;height:83%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-84{bottom:0;height:84%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-85{bottom:0;height:85%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-86{bottom:0;height:86%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-87{bottom:0;height:87%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-88{bottom:0;height:88%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-89{bottom:0;height:89%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-90{bottom:0;height:90%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-91{bottom:0;height:91%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-92{bottom:0;height:92%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-93{bottom:0;height:93%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-94{bottom:0;height:94%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-95{bottom:0;height:95%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-96{bottom:0;height:96%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-97{bottom:0;height:97%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-98{bottom:0;height:98%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-99{bottom:0;height:99%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-positive-100{bottom:0;height:100%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive .sym-bar-positive.sym-bar-extra{border-top:2px solid #000} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative{border:1px solid rgba(0,0,0,.1);top:21px} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-0{height:0%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-1{height:.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-2{height:1%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-3{height:1.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-4{height:2%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-5{height:2.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-6{height:3%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-7{height:3.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-8{height:4%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-9{height:4.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-10{height:5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-11{height:5.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-12{height:6%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-13{height:6.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-14{height:7%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-15{height:7.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-16{height:8%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-17{height:8.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-18{height:9%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-19{height:9.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-20{height:10%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-21{height:10.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-22{height:11%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-23{height:11.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-24{height:12%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-25{height:12.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-26{height:13%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-27{height:13.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-28{height:14%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-29{height:14.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-30{height:15%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-31{height:15.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-32{height:16%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-33{height:16.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-34{height:17%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-35{height:17.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-36{height:18%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-37{height:18.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-38{height:19%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-39{height:19.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-40{height:20%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-41{height:20.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-42{height:21%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-43{height:21.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-44{height:22%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-45{height:22.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-46{height:23%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-47{height:23.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-48{height:24%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-49{height:24.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-50{height:25%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-51{height:25.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-52{height:26%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-53{height:26.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-54{height:27%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-55{height:27.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-56{height:28%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-57{height:28.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-58{height:29%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-59{height:29.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-60{height:30%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-61{height:30.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-62{height:31%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-63{height:31.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-64{height:32%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-65{height:32.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-66{height:33%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-67{height:33.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-68{height:34%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-69{height:34.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-70{height:35%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-71{height:35.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-72{height:36%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-73{height:36.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-74{height:37%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-75{height:37.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-76{height:38%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-77{height:38.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-78{height:39%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-79{height:39.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-80{height:40%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-81{height:40.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-82{height:41%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-83{height:41.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-84{height:42%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-85{height:42.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-86{height:43%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-87{height:43.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-88{height:44%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-89{height:44.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-90{height:45%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-91{height:45.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-92{height:46%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-93{height:46.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-94{height:47%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-95{height:47.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-96{height:48%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-97{height:48.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-98{height:49%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-99{height:49.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-negative-100{height:50%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-negative.sym-bar-extra{border-bottom:2px solid #000} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-base{top:49%;height:2%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-0{top:50%;height:0%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-1{top:49.5%;height:.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-2{top:49%;height:1%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-3{top:48.5%;height:1.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-4{top:48%;height:2%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-5{top:47.5%;height:2.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-6{top:47%;height:3%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-7{top:46.5%;height:3.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-8{top:46%;height:4%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-9{top:45.5%;height:4.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-10{top:45%;height:5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-11{top:44.5%;height:5.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-12{top:44%;height:6%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-13{top:43.5%;height:6.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-14{top:43%;height:7%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-15{top:42.5%;height:7.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-16{top:42%;height:8%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-17{top:41.5%;height:8.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-18{top:41%;height:9%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-19{top:40.5%;height:9.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-20{top:40%;height:10%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-21{top:39.5%;height:10.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-22{top:39%;height:11%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-23{top:38.5%;height:11.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-24{top:38%;height:12%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-25{top:37.5%;height:12.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-26{top:37%;height:13%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-27{top:36.5%;height:13.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-28{top:36%;height:14%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-29{top:35.5%;height:14.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-30{top:35%;height:15%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-31{top:34.5%;height:15.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-32{top:34%;height:16%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-33{top:33.5%;height:16.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-34{top:33%;height:17%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-35{top:32.5%;height:17.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-36{top:32%;height:18%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-37{top:31.5%;height:18.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-38{top:31%;height:19%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-39{top:30.5%;height:19.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-40{top:30%;height:20%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-41{top:29.5%;height:20.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-42{top:29%;height:21%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-43{top:28.5%;height:21.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-44{top:28%;height:22%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-45{top:27.5%;height:22.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-46{top:27%;height:23%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-47{top:26.5%;height:23.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-48{top:26%;height:24%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-49{top:25.5%;height:24.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-50{top:25%;height:25%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-51{top:24.5%;height:25.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-52{top:24%;height:26%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-53{top:23.5%;height:26.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-54{top:23%;height:27%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-55{top:22.5%;height:27.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-56{top:22%;height:28%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-57{top:21.5%;height:28.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-58{top:21%;height:29%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-59{top:20.5%;height:29.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-60{top:20%;height:30%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-61{top:19.5%;height:30.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-62{top:19%;height:31%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-63{top:18.5%;height:31.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-64{top:18%;height:32%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-65{top:17.5%;height:32.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-66{top:17%;height:33%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-67{top:16.5%;height:33.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-68{top:16%;height:34%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-69{top:15.5%;height:34.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-70{top:15%;height:35%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-71{top:14.5%;height:35.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-72{top:14%;height:36%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-73{top:13.5%;height:36.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-74{top:13%;height:37%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-75{top:12.5%;height:37.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-76{top:12%;height:38%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-77{top:11.5%;height:38.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-78{top:11%;height:39%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-79{top:10.5%;height:39.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-80{top:10%;height:40%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-81{top:9.5%;height:40.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-82{top:9%;height:41%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-83{top:8.5%;height:41.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-84{top:8%;height:42%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-85{top:7.5%;height:42.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-86{top:7%;height:43%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-87{top:6.5%;height:43.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-88{top:6%;height:44%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-89{top:5.5%;height:44.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-90{top:5%;height:45%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-91{top:4.5%;height:45.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-92{top:4%;height:46%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-93{top:3.5%;height:46.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-94{top:3%;height:47%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-95{top:2.5%;height:47.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-96{top:2%;height:48%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-97{top:1.5%;height:48.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-98{top:1%;height:49%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-99{top:.5%;height:49.5%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-positive-100{top:0;height:50%} .sym-grid .sym-grid-display .sym-bars.sym-bars-range-positive-negative .sym-bar-positive.sym-bar-extra{border-top:2px solid #000} .sym-grid .sym-grid-display .sym-bars:hover .sym-bar-positioner{opacity:.2} .sym-grid .sym-grid-display .sym-bars:hover .sym-bar-positioner:hover{opacity:1;z-index:75} .sym-grid .sym-grid-display .sym-graphs .sym-graph{position:absolute;height:2px;background-color:#9955ce;z-index:50} .sym-grid .sym-grid-display .sym-graphs .sym-graph small{display:none;color:#fff} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-base, .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-0{top:42px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-1{top:41.58px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-2{top:41.16px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-3{top:40.74px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-4{top:40.32px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-5{top:39.9px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-6{top:39.48px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-7{top:39.06px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-8{top:38.64px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-9{top:38.22px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-10{top:37.8px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-11{top:37.38px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-12{top:36.96px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-13{top:36.54px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-14{top:36.12px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-15{top:35.7px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-16{top:35.28px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-17{top:34.86px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-18{top:34.44px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-19{top:34.02px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-20{top:33.6px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-21{top:33.18px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-22{top:32.76px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-23{top:32.34px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-24{top:31.92px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-25{top:31.5px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-26{top:31.08px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-27{top:30.66px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-28{top:30.24px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-29{top:29.82px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-30{top:29.4px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-31{top:28.98px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-32{top:28.56px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-33{top:28.14px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-34{top:27.72px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-35{top:27.3px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-36{top:26.88px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-37{top:26.46px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-38{top:26.04px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-39{top:25.62px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-40{top:25.2px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-41{top:24.78px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-42{top:24.36px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-43{top:23.94px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-44{top:23.52px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-45{top:23.1px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-46{top:22.68px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-47{top:22.26px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-48{top:21.84px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-49{top:21.42px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-50{top:21px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-51{top:20.58px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-52{top:20.16px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-53{top:19.74px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-54{top:19.32px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-55{top:18.9px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-56{top:18.48px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-57{top:18.06px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-58{top:17.64px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-59{top:17.22px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-60{top:16.8px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-61{top:16.38px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-62{top:15.96px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-63{top:15.54px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-64{top:15.12px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-65{top:14.7px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-66{top:14.28px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-67{top:13.86px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-68{top:13.44px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-69{top:13.02px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-70{top:12.6px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-71{top:12.18px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-72{top:11.76px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-73{top:11.34px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-74{top:10.92px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-75{top:10.5px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-76{top:10.08px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-77{top:9.66px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-78{top:9.24px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-79{top:8.82px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-80{top:8.4px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-81{top:7.98px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-82{top:7.56px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-83{top:7.14px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-84{top:6.72px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-85{top:6.3px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-86{top:5.88px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-87{top:5.46px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-88{top:5.04px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-89{top:4.62px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-90{top:4.2px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-91{top:3.78px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-92{top:3.36px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-93{top:2.94px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-94{top:2.52px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-95{top:2.1px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-96{top:1.68px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-97{top:1.26px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-98{top:.84px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-99{top:.42px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive .sym-graph-positive.sym-graph-positive-100{top:0} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-0{top:21px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-1{top:21.21px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-2{top:21.42px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-3{top:21.63px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-4{top:21.84px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-5{top:22.05px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-6{top:22.26px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-7{top:22.47px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-8{top:22.68px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-9{top:22.89px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-10{top:23.1px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-11{top:23.31px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-12{top:23.52px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-13{top:23.73px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-14{top:23.94px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-15{top:24.15px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-16{top:24.36px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-17{top:24.57px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-18{top:24.78px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-19{top:24.99px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-20{top:25.2px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-21{top:25.41px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-22{top:25.62px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-23{top:25.83px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-24{top:26.04px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-25{top:26.25px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-26{top:26.46px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-27{top:26.67px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-28{top:26.88px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-29{top:27.09px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-30{top:27.3px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-31{top:27.51px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-32{top:27.72px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-33{top:27.93px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-34{top:28.14px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-35{top:28.35px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-36{top:28.56px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-37{top:28.77px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-38{top:28.98px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-39{top:29.19px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-40{top:29.4px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-41{top:29.61px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-42{top:29.82px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-43{top:30.03px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-44{top:30.24px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-45{top:30.45px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-46{top:30.66px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-47{top:30.87px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-48{top:31.08px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-49{top:31.29px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-50{top:31.5px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-51{top:31.71px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-52{top:31.92px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-53{top:32.13px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-54{top:32.34px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-55{top:32.55px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-56{top:32.76px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-57{top:32.97px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-58{top:33.18px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-59{top:33.39px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-60{top:33.6px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-61{top:33.81px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-62{top:34.02px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-63{top:34.23px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-64{top:34.44px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-65{top:34.65px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-66{top:34.86px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-67{top:35.07px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-68{top:35.28px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-69{top:35.49px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-70{top:35.7px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-71{top:35.91px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-72{top:36.12px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-73{top:36.33px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-74{top:36.54px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-75{top:36.75px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-76{top:36.96px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-77{top:37.17px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-78{top:37.38px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-79{top:37.59px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-80{top:37.8px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-81{top:38.01px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-82{top:38.22px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-83{top:38.43px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-84{top:38.64px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-85{top:38.85px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-86{top:39.06px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-87{top:39.27px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-88{top:39.48px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-89{top:39.69px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-90{top:39.9px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-91{top:40.11px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-92{top:40.32px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-93{top:40.53px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-94{top:40.74px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-95{top:40.95px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-96{top:41.16px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-97{top:41.37px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-98{top:41.58px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-99{top:41.79px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-negative.sym-graph-negative-100{top:42px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-0{top:21px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-1{top:20.79px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-2{top:20.58px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-3{top:20.37px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-4{top:20.16px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-5{top:19.95px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-6{top:19.74px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-7{top:19.53px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-8{top:19.32px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-9{top:19.11px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-10{top:18.9px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-11{top:18.69px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-12{top:18.48px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-13{top:18.27px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-14{top:18.06px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-15{top:17.85px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-16{top:17.64px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-17{top:17.43px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-18{top:17.22px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-19{top:17.01px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-20{top:16.8px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-21{top:16.59px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-22{top:16.38px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-23{top:16.17px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-24{top:15.96px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-25{top:15.75px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-26{top:15.54px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-27{top:15.33px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-28{top:15.12px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-29{top:14.91px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-30{top:14.7px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-31{top:14.49px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-32{top:14.28px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-33{top:14.07px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-34{top:13.86px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-35{top:13.65px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-36{top:13.44px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-37{top:13.23px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-38{top:13.02px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-39{top:12.81px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-40{top:12.6px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-41{top:12.39px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-42{top:12.18px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-43{top:11.97px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-44{top:11.76px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-45{top:11.55px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-46{top:11.34px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-47{top:11.13px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-48{top:10.92px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-49{top:10.71px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-50{top:10.5px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-51{top:10.29px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-52{top:10.08px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-53{top:9.87px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-54{top:9.66px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-55{top:9.45px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-56{top:9.24px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-57{top:9.03px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-58{top:8.82px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-59{top:8.61px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-60{top:8.4px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-61{top:8.19px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-62{top:7.98px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-63{top:7.77px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-64{top:7.56px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-65{top:7.35px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-66{top:7.14px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-67{top:6.93px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-68{top:6.72px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-69{top:6.51px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-70{top:6.3px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-71{top:6.09px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-72{top:5.88px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-73{top:5.67px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-74{top:5.46px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-75{top:5.25px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-76{top:5.04px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-77{top:4.83px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-78{top:4.62px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-79{top:4.41px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-80{top:4.2px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-81{top:3.99px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-82{top:3.78px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-83{top:3.57px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-84{top:3.36px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-85{top:3.15px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-86{top:2.94px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-87{top:2.73px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-88{top:2.52px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-89{top:2.31px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-90{top:2.1px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-91{top:1.89px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-92{top:1.68px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-93{top:1.47px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-94{top:1.26px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-95{top:1.05px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-96{top:.84px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-97{top:.63px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-98{top:.42px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-99{top:.21px} .sym-grid .sym-grid-display .sym-graphs.sym-graphs-range-positive-negative .sym-graph-positive.sym-graph-positive-100{top:0} .sym-grid .sym-grid-display:hover .sym-graph{top:13px!important;height:15px} .sym-grid .sym-grid-display:hover .sym-graph small{display:block;text-align:center} .sym-grid .sym-grid-display .sym-stages .sym-stage{position:absolute;top:-21px;height:20px;left:0;right:0} .sym-grid .sym-grid-display .sym-stages .sym-stage.sym-stage-unpublicated{background-color:#9cc4c2} .sym-grid .sym-grid-display .sym-stages .sym-stage.sym-stage-publicated{background-color:#f8cea6} .sym-grid .sym-grid-display .sym-dots .sym-dot{position:absolute;bottom:-2px;z-index:1;width:4px;height:4px;border-radius:2px;margin-left:-2px} .sym-grid .sym-grid-display .sym-dots .sym-dot.sym-dot-primary{background-color:#6c757d} .sym-grid .sym-grid-display .sym-dots .sym-dot.sym-dot-secondary{background-color:#ccc} .sym-grid .sym-grid-display .sym-labels .sym-label{position:absolute;bottom:-1px;z-index:1;text-align:center;overflow:hidden;height:21px;line-height:21px} .sym-grid .sym-grid-display .sym-labels .sym-label.sym-label-position{width:40px;margin-left:-20px;font-size:.6rem} .sym-grid .sym-grid-display .sym-labels .sym-label.sym-label-position.sym-align-right, .sym-grid .sym-grid-display .sym-labels .sym-label.sym-label-position:last-child{margin-left:-43px;text-align:right} .sym-grid .sym-grid-display .sym-labels .sym-label.sym-label-position.sym-align-left, .sym-grid .sym-grid-display .sym-labels .sym-label.sym-label-position:first-child{margin-left:2px;text-align:left} .sym-grid .sym-grid-display .sym-labels .sym-label.sym-label-center{left:0;right:0;font-size:.6rem} .sym-grid .sym-grid-display .sym-splitters .sym-splitter{position:absolute;bottom:0;top:0;margin-left:-1px;border-left:1px solid #fff} .sym-grid .sym-grid-display .sym-add{position:absolute;top:0;left:0;right:0;height:42px} .sym-grid .sym-grid-display .sym-add .sym-add-lines{position:absolute;right:0;bottom:0;opacity:0;width:0;height:0;border-bottom:2px solid #324b4b;border-right:2px solid #324b4b;-webkit-transition:height .5s ease-out,width .5s ease-out;transition:height .5s ease-out,width .5s ease-out;z-index:9999} .sym-grid .sym-grid-display .sym-add .sym-add-actions .sym-add-button{position:absolute;right:-10.5px;bottom:-10.5px;width:21px;height:21px;border-radius:50%;background-color:#324b4b;line-height:21px;text-align:center;color:#fff;font-size:25px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .5s ease-out;transition:-webkit-transform .5s ease-out;transition:transform .5s ease-out;transition:transform .5s ease-out,-webkit-transform .5s ease-out;cursor:pointer;z-index:9999} .sym-grid .sym-grid-display .sym-add .sym-add-actions .sym-actions{position:absolute;top:42px;right:0;display:none;width:100%;max-width:250px;min-width:160px;z-index:9999;cursor:pointer} .sym-grid .sym-grid-display .sym-add .sym-add-actions .sym-actions .sym-action{background-color:#f8f9fa;height:17.5px;line-height:17.5px;font-size:.7rem;text-align:right;padding-right:15.75px!important} .sym-grid .sym-grid-display .sym-add .sym-add-actions .sym-actions .sym-action:last-child{height:16.5px;line-height:16.5px} .sym-grid .sym-grid-display .sym-add:hover .sym-add-lines{opacity:1;width:37px;height:37px} .sym-grid .sym-grid-display .sym-add:hover .sym-add-actions .sym-add-button{-webkit-transform:scale(1);transform:scale(1)} .sym-grid .sym-grid-display .sym-add:hover .sym-add-actions:hover .sym-actions{display:block} .sym-grid .sym-grid-display.in-resize-mode .sym-add{display:none} .sym-grid .sym-grid-display.in-resize-mode .sym-resize-helper-finish, .sym-grid .sym-grid-display.in-resize-mode .sym-resize-helper-start, .sym-grid .sym-grid-display.sym-no-resize-support .sym-resize-helper-finish, .sym-grid .sym-grid-display.sym-no-resize-support .sym-resize-helper-start{display:none!important} .sym-grid .sym-grid-plugin-view{position:relative} .sym-grid .sym-grid-plugin-view .sym-grid-segments{border-top:1px solid #ccc} .sym-grid.sym-level-week .sym-rows:first-child .sym-actions, .sym-grid.sym-level-week .sym-rows:nth-child(2) .sym-actions{right:unset;left:100%} .sym-grid.sym-level-week .sym-rows:first-child .sym-actions .sym-action, .sym-grid.sym-level-week .sym-rows:nth-child(2) .sym-actions .sym-action{text-align:left;padding-right:0!important;padding-left:15.75px!important}@media (min-width:768px){ .sym-grid.sym-level-month .sym-grid-segments .sym-grid-segment .sym-rows:first-child .sym-actions{right:unset;left:100%} .sym-grid.sym-level-month .sym-grid-segments .sym-grid-segment .sym-rows:first-child .sym-actions .sym-action{text-align:left;padding-right:0!important;padding-left:15.75px!important}}@media (max-width:991.98px){ .sym-grid.sym-level-month .sym-grid-segments .sym-grid-segment .sym-rows .sym-row .sym-column:first-child .sym-actions, .sym-grid.sym-level-month .sym-grid-segments .sym-grid-segment .sym-rows .sym-row .sym-column:nth-child(2) .sym-actions{right:unset;left:100%} .sym-grid.sym-level-month .sym-grid-segments .sym-grid-segment .sym-rows .sym-row .sym-column:first-child .sym-actions .sym-action, .sym-grid.sym-level-month .sym-grid-segments .sym-grid-segment .sym-rows .sym-row .sym-column:nth-child(2) .sym-actions .sym-action{text-align:left;padding-right:0!important;padding-left:15.75px!important}}@media (min-width:768px){ .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:first-child .sym-actions, .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:nth-child(2) .sym-actions{right:unset;left:100%} .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:first-child .sym-actions .sym-action, .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:nth-child(2) .sym-actions .sym-action{text-align:left;padding-right:0!important;padding-left:15.75px!important}}@media (max-width:991.98px){ .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:first-child .sym-actions, .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:nth-child(2) .sym-actions, .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:nth-child(3) .sym-actions{right:unset;left:100%} .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:first-child .sym-actions .sym-action, .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:nth-child(2) .sym-actions .sym-action, .sym-grid.sym-level-quarter .sym-grid-segments .sym-grid-segment:nth-child(3) .sym-actions .sym-action{text-align:left;padding-right:0!important;padding-left:15.75px!important}} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments.sym-grid-segments-info{display:none} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments.sym-grid-segments-info:first-child{display:block} .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display .sym-grid-segments.sym-grid-segments-data .sym-grid-segment .sym-rows:first-child{border-left:0!important} .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-display .sym-grid-segments .sym-grid-segment:first-child .sym-rows:first-child{border-left:1px solid #ccc!important}@media (min-width:768px){ .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-grid-segments-data .sym-rows .sym-row:first-child, .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-grid-segments-data .sym-rows .sym-row:nth-child(2), .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-grid-segments-data .sym-rows .sym-stages, .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments.sym-grid-segments-info{display:none} .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:first-child, .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:first-child, .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:nth-child(2), .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-stages, .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:nth-child(2), .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:first-child, .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:nth-child(2), .sym-grid.sym-variant-planboard .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-stages{display:block}}@media (min-width:768px){ .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-segments.sym-grid-segments-info .sym-grid-segment{border-top:0!important} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-segments.sym-grid-segments-info:first-child .sym-grid-segment{border-top:1px solid #ccc!important} .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-bar .sym-texts .sym-grid-display .sym-grid-segment:first-child .sym-rows .sym-row:first-child .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-display .sym-grid-segment:first-child .sym-rows .sym-row:first-child .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-display .sym-grid-segment:first-child .sym-rows .sym-row:first-child .sym-column .text-truncate{display:inline} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-bar .sym-texts .sym-grid-display .sym-rows .sym-row:first-child .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-rows .sym-row:first-child .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-rows .sym-row:first-child .sym-column .text-truncate, .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-bar .sym-texts .sym-grid-display .sym-rows .sym-row:first-child .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-display .sym-rows .sym-row:first-child .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-display .sym-rows .sym-row:first-child .sym-column .text-truncate{display:none} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-bar .sym-texts .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:first-child .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-bar .sym-texts .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:first-child .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:first-child .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:first-child .sym-column .text-truncate, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:first-child .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:first-child .sym-column .text-truncate{display:inline!important}}@media (max-width:991.98px){ .sym-grid .sym-grid-display .sym-grid-segments.sym-grid-segments-info .sym-grid-segment{border-top:0!important} .sym-grid .sym-grid-display .sym-grid-segments.sym-grid-segments-info:first-child .sym-grid-segment{border-top:1px solid #ccc!important} .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display .sym-rows{border-left:0!important} .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-display .sym-rows:first-child{border-left:1px solid #ccc!important} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-bar .sym-texts .sym-grid-display .sym-rows .sym-row .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-rows .sym-row .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-rows .sym-row .sym-column .text-truncate{display:none} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-bar .sym-texts .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:first-child .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-bar .sym-texts .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:first-child .sym-column .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:first-child .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:first-child .sym-rows .sym-row:first-child .sym-column .text-truncate, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:first-child .sym-column .sym-grid-bar .sym-texts .sym-text, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-display .sym-grid-segments:nth-child(2) .sym-rows .sym-row:first-child .sym-column .text-truncate{display:inline}} .sym-grid .close-gap-between-grid{top:-55px;position:relative} .sym-grid .sym-grid-drag-source .sym-column-input{padding:4px 4px 0!important} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-scroll-column{min-height:1523px} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-drag-menu, .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-drag-menu .sym-grid-drag-source{height:1461px} .sym-grid.sym-variant-agenda.sym-level-day .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:1396px} .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-scroll-column{min-height:533px} .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-drag-menu, .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-drag-menu .sym-grid-drag-source{height:471px} .sym-grid.sym-variant-agenda.sym-level-week .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:406px} .sym-grid.sym-variant-agenda.sym-level-month .sym-grid-scroll-column{min-height:533px} .sym-grid.sym-variant-agenda.sym-level-month .sym-grid-drag-menu, .sym-grid.sym-variant-agenda.sym-level-month .sym-grid-drag-menu .sym-grid-drag-source{height:471px} .sym-grid.sym-variant-agenda.sym-level-month .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:406px} .sym-grid.sym-variant-agenda.sym-level-quarter .sym-grid-scroll-column{min-height:713px} .sym-grid.sym-variant-agenda.sym-level-quarter .sym-grid-drag-menu, .sym-grid.sym-variant-agenda.sym-level-quarter .sym-grid-drag-menu .sym-grid-drag-source{height:651px} .sym-grid.sym-variant-agenda.sym-level-quarter .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:586px} .sym-grid.sym-variant-planboard.sym-level-day .sym-grid-scroll-column{min-height:1017px} .sym-grid.sym-variant-planboard.sym-level-day .sym-grid-drag-menu, .sym-grid.sym-variant-planboard.sym-level-day .sym-grid-drag-menu .sym-grid-drag-source{height:955px} .sym-grid.sym-variant-planboard.sym-level-day .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:848px} .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-scroll-column{min-height:1017px} .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-drag-menu, .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-drag-menu .sym-grid-drag-source{height:955px} .sym-grid.sym-variant-planboard.sym-level-week .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:848px} .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-scroll-column{min-height:1017px} .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-drag-menu, .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-drag-menu .sym-grid-drag-source{height:955px} .sym-grid.sym-variant-planboard.sym-level-month .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:848px} .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-scroll-column{min-height:1017px} .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-drag-menu, .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-drag-menu .sym-grid-drag-source{height:955px} .sym-grid.sym-variant-planboard.sym-level-quarter .sym-grid-drag-menu .sym-grid-drag-source .sym-drag-list{height:848px} .sym-grid .sym-legenda .sym-legenda-visual{float:left;width:14px;height:14px} .sym-grid .sym-legenda .sym-legenda-visual.sym-stage-unpublicated{background-color:#9cc4c2} .sym-grid .sym-legenda .sym-legenda-visual.sym-stage-publicated{background-color:#f8cea6} .sym-grid .sym-legenda .sym-legenda-label{float:left;line-height:14px;font-size:.8rem;height:14px;width:100px} .sym-grid .sym-legenda .sym-legenda-spacer{margin-top:2px} .sym-grid .sym-layer-select{height:31px!important;width:165px;padding-top:3px;padding-bottom:3px} .sym-grid .sym-grid-drag{position:absolute;left:0;z-index:999} .sym-grid .sym-grid-drag .sym-grid-drag-menu{position:absolute;width:57px;background-color:#fff;border-right:1px solid #ccc;border-bottom:1px solid #ccc} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows{border-left:0!important;z-index:2} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-column .sym-column-icon{font-size:20px;width:100%;margin-top:7px} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-column .sym-label{text-align:center;font-size:.6rem;line-height:.6rem} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source{position:absolute;background-color:#fff;width:250px;border-top:1px solid #ccc;border-right:1px solid #ccc;border-bottom:1px solid #ccc} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-tasks{top:-64px} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-appointments{top:-117px} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-services{top:-169px} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-absences{top:-222px} .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row.drag-source-open, .sym-grid .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row.last-dragsource-open{background-color:#fff} .sym-grid .sym-grid-drag .sym-grid-drag-menu.sym-no-create-allowed .sym-drag-source-button{color:#adb5bd!important;cursor:not-allowed} .sym-grid .sym-grid-drag .sym-row.drag-source-open .sym-grid-drag-source{left:57px} .sym-grid .sym-grid-drag .sym-row .sym-grid-drag-source{left:-193px;-webkit-transition:left .5s ease-out;transition:left .5s ease-out;z-index:-1}@media screen and (min-width:1322px){ .sym-grid.sym-dragsources-pinned .sym-has-dragsources{margin-left:266px!important} .sym-grid.sym-dragsources-pinned .sym-grid-drag .sym-row.last-dragsource-open .sym-grid-drag-source{z-index:100} .sym-grid.sym-dragsources-pinned .sym-grid-drag .sym-row .sym-grid-drag-source{left:57px;-webkit-transition:none;transition:none;z-index:unset}}@media (min-width:768px) and (max-width:991.98px){ .sym-grid.sym-variant-agenda .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-appointments{top:-116px} .sym-grid.sym-variant-agenda .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-absences{top:-221px}}@media (min-width:768px) and (max-width:991.98px){ .sym-grid.sym-variant-planboard .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-appointments{top:-116px} .sym-grid.sym-variant-planboard .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-absences{top:-221px}} .sym-grid .sym-has-dragsources{padding-left:1rem;margin-left:1rem} .sym-grid.sym-hide-absences .sym-absences, .sym-grid.sym-hide-adhoc .sym-add, .sym-grid.sym-hide-appointments .sym-appointments, .sym-grid.sym-hide-assignments .sym-assignments, .sym-grid.sym-hide-attendants .sym-attendants, .sym-grid.sym-hide-availabilities .sym-availabilities, .sym-grid.sym-hide-dragsources .sym-dragsources, .sym-grid.sym-hide-drop-targets .sym-drop-target, .sym-grid.sym-hide-extra .sym-source-extra, .sym-grid.sym-hide-forecast .sym-source-forecast, .sym-grid.sym-hide-script .sym-source-script, .sym-grid.sym-hide-template .sym-source-template, .sym-grid.sym-hide-workpatterns .sym-workpatterns{display:none} .sym-grid.sym-hide-no-violations .sym-has-no-violations{opacity:.15}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard drag source absences component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"[_nghost-%COMP%] .sym-entity-link{display:none}.form-check-inline[_ngcontent-%COMP%] .form-check-input[_ngcontent-%COMP%]{margin-right:2px!important}@media screen and (max-width:1321px){.sym-dragsources-pinbutton[_ngcontent-%COMP%]{display:none}}.sym-drag-list[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden}.sym-drag-list[_ngcontent-%COMP%] .sym-drag-spot[_ngcontent-%COMP%]{height:38px;padding-left:4px;padding-top:4px}.sym-drag-list[_ngcontent-%COMP%] .sym-drag-spot[_ngcontent-%COMP%] .sym-drag-item[_ngcontent-%COMP%]{border:1px solid #ccc;height:34px;width:242px;position:relative;cursor:move}.sym-drag-list[_ngcontent-%COMP%] .sym-drag-spot[_ngcontent-%COMP%] .sym-drag-item[_ngcontent-%COMP%] .sym-pattern[_ngcontent-%COMP%]{position:absolute;left:4px;top:4px;height:24px;width:24px}.sym-drag-list[_ngcontent-%COMP%] .sym-drag-spot[_ngcontent-%COMP%] .sym-drag-item[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute;width:42px;right:0;line-height:34px;font-size:21px;color:#dee2e6;z-index:-1}.sym-drag-list[_ngcontent-%COMP%] .sym-drag-spot[_ngcontent-%COMP%] .sym-drag-item[_ngcontent-%COMP%] .sym-texts[_ngcontent-%COMP%]{font-size:.7rem;color:#222;padding-left:34px}.sym-drag-list[_ngcontent-%COMP%] .sym-drag-spot[_ngcontent-%COMP%] .sym-drag-item[_ngcontent-%COMP%] .sym-texts[_ngcontent-%COMP%] .sym-text[_ngcontent-%COMP%]{line-height:16px}.sym-drag-list[_ngcontent-%COMP%] .sym-drag-spot[_ngcontent-%COMP%] .sym-drag-item[_ngcontent-%COMP%]:hover .icon[_ngcontent-%COMP%]{display:none}\"];\nexport { styles as styles };\n","/**\n * @file Base grid drag component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ElementRef, NgZone, OnInit } from '@angular/core';\nimport { ControlBase } from '../../base/helpers/control-base';\nvar GridDragBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(GridDragBaseComponent, _super);\n /**\n * Creates an instance of GridDragBaseComponent.\n * @param {configurationsService} configurationsService\n */\n function GridDragBaseComponent(alertsService, executorsService, dropTargetsService, elementRef, ngZone, localStorageService, gridService) {\n var _this = _super.call(this, alertsService) || this;\n _this.alertsService = alertsService;\n _this.executorsService = executorsService;\n _this.dropTargetsService = dropTargetsService;\n _this.elementRef = elementRef;\n _this.ngZone = ngZone;\n _this.localStorageService = localStorageService;\n _this.gridService = gridService;\n // Keep track of when the application is in drag mode\n _this.inDragMode = false;\n _this.configTasksSource = undefined;\n _this.configAppointmentsSource = undefined;\n _this.configServicesSource = undefined;\n _this.configAbsencesSource = undefined;\n /**\n * Holding Reference of pinned\n * @private\n * @type {boolean}\n */\n _this._pinned = false;\n return _this;\n }\n GridDragBaseComponent.prototype.onDragOver = function (event) {\n // Start the drag mode\n this.inDragMode = true;\n // Close the source to make the resources visible if the sources are not pinned.\n if (!this.pinned) {\n this.closeSource();\n }\n };\n GridDragBaseComponent.prototype.onDragLeave = function (event) {\n // Stop the drag mode\n this.inDragMode = false;\n // Clear the drop targets\n this.dropTargetsService.clearDropTargets();\n };\n Object.defineProperty(GridDragBaseComponent.prototype, \"pinned\", {\n /**\n * Gets the pinned state.\n * @type {boolean}\n */\n get: function () {\n return this._pinned;\n },\n /**\n * Sets the pinned state\n */\n set: function (value) {\n this.localStorageService.updateProperty('local', 'dragsources-pinned', value);\n this._pinned = value;\n // First close any open drag source\n if (value === false) {\n this.closeSource();\n }\n },\n enumerable: true,\n configurable: true\n });\n GridDragBaseComponent.prototype.togglePinned = function () {\n this.pinned = !this.pinned;\n };\n GridDragBaseComponent.prototype.openSource = function (dragSource) {\n clearTimeout(this.closeTimer);\n this.dragSourceOpen = dragSource;\n this.lastOpenedDragsource = dragSource;\n };\n GridDragBaseComponent.prototype.isSourceOpen = function (dragSource) {\n return (this.dragSourceOpen === dragSource);\n };\n GridDragBaseComponent.prototype.isLastOpenedDragsource = function (dragSource) {\n return (this.lastOpenedDragsource === dragSource);\n };\n GridDragBaseComponent.prototype.closeSource = function () {\n this.lastOpenedDragsource = (this.pinned === true) ? this.dragSourceOpen : undefined;\n this.dragSourceOpen = undefined;\n };\n // called at mouseleave dragsources\n GridDragBaseComponent.prototype.closeSourceDelayed = function () {\n var _this = this;\n this.closeTimer = window.setTimeout(function () {\n _this.closeSource();\n }, 1000);\n };\n Object.defineProperty(GridDragBaseComponent.prototype, \"visibleHourStart\", {\n /**\n * The start hour of the day the component is using\n * This is fetched from the settings\n *\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursStart;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDragBaseComponent.prototype, \"visibleHoursEnd\", {\n /**\n * The end hour of the day the component is using\n * This is fetched from the settings\n *\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursEnd;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDragBaseComponent.prototype, \"visibleDays\", {\n /**\n * Day numbers that should be displayed\n * Sunday = 0, monday = 1, ...\n * These days are fetched from the settings and dependant on the 'weekend' checkbox\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleDays;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Handling the drop event (in this case only an delete!)\n * @param {DragEvent} event\n */\n GridDragBaseComponent.prototype.dropItem = function (event) {\n var _this = this;\n // Prevent the default handling of the element\n event.preventDefault();\n // Get the executor id from the drag data\n /* Fix issue: Xerius: Bij aanlog via IE is het niet mogelijk om Afwezigheden /Services te droppen op Planbord #2718\n * Oplossing gebruik alleen 'Text' bij dataTransfer.\n * Zie: https://stackoverflow.com/questions/26213011/html5-dragdrop-issue-in-internet-explorer-datatransfer-property-access-not-pos\n */\n var executorId = event.dataTransfer.getData('Text');\n // Use the executor id to find the executor event\n var executorEvent = this.executorsService.getExecutorEventById(executorId);\n // By the drag start the executor name is set but if a drop is performed on the 'delete' button in\n // the DragSource we need to rewrite the orginal executor name to match against the correct delete executor.\n var executorName;\n switch (executorEvent.executorName) {\n case 'absence-move':\n executorName = 'absence-delete';\n break;\n case 'appointment-move':\n executorName = 'appointment-delete';\n break;\n case 'assignment-move':\n executorName = 'assignment-delete';\n break;\n case 'attendant-move':\n executorName = 'attendant-delete';\n break;\n }\n // If the executor name is still undefined this means there is no 'real' delete needed\n // for this drop. For example a drag started from the DragSourceBase and dropped on the\n // delete button. In this case there is no Entity created, the user want to stop the dragging.\n if (executorName) {\n // Initiate the executors\n this.executorsService.initiate(executorName, executorEvent.data).then(function (_a) {\n var items = _a[0], successMessage = _a[1];\n // Execution is successful\n _this.alertsService.createAlert('success', successMessage); // Todo; communicate that the delete was succesfull\n }).catch(function (error) {\n // Something went wrong\n if (error.entityErrors && error.entityErrors.length > 0) {\n // Error alert already created by executor.\n return;\n }\n _this.alertsService.createAlert('danger', (typeof error === 'string') ? error : 'APP.EXECUTORS.EXECUTION_FAILED', (typeof error === 'string') ? undefined : error);\n });\n }\n else {\n console.log('No (real) deletion needed.');\n }\n };\n /**\n * Handling the drag over event\n * @param {DragEvent} event\n */\n GridDragBaseComponent.prototype.dragOver = function (event) {\n event.stopPropagation();\n event.preventDefault();\n };\n /**\n * Is called during the initialization of the component\n *\n */\n GridDragBaseComponent.prototype.ngOnInit = function () {\n var _this = this;\n // The dragover event is needed to make a drop work. The problem is that for every move the draggable\n // item fires the dragover event of Angular and a change detection is handled. This is per pixel (!)\n // so it's quite slow to 're-render' the grid. Therefore I placed the dragover event outside Angular via NgZone.\n // This construction is used in grid-display-base.component.ts, grid-drag-base.component.ts, plugin-view-shifts and grid-bar-base.component.ts.\n this.ngZone.runOutsideAngular(function () {\n _this.elementRef.nativeElement.addEventListener('dragover', function (event) {\n event.stopPropagation();\n event.preventDefault();\n });\n _this.elementRef.nativeElement.addEventListener('drop', function (event) {\n event.stopPropagation();\n event.preventDefault();\n });\n });\n this._pinned = this.localStorageService.readProperty('local', 'dragsources-pinned', false, [true, false]);\n if (this.pinned === true) {\n this.openSource('tasks');\n }\n };\n return GridDragBaseComponent;\n}(ControlBase));\nexport { GridDragBaseComponent };\n","/**\n * @file Base drag source component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { ControlBase } from '../../base/helpers/control-base';\nimport { ColorTools } from '../../base/helpers/color-tools';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { DomainService } from '../../domain.service';\nimport { SortDescriptor } from '../../core/helpers/sort-descriptor';\nimport { SortDirection } from '../../core/helpers/sort-direction';\nimport { GridDragBaseComponent } from '../grid-drag-base/grid-drag-base.component';\nimport { FormControl } from '@angular/forms';\nvar DragSourceBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DragSourceBaseComponent, _super);\n /**\n * Creates an instance of DragSourceBaseComponent.\n * @param {configurationsService} configurationsService\n */\n function DragSourceBaseComponent(domainService, executorsService, alertsService, gridService) {\n var _this = _super.call(this, alertsService) || this;\n _this.domainService = domainService;\n _this.executorsService = executorsService;\n _this.alertsService = alertsService;\n _this.gridService = gridService;\n _this.dragSourceBaseControl = new FormControl();\n /**\n * Gets, sets the query options to retrieve the agenda items.\n * @private\n * @type {QueryOptions}\n */\n _this.queryOptions = {};\n _this.dynamicParameters = [];\n // Keep track of the loading state of the drag source\n _this.isLoading = false;\n /** Set of color tools */\n _this.colorTools = new ColorTools();\n /**\n * Keep track of the setting 'timed'.\n * @private\n */\n _this._timed = true;\n _this._objects = undefined;\n _this._filter = null;\n _this.subscription = null;\n _this._objects = new DataSet(domainService);\n // Set default sorting for the drag sources variants\n _this._objects.sorting.push(new SortDescriptor('Name', 'Name', SortDirection.Ascending, 0));\n return _this;\n }\n Object.defineProperty(DragSourceBaseComponent.prototype, \"startDate\", {\n get: function () {\n return this.gridService.startDate.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DragSourceBaseComponent.prototype, \"endDate\", {\n get: function () {\n return this.gridService.endDate.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DragSourceBaseComponent.prototype, \"count\", {\n get: function () {\n return this.items.length;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DragSourceBaseComponent.prototype, \"teamOid\", {\n get: function () {\n return '?';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DragSourceBaseComponent.prototype, \"filterOid\", {\n get: function () {\n if (this._filter == null) {\n return '?';\n }\n return this._filter['Oid'] ? this._filter['Oid'] : '?';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DragSourceBaseComponent.prototype, \"filter\", {\n get: function () {\n return this._filter;\n },\n set: function (value) {\n if (value === this._filter) {\n return;\n }\n this._filter = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DragSourceBaseComponent.prototype, \"items\", {\n // Temp variable for displaying items\n get: function () {\n if (!this._objects || !this._objects.items) {\n return [];\n }\n return this._objects.items.filter(this.itemFilter);\n },\n enumerable: true,\n configurable: true\n });\n // Add a SortDescriptor to the displaying items\n DragSourceBaseComponent.prototype.addSorting = function (value) {\n this._objects.sorting.push(value);\n };\n Object.defineProperty(DragSourceBaseComponent.prototype, \"timed\", {\n /**\n * Gets the times property.\n * @type {boolean}\n */\n get: function () {\n return this._timed;\n },\n /**\n * Sets the times property.\n */\n set: function (value) {\n if (this._timed === value) {\n return;\n }\n this._timed = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Handling the drag start event\n * @param {DragEvent} event\n * @param {*} item\n */\n DragSourceBaseComponent.prototype.dragItem = function (event, item) {\n // Only proceed if there is an executor selected\n if (!this.selectedExecutorName) {\n this.alertsService.createAlert('danger', 'APP.EXECUTORS.NO_EXECUTOR_SELECTED');\n return;\n }\n // Create executor event and get the id returned\n var executorId = this.executorsService.createExecutorEventAndGetTheId(this.selectedExecutorName, {\n items: [item]\n });\n // Set the executor id\n /* Fix issue: Xerius: Bij aanlog via IE is het niet mogelijk om Afwezigheden /Services te droppen op Planbord #2718\n * Oplossing gebruik alleen 'Text' bij dataTransfer.\n * Zie: https://stackoverflow.com/questions/26213011/html5-dragdrop-issue-in-internet-explorer-datatransfer-property-access-not-pos\n */\n event.dataTransfer.setData('Text', executorId);\n };\n /**\n * No warning when the configuration is missing for drag-source components.\n * This overrides ngonInit in abstract-component.ts. Control-base.ts has no ngonInit.\n */\n DragSourceBaseComponent.prototype.ngOnInit = function () { };\n /**\n * Is called after the block name is set and the configuration is loaded.\n * @protected\n */\n DragSourceBaseComponent.prototype.afterInitialize = function () {\n var _this = this;\n _super.prototype.afterInitialize.call(this);\n if (this.configuration.data) {\n this.isLoading = true;\n var entityConfig = this.configuration.data;\n this._objects.sourceName = entityConfig.dataSource;\n if (entityConfig.parameters) {\n this.queryOptions.parameters = Object.assign({}, entityConfig.parameters);\n }\n this.queryOptions.expand = entityConfig.expand;\n this._objects.queryOptions = this.queryOptions;\n DomainService.getDynamicParams(this.queryOptions, this.dynamicParameters);\n this.domainService.registerSource(entityConfig.entity, this._objects);\n this.refresh();\n this.subscriptionPool.add(this.gridService.stateChanged.subscribe(function (result) {\n _this.refresh();\n }));\n }\n };\n /**\n * Is called before the destruction of the component\n */\n DragSourceBaseComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n };\n /**\n * Can be overridden to filter out items\n * @protected\n * @param {Entity} item The item is tested\n * @returns A value indicating whether the item should be included\n */\n DragSourceBaseComponent.prototype.itemFilter = function (item) {\n return true;\n };\n DragSourceBaseComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this._objects.entityType == null) {\n return [2 /*return*/];\n }\n this.isLoading = true;\n DomainService.setDynamicParams(this.queryOptions, this.dynamicParameters, this);\n return [4 /*yield*/, this._objects.refresh()];\n case 1:\n _a.sent();\n this.isLoading = false;\n return [2 /*return*/];\n }\n });\n });\n };\n return DragSourceBaseComponent;\n}(ControlBase));\nexport { DragSourceBaseComponent };\n","/**\n * @file Drag source tasks base component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceBaseComponent } from '../drag-source-base/drag-source-base.component';\n/** Drag source tasks base component */\nvar DragSourceTasksBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DragSourceTasksBaseComponent, _super);\n function DragSourceTasksBaseComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Keep track of the setting 'norm'.\n * @private\n */\n _this._norm = true;\n return _this;\n }\n /**\n * Initiate the executors for given source\n */\n DragSourceTasksBaseComponent.prototype.initiateExecutors = function () {\n // Get the executors\n this.availableExecutors = this.executorsService.getExecutors('drop', 'Task');\n // We want task-drop-prognosed to be first in the list #3956\n var index = this.availableExecutors.findIndex(function (x) { return x.name === 'task-drop-prognosed'; });\n if (index > -1) {\n var firstExecutor = this.availableExecutors.splice(index, 1)[0];\n this.availableExecutors.unshift(firstExecutor);\n }\n // Default pick the first available drop method\n this.selectedExecutorName = (this.availableExecutors.length > 0) ? this.availableExecutors[0].name : undefined;\n };\n /**\n * Filters out tasks that are already fully planned\n * @protected\n * @param {Entity} item The task\n * @returns A value indicating whether the task should be included\n */\n DragSourceTasksBaseComponent.prototype.itemFilter = function (item) {\n // Issue: Mechanisme van zichtbaarheid en onzichtbaarheid van een projecttaak in de dragsources #2828\n // Op I-Dag van 30 augustus 2019 hebben we besloten verlopig hierop niet te filteren.\n // Oude code:\n // return !(item).isFullyPlanned();\n return true;\n };\n /**\n * Gets the format by the filtername\n * @param {string} filter the filtername\n * @type {EntityFormat}\n * @memberOf PlanboardGridBarComponent\n */\n DragSourceTasksBaseComponent.prototype.getFilterFormat = function (filter) {\n return this.gridService.getFormat(filter);\n };\n Object.defineProperty(DragSourceTasksBaseComponent.prototype, \"norm\", {\n /**\n * Gets the norm property.\n * @type {boolean}\n */\n get: function () {\n return this._norm;\n },\n /**\n * Sets the norm property.\n */\n set: function (value) {\n if (this._norm === value) {\n return;\n }\n this._norm = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n return DragSourceTasksBaseComponent;\n}(DragSourceBaseComponent));\nexport { DragSourceTasksBaseComponent };\n","/**\n * @file Executor base\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport * as moment from 'moment';\nimport { SubscriptionPool } from '../../core/helpers/subscription-pool';\n/**\n * The executor base\n * @export\n * @class ExecutorBase\n */\nvar ExecutorBase = /** @class */ (function () {\n /**\n * Creates an instance of ExecutorBase.\n * @param {ExecutorName} name The name of the executor\n * @param {string} label The label of the executor\n * @param {ExecutorScope[]} scopes The supported scopes by this executor\n * @param {ExecutorAction} action The executor action\n */\n function ExecutorBase(name, label, scopes, action, category, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n this.name = name;\n this.label = label;\n this.scopes = scopes;\n this.action = action;\n this.category = category;\n this.domainService = domainService;\n this.overlayService = overlayService;\n this.dropTargetsService = dropTargetsService;\n this.dialogService = dialogService;\n this.translateService = translateService;\n this.userService = userService;\n this.resourceService = resourceService;\n // The default message for the executors\n this.successMessage = 'APP.EXECUTORS.DEFAULT_SUCCESS_MESSAGE';\n /** Keep track of the subscriptions */\n this.subscriptionPool = new SubscriptionPool();\n // The default positioning value for the executors\n this.exactPositioning = false;\n }\n /**\n * The main execute method of the executor\n * @param {ExecutorData} data The executor data to make the executor stateless\n * @returns {Promise<[Entity[], string]>} The results and the (custom) success message\n */\n ExecutorBase.prototype.execute = function (data) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var results;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: \n // First step: initiate the executor\n return [4 /*yield*/, this.initiate()];\n case 1:\n // First step: initiate the executor\n _a.sent();\n return [4 /*yield*/, this.validate(data)];\n case 2:\n _a.sent();\n return [4 /*yield*/, this.process(data)];\n case 3:\n results = _a.sent();\n // Finish the result (e.q open an )\n return [2 /*return*/, this.finish(data, results)];\n }\n });\n });\n };\n /**\n * Initiate the executor\n * @protected\n * @returns {Promise}\n */\n ExecutorBase.prototype.initiate = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var hasChanges, subject, message, result;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n hasChanges = this.domainService.hasChanges();\n if (!hasChanges) {\n return [2 /*return*/, Promise.resolve()];\n }\n subject = this.translateService.instant('APP.CORE.CHANGES_TITLE');\n message = this.translateService.instant('APP.EXECUTORS.REJECT_AND_EXECUTE_MESSAGE');\n return [4 /*yield*/, this.dialogService.createDialog(subject, message, 'APP.CORE.OK').toPromise()];\n case 1:\n result = _a.sent();\n if (!result) {\n return [2 /*return*/, Promise.reject(new Error('Operation cancelled'))];\n }\n this.domainService.rejectChanges();\n return [2 /*return*/, Promise.resolve()];\n }\n });\n });\n };\n /**\n * Validate the executor data\n * @protected\n * @param {ExecutorData} data The executor datea\n * @returns {Promise}\n */\n ExecutorBase.prototype.validate = function (data) {\n // For create validation method at delete, move and drop level\n return new Promise(function (resolve, reject) {\n resolve();\n });\n };\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n ExecutorBase.prototype.process = function (data) {\n return new Promise(function (resolve, reject) {\n // data.targets.forEach(target => {\n // data.items.forEach(item => {\n // // YOUR MAGIC HERE\n // })\n // });\n resolve();\n });\n };\n /**\n * Is called before the destruction of the component\n */\n ExecutorBase.prototype.ngOnDestroy = function () {\n this.subscriptionPool.unsubscribeAll();\n };\n /**\n * The default show drop targets method.\n * @param {ExecutorData} data\n */\n ExecutorBase.prototype.showDropTargets = function (data) {\n };\n /**\n * The default finish part of the executor\n * @protected\n * @param {Entity[]} result The result of the process step\n * @returns {Promise<[Entity[], string]>}\n */\n ExecutorBase.prototype.finish = function (data, result) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n // Here we can do things like opening the first entity etc\n return [2 /*return*/, new Promise(function (resolve, reject) {\n resolve([result, _this.successMessage]);\n })];\n });\n });\n };\n /**\n * Check if action is supported by this executor (used at move, delete and drop)\n * Important: executors are stateless.\n * @param {ExecutorAction} requestedAction The requested action\n * @param {ExecutorAction} supportedAction The supported action\n * @returns {Promise}\n */\n ExecutorBase.prototype.isActionSupported = function (requestedAction, supportedAction) {\n return new Promise(function (resolve, reject) {\n // Test if the action is allowed\n if (requestedAction !== supportedAction) {\n return reject(new Error('This executor does not support the action \"' + requestedAction + '\"'));\n }\n resolve();\n });\n };\n /**\n * Validate if given Entities are resources\n * @param {*} resources The given resources\n * @returns {Promise}\n */\n ExecutorBase.prototype.validateResources = function (resources) {\n return new Promise(function (resolve, reject) {\n // Test if we have any resources\n if (!resources || resources.length === 0) {\n reject(new Error('No resources are given'));\n }\n // Check if the given entities are Resources\n resources.forEach(function (resource) {\n if (!resource || !resource.entityType || resource.entityType.shortName !== 'Resource') {\n reject(new Error('One of the resources does not look like a resource'));\n }\n });\n // Every thing is OK\n return resolve();\n });\n };\n /**\n * Validate if given Items are supported based on the scope of the executor\n * @param {Entity[]} resources The given resources\n * @returns {Promise}\n */\n ExecutorBase.prototype.validateItems = function (items) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // Test if we have any items\n if (!items || items.length === 0) {\n reject(new Error('No items are given'));\n }\n // Check if the given entities are of the types given in the scope\n items.forEach(function (item) {\n if (!item || !item.entityType || _this.scopes.indexOf(item.entityType.shortName.toString()) === -1) {\n reject(new Error('One of items can not be handled by this executor because given Type (' + item['entityType'].shortName + ') is not supported (' + _this.scopes.toString() + ').'));\n }\n });\n // Every thing is OK\n return resolve();\n });\n };\n /**\n * Validate given timeslot\n * @param {ExecutorTimeslot} timeslot\n * @returns {Promise}\n */\n ExecutorBase.prototype.validateTimeslots = function (name, timeslots, isOptional) {\n var _this = this;\n if (isOptional === void 0) { isOptional = false; }\n if (!timeslots || timeslots.length === 0) {\n return new Promise(function (resolve, reject) {\n if (isOptional === true) {\n resolve();\n }\n else {\n reject(new Error('Expecting one or more timeslots (' + name + ')'));\n }\n });\n }\n if (!isOptional && !timeslots && timeslots.length === 0) {\n return new Promise(function (resolve, reject) {\n reject(new Error('Expecting one or more timeslots (' + name + ')'));\n });\n }\n // Run through the timeslots to validate them one by one\n var validators = [];\n timeslots.forEach(function (timeslot) {\n validators.push(_this.validateTimeslot(name, timeslot, isOptional));\n });\n return Promise.all(validators);\n };\n /**\n * Validate given timeslot\n *\n * @param {ExecutorTimeslot} timeslot\n * @returns {Promise}\n */\n ExecutorBase.prototype.validateTimeslot = function (name, timeslot, isOptional) {\n if (isOptional === void 0) { isOptional = false; }\n return new Promise(function (resolve, reject) {\n // Check if timeslot is given\n if (timeslot) {\n // Test if timeslot has a start and is a Moment object\n if (!timeslot['start'] || !moment.isMoment(timeslot['start'])) {\n reject(new Error('The start in one of the timeslots is missing or incorrect (' + name + ')'));\n }\n // Test if timeslot has a finish and is a Moment object\n if (!timeslot['finish'] || !moment.isMoment(timeslot['finish'])) {\n reject(new Error('The finish in one of the timeslots is missing or incorrect (' + name + ')'));\n }\n }\n else {\n // If not optional return an error\n if (!isOptional) {\n reject(new Error('The timeslot is missing (' + name + ')'));\n }\n }\n // Every thing is OK\n return resolve();\n });\n };\n /**\n * Open the first item of the items in the sidebar right\n * @param {Entity[]} items The array of items\n * @returns {Promise}\n */\n ExecutorBase.prototype.openFirstItem = function (data, items) {\n return new Promise(function (resolve, reject) {\n // Check if we have atleast one created item\n if (!items || items.length === 0) {\n return reject(new Error('Can not open first item because it does nog exists'));\n }\n var showResultExecutor = data.dropComponent !== undefined ? data.dropComponent.showResultExecutor : undefined;\n if (!showResultExecutor) {\n return reject(new Error('Show result executor is missing in drop component'));\n }\n // Show result\n data.dropComponent.showResultExecutor(items);\n // Every thing is OK\n return resolve();\n });\n };\n /**\n * Generic approach for saving the changes via a Promise\n * @protected\n * @param {(reason?: any) => void} reject\n * @param {((value?: {} | PromiseLike<{}>) => void)} resolve\n */\n ExecutorBase.prototype.saveChanges = function (reject, resolve) {\n this.subscriptionPool.add(this.trySaveChanges(reject).subscribe(function (result) {\n resolve(result.entities);\n }));\n };\n /**\n * Generic approach for saving the changes and rejectchanges\n * @protected\n * @param {(reason?: any) => void} reject\n */\n ExecutorBase.prototype.trySaveChanges = function (reject) {\n var _this = this;\n return this.domainService.saveChanges(function (error) {\n if (error) {\n if (error.entityErrors && error.entityErrors.length > 0) {\n _this.domainService.publishServerEntityErrors(error.entityErrors, null);\n }\n reject(error);\n _this.domainService.rejectChanges();\n }\n });\n };\n /**\n * Run promises parallel and then save all domain changes\n * @param tasks The array of tasks\n */\n ExecutorBase.prototype.runPromisesParallelAndSave = function (tasks) {\n var _this = this;\n return Promise.all(tasks).then(function () {\n return new Promise(function (resolve, reject) {\n _this.saveChanges(reject, resolve);\n });\n });\n };\n /**\n * Run promises serial\n * @param tasks The array of tasks\n */\n ExecutorBase.prototype.runPromisesSerial = function (slices, fn) {\n return slices.reduce(function (promise, slice) { return promise.then(function () { return fn(slice); }); }, Promise.resolve());\n };\n /**\n * Select executor data (resources, targets, and items)\n * @protected\n * @param {ExecutorData} executorData\n * @returns\n */\n ExecutorBase.prototype.explodeExecutorData = function (executorData) {\n var slices = [];\n // Resources are optional (useful for the resizes executors)\n if (!executorData.resources || executorData.resources.length === 0) {\n // Run through targets and items to create data slices\n executorData.targets.forEach(function (target) {\n executorData.items.forEach(function (item) {\n slices.push({\n target: target,\n item: item\n });\n });\n });\n }\n else {\n // Run through resources, targets, and items to create data slices\n executorData.resources.forEach(function (resource) {\n executorData.targets.forEach(function (target) {\n executorData.items.forEach(function (item) {\n slices.push({\n target: target,\n resource: resource,\n item: item\n });\n });\n });\n });\n }\n return slices;\n };\n return ExecutorBase;\n}());\nexport { ExecutorBase };\n","/**\n * @file Drop executor base\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ExecutorBase } from './executor';\nvar DropBase = /** @class */ (function (_super) {\n tslib_1.__extends(DropBase, _super);\n /**\n * Creates an instance of DropBase.\n * @param {string} name The name of executor\n * @param {string} label The label for the exectur (for localisation)\n * @param {ExecutorScope[]} scopes The executor has support for these scopes\n */\n function DropBase(name, label, scopes, category, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, name, label, scopes, 'drop', category, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n // The success message for the drop executors\n _this.successMessage = 'APP.EXECUTORS.DROP_SUCCESS_MESSAGE';\n return _this;\n }\n /**\n * Validate the executor data\n *\n * @param {ExecutorData} data The executor datea\n * @returns {Promise}\n */\n DropBase.prototype.validate = function (data) {\n var _this = this;\n // Make sure we have valid resources\n return this.validateResources(data.resources).then(function () {\n // Make sure the given items are of the correct type\n return _this.validateItems(data.items).then(function () {\n // Check the target timeslot\n return _this.validateTimeslots('targets', data.targets, false);\n });\n });\n };\n return DropBase;\n}(ExecutorBase));\nexport { DropBase };\n","/**\n * @file Drop task\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nvar TaskDrop = /** @class */ (function (_super) {\n tslib_1.__extends(TaskDrop, _super);\n /**\n * Creates an instance of TaskDrop.\n */\n function TaskDrop(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'task-drop', 'APP.EXECUTORS.TASK_DROP_NAME', ['Task'], 'Task', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n TaskDrop.prototype.process = function (data) {\n var _this = this;\n var sliced = this.explodeExecutorData(data);\n // Execute the async functions one by one (serial)\n return this.runPromisesSerial(sliced, function (slice) {\n return _this.dropTask(slice.target, slice.resource, slice.item);\n });\n };\n /**\n * Drop a task\n * @private\n * @param {ExecutorTimeslot} target\n * @param {Resource} resource\n * @param {Entity} item\n * @returns {Promise}\n */\n TaskDrop.prototype.dropTask = function (target, resource, item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n resource.fillwith(item['Oid'], target.start.toDate(), target.finish.toDate(), 'FORCEDROP', true);\n _this.subscriptionPool.add(_this.trySaveChanges(reject).subscribe(function (result) {\n var resourceOid = resource.Oid;\n var methodResult = result.entities.find(function (entity) { return entity['Origin'] === resourceOid && entity['Name'] === 'FillWith'; });\n if (methodResult) {\n var values = methodResult['Value'];\n resolve(values);\n }\n else {\n resolve();\n }\n }));\n });\n };\n /**\n * The logic for the showing the valid drop targets\n * @param {ExecutorData} data\n */\n TaskDrop.prototype.showDropTargets = function (data) {\n var _this = this;\n // Use the DropTargetService to make the drop targets visible\n this.dropTargetsService.doComplyResourcesDropTargets(data, function () {\n return _this.dropTargetsService.doFirstOpenTimeslotDropTargets(data);\n });\n };\n return TaskDrop;\n}(DropBase));\nexport { TaskDrop };\n","/**\n * @file Drop service\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nimport * as moment from 'moment';\nvar ServiceDrop = /** @class */ (function (_super) {\n tslib_1.__extends(ServiceDrop, _super);\n /**\n * Creates an instance of ServiceDrop.\n */\n function ServiceDrop(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, 'service-drop', 'APP.EXECUTORS.SERVICE_DROP_NAME', ['Service'], 'Service', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n // The exactPositioning value for the executors\n _this.exactPositioning = true;\n return _this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n ServiceDrop.prototype.process = function (data) {\n var _this = this;\n var createEntities = [];\n this.explodeExecutorData(data).forEach(function (slice) {\n createEntities.push(_this.createAttendant(slice.item, slice.target, slice.resource));\n });\n return this.runPromisesParallelAndSave(createEntities);\n };\n /**\n * Create an attendant\n * @private\n * @param {ExecutorData} data The executor data\n * @param {Entity} item The entity\n * @returns {Promise}\n */\n ServiceDrop.prototype.createAttendant = function (item, target, resource) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n var itemStart = target.start.toDate();\n // Issue: Ander gedrag drop service vanuit dragsources #4060\n var effort = moment.duration(2, 'hours'); // moment.duration(moment(item['Finish']).diff(moment(item['Start'])));\n var itemFinish = target.start.clone().add(effort).toDate();\n if (item['Purpose'] && item['Purpose'] === 'GENERATED') {\n // Wat doen we met item['Purpose'] === 'FORECAST'?\n // Is dat echt: \"Forecast (samengevoegd)\"?\n itemStart = item['StartBase'];\n itemFinish = item['FinishBase'];\n }\n var entity = _this.domainService.getEntityType('Attendant').createEntity({\n Name: item['Name'],\n Service_Oid: item['Oid']\n });\n _this.domainService.addEntity(entity);\n _this.domainService.setDefaultValues(_this.userService.user, entity);\n entity['Resource_Oid'] = resource['Oid'];\n entity['Start'] = itemStart;\n entity['Finish'] = itemFinish;\n entity['SumFactor'] = item['SumFactor'];\n resolve(true);\n });\n };\n /**\n * The logic for the showing the valid drop targets\n * @param {ExecutorData} data\n */\n ServiceDrop.prototype.showDropTargets = function (data) {\n var _this = this;\n // Use the DropTargetService to make the drop targets visible\n this.dropTargetsService.doComplyResourcesDropTargets(data, function () {\n return _this.dropTargetsService.doTimeslotDropTargets(data);\n });\n };\n return ServiceDrop;\n}(DropBase));\nexport { ServiceDrop };\n","/**\n * @file Drop absence\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nvar AbsenceDrop = /** @class */ (function (_super) {\n tslib_1.__extends(AbsenceDrop, _super);\n /**\n * Creates an instance of AbsenceDrop.\n */\n function AbsenceDrop(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'absence-drop', 'APP.EXECUTORS.ABSENCE_DROP_NAME', ['Absence'], 'Absence', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n AbsenceDrop.prototype.process = function (data) {\n var _this = this;\n var createEntities = [];\n this.explodeExecutorData(data).forEach(function (slice) {\n createEntities.push(_this.createAbsence(slice.item, slice.target, slice.resource));\n });\n return this.runPromisesParallelAndSave(createEntities);\n };\n /**\n * Create an Absence entity\n * @param {Entity} item\n * @param {ExecutorTimeslot} target\n * @param {Entity[]} resources\n * @returns {Promise}\n */\n AbsenceDrop.prototype.createAbsence = function (item, target, resource) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n var entity = _this.domainService.getEntityType('Appointment').createEntity({\n Name: item['Name'],\n Start: target.start,\n Finish: target.finish,\n Concerns_Oid: item['Oid'],\n Color: item['Color'],\n SumFactor: item['SumFactor']\n });\n _this.domainService.addEntity(entity);\n _this.domainService.setDefaultValues(_this.userService.user, entity);\n entity['Resource_Oid'] = resource['Oid'];\n entity['Start'] = target.start.toDate();\n entity['Finish'] = target.finish.toDate();\n resolve(true);\n });\n };\n return AbsenceDrop;\n}(DropBase));\nexport { AbsenceDrop };\n","/**\n * @file Move executor base\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ExecutorBase } from './executor';\nimport * as moment from 'moment';\nimport { PROP_ORIGINAL_RESOURCE_OID } from '../../domain.service';\nvar MoveBase = /** @class */ (function (_super) {\n tslib_1.__extends(MoveBase, _super);\n /**\n * Creates an instance of MoveBase.\n * @param {string} name The name of executor\n * @param {string} label The label for the exectur (for localisation)\n * @param {ExecutorScope[]} scopes The executor has support for these scopes\n */\n function MoveBase(name, label, scopes, category, domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n var _this = _super.call(this, name, label, scopes, 'move', category, domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n // The success message for the move executors\n _this.successMessage = 'APP.EXECUTORS.MOVE_SUCCESS_MESSAGE';\n // The exactPositioning value for the move executors\n _this.exactPositioning = true;\n return _this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n MoveBase.prototype.process = function (data) {\n var _this = this;\n // Your magic here inside an async promise\n return new Promise(function (resolve, reject) {\n _this.explodeExecutorData(data).forEach(function (slice) {\n _this.setPeriod(slice.item, slice.resource, slice.target);\n });\n _this.saveChanges(reject, resolve);\n });\n };\n /**\n * Change the start and finish of given item\n * @private\n * @param {Entity} item The entity\n * @param {Resource} resource The resource\n * @param {ExecutorTimeslot} target The target timeslot\n */\n MoveBase.prototype.setPeriod = function (item, resource, target) {\n // Get the current item start and finish\n var itemStart = moment(item['Start']);\n var itemFinish = moment(item['Finish']);\n // Keeps the duration between original start and finish\n var duration = itemFinish.diff(itemStart);\n // The following 'move' operations are supported:\n // - move inside timeslot using exact positionering (changing hours and minutes)\n // - move outside timeslot (change resource and date but not hours and minutes)\n if (this.movedInsideTimeslot(item, resource, target)) {\n // Update the new hours and minutes\n itemStart.hour(target.start.get('hour')).minute(target.start.get('minutes'));\n }\n else {\n // Set the resource (in case the plan items is moved to another resource)\n if (item['Resource'] !== resource) {\n item[PROP_ORIGINAL_RESOURCE_OID] = item['Resource_Oid']; // Met $OriginalResourceOid kunnen we het planbord slim refreshen.\n item['Resource'] = resource;\n }\n // Update the new day, month and year\n itemStart.year(target.start.year()).month(target.start.month()).date(target.start.date());\n }\n // Add the duration to the start to create a new finish\n itemFinish = itemStart.clone().add(duration);\n // Update the item\n item['Start'] = itemStart.toDate();\n item['Finish'] = itemFinish.toDate();\n };\n /**\n * Validate the executor data\n * @protected\n * @param {ExecutorData} data The executor datea\n * @returns {Promise}\n */\n MoveBase.prototype.validate = function (data) {\n var _this = this;\n // Make sure we have valid resources\n return this.validateResources(data.resources).then(function () {\n // Check if the source timeslot exists (only for Move executors!)\n return _this.validateTimeslot('source', data.source).then(function () {\n // Make sure the given items are of the correct type\n return _this.validateItems(data.items).then(function () {\n // Check the target timeslot\n return _this.validateTimeslots('targets', data.targets);\n });\n });\n });\n };\n /**\n * Used to check if the move happens inside or outside the timeslot based on target.start\n * and the given resource.\n * @protected\n * @param {Entity} item The plan item\n * @param {Entity} resource The (new) resource\n * @param {ExecutorTimeslot} target The new target\n * @returns {boolean}\n */\n MoveBase.prototype.movedInsideTimeslot = function (item, resource, target) {\n var itemStart = moment(item['Start']);\n var targetStart = target.start;\n if (item['Resource'] !== resource) {\n return false;\n }\n if (itemStart.dayOfYear() !== targetStart.dayOfYear()) {\n return false;\n }\n if (itemStart.year() !== targetStart.year()) {\n return false;\n }\n return true;\n };\n return MoveBase;\n}(ExecutorBase));\nexport { MoveBase };\n","/**\n * @file Move absence\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { MoveBase } from './move';\nvar AbsenceMove = /** @class */ (function (_super) {\n tslib_1.__extends(AbsenceMove, _super);\n /**\n * Creates an instance of AbsenceMove.\n */\n function AbsenceMove(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'absence-move', 'APP.EXECUTORS.ABSENCE_MOVE_NAME', ['Appointment'], 'Absence', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n return AbsenceMove;\n}(MoveBase));\nexport { AbsenceMove };\n","/**\n * @file Move appointment\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { MoveBase } from '../../grids/executors/move';\nvar AppointmentMove = /** @class */ (function (_super) {\n tslib_1.__extends(AppointmentMove, _super);\n /**\n * Creates an instance of AppointmentMove.\n */\n function AppointmentMove(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'appointment-move', 'APP.EXECUTORS.APPOINTMENT_MOVE_NAME', ['Assignment'], 'Assignment', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n return AppointmentMove;\n}(MoveBase));\nexport { AppointmentMove };\n","/**\n * @file Move assignment\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { MoveBase } from './move';\nvar AssignmentMove = /** @class */ (function (_super) {\n tslib_1.__extends(AssignmentMove, _super);\n /**\n * Creates an instance of AssignmentMove.\n */\n function AssignmentMove(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'assignment-move', 'APP.EXECUTORS.ASSIGNMENT_MOVE_NAME', ['Assignment'], 'Assignment', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n return AssignmentMove;\n}(MoveBase));\nexport { AssignmentMove };\n","/**\n * @file Move attendant\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { MoveBase } from './move';\nimport * as moment from 'moment';\nvar AttendantMove = /** @class */ (function (_super) {\n tslib_1.__extends(AttendantMove, _super);\n /**\n * Creates an instance of AttendantMove.\n */\n function AttendantMove(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'attendant-move', 'APP.EXECUTORS.ATTENDANT_MOVE_NAME', ['Attendant'], 'Attendant', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n /**\n * Validate the executor data\n * @protected\n * @param {ExecutorData} data The executor datea\n * @returns {Promise}\n */\n AttendantMove.prototype.validate = function (data) {\n var _this = this;\n // Make sure we have valid resources\n return _super.prototype.validate.call(this, data).then(function () {\n return new Promise(function (resolve, reject) {\n if (!_this.targetDateIsTheSame(data.items[0], data.targets[0])) {\n return reject('APP.EXECUTORS.MOVE_TO_OTHER_DAY_NOT_ALLOWED_MESSAGE');\n }\n resolve();\n });\n });\n };\n /**\n * Check if the attendant is moved to another date\n * @param {Entity} item The plan item\n * @param {ExecutorTimeslot} target The new target\n * @returns {boolean}\n */\n AttendantMove.prototype.targetDateIsTheSame = function (item, target) {\n var itemStart = moment(item['Start']);\n var targetStart = target.start;\n if (itemStart.dayOfYear() !== targetStart.dayOfYear()) {\n return false;\n }\n if (itemStart.year() !== targetStart.year()) {\n return false;\n }\n return true;\n };\n return AttendantMove;\n}(MoveBase));\nexport { AttendantMove };\n","/**\n * @file Delete executor base\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ExecutorBase } from './executor';\nvar DeleteBase = /** @class */ (function (_super) {\n tslib_1.__extends(DeleteBase, _super);\n /**\n * Creates an instance of DeleteBase.\n * @param {string} name The name of executor\n * @param {string} label The label for the exectur (for localisation)\n * @param {ExecutorScope[]} scopes The executor has support for these scopes\n */\n function DeleteBase(name, label, scopes, category, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, name, label, scopes, 'delete', category, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n // The success message for the delete executors\n _this.successMessage = 'APP.EXECUTORS.DELETE_SUCCESS_MESSAGE';\n return _this;\n }\n /**\n * The business logic for this executor and is executed after the validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n DeleteBase.prototype.process = function (data) {\n var _this = this;\n // Your magic here inside an async promise\n return new Promise(function (resolve, reject) {\n data.items.forEach(function (item) {\n item.entityAspect.setDeleted();\n });\n _this.subscriptionPool.add(_this.trySaveChanges(reject).subscribe(function (result) {\n resolve();\n }));\n });\n };\n /**\n * The validator for this executor\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n DeleteBase.prototype.validate = function (data) {\n // Expect only items\n return this.validateItems(data.items);\n };\n return DeleteBase;\n}(ExecutorBase));\nexport { DeleteBase };\n","/**\n * @file Delete appointment\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DeleteBase } from './delete';\nvar AppointmentDelete = /** @class */ (function (_super) {\n tslib_1.__extends(AppointmentDelete, _super);\n /**\n * Creates an instance of AppointmentDelete.\n */\n function AppointmentDelete(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'appointment-delete', 'APP.EXECUTORS.APPOINTMENT_DELETE_NAME', ['Assignment'], 'Assignment', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n return AppointmentDelete;\n}(DeleteBase));\nexport { AppointmentDelete };\n","/**\n * @file Delete assignment\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DeleteBase } from './delete';\nvar AssignmentDelete = /** @class */ (function (_super) {\n tslib_1.__extends(AssignmentDelete, _super);\n /**\n * Creates an instance of AssignmentDelete.\n */\n function AssignmentDelete(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'assignment-delete', 'APP.EXECUTORS.ASSIGNMENT_DELETE_NAME', ['Assignment'], 'Assignment', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n return AssignmentDelete;\n}(DeleteBase));\nexport { AssignmentDelete };\n","/**\n * @file Delete attendant\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DeleteBase } from './delete';\nvar AttendantDelete = /** @class */ (function (_super) {\n tslib_1.__extends(AttendantDelete, _super);\n /**\n * Creates an instance of AttendantDelete.\n */\n function AttendantDelete(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'attendant-delete', 'APP.EXECUTORS.ATTENDANT_DELETE_NAME', ['Attendant'], 'Attendant', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n return AttendantDelete;\n}(DeleteBase));\nexport { AttendantDelete };\n","/**\n * @file Drop absence with edit\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AbsenceDrop } from './absence-drop';\nvar AbsenceDropEdit = /** @class */ (function (_super) {\n tslib_1.__extends(AbsenceDropEdit, _super);\n /**\n * Creates an instance of AbsenceDropEdit.\n */\n function AbsenceDropEdit(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n _this.name = 'absence-drop-edit';\n _this.label = 'APP.EXECUTORS.ABSENCE_DROP_EDIT_NAME';\n return _this;\n }\n /**\n * The finish part of the executor\n *\n * @protected\n * @param {Entity[]} result The result of the process step\n * @returns {Promise<[Entity[], string]>}\n */\n AbsenceDropEdit.prototype.finish = function (data, result) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.openFirstItem(data, result)];\n case 1:\n _a.sent();\n return [2 /*return*/, _super.prototype.finish.call(this, data, result)];\n }\n });\n });\n };\n return AbsenceDropEdit;\n}(AbsenceDrop));\nexport { AbsenceDropEdit };\n","/**\n * @file Drop service with edit\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ServiceDrop } from './service-drop';\nvar ServiceDropEdit = /** @class */ (function (_super) {\n tslib_1.__extends(ServiceDropEdit, _super);\n /**\n * Creates an instance of ServiceDropEdit.\n */\n function ServiceDropEdit(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n _this.name = 'service-drop-edit';\n _this.label = 'APP.EXECUTORS.SERVICE_DROP_EDIT_NAME';\n return _this;\n }\n /**\n * The finish part of the executor\n *\n * @protected\n * @param {Entity[]} result The result of the process step\n * @returns {Promise<[Entity[], string]>}\n */\n ServiceDropEdit.prototype.finish = function (data, result) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.openFirstItem(data, result)];\n case 1:\n _a.sent();\n return [2 /*return*/, _super.prototype.finish.call(this, data, result)];\n }\n });\n });\n };\n return ServiceDropEdit;\n}(ServiceDrop));\nexport { ServiceDropEdit };\n","/**\n * @file Drop task with edit\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { TaskDrop } from './task-drop';\nvar TaskDropEdit = /** @class */ (function (_super) {\n tslib_1.__extends(TaskDropEdit, _super);\n /**\n * Creates an instance of TaskDropEdit.\n */\n function TaskDropEdit(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n var _this = _super.call(this, domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n _this.name = 'task-drop-edit';\n _this.label = 'APP.EXECUTORS.TASK_DROP_EDIT_NAME';\n return _this;\n }\n /**\n * The finish part of the executor\n * @protected\n * @param {Entity[]} result The result of the process step\n * @returns {Promise<[Entity[], string]>}\n */\n TaskDropEdit.prototype.finish = function (data, result) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.openFirstItem(data, result)];\n case 1:\n _a.sent();\n return [2 /*return*/, _super.prototype.finish.call(this, data, result)];\n }\n });\n });\n };\n return TaskDropEdit;\n}(TaskDrop));\nexport { TaskDropEdit };\n","/**\n * @file Delete absence\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DeleteBase } from './delete';\nvar AbsenceDelete = /** @class */ (function (_super) {\n tslib_1.__extends(AbsenceDelete, _super);\n /**\n * Creates an instance of AbsenceDelete.\n */\n function AbsenceDelete(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'absence-delete', 'APP.EXECUTORS.ABSENCE_DELETE_NAME', ['Appointment'], 'Absence', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n return AbsenceDelete;\n}(DeleteBase));\nexport { AbsenceDelete };\n","/**\n * @file Resize executor base\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ExecutorBase } from './executor';\nvar ResizeBase = /** @class */ (function (_super) {\n tslib_1.__extends(ResizeBase, _super);\n /**\n * Creates an instance of ResizeBase.\n * @param {string} name The name of executor\n * @param {string} label The label for the exectur (for localisation)\n * @param {ExecutorScope[]} scopes The executor has support for these scopes\n */\n function ResizeBase(name, label, scopes, category, domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n var _this = _super.call(this, name, label, scopes, 'Resize', category, domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n // The success message for the Resize executors\n _this.successMessage = 'APP.EXECUTORS.RESIZE_SUCCESS_MESSAGE';\n return _this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n ResizeBase.prototype.process = function (data) {\n var _this = this;\n // Your magic here inside an async promise\n return new Promise(function (resolve, reject) {\n data.targets.forEach(function (target) {\n data.items.forEach(function (item) {\n item['Finish'] = target.finish.toDate();\n item['Start'] = target.start.toDate();\n });\n });\n _this.saveChanges(reject, resolve);\n });\n };\n /**\n * Validate the executor data\n * @protected\n * @param {ExecutorData} data The executor datea\n * @returns {Promise}\n */\n ResizeBase.prototype.validate = function (data) {\n var _this = this;\n // Make sure the given items are of the correct type\n return this.validateItems(data.items).then(function () {\n // Check the target timeslot\n return _this.validateTimeslots('targets', data.targets, false);\n });\n };\n return ResizeBase;\n}(ExecutorBase));\nexport { ResizeBase };\n","/**\n * @file Resize absence\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ResizeBase } from './resize';\nvar AbsenceResize = /** @class */ (function (_super) {\n tslib_1.__extends(AbsenceResize, _super);\n /**\n * Creates an instance of AbsenceResize.\n */\n function AbsenceResize(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'absence-resize', 'APP.EXECUTORS.ABSENCE_RESIZE_NAME', ['Appointment'], 'Appointment', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n return AbsenceResize;\n}(ResizeBase));\nexport { AbsenceResize };\n","/**\n * @file Resize appointment\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ResizeBase } from './resize';\nvar AppointmentResize = /** @class */ (function (_super) {\n tslib_1.__extends(AppointmentResize, _super);\n /**\n * Creates an instance of AppointmentResize.\n */\n function AppointmentResize(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'appointment-resize', 'APP.EXECUTORS.APPOINTMENT_RESIZE_NAME', ['Assignment'], 'Assignment', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n return AppointmentResize;\n}(ResizeBase));\nexport { AppointmentResize };\n","/**\n * @file Resize attendant\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ResizeBase } from './resize';\nvar AttendantResize = /** @class */ (function (_super) {\n tslib_1.__extends(AttendantResize, _super);\n /**\n * Creates an instance of AttendantResize.\n */\n function AttendantResize(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'attendant-resize', 'APP.EXECUTORS.ATTENDANT_RESIZE_NAME', ['Attendant'], 'Attendant', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n return AttendantResize;\n}(ResizeBase));\nexport { AttendantResize };\n","/**\n * @file Resize assignment\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ResizeBase } from './resize';\nvar AssignmentResize = /** @class */ (function (_super) {\n tslib_1.__extends(AssignmentResize, _super);\n /**\n * Creates an instance of AssignmentResize.\n */\n function AssignmentResize(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'assignment-resize', 'APP.EXECUTORS.ASSIGNMENT_RESIZE_NAME', ['Assignment'], 'Assignment', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n AssignmentResize.prototype.process = function (data) {\n var _this = this;\n // Your magic here inside an async promise\n return new Promise(function (resolve, reject) {\n _this.explodeExecutorData(data).forEach(function (slice) {\n _this.resizeAssignment(slice.item, slice.target);\n });\n _this.subscriptionPool.add(_this.trySaveChanges(reject).subscribe(function (result) {\n resolve(result.entities);\n }));\n });\n };\n /**\n * Resize the assignment\n * @private\n * @param {Entity} item The entity\n * @param {ExecutorTimeslot} target The target timeslot\n */\n AssignmentResize.prototype.resizeAssignment = function (item, target) {\n // Fix Issue: Uren assignment verandert bij resize #2483\n // Doen we niet meer, is werkdruk planning en leidt tot verwarring.\n // const oldDuration = moment(item['Finish']).diff(moment(item['Start']));\n // const newDuration = target.finish.diff(target.start);\n // const factor = newDuration / oldDuration;\n item['Finish'] = target.finish.toDate();\n item['Start'] = target.start.toDate();\n // item['Effort'] = moment.duration(moment.duration(item['Effort']).asMinutes() * factor, 'minutes').toISOString();\n };\n return AssignmentResize;\n}(ResizeBase));\nexport { AssignmentResize };\n","/**\n * @file Adhoc executor base\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ExecutorBase } from './executor';\nvar AdhocBase = /** @class */ (function (_super) {\n tslib_1.__extends(AdhocBase, _super);\n /**\n * Creates an instance of AdhocBase.\n * @param {string} name The name of executor\n * @param {string} label The label for the exectur (for localisation)\n * @param {ExecutorScope[]} scopes The executor has support for these scopes\n */\n function AdhocBase(name, label, scopes, category, domainService, overlayService, dropTargetService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, name, label, scopes, 'adhoc', category, domainService, overlayService, dropTargetService, dialogService, translateService, userService, resourceService) || this;\n // The success message for the adhoc executors\n _this.successMessage = 'APP.EXECUTORS.ADHOC_SUCCESS_MESSAGE';\n return _this;\n }\n /**\n * Validate the executor data\n * @protected\n * @param {ExecutorData} data The executor datea\n * @returns {Promise}\n */\n AdhocBase.prototype.validate = function (data) {\n var _this = this;\n // Make sure we have valid resources\n return this.validateResources(data.resources).then(function () {\n // Make sure the given items are of the correct type\n return _this.validateItems(data.items).then(function () {\n // Check the target timeslot\n return _this.validateTimeslots('targets', data.targets);\n });\n });\n };\n return AdhocBase;\n}(ExecutorBase));\nexport { AdhocBase };\n","/**\n * @file Adhoc service\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AdhocBase } from './adhoc';\nimport { mergeMap } from 'rxjs/operators';\nimport { empty } from 'rxjs';\nvar ShiftAdhoc = /** @class */ (function (_super) {\n tslib_1.__extends(ShiftAdhoc, _super);\n /**\n * Creates an instance of ShiftAdhoc.\n */\n function ShiftAdhoc(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'shift-adhoc', 'APP.EXECUTORS.SHIFT_ADHOC_NAME', ['ShiftTemplate'], 'ShiftTemplate', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n ShiftAdhoc.prototype.process = function (data) {\n var _this = this;\n var sliced = this.explodeExecutorData(data);\n // Execute the async functions one by one (serial)\n return this.runPromisesSerial(sliced, function (slice) {\n return _this.dropShift(slice.target, slice.resource, slice.item);\n });\n };\n /**\n * Drop a task\n * @private\n * @param {ExecutorTimeslot} target\n * @param {Resource} resource\n * @param {Entity} item\n * @returns {Promise}\n */\n ShiftAdhoc.prototype.dropShift = function (target, resource, item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n var values;\n resource.fillwith(item['Oid'], target.start.toDate(), target.finish.toDate(), 'FORCEDROP', true);\n _this.subscriptionPool.add(_this.trySaveChanges(reject).pipe(mergeMap(function (result) {\n var resourceOid = resource.Oid;\n var methodResult = result.entities.find(function (entity) { return entity['Origin'] === resourceOid && entity['Name'] === 'FillWith'; });\n if (methodResult) {\n values = methodResult['Value'];\n // Fix Issue: Bij Adhoc plannen van aanwezigheid wordt automatisch bij de naam Attendant ervoor geplaatst. #2582\n values.forEach(function (it) {\n it['Name'] = item['Name'];\n });\n return _this.trySaveChanges(reject);\n }\n else {\n resolve();\n return empty();\n }\n })).subscribe(function () {\n resolve(values);\n }));\n });\n };\n return ShiftAdhoc;\n}(AdhocBase));\nexport { ShiftAdhoc };\n","/**\n * @file Adhoc task\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AdhocBase } from './adhoc';\nvar TaskAdhoc = /** @class */ (function (_super) {\n tslib_1.__extends(TaskAdhoc, _super);\n /**\n * Creates an instance of TaskAdhoc.\n */\n function TaskAdhoc(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n return _super.call(this, 'task-adhoc', 'APP.EXECUTORS.TASK_ADHOC_NAME', ['TaskTemplate'], 'TaskTemplate', domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n TaskAdhoc.prototype.process = function (data) {\n var _this = this;\n var sliced = this.explodeExecutorData(data);\n // Execute the async functions one by one (serial)\n return this.runPromisesSerial(sliced, function (slice) {\n return _this.dropTaskTemplate(slice.target, slice.resource, slice.item);\n });\n };\n /**\n * Drop a task\n *\n * @private\n * @param {ExecutorTimeslot} target\n * @param {Resource} resource\n * @param {Entity} item\n * @returns {Promise}\n */\n TaskAdhoc.prototype.dropTaskTemplate = function (target, resource, item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n resource.fillwith(item['Oid'], target.start.toDate(), target.finish.toDate(), 'FORCEDROP', true);\n _this.subscriptionPool.add(_this.trySaveChanges(reject).subscribe(function (result) {\n var resourceOid = resource.Oid;\n var methodResult = result.entities.find(function (entity) { return entity['Origin'] === resourceOid && entity['Name'] === 'FillWith'; });\n if (methodResult) {\n var values = methodResult['Value'];\n resolve(values);\n }\n else {\n resolve();\n }\n }));\n });\n };\n return TaskAdhoc;\n}(AdhocBase));\nexport { TaskAdhoc };\n","/**\n * @file Adhoc absence\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AdhocBase } from './adhoc';\nvar AbsenceAdhoc = /** @class */ (function (_super) {\n tslib_1.__extends(AbsenceAdhoc, _super);\n /**\n * Creates an instance of AbsenceAbsence.\n */\n function AbsenceAdhoc(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'absence-adhoc', 'APP.EXECUTORS.ABSENCE_ADHOC_NAME', ['Absence'], 'Absence', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n AbsenceAdhoc.prototype.process = function (data) {\n var _this = this;\n var createEntities = [];\n this.explodeExecutorData(data).forEach(function (slice) {\n createEntities.push(_this.createAbsence(slice.item, slice.target, slice.resource));\n });\n return this.runPromisesParallelAndSave(createEntities);\n };\n /**\n * Create an Absence entity\n * @param {Entity} item\n * @param {ExecutorTimeslot} target\n * @param {Entity[]} resources\n * @returns {Promise}\n */\n AbsenceAdhoc.prototype.createAbsence = function (item, target, resource) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n var entity = _this.domainService.getEntityType('Appointment').createEntity({\n Name: item['Name'],\n Start: target.start,\n Finish: target.finish,\n Concerns_Oid: item['Oid'],\n Color: item['Color']\n });\n _this.domainService.addEntity(entity);\n _this.domainService.setDefaultValues(_this.userService.user, entity);\n entity['Resource_Oid'] = resource['Oid'];\n entity['Start'] = target.start.toDate();\n entity['Finish'] = target.finish.toDate();\n resolve(true);\n });\n };\n return AbsenceAdhoc;\n}(AdhocBase));\nexport { AbsenceAdhoc };\n","/**\n * @file Drop appointment\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nvar AppointmentDrop = /** @class */ (function (_super) {\n tslib_1.__extends(AppointmentDrop, _super);\n /**\n * Creates an instance of AppointmentDrop.\n */\n function AppointmentDrop(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'appointment-drop', 'APP.EXECUTORS.APPOINTMENT_DROP_NAME', ['Task'], 'Appointment', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n AppointmentDrop.prototype.process = function (data) {\n var _this = this;\n var sliced = this.explodeExecutorData(data);\n // Execute the async functions one by one (serial)\n return this.runPromisesSerial(sliced, function (slice) {\n return _this.dropTask(slice.target, slice.resource, slice.item);\n });\n };\n /**\n * Drop a task\n *\n * @private\n * @param {ExecutorTimeslot} target\n * @param {Resource} resource\n * @param {Entity} item\n * @returns {Promise}\n */\n AppointmentDrop.prototype.dropTask = function (target, resource, item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n resource.fillwith(item['Oid'], target.start.toDate(), target.finish.toDate(), 'FORCEDROP', true);\n _this.subscriptionPool.add(_this.trySaveChanges(reject).subscribe(function (result) {\n var resourceOid = resource.Oid;\n var methodResult = result.entities.find(function (entity) { return entity['Origin'] === resourceOid && entity['Name'] === 'FillWith'; });\n if (methodResult) {\n var values = methodResult['Value'];\n resolve(values);\n }\n else {\n resolve();\n }\n }));\n });\n };\n /**\n * The logic for the showing the valid drop targets\n * @param {ExecutorData} data\n */\n AppointmentDrop.prototype.showDropTargets = function (data) {\n var _this = this;\n // Use the DropTargetService to make the drop targets visible\n this.dropTargetsService.doComplyResourcesDropTargets(data, function () {\n return _this.dropTargetsService.doFirstOpenTimeslotDropTargets(data);\n });\n };\n return AppointmentDrop;\n}(DropBase));\nexport { AppointmentDrop };\n","/**\n * @file Drop appointment with edit\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AppointmentDrop } from './appointment-drop';\nvar AppointmentDropEdit = /** @class */ (function (_super) {\n tslib_1.__extends(AppointmentDropEdit, _super);\n /**\n * Creates an instance of AppointmentDropEdit.\n */\n function AppointmentDropEdit(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n var _this = _super.call(this, domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n _this.name = 'appointment-drop-edit';\n _this.label = 'APP.EXECUTORS.APPOINTMENT_DROP_EDIT_NAME';\n return _this;\n }\n /**\n * The finish part of the executor\n *\n * @protected\n * @param {Entity[]} result The result of the process step\n * @returns {Promise<[Entity[], string]>}\n */\n AppointmentDropEdit.prototype.finish = function (data, result) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.openFirstItem(data, result)];\n case 1:\n _a.sent();\n return [2 /*return*/, _super.prototype.finish.call(this, data, result)];\n }\n });\n });\n };\n return AppointmentDropEdit;\n}(AppointmentDrop));\nexport { AppointmentDropEdit };\n","/**\n * @file Service for the drop zones\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { DataSet } from '../core/helpers/data-set';\nimport * as moment from 'moment';\nimport { DomainService } from '../domain.service';\nimport { SortDescriptor } from '../core/helpers/sort-descriptor';\nimport { SortDirection } from '../core/helpers/sort-direction';\nimport { EventsService } from '../core/event.service';\nimport { AbstractBase } from '../core/helpers/abstract-base';\n/**\n * Service to retrieve and execute the exectures\n */\nvar DropTargetsService = /** @class */ (function (_super) {\n tslib_1.__extends(DropTargetsService, _super);\n /**\n * Constructs a DropZones Service\n */\n function DropTargetsService(domainService, eventsService) {\n var _this = _super.call(this) || this;\n _this.domainService = domainService;\n _this.dropTargetsChanged = null;\n _this.dropTargetsChanged = eventsService.register('drop-targets-changed');\n return _this;\n }\n /**\n * Finds the resources that can comply for the work.\n * @param {Entity} work The work.\n * @returns {Observable} An collection of resoures\n */\n DropTargetsService.prototype.complyResources = function (work) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var dataSet, result;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n dataSet = new DataSet(this.domainService);\n dataSet.entityType = this.resourceType;\n dataSet.sourceName = 'ComplyResources';\n dataSet.sorting = [];\n dataSet.queryOptions = {\n parameters: {\n work: work['Item_Oid'] ? work['Item_Oid'] : work['Oid'],\n start: work['Start'],\n finish: work['Finish']\n }\n };\n // Clear the sorting and add sort descriptor\n dataSet.sorting.length = 0;\n dataSet.sorting.push(new SortDescriptor('Name', 'Name', SortDirection.Ascending, 0));\n return [4 /*yield*/, dataSet.refresh()];\n case 1:\n result = _a.sent();\n return [2 /*return*/, result.results];\n }\n });\n });\n };\n /**\n * Register the resources\n *\n * @param {DataSet} resources\n */\n DropTargetsService.prototype.registerResources = function (resources) {\n this.resources = resources;\n };\n /**\n * Register the grid collections\n *\n * @param {GridCollections} gridCollections\n */\n DropTargetsService.prototype.registerGridCollections = function (gridCollections) {\n this.gridCollections = gridCollections;\n };\n DropTargetsService.prototype.autoClearDropTargets = function () {\n var _this = this;\n this.autoHideTimer = window.setTimeout(function () {\n _this.clearDropTargets();\n }, 5000);\n };\n /**\n * Clear the drop targets\n */\n DropTargetsService.prototype.clearDropTargets = function () {\n // Clear the auto hide timer for the previous run (to prevent hiding again)\n clearTimeout(this.autoHideTimer);\n // Clear the drop zones (resources)\n if (this.resources && this.resources.items) {\n if (this.resources && this.resources.items) {\n this.resources.items.forEach(function (resource) {\n resource['isDropZone'] = undefined;\n });\n }\n }\n // Clear the drop zones (timeslots)\n if (this.gridCollections) {\n this.gridCollections.forEach(function (gridCollection) {\n gridCollection.children.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRow) {\n gridRow.children.forEach(function (gridColumn) {\n gridColumn.meta.isDropZone = undefined;\n });\n });\n });\n });\n }\n this.dropTargetsChanged.emit(false);\n };\n /**\n * Get drop targets resources comply and call next function\n * @param {ExecutorData} data\n */\n DropTargetsService.prototype.doComplyResourcesDropTargets = function (data, fn) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var resources_1, reason_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, this.complyResources(data.items[0])];\n case 1:\n resources_1 = _a.sent();\n // agenda ondersteunt dit nog niet, zou dit wel moeten?\n if (this.resources) {\n this.resources.items.forEach(function (item) {\n var resourceOid = item['Oid'];\n item['isDropZone'] = resources_1.some(function (resource) { return resource['Oid'] === resourceOid; });\n });\n fn();\n }\n return [3 /*break*/, 3];\n case 2:\n reason_1 = _a.sent();\n // TODO: Error handeling.\n console.error(reason_1);\n return [3 /*break*/, 3];\n case 3:\n this.autoClearDropTargets();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Get drop targets overlaps first dropitem\n *\n * @param {ExecutorData} data\n */\n DropTargetsService.prototype.doFirstOpenTimeslotDropTargets = function (data) {\n if (this.gridCollections) {\n this.gridCollections.forEach(function (gridCollection) {\n if (gridCollection.meta.resource['isDropZone'] === undefined || (gridCollection.meta.resource['isDropZone'] !== undefined && gridCollection.meta.resource['isDropZone'] === true)) {\n gridCollection.children.forEach(function (gridSegment) {\n var found = false;\n gridSegment.children.forEach(function (gridRow) {\n if (!found) {\n gridRow.children.forEach(function (gridColumn) {\n if (!found && gridColumn.gridWorkPatterns.length > 0) {\n var sumDuration_1 = 0;\n gridColumn.gridWorkPatterns.forEach(function (workpattern) {\n sumDuration_1 += workpattern['timeSpan'];\n });\n var sumEffort_1 = moment.duration('PT0S');\n gridColumn.gridAssignments.forEach(function (item) {\n sumEffort_1.add(item['entity']['Effort']);\n });\n gridColumn.gridAppointments.forEach(function (item) {\n sumEffort_1.add(item['entity']['Effort']);\n });\n gridColumn.gridAbsences.forEach(function (item) {\n sumEffort_1.add(item['entity']['Effort']);\n });\n if (sumEffort_1 < moment.duration(sumDuration_1, 'milliseconds')) {\n gridColumn.meta.isDropZone = true;\n found = true;\n }\n else {\n gridColumn.meta.isDropZone = false;\n }\n }\n else {\n gridColumn.meta.isDropZone = false;\n }\n });\n }\n else {\n gridRow.children.forEach(function (gridColumn) {\n gridColumn.meta.isDropZone = false;\n });\n }\n });\n });\n }\n });\n }\n this.dropTargetsChanged.emit(true);\n };\n /**\n * Get drop targets overlaps first dropitem\n * @param {ExecutorData} data\n */\n DropTargetsService.prototype.doTimeslotDropTargets = function (data) {\n var itemStart = moment(data.items[0]['Start']);\n var itemFinish = moment(data.items[0]['Finish']);\n if (this.gridCollections) {\n this.gridCollections.forEach(function (gridCollection) {\n if (gridCollection.meta.resource['isDropZone'] === undefined || (gridCollection.meta.resource['isDropZone'] !== undefined && gridCollection.meta.resource['isDropZone'] === true)) {\n gridCollection.children.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRow) {\n gridRow.children.forEach(function (gridColumn) {\n /*\n https://github.com/Symagic/html5/issues/2629#issuecomment-498609969\n De regel \"Een timeslot zonder werkpatronen zal nooit worden geadviseerd\"\n blijkt alleen van toepassing te zijn op assignments.\n De bugissue was dus onterecht. Sorry daarvoor.\n ...De oude situatie herstellen.\n */\n // Oude code:\n gridColumn.meta.isDropZone = gridColumn.meta.start.isSameOrBefore(itemFinish, 'minutes') && gridColumn.meta.finish.isSameOrAfter(itemStart, 'minutes');\n // Nieuwe code, mocht men toch meer willen.\n // gridColumn.meta.isDropZone = false;\n // if (!(gridColumn.meta.start.isSameOrBefore(itemFinish, 'minutes') && gridColumn.meta.finish.isSameOrAfter(itemStart, 'minutes'))) {\n // return;\n // }\n // const working = gridColumn.gridWorkPatterns.find(it => {\n // const start = it['start'];\n // const finish = it['finish'];\n // return start.isSameOrBefore(itemStart, 'minutes') && finish.isSameOrAfter(itemFinish, 'minutes');\n // })\n // if (working == null) {\n // return;\n // }\n // const absence = gridColumn.gridAbsences.find(it => {\n // const start = it['start'];\n // const finish = it['finish'];\n // return start.isSameOrBefore(itemStart, 'minutes') && finish.isSameOrAfter(itemFinish, 'minutes');\n // })\n // if (absence != null) {\n // return;\n // }\n // const anotherShift = gridColumn.gridAttendants.find(it => {\n // const start = it['start'];\n // const finish = it['finish'];\n // return start.isSameOrBefore(itemStart, 'minutes') && finish.isSameOrAfter(itemFinish, 'minutes');\n // })\n // if (anotherShift != null) {\n // return;\n // }\n // gridColumn.meta.isDropZone = true;\n });\n });\n });\n }\n });\n }\n this.dropTargetsChanged.emit(true);\n };\n return DropTargetsService;\n}(AbstractBase));\nexport { DropTargetsService };\n","/**\n * @file Drop extra executor\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nimport * as moment from 'moment';\nvar DropExtra = /** @class */ (function (_super) {\n tslib_1.__extends(DropExtra, _super);\n /**\n * Creates an instance of DropExtra.\n */\n function DropExtra(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, 'drop-extra', 'APP.EXECUTORS.FORECAST_DROP_EXTRA_NAME', ['Service'], 'Forecast', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n // The exactPositioning value for the executors\n _this.exactPositioning = true;\n return _this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n DropExtra.prototype.process = function (data) {\n var _this = this;\n var sliced = this.explodeExecutorData(data);\n // Execute the async functions one by one (serial)\n return this.runPromisesSerial(sliced, function (slice) {\n return _this.fillService(slice.target, slice.resource, slice.item);\n });\n };\n /**\n * The logic for the showing the valid drop targets\n * @param {ExecutorData} data\n */\n DropExtra.prototype.showDropTargets = function (data) {\n var _this = this;\n // Use the DropTargetService to make the drop targets visible\n this.dropTargetsService.doComplyResourcesDropTargets(data, function () {\n return _this.dropTargetsService.doTimeslotDropTargets(data);\n });\n };\n /**\n * Assign a Resource to an unplanned Attendant of a Service when possible otherwise creates a new one.\n * @protected\n * @param {ExecutorTimeslot} target Target Timeslot\n * @param {Resource} resource The Resource to assign to an Attendant.\n * @param {Entity} item The Service containing the Attendant.\n * @returns {Promise} Promise of execution.\n * @memberOf DropExtra\n */\n DropExtra.prototype.fillService = function (target, resource, item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n var fixed = item['Purpose'] && item['Purpose'] === 'GENERATED';\n var effort = moment.duration(moment(item['Finish']).diff(moment(item['Start'])));\n var itemStart = target.start.toDate();\n var itemFinish = target.start.clone().add(effort).toDate();\n resource.fillwith(item['Oid'], item['Start'], item['Finish'], 'ASSIGNING FORCEDROP', true);\n _this.trySaveChanges(reject).subscribe(function (result) {\n var resourceOid = resource.Oid;\n var methodResult = result.entities.find(function (entity) { return entity['Origin'] === resourceOid && entity['Name'] === 'FillWith'; });\n if (methodResult) {\n var values_1 = methodResult['Value'];\n if (values_1.length === 0) {\n var entity_1 = _this.domainService.getEntityType('Attendant').createEntity({\n Name: item['Name'],\n Service_Oid: item['Oid']\n });\n _this.domainService.addEntity(entity_1);\n _this.domainService.setDefaultValues(_this.userService.user, entity_1);\n entity_1['Resource_Oid'] = resource['Oid'];\n if (fixed) {\n itemStart = item['StartBase'];\n itemFinish = item['FinishBase'];\n }\n entity_1['Start'] = itemStart;\n entity_1['Finish'] = itemFinish;\n entity_1['SumFactor'] = item['SumFactor'];\n _this.trySaveChanges(reject).subscribe(function (saveResult) {\n resolve([entity_1]);\n });\n }\n else if (values_1.length === 1 && !fixed) {\n var duration = moment.duration(moment(values_1[0]['Finish']).diff(moment(values_1[0]['Start'])));\n values_1[0]['Start'] = itemStart;\n values_1[0]['Finish'] = moment(itemStart).clone().add(duration).toDate();\n _this.trySaveChanges(reject).subscribe(function (saveResult) {\n resolve(values_1);\n });\n }\n else {\n resolve(values_1);\n }\n }\n else {\n resolve();\n }\n });\n });\n };\n return DropExtra;\n}(DropBase));\nexport { DropExtra };\n","/**\n * @file Drop executor\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nimport * as moment from 'moment';\nvar Drop = /** @class */ (function (_super) {\n tslib_1.__extends(Drop, _super);\n /**\n * Creates an instance of Drop.\n */\n function Drop(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'drop', 'APP.EXECUTORS.FORECAST_DROP_NAME', ['Service'], 'Forecast', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n Drop.prototype.process = function (data) {\n var _this = this;\n var sliced = this.explodeExecutorData(data);\n // Execute the async functions one by one (serial)\n return this.runPromisesSerial(sliced, function (slice) {\n return _this.fillService(slice.target, slice.resource, slice.item);\n });\n };\n /**\n * The logic for the showing the valid drop targets\n * @param {ExecutorData} data\n */\n Drop.prototype.showDropTargets = function (data) {\n var _this = this;\n // Use the DropTargetService to make the drop targets visible\n this.dropTargetsService.doComplyResourcesDropTargets(data, function () {\n return _this.dropTargetsService.doTimeslotDropTargets(data);\n });\n };\n /**\n * Assign a Resource to an unplanned Attendant of a Service.\n * @protected\n * @param {ExecutorTimeslot} target Target Timeslot\n * @param {Resource} resource The Resource to assign to an Attendant.\n * @param {Entity} item The Service containing the Attendant.\n * @returns {Promise} Promise of execution.\n * @memberOf Drop\n */\n Drop.prototype.fillService = function (target, resource, item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n var fixed = item['Purpose'] && item['Purpose'] === 'GENERATED';\n var itemStart = target.start.toDate();\n resource.fillwith(item['Oid'], item['Start'], item['Finish'], 'ASSIGNING FORCEDROP', true);\n _this.subscriptionPool.add(_this.trySaveChanges(reject).subscribe(function (result) {\n var resourceOid = resource.Oid;\n var methodResult = result.entities.find(function (entity) { return entity['Origin'] === resourceOid && entity['Name'] === 'FillWith'; });\n if (methodResult) {\n var values_1 = methodResult['Value'];\n if (values_1.length === 1 && !fixed) {\n var duration = moment.duration(moment(values_1[0]['Finish']).diff(moment(values_1[0]['Start'])));\n values_1[0]['Start'] = itemStart;\n values_1[0]['Finish'] = moment(itemStart).clone().add(duration).toDate();\n _this.trySaveChanges(reject).subscribe(function (saveResult) {\n resolve(values_1);\n });\n }\n else if (values_1.length === 1 && fixed) {\n values_1[0]['Start'] = item['StartBase'];\n values_1[0]['Finish'] = item['FinishBase'];\n _this.trySaveChanges(reject).subscribe(function (saveResult) {\n resolve(values_1);\n });\n }\n else {\n resolve(values_1);\n }\n }\n else {\n resolve();\n }\n }));\n });\n };\n return Drop;\n}(DropBase));\nexport { Drop };\n","/**\n * @file back executor\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nimport { PROP_ORIGINAL_RESOURCE_OID } from '../../domain.service';\nvar Back = /** @class */ (function (_super) {\n tslib_1.__extends(Back, _super);\n /**\n * Creates an instance of Back.\n */\n function Back(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n return _super.call(this, 'back', 'APP.EXECUTORS.FORECAST_BACK_NAME', ['Attendant'], 'Forecast', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n }\n /**\n * Validate the executor data\n * @param {ExecutorData} data The executor datea\n * @returns {Promise}\n */\n Back.prototype.validate = function (data) {\n // Make sure the given items are of the correct type\n return this.validateItems(data.items);\n };\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n Back.prototype.process = function (data) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // Run through the items to restore start, finish, and resource\n data.items.forEach(function (item) {\n _this.restoreAttendant(item);\n _this.correctPurpose(item);\n });\n _this.saveChanges(reject, resolve);\n });\n };\n /**\n * Change the start and finish of given item\n * @private\n * @param {Entity} item The entity\n * @memberof Back\n */\n Back.prototype.restoreAttendant = function (item) {\n // Remove the resource from the attendant\n if (item['Resource']) {\n item[PROP_ORIGINAL_RESOURCE_OID] = item['Resource_Oid']; // Met $OriginalResourceOid kunnen we het planbord slim refreshen.\n item['Resource'] = null;\n }\n // if (item['Service'] && item['Service']['Purpose'] && item['Service']['Purpose'] === 'GENERATED') {\n // // Restore the Start based on StartBase\n // if (item['Service'] && item['Service']['StartBase']) {\n // item['Start'] = item['Service']['StartBase'];\n // }\n // // Restore the Finish based on FinishBase\n // if (item['Service'] && item['Service']['FinishBase']) {\n // item['Finish'] = item['Service']['FinishBase'];\n // }\n // }\n };\n /**\n * Sets generated items to forecast items, so that they do not disappear when dragged back.\n * See #4142\n * @private\n * @param {Entity} item The entity\n * @memberOf Back\n */\n Back.prototype.correctPurpose = function (item) {\n if (item['Purpose'] === 'GENERATED') {\n item['Purpose'] = 'FORECAST';\n }\n };\n return Back;\n}(DropBase));\nexport { Back };\n","/**\n * @file Drop task prognosed\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { TaskDrop } from './task-drop';\nimport * as moment from 'moment';\nvar TaskDropPrognosed = /** @class */ (function (_super) {\n tslib_1.__extends(TaskDropPrognosed, _super);\n /**\n * Creates an instance of TaskDropPrognosed.\n */\n function TaskDropPrognosed(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n var _this = _super.call(this, domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) || this;\n // The exactPositioning value for the taskdropprognosed executor\n _this.exactPositioning = true;\n _this.name = 'task-drop-prognosed';\n _this.label = 'APP.EXECUTORS.TASK_DROP_PROGNOSED_NAME';\n return _this;\n }\n /**\n * The business logic for this executor and is executed after the validation step and before the finish step.\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n TaskDropPrognosed.prototype.process = function (data) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var sliced, createEntities, _i, sliced_1, slice, targetcopy, start, prognosed, _a, _b;\n return tslib_1.__generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n sliced = this.explodeExecutorData(data);\n createEntities = [];\n _i = 0, sliced_1 = sliced;\n _c.label = 1;\n case 1:\n if (!(_i < sliced_1.length)) return [3 /*break*/, 4];\n slice = sliced_1[_i];\n targetcopy = slice.target;\n start = moment(targetcopy.start).clone();\n prognosed = moment.duration(slice.item['Prognosed']).asMinutes() > 0 ? moment.duration(slice.item['Prognosed']) : moment.duration(60, 'minutes');\n targetcopy.finish = start.add(prognosed);\n _b = (_a = createEntities).push;\n return [4 /*yield*/, this.createAssignment(targetcopy, slice.resource, slice.item, prognosed)];\n case 2:\n _b.apply(_a, [_c.sent()]);\n _c.label = 3;\n case 3:\n _i++;\n return [3 /*break*/, 1];\n case 4: return [2 /*return*/, this.runPromisesParallelAndSave(createEntities)];\n }\n });\n });\n };\n /**\n * Creates an assignment\n * @param target timeslot\n * @param resource resource\n * @param item task\n * @param effort drop effort\n */\n TaskDropPrognosed.prototype.createAssignment = function (target, resource, item, effort) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n var demandType = _this.domainService.getEntityType('Demand');\n var demand = demandType.createEntity({\n Task_Oid: item['Oid'],\n Start: target.start.toDate(),\n Finish: target.finish.toDate(),\n Effort: effort.toISOString(),\n SumFactor: item['SumFactor']\n });\n _this.domainService.addEntity(demand);\n var deploymentType = _this.domainService.getEntityType('Deployment');\n var deployment = deploymentType.createEntity({\n Demand_Oid: demand['Oid'],\n Start: target.start.toDate(),\n Finish: target.finish.toDate(),\n Resource_Oid: resource['Oid'],\n Effort: effort.toISOString(),\n SumFactor: item['SumFactor']\n });\n _this.domainService.addEntity(deployment);\n var assignmentType = _this.domainService.getEntityType('Assignment');\n var assignment = assignmentType.createEntity({\n Deployment_Oid: deployment['Oid'],\n Start: target.start.toDate(),\n Finish: target.finish.toDate(),\n Resource_Oid: resource['Oid'],\n Color: item['Color'],\n Effort: effort.toISOString(),\n SumFactor: item['SumFactor']\n });\n _this.domainService.addEntity(assignment);\n resolve(true);\n })];\n });\n });\n };\n return TaskDropPrognosed;\n}(TaskDrop));\nexport { TaskDropPrognosed };\n","/**\n * @file Attendant drop service\n * @author Tzi Yang Lum\n */\nimport * as tslib_1 from \"tslib\";\nimport { DropBase } from './drop-base';\nvar AttendantDrop = /** @class */ (function (_super) {\n tslib_1.__extends(AttendantDrop, _super);\n /**\n * Creates an instance of AttendantDrop.\n */\n function AttendantDrop(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, 'attendant-drop', 'APP.EXECUTORS.ATTENDANT_DROP_NAME', ['Attendant'], 'Attendant', domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n // The exactPositioning value for the executors\n _this.exactPositioning = true;\n return _this;\n }\n /**\n * The business logic for this executor and is executed after the\n * validation step and before the finish step.\n *\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n AttendantDrop.prototype.process = function (data) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n _this.explodeExecutorData(data).forEach(function (slice) {\n _this.setAttendant(slice.item, slice.resource);\n });\n _this.saveChanges(reject, resolve);\n });\n };\n /**\n * The logic for the showing the valid drop targets\n * @param {ExecutorData} data\n */\n AttendantDrop.prototype.showDropTargets = function (data) {\n var _this = this;\n // Use the DropTargetService to make the drop targets visible\n this.dropTargetsService.doComplyResourcesDropTargets(data, function () {\n return _this.dropTargetsService.doTimeslotDropTargets(data);\n });\n };\n /**\n * Assign a Resource to an unplanned Attendant of a Service.\n * @protected\n * @param {Entity} item The Attendant.\n * @param {Resource} resource The Resource to assign to an Attendant.\n * @returns {Promise} Promise of execution.\n * @memberOf Drop\n */\n AttendantDrop.prototype.setAttendant = function (item, resource) {\n return new Promise(function (resolve, reject) {\n item['Resource'] = resource;\n resolve();\n });\n };\n return AttendantDrop;\n}(DropBase));\nexport { AttendantDrop };\n","/**\n * @file Attendant drop with edit\n * @author Tzi Yang Lum\n */\nimport * as tslib_1 from \"tslib\";\nimport { AttendantDrop } from './attendant-drop';\nvar AttendantDropEdit = /** @class */ (function (_super) {\n tslib_1.__extends(AttendantDropEdit, _super);\n /**\n * Creates an instance of AttendantDropEdit.\n */\n function AttendantDropEdit(domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) {\n var _this = _super.call(this, domainService, overlayService, dropTargetsService, dialogService, translateService, userService, resourceService) || this;\n _this.name = 'attendant-drop-edit';\n _this.label = 'APP.EXECUTORS.ATTENDANT_DROP_EDIT_NAME';\n return _this;\n }\n /**\n * The finish part of the executor\n *\n * @protected\n * @param {Entity[]} result The result of the process step\n * @returns {Promise<[Entity[], string]>}\n */\n AttendantDropEdit.prototype.finish = function (data, result) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.openFirstItem(data, result)];\n case 1:\n _a.sent();\n return [2 /*return*/, _super.prototype.finish.call(this, data, result)];\n }\n });\n });\n };\n return AttendantDropEdit;\n}(AttendantDrop));\nexport { AttendantDropEdit };\n","/**\n * @file Service for the executors\n * @author Heino Lenting\n */\nimport * as moment from 'moment';\nimport { TaskDrop } from './executors/task-drop';\nimport { ServiceDrop } from './executors/service-drop';\nimport { AbsenceDrop } from './executors/absence-drop';\nimport { AbsenceMove } from './executors/absence-move';\nimport { AppointmentMove } from './executors/appointment-move';\nimport { AssignmentMove } from './executors/assignment-move';\nimport { AttendantMove } from './executors/attendant-move';\nimport { AppointmentDelete } from './executors/appointment-delete';\nimport { AssignmentDelete } from './executors/assignment-delete';\nimport { AttendantDelete } from './executors/attendant-delete';\nimport { AbsenceDropEdit } from './executors/absence-drop-edit';\nimport { ServiceDropEdit } from './executors/service-drop-edit';\nimport { TaskDropEdit } from './executors/task-drop-edit';\nimport { AbsenceDelete } from './executors/absence-delete';\nimport { DomainService } from '../domain.service';\nimport { OverlayService } from '../core/overlay.service';\nimport { AbsenceResize } from './executors/absence-resize';\nimport { AppointmentResize } from './executors/appointment-resize';\nimport { AttendantResize } from './executors/attendant-resize';\nimport { AssignmentResize } from './executors/assignment-resize';\nimport { ShiftAdhoc } from './executors/shift-adhoc';\nimport { TaskAdhoc } from './executors/task-adhoc';\nimport { AbsenceAdhoc } from './executors/absence-adhoc';\nimport { AppointmentDrop } from './executors/appointment-drop';\nimport { AppointmentDropEdit } from './executors/appointment-drop-edit';\nimport { DropTargetsService } from './drop-targets.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DialogService } from '../core/dialog.service';\nimport { DropExtra } from './executors/drop-extra';\nimport { Drop } from './executors/drop';\nimport { Back } from './executors/back';\nimport { UserService } from '../user.service';\nimport { ResourceService } from '../resource.service';\nimport { TaskDropPrognosed } from './executors/task-drop-prognosed';\nimport { AttendantDrop } from './executors/attendant-drop';\nimport { AttendantDropEdit } from './executors/attendant-drop-edit';\n/**\n * Service to retrieve and execute the executors\n */\nvar ExecutorsService = /** @class */ (function () {\n /**\n * Constructs a Executors Service\n */\n function ExecutorsService(domainService, overlayService, dropTargetsService, diaglogService, translateService, userService, resourceService) {\n this.domainService = domainService;\n this.overlayService = overlayService;\n this.dropTargetsService = dropTargetsService;\n this.diaglogService = diaglogService;\n this.translateService = translateService;\n this.userService = userService;\n this.resourceService = resourceService;\n // Events are stored in the service and this number\n // limits the total of concurrent events\n this.maxExecutorEvents = 5;\n // The list of executor events\n this.events = [];\n // List of executors\n this.executors = this.loadExecutors();\n }\n /**\n * Load the executors\n */\n ExecutorsService.prototype.loadExecutors = function () {\n var _this = this;\n var executors = [];\n [\n TaskDrop,\n TaskDropEdit,\n TaskDropPrognosed,\n ServiceDrop,\n ServiceDropEdit,\n AbsenceDrop,\n AbsenceDropEdit,\n AbsenceMove,\n AbsenceDelete,\n AppointmentDrop,\n AppointmentDropEdit,\n AppointmentMove,\n AssignmentMove,\n AttendantMove,\n AppointmentDelete,\n AssignmentDelete,\n AttendantDelete,\n AbsenceResize,\n AppointmentResize,\n AttendantResize,\n AssignmentResize,\n AttendantDrop,\n AttendantDropEdit,\n ShiftAdhoc,\n TaskAdhoc,\n AbsenceAdhoc,\n Drop,\n DropExtra,\n Back\n ].forEach(function (Executor) {\n executors.push(new Executor(_this.domainService, _this.overlayService, _this.dropTargetsService, _this.diaglogService, _this.translateService, _this.userService, _this.resourceService));\n });\n return executors;\n };\n /**\n * Method used for initiating an event\n * @param {ExecutorName} name The name of the executor\n * @param {ExecutorData} data The executor data\n * @returns {Promise}\n */\n ExecutorsService.prototype.initiate = function (name, data) {\n // Try to find the executor, else reject it\n return this.getExecutorByName(name).then(function (executor) {\n // Let execute the executor!\n return executor.execute(data);\n });\n };\n /**\n * Get all executors for given scope\n * @param {ExecutorAction} action The action of the executors to look for\n * @param {ExecutorScope} scope Filter of the executors based on the scope\n * @returns {ExecutorBase[]}\n */\n ExecutorsService.prototype.getExecutors = function (action, category) {\n // If no action or category is given, return empty set of executors\n if (!action || !category) {\n return [];\n }\n // Find the executors based on the given action and scope\n return this.executors.filter(function (executor) {\n return (executor.action === action && executor.category === category);\n });\n };\n /**\n * Get the first executor based on action and scope\n * @param {ExecutorAction} action The executor action\n * @param {ExecutorScope} scope The scope of the executor\n * @returns {string}\n */\n ExecutorsService.prototype.getFirstExecutorName = function (action, scope) {\n // If no action or scope is given, return empty set of executors\n if (!action || !scope) {\n return undefined;\n }\n // Find the FIRST executors based on the given action and scope\n var foundExecutor = this.executors.find(function (executor) {\n return (executor.action === action && executor.scopes.indexOf(scope) !== -1);\n });\n // If executor is found, return the name of it\n return (foundExecutor) ? foundExecutor.name : undefined;\n };\n /**\n * Get an executor by the name (sync)\n * @param {string} name The name of the name\n * @returns {ExecutorBase}\n */\n ExecutorsService.prototype.getExecutorByName = function (name) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // Search for executor based on name and stop by the first hit\n var foundExecutor = _this.executors.find(function (executor) {\n return (executor.name === name);\n });\n if (!foundExecutor) {\n reject(new Error('Cannot find the executor named \"' + name + '\"'));\n }\n // Next step\n resolve(foundExecutor);\n });\n };\n /**\n * Create executor event and returns the generated id\n * @param {ExecutorName} executorName The executor name\n * @param {ExecutorData} data The data related to the event\n * @returns {ExecutorId}\n */\n ExecutorsService.prototype.createExecutorEventAndGetTheId = function (executorName, data) {\n // Generate event id\n var id = this.generateExecutorId(executorName);\n // Create executor event and add it to executor events\n this.events.unshift({\n id: id,\n dragStart: moment(),\n executorName: executorName,\n data: data\n });\n // Clean up the 'older' events\n if (this.events.length > this.maxExecutorEvents) {\n this.events.length = this.maxExecutorEvents;\n }\n // Trigger the show drop targets\n this.getExecutorByName(executorName).then(function (executor) {\n executor.showDropTargets(data);\n });\n // Return the ID\n return id;\n };\n /**\n * Get the executor event by id\n * @param {ExecutorId} id The id of the executor\n * @returns\n */\n ExecutorsService.prototype.getExecutorEventById = function (id) {\n // Find the event\n var found = this.events.find(function (event) {\n return (event.id === id);\n });\n // Clean up the event\n this.events = this.events.filter(function (event) {\n return (event.id !== id);\n });\n return found;\n };\n /**\n * Generates an executor id and make it (more) human readable by adding the executor name\n * to the begin of the id.\n * @param {ExecutorName} executorName The name of the executor\n * @returns {ExecutorId}\n */\n ExecutorsService.prototype.generateExecutorId = function (executorName) {\n // From http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript\n return executorName + '-' + (Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15));\n };\n return ExecutorsService;\n}());\nexport { ExecutorsService };\n","/**\n * @file Agenda drag source tasks component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceTasksBaseComponent } from '../drag-source-tasks-base/drag-source-tasks-base.component';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ExecutorsService } from '../executors.service';\nimport { GridService } from '../grid.service';\n/** Agenda drag source tasks component */\nvar AgendaDragSourceTasksComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaDragSourceTasksComponent, _super);\n /**\n * Constructs AgendaDragSourceTasksComponent\n * @param configurationsService The configuration service to get the configuration of this component\n * @param router The router to synchronize query parameters with component state\n */\n function AgendaDragSourceTasksComponent(domainService, executorsService, alertsService, gridService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService) || this;\n _this.initiateExecutors();\n return _this;\n }\n return AgendaDragSourceTasksComponent;\n}(DragSourceTasksBaseComponent));\nexport { AgendaDragSourceTasksComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda drag source tasks component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./agenda-drag-source-tasks.component\";\nimport * as i6 from \"../../domain.service\";\nimport * as i7 from \"../executors.service\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"../grid.service\";\nvar styles_AgendaDragSourceTasksComponent = [i0.styles];\nvar RenderType_AgendaDragSourceTasksComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AgendaDragSourceTasksComponent, data: {} });\nexport { RenderType_AgendaDragSourceTasksComponent as RenderType_AgendaDragSourceTasksComponent };\nfunction View_AgendaDragSourceTasksComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_AgendaDragSourceTasksComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-assignment\"]], [[4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 9, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 6, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(15, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = \"sym-pattern sym-pattern-assignment\"; var currVal_3 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; var currVal_1 = _co.colorTools.maxContrast(_v.context.$implicit.Color, 20); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.PROJECTNAME\")), \"\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_v.context.$implicit.Project ? (_v.context.$implicit.Project.Name + \" \\u2022 \") : \"\"); _ck(_v, 12, 0, currVal_6); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.GRIDS.SOURCE.CUSTOMERNAME\")), \"\"); _ck(_v, 13, 0, currVal_7); var currVal_8 = (_v.context.$implicit.Customer ? ((((_v.context.$implicit.Customer.FirstName + \" \") + _v.context.$implicit.Customer.Prefix) + \" \") + _v.context.$implicit.Customer.Name) : \"\"); _ck(_v, 15, 0, currVal_8); }); }\nexport function View_AgendaDragSourceTasksComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 53, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 52, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 51, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 37, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 36, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 35, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 31, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 30, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 12).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 12).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.norm = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(12, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(14, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(16, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label mr-1\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.norm = !_co.norm) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 21).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 21).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.timed = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(21, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(23, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(25, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(26, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.timed = !_co.timed) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(30, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(31, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh \"]], null, null, null, null, null)), i1.ɵdid(34, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(35, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(36, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(38, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(39, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(40, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(41, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(42, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 44).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 44).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(44, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(46, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(48, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceTasksComponent_1)), i1.ɵdid(50, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(51, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceTasksComponent_2)), i1.ɵdid(53, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_9 = _co.norm; _ck(_v, 14, 0, currVal_9); var currVal_18 = _co.timed; _ck(_v, 23, 0, currVal_18); var currVal_21 = \"btn btn-sm btn-link p-0\"; var currVal_22 = _ck(_v, 31, 0, _co.isLoading); _ck(_v, 30, 0, currVal_21, currVal_22); var currVal_23 = \"icon sym-icon-refresh \"; var currVal_24 = _ck(_v, 35, 0, _co.isLoading); _ck(_v, 34, 0, currVal_23, currVal_24); var currVal_26 = \"icon sym-icon-pin\"; var currVal_27 = _ck(_v, 40, 0, !_co.griddrag.pinned); _ck(_v, 39, 0, currVal_26, currVal_27); var currVal_35 = _co.selectedExecutorName; _ck(_v, 46, 0, currVal_35); var currVal_36 = _co.availableExecutors; _ck(_v, 50, 0, currVal_36); var currVal_37 = _co.items; _ck(_v, 53, 0, currVal_37); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.GRIDS.DROP.PROJECT_TASKS\")); var currVal_1 = _co.count; _ck(_v, 7, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵnov(_v, 16).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 16).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 16).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 16).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 16).ngClassValid; var currVal_7 = i1.ɵnov(_v, 16).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 16).ngClassPending; _ck(_v, 11, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_10 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.GRIDS.DRAG.NORM\")); _ck(_v, 18, 0, currVal_10); var currVal_11 = i1.ɵnov(_v, 25).ngClassUntouched; var currVal_12 = i1.ɵnov(_v, 25).ngClassTouched; var currVal_13 = i1.ɵnov(_v, 25).ngClassPristine; var currVal_14 = i1.ɵnov(_v, 25).ngClassDirty; var currVal_15 = i1.ɵnov(_v, 25).ngClassValid; var currVal_16 = i1.ɵnov(_v, 25).ngClassInvalid; var currVal_17 = i1.ɵnov(_v, 25).ngClassPending; _ck(_v, 20, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17); var currVal_19 = i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.GRIDS.DRAG.TIMED\")); _ck(_v, 27, 0, currVal_19); var currVal_20 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 29, 0, i1.ɵnov(_v, 32).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 29, 0, currVal_20); var currVal_25 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 36, 0, i1.ɵnov(_v, 37).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 36, 0, currVal_25); var currVal_28 = i1.ɵnov(_v, 48).ngClassUntouched; var currVal_29 = i1.ɵnov(_v, 48).ngClassTouched; var currVal_30 = i1.ɵnov(_v, 48).ngClassPristine; var currVal_31 = i1.ɵnov(_v, 48).ngClassDirty; var currVal_32 = i1.ɵnov(_v, 48).ngClassValid; var currVal_33 = i1.ɵnov(_v, 48).ngClassInvalid; var currVal_34 = i1.ɵnov(_v, 48).ngClassPending; _ck(_v, 43, 0, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); }); }\nexport function View_AgendaDragSourceTasksComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-drag-source-tasks\", [], null, null, null, View_AgendaDragSourceTasksComponent_0, RenderType_AgendaDragSourceTasksComponent)), i1.ɵdid(1, 245760, null, 0, i5.AgendaDragSourceTasksComponent, [i6.DomainService, i7.ExecutorsService, i8.AlertsService, i9.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaDragSourceTasksComponentNgFactory = i1.ɵccf(\"sym-agenda-drag-source-tasks\", i5.AgendaDragSourceTasksComponent, View_AgendaDragSourceTasksComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\" }, {}, []);\nexport { AgendaDragSourceTasksComponentNgFactory as AgendaDragSourceTasksComponentNgFactory };\n","/**\n * @file Drag source appointments base component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceBaseComponent } from '../drag-source-base/drag-source-base.component';\n/** Drag source appointments base component. */\nvar DragSourceAppointmentsBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DragSourceAppointmentsBaseComponent, _super);\n function DragSourceAppointmentsBaseComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Initiate the executors for given source\n */\n DragSourceAppointmentsBaseComponent.prototype.initiateExecutors = function () {\n // Get the executors\n this.availableExecutors = this.executorsService.getExecutors('drop', 'Appointment');\n // Default pick the first available drop method\n this.selectedExecutorName = (this.availableExecutors.length > 0) ? this.availableExecutors[0].name : undefined;\n };\n /**\n * Filters out tasks that are already fully planned\n * @protected\n * @param {Entity} item The task\n * @returns A value indicating whether the task should be included\n */\n DragSourceAppointmentsBaseComponent.prototype.itemFilter = function (item) {\n // Issue: Mechanisme van zichtbaarheid en onzichtbaarheid van een projecttaak in de dragsources #2828\n // Op I-Dag van 30 augustus 2019 hebben we besloten verlopig hierop niet te filteren.\n // Oude code:\n // return !(item).isFullyPlanned();\n return true;\n };\n return DragSourceAppointmentsBaseComponent;\n}(DragSourceBaseComponent));\nexport { DragSourceAppointmentsBaseComponent };\n","/**\n * @file Agenda drag source appointments component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceAppointmentsBaseComponent } from '../drag-source-appointments-base/drag-source-appointments-base.component';\nimport { DomainService } from '../../domain.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { GridService } from '../grid.service';\n/** Agenda drag source appointments component. */\nvar AgendaDragSourceAppointmentsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaDragSourceAppointmentsComponent, _super);\n /**\n * Constructs AgendaDragSourceAppointmentsComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function AgendaDragSourceAppointmentsComponent(domainService, executorsService, alertsService, gridService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService) || this;\n _this.initiateExecutors();\n return _this;\n }\n return AgendaDragSourceAppointmentsComponent;\n}(DragSourceAppointmentsBaseComponent));\nexport { AgendaDragSourceAppointmentsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda drag source appointments component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./agenda-drag-source-appointments.component\";\nimport * as i6 from \"../../domain.service\";\nimport * as i7 from \"../executors.service\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"../grid.service\";\nvar styles_AgendaDragSourceAppointmentsComponent = [i0.styles];\nvar RenderType_AgendaDragSourceAppointmentsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AgendaDragSourceAppointmentsComponent, data: {} });\nexport { RenderType_AgendaDragSourceAppointmentsComponent as RenderType_AgendaDragSourceAppointmentsComponent };\nfunction View_AgendaDragSourceAppointmentsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_AgendaDragSourceAppointmentsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-appointment\"]], [[4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 9, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 6, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(15, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = \"sym-pattern sym-pattern-appointment\"; var currVal_3 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; var currVal_1 = _co.colorTools.maxContrast(_v.context.$implicit.Color, 20); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.PROJECTNAME\")), \"\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_v.context.$implicit.Project ? (_v.context.$implicit.Project.Name + \" \\u2022 \") : \"\"); _ck(_v, 12, 0, currVal_6); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.GRIDS.SOURCE.CUSTOMERNAME\")), \"\"); _ck(_v, 13, 0, currVal_7); var currVal_8 = (_v.context.$implicit.Customer ? ((((_v.context.$implicit.Customer.FirstName + \" \") + _v.context.$implicit.Customer.Prefix) + \" \") + _v.context.$implicit.Customer.Name) : \"\"); _ck(_v, 15, 0, currVal_8); }); }\nexport function View_AgendaDragSourceAppointmentsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 44, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 43, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 42, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 28, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 27, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 26, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 22, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 21, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 12).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 12).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.timed = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(12, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(14, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(16, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.timed = !_co.timed) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(21, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(22, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(25, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(26, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(27, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(30, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(31, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(32, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 35).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 35).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(35, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(37, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(39, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceAppointmentsComponent_1)), i1.ɵdid(41, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(42, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceAppointmentsComponent_2)), i1.ɵdid(44, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_9 = _co.timed; _ck(_v, 14, 0, currVal_9); var currVal_12 = \"btn btn-sm btn-link p-0\"; var currVal_13 = _ck(_v, 22, 0, _co.isLoading); _ck(_v, 21, 0, currVal_12, currVal_13); var currVal_14 = \"icon sym-icon-refresh\"; var currVal_15 = _ck(_v, 26, 0, _co.isLoading); _ck(_v, 25, 0, currVal_14, currVal_15); var currVal_17 = \"icon sym-icon-pin\"; var currVal_18 = _ck(_v, 31, 0, !_co.griddrag.pinned); _ck(_v, 30, 0, currVal_17, currVal_18); var currVal_26 = _co.selectedExecutorName; _ck(_v, 37, 0, currVal_26); var currVal_27 = _co.availableExecutors; _ck(_v, 41, 0, currVal_27); var currVal_28 = _co.items; _ck(_v, 44, 0, currVal_28); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.GRIDS.DROP.APPOINTMENTS\")); var currVal_1 = _co.count; _ck(_v, 7, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵnov(_v, 16).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 16).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 16).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 16).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 16).ngClassValid; var currVal_7 = i1.ɵnov(_v, 16).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 16).ngClassPending; _ck(_v, 11, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_10 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.GRIDS.DRAG.TIMED\")); _ck(_v, 18, 0, currVal_10); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 23).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 20, 0, currVal_11); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 27, 0, currVal_16); var currVal_19 = i1.ɵnov(_v, 39).ngClassUntouched; var currVal_20 = i1.ɵnov(_v, 39).ngClassTouched; var currVal_21 = i1.ɵnov(_v, 39).ngClassPristine; var currVal_22 = i1.ɵnov(_v, 39).ngClassDirty; var currVal_23 = i1.ɵnov(_v, 39).ngClassValid; var currVal_24 = i1.ɵnov(_v, 39).ngClassInvalid; var currVal_25 = i1.ɵnov(_v, 39).ngClassPending; _ck(_v, 34, 0, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25); }); }\nexport function View_AgendaDragSourceAppointmentsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-drag-source-appointments\", [], null, null, null, View_AgendaDragSourceAppointmentsComponent_0, RenderType_AgendaDragSourceAppointmentsComponent)), i1.ɵdid(1, 245760, null, 0, i5.AgendaDragSourceAppointmentsComponent, [i6.DomainService, i7.ExecutorsService, i8.AlertsService, i9.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaDragSourceAppointmentsComponentNgFactory = i1.ɵccf(\"sym-agenda-drag-source-appointments\", i5.AgendaDragSourceAppointmentsComponent, View_AgendaDragSourceAppointmentsComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\" }, {}, []);\nexport { AgendaDragSourceAppointmentsComponentNgFactory as AgendaDragSourceAppointmentsComponentNgFactory };\n","/**\n * @file Drag source services base component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceBaseComponent } from '../drag-source-base/drag-source-base.component';\nimport { SortDescriptor } from '../../core/helpers/sort-descriptor';\nimport { SortDirection } from '../../core/helpers/sort-direction';\n/** Drag source services base component. */\nvar DragSourceServicesBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DragSourceServicesBaseComponent, _super);\n function DragSourceServicesBaseComponent(domainService, executorsService, alertsService, gridService, localisationService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService) || this;\n _this.domainService = domainService;\n _this.executorsService = executorsService;\n _this.alertsService = alertsService;\n _this.gridService = gridService;\n _this.localisationService = localisationService;\n _this.addSorting(new SortDescriptor('Start', 'Start', SortDirection.Ascending, 1));\n return _this;\n }\n /**\n * Initiate the executors for given source\n */\n DragSourceServicesBaseComponent.prototype.initiateExecutors = function () {\n // Get the executors\n this.availableExecutors = this.executorsService.getExecutors('drop', 'Service');\n // Default pick the first available drop method\n this.selectedExecutorName = (this.availableExecutors.length > 0) ? this.availableExecutors[0].name : undefined;\n };\n DragSourceServicesBaseComponent.prototype.formatDate = function (date) {\n var formattedDate = date.getDate() + '-' + (date.getMonth() + 1) + '-' + date.getFullYear();\n return formattedDate;\n };\n return DragSourceServicesBaseComponent;\n}(DragSourceBaseComponent));\nexport { DragSourceServicesBaseComponent };\n","/**\n * @file Agenda drag source services component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceServicesBaseComponent } from '../drag-source-services-base/drag-source-services-base.component';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ExecutorsService } from '../executors.service';\nimport { GridService } from '../grid.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/** Agenda drag source services component. */\nvar AgendaDragSourceServicesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaDragSourceServicesComponent, _super);\n /**\n * Constructs DragSourceServicesBaseComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function AgendaDragSourceServicesComponent(domainService, executorsService, alertsService, gridService, localisationService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService, localisationService) || this;\n _this.initiateExecutors();\n return _this;\n }\n return AgendaDragSourceServicesComponent;\n}(DragSourceServicesBaseComponent));\nexport { AgendaDragSourceServicesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda drag source services component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"ngx-moment\";\nimport * as i6 from \"./agenda-drag-source-services.component\";\nimport * as i7 from \"../../domain.service\";\nimport * as i8 from \"../executors.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../grid.service\";\nimport * as i11 from \"../../core/localisation.service\";\nvar styles_AgendaDragSourceServicesComponent = [i0.styles];\nvar RenderType_AgendaDragSourceServicesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AgendaDragSourceServicesComponent, data: {} });\nexport { RenderType_AgendaDragSourceServicesComponent as RenderType_AgendaDragSourceServicesComponent };\nfunction View_AgendaDragSourceServicesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_AgendaDragSourceServicesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-service\"]], [[4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 10, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 7, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\" \", \" \", \" - \", \" \", \" \"])), i1.ɵppd(13, 2), i1.ɵppd(14, 2), i1.ɵppd(15, 2), i1.ɵppd(16, 2)], function (_ck, _v) { var currVal_1 = \"sym-pattern sym-pattern-service\"; var currVal_2 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; _ck(_v, 2, 0, currVal_0); var currVal_3 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_3); var currVal_4 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.STARTFINISH\")), \"\"); _ck(_v, 10, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 12, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Start, _co.localisationService.dayMonth.format)); var currVal_6 = i1.ɵunv(_v, 12, 1, _ck(_v, 14, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Start, _co.localisationService.time.format)); var currVal_7 = i1.ɵunv(_v, 12, 2, _ck(_v, 15, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Finish, _co.localisationService.dayMonth.format)); var currVal_8 = i1.ɵunv(_v, 12, 3, _ck(_v, 16, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Finish, _co.localisationService.time.format)); _ck(_v, 12, 0, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nexport function View_AgendaDragSourceServicesComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i5.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 44, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 43, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 42, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 28, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 27, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 26, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 22, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 21, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.timed = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(15, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(17, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.timed = !_co.timed) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(21, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(22, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(23, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(26, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(27, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(28, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(30, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(31, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(32, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(33, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(35, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 36).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 36).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(36, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(38, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(40, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceServicesComponent_1)), i1.ɵdid(42, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(43, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceServicesComponent_2)), i1.ɵdid(45, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_9 = _co.timed; _ck(_v, 15, 0, currVal_9); var currVal_12 = \"btn btn-sm btn-link p-0\"; var currVal_13 = _ck(_v, 23, 0, _co.isLoading); _ck(_v, 22, 0, currVal_12, currVal_13); var currVal_14 = \"icon sym-icon-refresh\"; var currVal_15 = _ck(_v, 27, 0, _co.isLoading); _ck(_v, 26, 0, currVal_14, currVal_15); var currVal_17 = \"icon sym-icon-pin\"; var currVal_18 = _ck(_v, 32, 0, !_co.griddrag.pinned); _ck(_v, 31, 0, currVal_17, currVal_18); var currVal_26 = _co.selectedExecutorName; _ck(_v, 38, 0, currVal_26); var currVal_27 = _co.availableExecutors; _ck(_v, 42, 0, currVal_27); var currVal_28 = _co.items; _ck(_v, 45, 0, currVal_28); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.GRIDS.DROP.SERVICES\")); var currVal_1 = _co.count; _ck(_v, 8, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵnov(_v, 17).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 17).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 17).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 17).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 17).ngClassValid; var currVal_7 = i1.ɵnov(_v, 17).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 17).ngClassPending; _ck(_v, 12, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_10 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.GRIDS.DRAG.TIMED\")); _ck(_v, 19, 0, currVal_10); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 24).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 21, 0, currVal_11); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 28, 0, i1.ɵnov(_v, 29).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 28, 0, currVal_16); var currVal_19 = i1.ɵnov(_v, 40).ngClassUntouched; var currVal_20 = i1.ɵnov(_v, 40).ngClassTouched; var currVal_21 = i1.ɵnov(_v, 40).ngClassPristine; var currVal_22 = i1.ɵnov(_v, 40).ngClassDirty; var currVal_23 = i1.ɵnov(_v, 40).ngClassValid; var currVal_24 = i1.ɵnov(_v, 40).ngClassInvalid; var currVal_25 = i1.ɵnov(_v, 40).ngClassPending; _ck(_v, 35, 0, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25); }); }\nexport function View_AgendaDragSourceServicesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-drag-source-services\", [], null, null, null, View_AgendaDragSourceServicesComponent_0, RenderType_AgendaDragSourceServicesComponent)), i1.ɵdid(1, 245760, null, 0, i6.AgendaDragSourceServicesComponent, [i7.DomainService, i8.ExecutorsService, i9.AlertsService, i10.GridService, i11.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaDragSourceServicesComponentNgFactory = i1.ɵccf(\"sym-agenda-drag-source-services\", i6.AgendaDragSourceServicesComponent, View_AgendaDragSourceServicesComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\" }, {}, []);\nexport { AgendaDragSourceServicesComponentNgFactory as AgendaDragSourceServicesComponentNgFactory };\n","/**\n * @file Drag source absences base component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceBaseComponent } from '../drag-source-base/drag-source-base.component';\n/** Drag source absences base component. */\nvar DragSourceAbsencesBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DragSourceAbsencesBaseComponent, _super);\n function DragSourceAbsencesBaseComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Gets the label for a sum factor.\n * @param {number} factor A specific sum factor\n * @returns {string} The Label\n */\n DragSourceAbsencesBaseComponent.prototype.getLabelSumFactor = function (factor) {\n // Gebruik niet de algemenen labels als je hier een meer context specifiek label wil gebruiken.\n switch (factor) {\n case 1:\n return 'APP.MISC.PLANITEM.SUMFACTOR_ADD';\n case 0:\n return 'APP.MISC.PLANITEM.SUMFACTOR_NONE';\n case -1:\n return 'APP.MISC.PLANITEM.SUMFACTOR_SUBTRACT';\n default:\n return '';\n }\n };\n /**\n * Initiate the executors for given source\n */\n DragSourceAbsencesBaseComponent.prototype.initiateExecutors = function () {\n // Get the executors\n this.availableExecutors = this.executorsService.getExecutors('drop', 'Absence');\n // Default pick the first available drop method\n this.selectedExecutorName = (this.availableExecutors.length > 0) ? this.availableExecutors[0].name : undefined;\n };\n return DragSourceAbsencesBaseComponent;\n}(DragSourceBaseComponent));\nexport { DragSourceAbsencesBaseComponent };\n","/**\n * @file Agenda drag source absences component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceAbsencesBaseComponent } from '../drag-source-absences-base/drag-source-absences-base.component';\nimport { DomainService } from '../../domain.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { GridService } from '../grid.service';\n/** Agenda drag source absences component. */\nvar AgendaDragSourceAbsencesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaDragSourceAbsencesComponent, _super);\n /**\n * Constructs AgendaDragSourceAbsencesComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function AgendaDragSourceAbsencesComponent(domainService, executorsService, alertsService, gridService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService) || this;\n _this.initiateExecutors();\n return _this;\n }\n return AgendaDragSourceAbsencesComponent;\n}(DragSourceAbsencesBaseComponent));\nexport { AgendaDragSourceAbsencesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda drag source absences component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./agenda-drag-source-absences.component\";\nimport * as i6 from \"../../domain.service\";\nimport * as i7 from \"../executors.service\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"../grid.service\";\nvar styles_AgendaDragSourceAbsencesComponent = [i0.styles];\nvar RenderType_AgendaDragSourceAbsencesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AgendaDragSourceAbsencesComponent, data: {} });\nexport { RenderType_AgendaDragSourceAbsencesComponent as RenderType_AgendaDragSourceAbsencesComponent };\nfunction View_AgendaDragSourceAbsencesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_AgendaDragSourceAbsencesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-absence\"]], [[4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_1 = \"sym-pattern sym-pattern-absence\"; var currVal_2 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; _ck(_v, 2, 0, currVal_0); var currVal_3 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_3); var currVal_4 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.SUMFACTOR\")), \"\"); _ck(_v, 10, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(_co.getLabelSumFactor(_v.context.$implicit.SumFactor))); _ck(_v, 12, 0, currVal_5); }); }\nexport function View_AgendaDragSourceAbsencesComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 35, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 34, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 33, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 19, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 18, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 17, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 12, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(12, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(13, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(16, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(17, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(18, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(21, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(22, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(23, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 26).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 26).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(26, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(28, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(30, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceAbsencesComponent_1)), i1.ɵdid(32, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaDragSourceAbsencesComponent_2)), i1.ɵdid(35, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_3 = \"btn btn-sm btn-link p-0\"; var currVal_4 = _ck(_v, 13, 0, _co.isLoading); _ck(_v, 12, 0, currVal_3, currVal_4); var currVal_5 = \"icon sym-icon-refresh\"; var currVal_6 = _ck(_v, 17, 0, _co.isLoading); _ck(_v, 16, 0, currVal_5, currVal_6); var currVal_8 = \"icon sym-icon-pin\"; var currVal_9 = _ck(_v, 22, 0, !_co.griddrag.pinned); _ck(_v, 21, 0, currVal_8, currVal_9); var currVal_17 = _co.selectedExecutorName; _ck(_v, 28, 0, currVal_17); var currVal_18 = _co.availableExecutors; _ck(_v, 32, 0, currVal_18); var currVal_19 = _co.items; _ck(_v, 35, 0, currVal_19); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.GRIDS.DROP.ABSENCES\")); var currVal_1 = _co.count; _ck(_v, 7, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 14).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 11, 0, currVal_2); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 18, 0, currVal_7); var currVal_10 = i1.ɵnov(_v, 30).ngClassUntouched; var currVal_11 = i1.ɵnov(_v, 30).ngClassTouched; var currVal_12 = i1.ɵnov(_v, 30).ngClassPristine; var currVal_13 = i1.ɵnov(_v, 30).ngClassDirty; var currVal_14 = i1.ɵnov(_v, 30).ngClassValid; var currVal_15 = i1.ɵnov(_v, 30).ngClassInvalid; var currVal_16 = i1.ɵnov(_v, 30).ngClassPending; _ck(_v, 25, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); }); }\nexport function View_AgendaDragSourceAbsencesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-drag-source-absences\", [], null, null, null, View_AgendaDragSourceAbsencesComponent_0, RenderType_AgendaDragSourceAbsencesComponent)), i1.ɵdid(1, 245760, null, 0, i5.AgendaDragSourceAbsencesComponent, [i6.DomainService, i7.ExecutorsService, i8.AlertsService, i9.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaDragSourceAbsencesComponentNgFactory = i1.ɵccf(\"sym-agenda-drag-source-absences\", i5.AgendaDragSourceAbsencesComponent, View_AgendaDragSourceAbsencesComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\" }, {}, []);\nexport { AgendaDragSourceAbsencesComponentNgFactory as AgendaDragSourceAbsencesComponentNgFactory };\n","/**\n * @file Agenda grid drag component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ElementRef, NgZone } from '@angular/core';\nimport { GridDragBaseComponent } from '../grid-drag-base/grid-drag-base.component';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ExecutorsService } from '../executors.service';\nimport { DropTargetsService } from '../drop-targets.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { GridService } from '../grid.service';\n/** Agenda grid bar component. */\nvar AgendaGridDragComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaGridDragComponent, _super);\n /**\n * Constructs AgendaGridDragComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function AgendaGridDragComponent(alertsService, executorsService, dropTargetsService, elementRef, ngZone, localStorageService, gridService) {\n var _this = _super.call(this, alertsService, executorsService, dropTargetsService, elementRef, ngZone, localStorageService, gridService) || this;\n /**\n * Gets, sets the selected Resource of the agenda displayed.\n * This property is used to pass on the Resource from\n * AgendaGridComponent to agenda drag source components.\n * @type {Entity} The selected Resource\n */\n _this.selectedResource = null;\n return _this;\n }\n AgendaGridDragComponent.prototype.afterInitialize = function () {\n _super.prototype.afterInitialize.call(this);\n if (!this.configuration || !this.configuration.components) {\n return;\n }\n var test = this.configuration.components.find(function (item) { return item.component.indexOf('AgendaDragSourceTaskComponent') !== -1; });\n this.configTasksSource = test ? test.configuration : null;\n test = this.configuration.components.find(function (item) { return item.component.indexOf('AgendaDragSourceAppointmentsComponent') !== -1; });\n this.configAppointmentsSource = test ? test.configuration : null;\n test = this.configuration.components.find(function (item) { return item.component.indexOf('AgendaDragSourceServicesComponent') !== -1; });\n this.configServicesSource = test ? test.configuration : null;\n test = this.configuration.components.find(function (item) { return item.component.indexOf('AgendaDragSourceAbsencesComponent') !== -1; });\n this.configAbsencesSource = test ? test.configuration : null;\n };\n return AgendaGridDragComponent;\n}(GridDragBaseComponent));\nexport { AgendaGridDragComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda grid drag component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../agenda-drag-source-tasks/agenda-drag-source-tasks.component.ngfactory\";\nimport * as i2 from \"../agenda-drag-source-tasks/agenda-drag-source-tasks.component\";\nimport * as i3 from \"../../domain.service\";\nimport * as i4 from \"../executors.service\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"../grid.service\";\nimport * as i7 from \"../agenda-drag-source-appointments/agenda-drag-source-appointments.component.ngfactory\";\nimport * as i8 from \"../agenda-drag-source-appointments/agenda-drag-source-appointments.component\";\nimport * as i9 from \"../agenda-drag-source-services/agenda-drag-source-services.component.ngfactory\";\nimport * as i10 from \"../agenda-drag-source-services/agenda-drag-source-services.component\";\nimport * as i11 from \"../../core/localisation.service\";\nimport * as i12 from \"../agenda-drag-source-absences/agenda-drag-source-absences.component.ngfactory\";\nimport * as i13 from \"../agenda-drag-source-absences/agenda-drag-source-absences.component\";\nimport * as i14 from \"@angular/common\";\nimport * as i15 from \"@ngx-translate/core\";\nimport * as i16 from \"./agenda-grid-drag.component\";\nimport * as i17 from \"../drop-targets.service\";\nimport * as i18 from \"../../core/local-storage.service\";\nvar styles_AgendaGridDragComponent = [];\nvar RenderType_AgendaGridDragComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AgendaGridDragComponent, data: {} });\nexport { RenderType_AgendaGridDragComponent as RenderType_AgendaGridDragComponent };\nfunction View_AgendaGridDragComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-tasks\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-agenda-drag-source-tasks\", [], null, null, null, i1.View_AgendaDragSourceTasksComponent_0, i1.RenderType_AgendaDragSourceTasksComponent)), i0.ɵdid(2, 245760, null, 0, i2.AgendaDragSourceTasksComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService], { configuration: [0, \"configuration\"], filter: [1, \"filter\"], griddrag: [2, \"griddrag\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configTasksSource; var currVal_1 = _co.selectedResource; var currVal_2 = _co; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_AgendaGridDragComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-appointments\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-agenda-drag-source-appointments\", [], null, null, null, i7.View_AgendaDragSourceAppointmentsComponent_0, i7.RenderType_AgendaDragSourceAppointmentsComponent)), i0.ɵdid(2, 245760, null, 0, i8.AgendaDragSourceAppointmentsComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService], { configuration: [0, \"configuration\"], filter: [1, \"filter\"], griddrag: [2, \"griddrag\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configAppointmentsSource; var currVal_1 = _co.selectedResource; var currVal_2 = _co; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_AgendaGridDragComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-services\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-agenda-drag-source-services\", [], null, null, null, i9.View_AgendaDragSourceServicesComponent_0, i9.RenderType_AgendaDragSourceServicesComponent)), i0.ɵdid(2, 245760, null, 0, i10.AgendaDragSourceServicesComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService, i11.LocalisationService], { configuration: [0, \"configuration\"], filter: [1, \"filter\"], griddrag: [2, \"griddrag\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configServicesSource; var currVal_1 = _co.selectedResource; var currVal_2 = _co; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_AgendaGridDragComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-absences\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-agenda-drag-source-absences\", [], null, null, null, i12.View_AgendaDragSourceAbsencesComponent_0, i12.RenderType_AgendaDragSourceAbsencesComponent)), i0.ɵdid(2, 245760, null, 0, i13.AgendaDragSourceAbsencesComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService], { configuration: [0, \"configuration\"], griddrag: [1, \"griddrag\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configAbsencesSource; var currVal_1 = _co; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_AgendaGridDragComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-b-b-0 sym-row-drop\"]], null, [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i14.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-row-drop-active\": 0 }), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-delete-button\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i15.TranslatePipe, [i15.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-row sym-row-five-eighths sym-row-text sym-b-b-0 sym-row-drop\"; var currVal_1 = _ck(_v, 2, 0, _co.inDragMode); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(\"APP.GRIDS.DRAG.TRASH\")); _ck(_v, 6, 0, currVal_2); }); }\nexport function View_AgendaGridDragComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 51, \"div\", [[\"class\", \"sym-grid-drag\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 50, \"div\", [[\"class\", \"sym-grid-drag-menu\"]], null, [[null, \"mouseleave\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseleave\" === en)) {\n var pd_0 = (_co.closeSourceDelayed() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 278528, null, 0, i14.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(3, { \"sym-no-create-allowed\": 0 }), (_l()(), i0.ɵeld(4, 0, null, null, 47, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 46, \"div\", [[\"class\", \"sym-grid-segment\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 45, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 0, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-b-b-0\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 0, \"div\", [[\"class\", \"sym-column sym-column-full\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"tasks\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(11, 278528, null, 0, i14.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(12, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-task sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(16, null, [\"\", \"\"])), i0.ɵpid(131072, i15.TranslatePipe, [i15.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDragComponent_1)), i0.ɵdid(19, 16384, null, 0, i14.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"appointments\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(21, 278528, null, 0, i14.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(22, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(23, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(24, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-appointment sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(25, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(26, null, [\"\", \"\"])), i0.ɵpid(131072, i15.TranslatePipe, [i15.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDragComponent_2)), i0.ɵdid(29, 16384, null, 0, i14.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(30, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"services\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(31, 278528, null, 0, i14.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(32, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(33, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-service sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(35, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(36, null, [\"\", \"\"])), i0.ɵpid(131072, i15.TranslatePipe, [i15.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDragComponent_3)), i0.ɵdid(39, 16384, null, 0, i14.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(40, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"absences\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(41, 278528, null, 0, i14.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(42, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(43, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(44, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-absence sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(45, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(46, null, [\"\", \"\"])), i0.ɵpid(131072, i15.TranslatePipe, [i15.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDragComponent_4)), i0.ɵdid(49, 16384, null, 0, i14.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDragComponent_5)), i0.ɵdid(51, 16384, null, 0, i14.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-grid-drag-menu\"; var currVal_1 = _ck(_v, 3, 0, !_co.canCreate); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_3 = _ck(_v, 12, 0, _co.isSourceOpen(\"tasks\"), _co.isLastOpenedDragsource(\"tasks\")); _ck(_v, 11, 0, currVal_2, currVal_3); var currVal_5 = _co.canCreate; _ck(_v, 19, 0, currVal_5); var currVal_6 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_7 = _ck(_v, 22, 0, _co.isSourceOpen(\"appointments\"), _co.isLastOpenedDragsource(\"appointments\")); _ck(_v, 21, 0, currVal_6, currVal_7); var currVal_9 = _co.canCreate; _ck(_v, 29, 0, currVal_9); var currVal_10 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_11 = _ck(_v, 32, 0, _co.isSourceOpen(\"services\"), _co.isLastOpenedDragsource(\"services\")); _ck(_v, 31, 0, currVal_10, currVal_11); var currVal_13 = _co.canCreate; _ck(_v, 39, 0, currVal_13); var currVal_14 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_15 = _ck(_v, 42, 0, _co.isSourceOpen(\"absences\"), _co.isLastOpenedDragsource(\"absences\")); _ck(_v, 41, 0, currVal_14, currVal_15); var currVal_17 = _co.canCreate; _ck(_v, 49, 0, currVal_17); var currVal_18 = _co.canDelete; _ck(_v, 51, 0, currVal_18); }, function (_ck, _v) { var currVal_4 = i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.GRIDS.DRAG.PROJECT_TASKS\")); _ck(_v, 16, 0, currVal_4); var currVal_8 = i0.ɵunv(_v, 26, 0, i0.ɵnov(_v, 27).transform(\"APP.GRIDS.DRAG.APPOINTMENTS\")); _ck(_v, 26, 0, currVal_8); var currVal_12 = i0.ɵunv(_v, 36, 0, i0.ɵnov(_v, 37).transform(\"APP.GRIDS.DRAG.SERVICES\")); _ck(_v, 36, 0, currVal_12); var currVal_16 = i0.ɵunv(_v, 46, 0, i0.ɵnov(_v, 47).transform(\"APP.GRIDS.DRAG.ABSENCES\")); _ck(_v, 46, 0, currVal_16); }); }\nexport function View_AgendaGridDragComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-agenda-grid-drag\", [], null, [[\"window\", \"dragstart\"], [\"window\", \"dragend\"]], function (_v, en, $event) { var ad = true; if ((\"window:dragstart\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).onDragOver($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"window:dragend\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 1).onDragLeave($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, View_AgendaGridDragComponent_0, RenderType_AgendaGridDragComponent)), i0.ɵdid(1, 245760, null, 0, i16.AgendaGridDragComponent, [i5.AlertsService, i4.ExecutorsService, i17.DropTargetsService, i0.ElementRef, i0.NgZone, i18.LocalStorageService, i6.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaGridDragComponentNgFactory = i0.ɵccf(\"sym-agenda-grid-drag\", i16.AgendaGridDragComponent, View_AgendaGridDragComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", selectedResource: \"selectedResource\" }, {}, []);\nexport { AgendaGridDragComponentNgFactory as AgendaGridDragComponentNgFactory };\n","/**\n * @file Base grid display component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter, AfterViewInit, OnInit, OnDestroy, ElementRef, NgZone, ChangeDetectorRef } from '@angular/core';\nimport { ControlBase } from '../../base/helpers/control-base';\nimport { EntityAction } from 'breeze-client';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { GridBarBaseComponent } from '../grid-bar-base/grid-bar-base.component';\nimport * as moment from 'moment';\nimport { NavigationEnd } from '@angular/router';\nimport { RoutesService } from '../../routes.service';\nimport { take } from 'rxjs/internal/operators/take';\nvar GridDisplayBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(GridDisplayBaseComponent, _super);\n function GridDisplayBaseComponent(router, domainService, localisationService, settingsService, backendSettingsService, overlayService, executorsService, alertsService, elementRef, ngZone, changeDetector, eventsService, gridService) {\n var _this = _super.call(this, alertsService) || this;\n _this.router = router;\n _this.domainService = domainService;\n _this.localisationService = localisationService;\n _this.settingsService = settingsService;\n _this.backendSettingsService = backendSettingsService;\n _this.overlayService = overlayService;\n _this.executorsService = executorsService;\n _this.alertsService = alertsService;\n _this.elementRef = elementRef;\n _this.ngZone = ngZone;\n _this.changeDetector = changeDetector;\n _this.eventsService = eventsService;\n _this.gridService = gridService;\n /**\n * Field holding reference to entity changed subscription.\n * This is used to update the agenda accordingly.\n * @private\n * @type {number}\n */\n _this.entityChangedSubscription = undefined;\n _this._selectedWrapper = null;\n _this.itemResizeData = undefined;\n /**\n * A value indicating whether AfterViewInit has completed.\n * @memberOf GridDisplayBaseComponent\n */\n _this.initialized = false;\n _this.selectionChanged = new EventEmitter();\n _this._objects = new DataSet();\n _this.dynamicParameters = [];\n _this.loadingInProgress = null;\n // Loading state of component\n _this.isLoading = false;\n eventsService.register('drop-successful');\n return _this;\n }\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"gridCollections\", {\n get: function () {\n return this._gridCollections;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"expandedIndex\", {\n get: function () {\n if (this.bar === null || typeof this.bar === 'undefined') {\n return null;\n }\n else {\n return this.bar.expandedIndex;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"objects\", {\n get: function () {\n return this._objects;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called after a drop edit executor to show its first result in the detail section of the right side bar.\n * @param {Entity[]} items The results of the executor.\n */\n GridDisplayBaseComponent.prototype.showResultExecutor = function (items) {\n if (items == null || items.length === 0) {\n return;\n }\n var sorted = items.sort(function (a, b) { return a['Start'].getTime() - b['Start'].getTime(); });\n this.tryOpenDetailsOf(sorted[0], 6);\n };\n /** Is given date today. */\n GridDisplayBaseComponent.prototype.isToday = function (date) {\n return moment().isSame(date, 'd');\n };\n /**\n * Tries to show the entity in the detail section of the right side bar.\n * @protected\n * @param {Entity} item The entity to show.\n * @param {number} tries Number of tries.\n */\n GridDisplayBaseComponent.prototype.tryOpenDetailsOf = function (item, tries) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n if (tries === 0) {\n return [2 /*return*/];\n }\n window.setTimeout(function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var wrapper, wrapper;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.loadingInProgress) return [3 /*break*/, 2];\n return [4 /*yield*/, this.loadingInProgress];\n case 1:\n _a.sent();\n wrapper = this.findWrapperOf(item);\n if (wrapper) {\n this.selectPlanItem(wrapper);\n }\n else {\n this.tryOpenDetailsOf(item, tries - 1);\n }\n return [3 /*break*/, 3];\n case 2:\n wrapper = this.findWrapperOf(item);\n if (wrapper) {\n this.selectPlanItem(wrapper);\n }\n else {\n this.tryOpenDetailsOf(item, tries - 1);\n }\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n }); }, 500);\n return [2 /*return*/];\n });\n });\n };\n /**\n * Finds the wrapper of the given entity.\n * @protected\n * @param {Entity} item The entity to look for.\n * @returns {PlanItemWrapper} The wrapper when found otherwise null.\n */\n GridDisplayBaseComponent.prototype.findWrapperOf = function (item) {\n if (item == null) {\n return null;\n }\n var resourceOid = item['Resource_Oid'];\n // Reduce the search space\n var gridSegments;\n if (this._gridCollections && this._gridCollections.length === 1) {\n gridSegments = this._gridCollections[0];\n }\n else {\n gridSegments = this._gridCollections.find(function (it) {\n return (it.meta && it.meta.resource && it.meta.resource.Oid === resourceOid);\n });\n }\n if (gridSegments == null) {\n return;\n }\n var itemOid = item['Oid'];\n var search;\n switch (item.entityType.shortName) {\n case 'Appointment':\n search = function (col) { return col.gridAbsences.map(function (it) { return it; }).find(function (it) { return it.item.Item_Oid === itemOid; }); };\n break;\n case 'Assignment':\n if (item['Appointment']) {\n search = function (col) { return col.gridAppointments.map(function (it) { return it; }).find(function (it) { return it.item.Item_Oid === itemOid; }); };\n }\n else {\n search = function (col) { return col.gridAssignments.map(function (it) { return it; }).find(function (it) { return it.item.Item_Oid === itemOid; }); };\n }\n break;\n case 'Attendant':\n search = function (col) { return col.gridAttendants.map(function (it) { return it; }).find(function (it) { return it.item.Item_Oid === itemOid; }); };\n break;\n }\n for (var _i = 0, _a = gridSegments.children; _i < _a.length; _i++) {\n var a = _a[_i];\n for (var _b = 0, _c = a.children; _b < _c.length; _b++) {\n var b = _c[_b];\n for (var _d = 0, _e = b.children; _d < _e.length; _d++) {\n var c = _e[_d];\n var test = search(c);\n if (test != null) {\n return test;\n }\n }\n }\n }\n return null;\n };\n /**\n * Lifecycle hook that is called after a component's view has been fully initialized.\n */\n GridDisplayBaseComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n this.initialLoading();\n this.subscriptionPool.add(this.router.events.subscribe(function (event) {\n if (event instanceof NavigationEnd) {\n _this.refreshIfNeeded();\n if (RoutesService.getDetailId(_this.router.routerState) == null) {\n _this.selectPlanItem(null);\n }\n }\n }));\n // The dragover event is needed to make a drop work. The problem is that for every move the draggable\n // item fires the dragover event of Angular and a change detection is handled. This is per pixel (!)\n // so it's quite slow to 're-render' the grid. Therefore I placed the dragover event outside Angular via NgZone.\n // This construction is used in grid-display-base.component.ts, grid-drag-base.component.ts, plugin-view-shifts and grid-bar-base.component.ts.\n this.ngZone.runOutsideAngular(function () {\n _this.elementRef.nativeElement.addEventListener('dragover', function (dragEvent) {\n dragEvent.stopPropagation();\n dragEvent.preventDefault();\n });\n _this.elementRef.nativeElement.addEventListener('drop', function (dragEvent) {\n dragEvent.stopPropagation();\n dragEvent.preventDefault();\n });\n });\n };\n /**\n * Callback when pagination is destroyed to cleanup references.\n */\n GridDisplayBaseComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n this.domainService.entityManager.entityChanged.unsubscribe(this.entityChangedSubscription);\n };\n /**\n * Is called right after the directive's data-bound properties have been checked for the\n * first time, and before any of its children have been checked. It is invoked only once when the\n * directive is instantiated.\n */\n GridDisplayBaseComponent.prototype.ngOnInit = function () {\n var _this = this;\n if (this.entityChangedSubscription != null) {\n this.domainService.entityManager.entityChanged.unsubscribe(this.entityChangedSubscription);\n }\n this.entityChangedSubscription = this.domainService.entityManager.entityChanged.subscribe(function (args) {\n var entityName = args.entity.entityType.shortName;\n if (!(entityName === 'PlanItem' || entityName === 'Appointment' || entityName === 'Assignment' || entityName === 'Attendant')) {\n return;\n }\n if (\n // Na opslaan verandert entity state van modified naar unchanged.\n (args.entityAction === EntityAction.EntityStateChange && args.entity.entityAspect.entityState.isUnchanged()) ||\n // Als een item verwijdert wordt.\n args.entityAction === EntityAction.Detach || args.entityAction === EntityAction.MergeOnSave) {\n _this.refreshFor(args.entity);\n }\n // In geval als Draft flag door server is terug gezet\n if (entityName === 'Appointment' && args.entityAction === EntityAction.MergeOnSave) {\n _this.domainService.getEntityByKey(args.entity.entityType, args.entity['Oid'], false);\n }\n });\n };\n /**\n * Select plan item by user (thus via the interface)\n * @param {PlanItemWrapper} item\n * @returns\n */\n GridDisplayBaseComponent.prototype.selectPlanItemByUser = function (item) {\n // Check if plan item just is resized\n if (this.isPlanItemJustResized(item)) {\n return;\n }\n this.selectPlanItem(item);\n };\n /**\n * Select the plan item in the grid\n * @param {PlanItemWrapper} item\n * @returns\n */\n GridDisplayBaseComponent.prototype.selectPlanItem = function (item) {\n if (this.inResizeMode()) {\n return;\n }\n if (this.domainService.savingInProgress) {\n this.alertsService.createAlert('info', 'APP.GRIDS.PLEASE_WAIT');\n return;\n }\n // When unselecting then\n if (item === null) {\n if (this._selectedWrapper === null) {\n return;\n }\n this._selectedWrapper = null;\n this.selectionChanged.emit(null);\n return;\n }\n // When selecting then\n if (!this.isEntitySelected(item)) {\n this._selectedWrapper = item;\n this.selectionChanged.emit(item.item);\n }\n };\n /**\n * Check if given entity is selected\n * @param {PlanItemWrapper} item\n * @returns\n */\n GridDisplayBaseComponent.prototype.isEntitySelected = function (item) {\n if (!item || !this._selectedWrapper) {\n return false;\n }\n if (item.item === this._selectedWrapper.item) {\n return true;\n }\n if (item.item.Item_Oid !== this._selectedWrapper.item.Item_Oid) {\n return false;\n }\n if (item.item.Start.getTime() === this._selectedWrapper.item.Start.getTime()) {\n // Zelfde start dus gelijk ook bij een repeat pattern.\n return true;\n }\n return false;\n };\n /**\n * Retrieves a new fresh data set form the backend when query parameters are changed.\n * @param {Boolean} [forcing=false] Refresh is forced when true otherwise only when query parameters are changed.\n * @returns An observable of the needed retrieve request otherwise null.\n */\n GridDisplayBaseComponent.prototype.refresh = function (forcing) {\n if (forcing === void 0) { forcing = false; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, null];\n });\n });\n };\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"visibleHourStart\", {\n /**\n * The visible hours (start)\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursStart;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"visibleHoursEnd\", {\n /**\n * The visible hours (finish)\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursEnd;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"visibleDays\", {\n /**\n * The visible days from the horizon\n * @readonly\n * @type {Number[]}\n */\n get: function () {\n return this.gridService.visibleDays;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"zoom\", {\n /**\n * The current zoom\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.zoom;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Collect the actions from the configuration (of the parent Grid)\n * @returns ActionConfiguration[] An array with the actions\n */\n GridDisplayBaseComponent.prototype.getActions = function () {\n if (!this.configuration || !this.configuration.actions) {\n return undefined;\n }\n return this.configuration.actions;\n };\n /**\n * Starts a component in the overlay depicting this action.\n * @param {ActionConfiguration} action The configuration of this action.\n * @param {GridColumn} gridColumn The grid column (timeslot) where the action is initiated\n */\n GridDisplayBaseComponent.prototype.invokeAction = function (action, gridColumn) {\n var _this = this;\n this.subscriptionPool.add(this.overlayService.createOverlay({\n action: action,\n gridColumn: gridColumn\n })\n .pipe(take(1))\n .subscribe(function (item) {\n if (!item) {\n return;\n }\n // Set the name of the executor based on the entity type of the returned item\n var executorName;\n switch (item.entityType.shortName) {\n case 'TaskTemplate':\n executorName = 'task-adhoc';\n break;\n case 'ShiftTemplate':\n executorName = 'shift-adhoc';\n break;\n case 'Absence':\n executorName = 'absence-adhoc';\n break;\n }\n // Execute\n _this.executorsService.initiate(executorName, {\n items: [item],\n targets: [{\n start: gridColumn.meta.start,\n finish: gridColumn.meta.finish\n }],\n resources: [gridColumn.meta.resource]\n }).then(function (_a) {\n var items = _a[0], successMessage = _a[1];\n // The executor succeeded\n _this.alertsService.createAlert('success', successMessage);\n _this.refreshWith(items);\n }).catch(function (error) {\n // Something went wrong\n if (error.entityErrors && error.entityErrors.length > 0) {\n // Error alert already created by executor.\n return;\n }\n _this.alertsService.createAlert('danger', (typeof error === 'string') ? error : 'APP.EXECUTORS.EXECUTION_FAILED', (typeof error === 'string') ? undefined : error);\n });\n }));\n };\n /**\n * Gets a description of the publish stage of a GridColumn.\n * Is used in the template to depicts the publish stage of the planning.\n * @param {GridColumn} segment The GridColumn evaluated.\n * @returns {string} A string describing the publish stage of a GridColumn.\n */\n GridDisplayBaseComponent.prototype.getStageOf = function (segment) {\n if (segment.meta.start.isBefore(this.backendSettingsService.publishedTill)) {\n return 'publicated';\n }\n return 'unpublicated';\n };\n /**\n * Round to nearest hours and minutes based on given resolution\n *\n * @param {number} minutes The raw minutes\n * @returns { hours: number, minutes: number } The rounded hours and mintues\n */\n GridDisplayBaseComponent.prototype.roundToHoursAndMinutes = function (minutes, resolution) {\n return {\n hours: (minutes > 0) ? Math.floor((minutes / 60)) : Math.ceil((minutes / 60)),\n minutes: Math.round((minutes % 60) / resolution) * resolution\n };\n };\n // Run through the DOM tree to find the timeslot (is element with class 'sym-column')\n GridDisplayBaseComponent.prototype.findTimeslot = function (target) {\n var timeslotTarget = target;\n var howDeepInDom = 0;\n while (howDeepInDom < 4 && !timeslotTarget.classList.contains('sym-column')) {\n timeslotTarget = timeslotTarget.parentElement;\n howDeepInDom++;\n }\n if (!timeslotTarget.classList.contains('sym-column')) {\n this.alertsService.createAlert('danger', 'APP.EXECUTORS.EXECUTION_FAILED', new Error('Can not find the correct target (=sym-column) for the drag or drop'));\n return;\n }\n return timeslotTarget;\n };\n /**\n * Handling the drop event\n *\n * @param {DragEvent} event The mouse event\n * @param {ExecutorData} data The drop data\n */\n GridDisplayBaseComponent.prototype.dropItem = function (event, data) {\n var _this = this;\n // Prevent the default handling of the element\n event.stopPropagation();\n event.preventDefault();\n // Set the drop component\n data.dropComponent = this;\n // Get the executor id from the drag data\n var executorId = event.dataTransfer.getData('Text');\n // Use the executor id to find the executor event\n var executorEvent = this.executorsService.getExecutorEventById(executorId);\n // Merge executor data drag (often from the dropbar) and executor data drop (often a timeslot)\n var mergedData = Object.assign(executorEvent.data, data);\n // Get the executor\n this.executorsService.getExecutorByName(executorEvent.executorName).then(function (executor) {\n // If action is moved we have support for 'exact' positionering\n if (executor.exactPositioning && mergedData.targets && mergedData.targets.length > 0) {\n _this.modifyTimeslotsBasedDropX(mergedData, event, mergedData['offsetX']);\n }\n // Execute the executor\n return executor.execute(mergedData).then(function (_a) {\n var items = _a[0], successMessage = _a[1];\n // Execution is successful\n _this.alertsService.createAlert('success', successMessage);\n _this.refreshWith(items);\n _this.detectChanges();\n _this.eventsService.register('drop-successful').emit(true);\n });\n }).catch(function (error) {\n // Something went wrong\n if (error.entityErrors && error.entityErrors.length > 0) {\n // Error alert already created by executor.\n return;\n }\n _this.alertsService.createAlert('danger', (typeof error === 'string') ? error : 'APP.EXECUTORS.EXECUTION_FAILED', (typeof error === 'string') ? undefined : error);\n });\n };\n /**\n * Modify the timeslots based on mouse x coordinates and with respect to size (pixels and minutes)\n * of the timeslot visible in both agenda en planboard.\n * @param {ExecutorTimeslot} target The target timeslot\n * @param {DragEvent} dragEvent The mouse event\n * @param {offsetX} offsetX The offset X in pixels\n */\n GridDisplayBaseComponent.prototype.modifyTimeslotsBasedDropX = function (data, dragEvent, offsetX) {\n var _this = this;\n // const targets = data.targets.filter(item => item.start.isSameOrAfter(data.source.start) && item.start.isBefore(data.source.finish));\n data.targets.forEach(function (target) {\n _this.modifyTimeslotBasedDropX(data, target, dragEvent, offsetX);\n });\n };\n /**\n * Modify the timeslot based on mouse x coordinates and with respect to size (pixels and minutes)\n * of the timeslot visible in both agenda en planboard.\n * @param {ExecutorTimeslot} target The target timeslot\n * @param {DragEvent} dragEvent The mouse event\n * @param {offsetX} offsetX The offset X in pixels\n */\n GridDisplayBaseComponent.prototype.modifyTimeslotBasedDropX = function (data, target, dragEvent, offsetX) {\n // Only proceed if target is of type Element\n if (dragEvent.target instanceof Element) {\n var timeslotTarget = this.findTimeslot(dragEvent.target);\n if (timeslotTarget) {\n // An item can overlap several timeslots. The user can drag the first part of the item (in the first timeslot)\n // or he drags the item out of the other timeslots. The first part is called the head and the rest is called the tail.\n var entityStart = moment(data.items[0]['Start']);\n var isHead = (!data.source || (entityStart.date() === data.source.start.date() && entityStart.month() === data.source.start.month() && entityStart.year() === data.source.start.year()));\n var timeslotLeft = timeslotTarget.getBoundingClientRect().left;\n var dropitemLeft = (offsetX) ? dragEvent.clientX - offsetX : dragEvent.clientX;\n var dropPositionInPixels = dropitemLeft - timeslotLeft;\n var timeslotWidthInPixels = timeslotTarget.clientWidth;\n var timeslotWidthInMinutes = target.finish.diff(target.start, 'minutes');\n var dropPositionInTotalMinutes = (dropPositionInPixels / timeslotWidthInPixels) * timeslotWidthInMinutes;\n var roundedTime = this.roundToHoursAndMinutes(dropPositionInTotalMinutes, 15);\n var newStart = this.addHoursWithRespectToOfficeHours(target.start, roundedTime.hours, roundedTime.minutes);\n // Check #2491\n if (newStart.isBetween(this.gridService.startDate, this.gridService.endDate, 'day', '[]')) {\n if (isHead) {\n target.start = newStart;\n }\n else {\n // If tail only change the resource, so set the date back to initial start\n target.start.year(entityStart.year()).month(entityStart.month()).date(entityStart.date());\n }\n }\n }\n }\n };\n /**\n * Handling the drag start event\n * @param {DragEvent} event The drag event\n * @param {string} executerName The name of the executor\n * @param {ExecutorData} data The data of the executor\n */\n GridDisplayBaseComponent.prototype.dragItem = function (dragEvent, executerName, data) {\n if (dragEvent.target instanceof Element) {\n var clientRect = dragEvent.target.getClientRects()[0];\n data['offsetX'] = Math.round(dragEvent.clientX - clientRect.left);\n // Create executor event and get the id returned\n var executorId = this.executorsService.createExecutorEventAndGetTheId(executerName, data);\n // Set the executor id\n /* Fix issue: Xerius: Bij aanlog via IE is het niet mogelijk om Afwezigheden /Services te droppen op Planbord #2718\n * Oplossing gebruik alleen 'Text' bij dataTransfer.\n * Zie: https://stackoverflow.com/questions/26213011/html5-dragdrop-issue-in-internet-explorer-datatransfer-property-access-not-pos\n */\n dragEvent.dataTransfer.setData('Text', executorId);\n }\n };\n /**\n * Handling the start resize event\n * @param {DragEvent} event The drag event\n * @param {ResizeMode} mode The drop mode\n * @param {PlanItemWrapper} planItemWrapper The wrapper of resized Entity\n * @param {GridColumn} gridColumn The timeslot\n * @param {ExecutorName} executorName The name of the executor\n */\n GridDisplayBaseComponent.prototype.startResize = function (event, mode, planItemWrapper, gridColumn, executorName) {\n // Only proceed if target is of type Element\n if (event.target instanceof Element) {\n // Prevent the default handling of the element\n event.stopPropagation();\n event.preventDefault();\n // Set the resize mode\n this.itemResizeData = {\n mode: mode,\n executorName: executorName,\n startX: event.clientX,\n planItemWrapper: planItemWrapper,\n // Not the target (= resize element), not the parent (active helper), not the grantparent (= plan item) but the grantgrantparent (=timeslot)\n timeslotWidthInPixes: event.target.parentElement.parentElement.parentElement.clientWidth,\n timeslotWidthInMinutes: gridColumn.meta.finish.diff(gridColumn.meta.start, 'minutes')\n };\n }\n };\n /**\n * Check if the grid is in resize model (resizing a plan-item)\n * @returns {boolean}\n */\n GridDisplayBaseComponent.prototype.inResizeMode = function () {\n return (this.itemResizeData !== undefined);\n };\n /**\n * Is given plan item wrapper resized by the user\n * @param {PlanItemWrapper} planItemWrapper\n * @returns {boolean}\n */\n GridDisplayBaseComponent.prototype.isPlanItemWrapperInResize = function (planItemWrapper) {\n if (!this.itemResizeData) {\n return false;\n }\n return (this.itemResizeData.planItemWrapper === planItemWrapper);\n };\n /**\n * Set the last plan item wrapper as resized\n * @param {PlanItemWrapper} planItemWrapper\n */\n GridDisplayBaseComponent.prototype.setPlanItemWrapperAsResized = function (planItemWrapper) {\n this.itemJustResizedData = {\n planItemWrapper: planItemWrapper,\n initiated: moment()\n };\n };\n /**\n * Check if given plan item is **just** resized\n * @param {PlanItemWrapper} planItemWrapper\n * @returns\n */\n GridDisplayBaseComponent.prototype.isPlanItemJustResized = function (planItemWrapper) {\n if (!this.itemJustResizedData) {\n return false;\n }\n if (this.itemJustResizedData.planItemWrapper !== planItemWrapper) {\n return false;\n }\n var millisecondsAgo = moment().diff(this.itemJustResizedData.initiated);\n return (millisecondsAgo < 200);\n };\n /**\n * Start resizing the start (left side of plan-item)\n * @param {PlanItemWrapper} planItemWrapper\n * @returns {string}\n */\n GridDisplayBaseComponent.prototype.resizeLeft = function (planItemWrapper) {\n if (!this.itemResizeData || this.itemResizeData.mode !== 'start' || this.itemResizeData.planItemWrapper !== planItemWrapper || !this.itemResizeData.distanceInPixelsNormalized) {\n return;\n }\n return this.itemResizeData.distanceInPixelsNormalized + 'px';\n };\n /**\n * Start resizing the finish (right side of plan-item)\n * @param {PlanItemWrapper} planItemWrapper\n * @returns {string}\n */\n GridDisplayBaseComponent.prototype.resizeRight = function (planItemWrapper) {\n if (!this.itemResizeData || this.itemResizeData.mode !== 'finish' || this.itemResizeData.planItemWrapper !== planItemWrapper || !this.itemResizeData.distanceInPixelsNormalized) {\n return;\n }\n return -this.itemResizeData.distanceInPixelsNormalized + 'px';\n };\n /**\n * When the office hours are visible in the grid it means that there are gaps between\n * the timeslots. If a user resizes a plan-item before or after the current timeslot\n * we need to make sure to add the hours together with the hours used in the gaps to\n * make sure that the new start and finish is placed correctly. Hours can be both positive\n * and negative!\n *\n * @param {moment.Moment} date The date\n * @param {number} hours The hours\n * @param {number} minutes The minutes\n * @returns {moment.Moments} The modified date with respect to office hours\n */\n GridDisplayBaseComponent.prototype.addHoursWithRespectToOfficeHours = function (date, hours, minutes) {\n var modifiedDate = date.clone();\n // If no office hours are visible there is no gap between timeslots. Therefore,\n // adding hours (even negative hours) is easy.\n if (!this.gridService.officeHours) {\n modifiedDate.add(hours, 'hours');\n modifiedDate.add(minutes, 'minutes');\n return modifiedDate;\n }\n var forward = (hours > 0); // Forward is adding, backwarch is removing\n var counter = Math.abs(hours);\n // Adding/removing hours one by one\n while (counter > 0) {\n // Add or remove one hour based on if the original hours\n // is positive or negative.\n if (forward) {\n modifiedDate.add(1, 'hours');\n }\n else {\n modifiedDate.subtract(1, 'hours');\n }\n // Only count the hours that are visible in the grid. (And ignore the hours that are hidden\n // in the gaps between timeslots)\n if (modifiedDate.hours() < this.visibleHoursEnd && modifiedDate.hours() >= this.visibleHourStart) {\n counter--;\n }\n }\n // Add the minutes\n modifiedDate.add(minutes, 'minutes');\n return modifiedDate;\n };\n /**\n * Handling the stop resize event\n * @param {MouseEvent} event\n * @returns\n */\n GridDisplayBaseComponent.prototype.stopResize = function (event) {\n var _this = this;\n // Prevent the default handling of the element\n event.stopPropagation();\n event.preventDefault();\n // If there is no resize data you can't stop resizing!\n if (!this.itemResizeData) {\n return;\n }\n // Get the current\n var start = moment(this.itemResizeData.planItemWrapper['entity']['Start']);\n var finish = moment(this.itemResizeData.planItemWrapper['entity']['Finish']);\n // The difference in hours and minutes based on pixels/percentages etc.\n var roundedTime = this.roundToHoursAndMinutes(this.itemResizeData['distanceInMinutes'], 15);\n // Change the start (left side of plan items is resized)\n if (this.itemResizeData.mode === 'start') {\n start = this.addHoursWithRespectToOfficeHours(start, roundedTime.hours, roundedTime.minutes);\n }\n // Change the finish (right side of plan items is resized)\n if (this.itemResizeData.mode === 'finish') {\n finish = this.addHoursWithRespectToOfficeHours(finish, roundedTime.hours, roundedTime.minutes);\n }\n // Execute the resize executor\n this.executorsService.initiate(this.itemResizeData.executorName, { items: [this.itemResizeData.planItemWrapper['entity']], targets: [{ start: start, finish: finish }] }).then(function (_a) {\n var items = _a[0], successMessage = _a[1];\n // Execution is successful\n _this.alertsService.createAlert('success', successMessage);\n _this.refreshWith(items);\n }).catch(function (error) {\n // Something went wrong\n if (error.entityErrors && error.entityErrors.length > 0) {\n // Error alert already created by executor.\n return;\n }\n _this.alertsService.createAlert('danger', 'APP.EXECUTORS.EXECUTION_FAILED', error);\n });\n // Set the resized plan item wrapper\n this.setPlanItemWrapperAsResized(this.itemResizeData.planItemWrapper);\n // Stop the current resize mode\n this.itemResizeData = undefined;\n };\n /**\n * Handling the move resize event\n * @param {MouseEvent} event\n */\n GridDisplayBaseComponent.prototype.moveResize = function (event) {\n // If there is no resize data you can't move during resize!\n if (!this.itemResizeData) {\n return;\n }\n // Set current position of mouse\n this.itemResizeData['endX'] = event.clientX;\n // Calculate the distance between start and current position of mouse\n this.itemResizeData['distanceInPixels'] = this.itemResizeData['endX'] - this.itemResizeData['startX'];\n // Calculate the distance in minutes\n this.itemResizeData['distanceInMinutes'] = (this.itemResizeData['distanceInPixels'] / this.itemResizeData['timeslotWidthInPixes']) * this.itemResizeData['timeslotWidthInMinutes'];\n // Calculate the distances but normalized\n this.itemResizeData['distanceInMinutesNormalized'] = Math.round((this.itemResizeData['distanceInMinutes']) / 15) * 15;\n // Calculate the distance in minutes but normalized\n this.itemResizeData['distanceInPixelsNormalized'] = (this.itemResizeData['distanceInMinutesNormalized'] / this.itemResizeData['distanceInMinutes']) * this.itemResizeData['distanceInPixels'];\n };\n /**\n * Handling the cancel resize event\n * @param {MouseEvent} event\n */\n GridDisplayBaseComponent.prototype.cancelResize = function (event) {\n // If there is no resize data you can't cancel the resize!\n if (!this.itemResizeData) {\n return;\n }\n // Stop the current resize mode\n this.itemResizeData = undefined;\n };\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"horizonDate\", {\n get: function () {\n return moment.isMoment(this.gridService.date) ? this.gridService.date : moment(this.gridService.date);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridDisplayBaseComponent.prototype, \"horizonLevelName\", {\n get: function () {\n return this.gridService.level.name;\n },\n enumerable: true,\n configurable: true\n });\n GridDisplayBaseComponent.prototype.setHorizon = function (state) {\n this.gridService.setHorizon(state);\n };\n /**\n * Is called when the url has changed. Overridden this method to refresh display when needed.\n * @protected\n */\n GridDisplayBaseComponent.prototype.refreshIfNeeded = function () {\n };\n /**\n * Is called when a displayed entity is changed and a partial refresh is probably needed.\n * @param {Entity} entity The changed displayed entity.\n * @param {boolean} selectable Flag indicating whether or not to select the entity when needed.\n */\n GridDisplayBaseComponent.prototype.refreshFor = function (entity, selectable) {\n if (selectable === void 0) { selectable = true; }\n // Does something specific in AgendaGridDisplayComponent and in PlanboardGridDisplayComponent.\n };\n /**\n * Refresh with entity set. Refreshes only once per resource.\n * @param {Entity[]} items The entity set.\n */\n GridDisplayBaseComponent.prototype.refreshWith = function (items) {\n if (items == null || items.length === 0) {\n return;\n }\n if (items.length === 1) {\n this.refreshFor(items[0], true);\n return;\n }\n var entities = items.slice();\n var _loop_1 = function () {\n var resourceOid = entities[0]['Resource_Oid'];\n var set = entities.filter(function (it) { return it['Resource_Oid'] === resourceOid; }).sort(function (a, b) { return a['Start'].getTime() - b['Start'].getTime(); });\n this_1.refreshFor(set[0], true);\n entities = entities.filter(function (it) { return it['Resource_Oid'] !== resourceOid; });\n };\n var this_1 = this;\n while (entities.length !== 0) {\n _loop_1();\n }\n };\n /**\n * Override and use this method to load items for first time after creation of component.\n * The method should wait for all the data needed to load items before loading.\n * @protected\n * @returns {boolean} True when items are loaded otherwise false.\n */\n GridDisplayBaseComponent.prototype.initialLoading = function () {\n if (this._objects.entityType == null) {\n return false;\n }\n this.refresh();\n return true;\n };\n /**\n * Gets oid of detail url\n * @protected\n * @param {string} url The detail url.\n * @returns {string} The oid of the shown entity.\n */\n GridDisplayBaseComponent.prototype.oidOfDetailUrl = function (url) {\n var segments = url.split('/');\n return segments[segments.length - 1].split('_')[0];\n };\n /**\n * Override this method for Planboard- and AgendaGridDisplayComponent\n * @protected\n * @returns {GridCollections} Collection of grid elements\n */\n GridDisplayBaseComponent.prototype.generateGridSegments = function () {\n // If horizon does not exist; return an empty set\n return undefined;\n };\n /**\n * Used to improve the performances of the grid by introducing\n * an unique identifier per plan item.\n * @param {number} index The index number\n * @param {Entity} item The item for given row\n * @returns {String} The unique identifier\n */\n GridDisplayBaseComponent.prototype.trackByPlanItem = function (index, item) {\n return (item['Entity'] && item['Entity']['Oid']) ? item['Entity']['Oid'] : index;\n };\n /**\n * Safe way to detect changes?\n * We want to avoid the exception: ViewDestroyedError: Attempt to use a destroyed view: detectChanges\n * @protected\n * @memberOf GridDisplayBaseComponent\n */\n GridDisplayBaseComponent.prototype.detectChanges = function () {\n if (this.changeDetector.destroyed) {\n return;\n }\n this.changeDetector.detectChanges();\n };\n return GridDisplayBaseComponent;\n}(ControlBase));\nexport { GridDisplayBaseComponent };\n","/**\n * @file Base grid bar component.\n * @author Wim Haanstra\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit, ElementRef, NgZone, EventEmitter } from '@angular/core';\nimport { ControlBase } from '../../base/helpers/control-base';\nimport { GridDisplayBaseComponent } from '../grid-display-base/grid-display-base.component';\nimport { FormControl } from '@angular/forms';\nimport * as moment from 'moment';\nvar GridBarBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(GridBarBaseComponent, _super);\n /**\n * Creates an instance of GridBarBaseComponent.\n */\n function GridBarBaseComponent(executorsService, alertsService, elementRef, ngZone, eventsService, gridService) {\n var _this = _super.call(this, alertsService) || this;\n _this.executorsService = executorsService;\n _this.alertsService = alertsService;\n _this.elementRef = elementRef;\n _this.ngZone = ngZone;\n _this.gridService = gridService;\n _this.gridBarControl = new FormControl();\n /**\n * The index of the currently expanded row\n * @type {number}\n */\n _this.expandedIndex = null;\n _this.expandGridChanged = eventsService.register('expand-grid-changed');\n return _this;\n }\n Object.defineProperty(GridBarBaseComponent.prototype, \"visibleHourStart\", {\n /**\n * The start hour of the day the component is using\n * This is fetched from the settings\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursStart;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBarBaseComponent.prototype, \"visibleHoursEnd\", {\n /**\n * The end hour of the day the component is using\n * This is fetched from the settings\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursEnd;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBarBaseComponent.prototype, \"visibleDays\", {\n /**\n * Day numbers that should be displayed\n * Sunday = 0, monday = 1, ...\n * These days are fetched from the settings and dependant on the 'weekend' checkbox\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleDays;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Mouse enters an item\n * @param event The event\n */\n GridBarBaseComponent.prototype.mouseEnterItem = function (index) {\n var _this = this;\n this.expandedIndex = index;\n this.expandGridChanged.emit(true);\n this.autoStopExpanding = window.setTimeout(function () {\n _this.mouseLeaveItem(index);\n }, 8000);\n };\n /**\n * Mouse leaves an item\n * @param event The event\n */\n GridBarBaseComponent.prototype.mouseLeaveItem = function (index) {\n clearTimeout(this.autoStopExpanding);\n this.expandedIndex = null;\n this.expandGridChanged.emit(true);\n };\n /**\n * Used to improve the performances of the grid bar by introducing\n * an unique identifier per resource.\n * @param {number} index The index number\n * @param {Entity} item The item for given row\n * @returns {String} The unique identifier\n */\n GridBarBaseComponent.prototype.trackByResource = function (index, item) {\n return (item['Entity'] && item['Entity']['Oid']) ? item['Entity']['Oid'] : index;\n };\n /**\n * Handling the drop event\n * @param {DragEvent} event\n */\n GridBarBaseComponent.prototype.dropItem = function (event, data) {\n var _this = this;\n // Prevent the default handling of the element\n event.preventDefault();\n // Set the drop component\n data.dropComponent = this;\n // Create the (empty) targets array\n data.targets = [];\n var gridCollections = this.griddisplay.gridCollections;\n if (gridCollections) {\n // Find all the data related to given resource\n var matchedGridSegments = gridCollections.find(function (gridSegments) {\n return (gridSegments.meta.resource === data.resources[0]);\n });\n // Collect the grid columns in this nested structure\n if (matchedGridSegments) {\n matchedGridSegments.children.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRows) {\n gridRows.children.forEach(function (gridColumn) {\n // Create a timeslots for the executor\n data.targets.push({\n start: gridColumn.meta.start,\n finish: gridColumn.meta.finish\n });\n });\n });\n });\n }\n }\n // Get the executor id from the drag data\n /* Fix issue: Xerius: Bij aanlog via IE is het niet mogelijk om Afwezigheden /Services te droppen op Planbord #2718\n * Oplossing gebruik alleen 'Text' bij dataTransfer.\n * Zie: https://stackoverflow.com/questions/26213011/html5-dragdrop-issue-in-internet-explorer-datatransfer-property-access-not-pos\n */\n var executorId = event.dataTransfer.getData('Text');\n // Use the executor id to find the executor event\n var executorEvent = this.executorsService.getExecutorEventById(executorId);\n // Merge executor data drag (often from the dropbar) and executor data drop (often a timeslot)\n var mergedData = Object.assign(executorEvent.data, data);\n // Get the executor\n this.executorsService.getExecutorByName(executorEvent.executorName).then(function (executor) {\n // Move is not supported on a resource\n if (executor.action === 'move') {\n // Stop the execution\n return _this.alertsService.createAlert('warning', 'APP.EXECUTORS.NO_MOVE_TO_RESOURCE');\n }\n // Drops from the plugins (are Services) is not supported\n if (executor.scopes.indexOf('Service') !== -1) {\n return _this.alertsService.createAlert('warning', 'APP.EXECUTORS.NO_DROP_FROM_PLUGIN');\n }\n // Execute the executor\n return executor.execute(mergedData).then(function (_a) {\n var items = _a[0], successMessage = _a[1];\n // Execution is successful\n _this.alertsService.createAlert('success', successMessage);\n _this.griddisplay.refreshWith(items);\n });\n }).catch(function (error) {\n // Something went wrong\n if (error.entityErrors && error.entityErrors.length > 0) {\n // Error alert already created by executor.\n return;\n }\n _this.alertsService.createAlert('danger', (typeof error === 'string') ? error : 'APP.EXECUTORS.EXECUTION_FAILED', (typeof error === 'string') ? undefined : error);\n });\n };\n /**\n * Is called during the initialization of the component\n */\n GridBarBaseComponent.prototype.ngOnInit = function () {\n var _this = this;\n // The dragover event is needed to make a drop work. The problem is that for every move the draggable\n // item fires the dragover event of Angular and a change detection is handled. This is per pixel (!)\n // so it's quite slow to 're-render' the grid. Therefore I placed the dragover event outside Angular via NgZone.\n // This construction is used in grid-display-base.component.ts, grid-drag-base.component.ts, plugin-view-shifts and grid-bar-base.component.ts.\n this.ngZone.runOutsideAngular(function () {\n _this.elementRef.nativeElement.addEventListener('dragover', function (event) {\n event.stopPropagation();\n event.preventDefault();\n });\n _this.elementRef.nativeElement.addEventListener('drop', function (event) {\n event.stopPropagation();\n event.preventDefault();\n });\n });\n };\n /** Is given date today. */\n GridBarBaseComponent.prototype.isToday = function (date) {\n return moment().isSame(date, 'd');\n };\n Object.defineProperty(GridBarBaseComponent.prototype, \"horizonLevelName\", {\n get: function () {\n return this.gridService.level.name;\n },\n enumerable: true,\n configurable: true\n });\n GridBarBaseComponent.prototype.setHorizon = function (state) {\n this.gridService.setHorizon(state);\n };\n return GridBarBaseComponent;\n}(ControlBase));\nexport { GridBarBaseComponent };\n","/**\n * @file Agenda grid bar component.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterViewInit, OnDestroy, ElementRef, NgZone } from '@angular/core';\nimport { GridBarBaseComponent } from '../grid-bar-base/grid-bar-base.component';\nimport { InputEntityComponent } from '../../base/inputs/input-entity/input-entity.component';\nimport { Router, NavigationEnd } from '@angular/router';\nimport * as moment from 'moment';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nimport { GridService } from '../grid.service';\nimport { UserService } from '../../user.service';\n/** Agenda grid bar component. */\nvar AgendaGridBarComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaGridBarComponent, _super);\n /**\n * Constructs AgendaGridBarComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function AgendaGridBarComponent(userService, executorsService, alertsService, elementRef, ngZone, router, eventsService, gridService) {\n var _this = _super.call(this, executorsService, alertsService, elementRef, ngZone, eventsService, gridService) || this;\n _this.userService = userService;\n _this.router = router;\n _this.gridService = gridService;\n return _this;\n }\n Object.defineProperty(AgendaGridBarComponent.prototype, \"inputEntityFormat\", {\n /**\n * The format of the InputEntityComponent.\n * We want also to filter on Resource.Finish.\n * @readonly\n * @type {*}\n */\n get: function () {\n var data = this.configuration.data;\n var firstName = data.fields.find(function (field) { return field.name === 'FirstName'; });\n var name = data.fields.find(function (field) { return field.name === 'Name'; });\n var prefix = data.fields.find(function (field) { return field.name === 'Prefix'; });\n var view = this.gridService.startDate.toDate();\n return {\n dataSource: data.dataSource,\n parameters: { view: view },\n entity: data.entity,\n fields: [firstName.name, name.name, prefix.name],\n displayFormat: \"[\" + name.name + \"] ([\" + firstName.name + \"] [\" + prefix.name + \"])\"\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AgendaGridBarComponent.prototype, \"selectedResource\", {\n /** Gets the key of the selected resource. The owner of the agenda. */\n get: function () {\n var params = JSON.parse(JSON.stringify(this.router.routerState.root.snapshot.queryParams).toLowerCase());\n if (params[AgendaGridBarComponent.resourceParam]) {\n return params[AgendaGridBarComponent.resourceParam].toUpperCase();\n }\n else {\n return this.userService.user.Resource_Oid;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AgendaGridBarComponent.prototype, \"items\", {\n /** Create set of items. */\n get: function () {\n return this.gridService.level.formatter.barGridItems(this, this.gridService);\n },\n enumerable: true,\n configurable: true\n });\n /** Returns true if a GridItem represents the 'current hour' */\n AgendaGridBarComponent.prototype.isCurrentHour = function (item) {\n if (this.isToday(item.click.date)) {\n var now = moment();\n if (item.click.date <= now && moment(item.click.date).add(1, 'hours') > now) {\n return true;\n }\n }\n return false;\n };\n /** Lifecycle hook that is called after a component's view has been fully initialized. */\n AgendaGridBarComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n if (!this.entitySelector.value) {\n window.setTimeout(function () {\n var params = JSON.parse(JSON.stringify(_this.router.routerState.root.snapshot.queryParams).toLowerCase());\n if (params[AgendaGridBarComponent.resourceParam]) {\n _this.entitySelector.oid = params[AgendaGridBarComponent.resourceParam].toUpperCase();\n }\n else {\n _this.entitySelector.value = _this.userService.user.Resource;\n }\n });\n }\n this.subscriptionPool.add(this.entitySelector.valueChange.subscribe(function (value) {\n if (!value) {\n var resource = _this.userService.user.Resource;\n if (!resource) {\n return;\n }\n _this.entitySelector.value = resource;\n }\n var params = JSON.parse(JSON.stringify(_this.router.routerState.root.snapshot.queryParams).toLowerCase());\n var oid = _this.entitySelector.oid.toLowerCase();\n if (params[AgendaGridBarComponent.resourceParam] !== oid) {\n params[AgendaGridBarComponent.resourceParam] = oid;\n _this.router.navigate([], { queryParams: params });\n }\n }));\n this.subscriptionPool.add(this.router.events.subscribe(function (event) {\n if (event instanceof NavigationEnd) {\n var params = JSON.parse(JSON.stringify(_this.router.routerState.root.snapshot.queryParams).toLowerCase());\n if (params[AgendaGridBarComponent.resourceParam]) {\n var oid = params[AgendaGridBarComponent.resourceParam].toUpperCase();\n if (oid !== _this.entitySelector.oid) {\n _this.entitySelector.oid = oid;\n }\n }\n }\n }));\n };\n /** Lifecycle hook that is called when the component is destroyed. */\n AgendaGridBarComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n this.subscriptionPool = null;\n };\n /** Name of the selected resource query parameter. */\n AgendaGridBarComponent.resourceParam = 'resource';\n return AgendaGridBarComponent;\n}(GridBarBaseComponent));\nexport { AgendaGridBarComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda grid bar component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./agenda-grid-bar.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i5 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i6 from \"../../domain.service\";\nimport * as i7 from \"../../core/alerts.service\";\nimport * as i8 from \"../../core/localisation.service\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"./agenda-grid-bar.component\";\nimport * as i11 from \"../../user.service\";\nimport * as i12 from \"../executors.service\";\nimport * as i13 from \"@angular/router\";\nimport * as i14 from \"../../core/event.service\";\nimport * as i15 from \"../grid.service\";\nvar styles_AgendaGridBarComponent = [i0.styles];\nvar RenderType_AgendaGridBarComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AgendaGridBarComponent, data: {} });\nexport { RenderType_AgendaGridBarComponent as RenderType_AgendaGridBarComponent };\nfunction View_AgendaGridBarComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-is-today\": 0 }), (_l()(), i1.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.isToday(_v.parent.context.$implicit.click.date)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.label; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AgendaGridBarComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-is-current-hour\": 0 }), (_l()(), i1.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.isCurrentHour(_v.parent.context.$implicit)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.label; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AgendaGridBarComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AgendaGridBarComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 16, \"div\", [[\"class\", \"d-none d-md-block sym-row sym-row-text\"]], null, [[null, \"mouseenter\"], [null, \"mouseleave\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.mouseEnterItem(_v.context.index) !== false);\n ad = (pd_0 && ad);\n } if ((\"mouseleave\" === en)) {\n var pd_1 = (_co.mouseLeaveItem(_v.context.index) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-row-full\": 0, \"sym-row-half\": 1 }), (_l()(), i1.ɵeld(4, 0, null, null, 13, \"div\", [[\"class\", \"sym-column sym-column-full\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setHorizon(_v.context.$implicit.click) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { \"sym-column-click\": 0 }), (_l()(), i1.ɵeld(7, 0, null, null, 10, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), i1.ɵdid(8, 16384, null, 0, i2.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaGridBarComponent_2)), i1.ɵdid(10, 278528, null, 0, i2.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaGridBarComponent_3)), i1.ɵdid(12, 278528, null, 0, i2.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaGridBarComponent_4)), i1.ɵdid(14, 16384, null, 0, i2.NgSwitchDefault, [i1.ViewContainerRef, i1.TemplateRef, i2.NgSwitch], null, null), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"em\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"d-none d-md-block sym-row sym-row-text\"; var currVal_1 = _ck(_v, 3, 0, (_v.context.index != 0), (_v.context.index == 0)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"sym-column sym-column-full\"; var currVal_3 = _ck(_v, 6, 0, _v.context.$implicit.click); _ck(_v, 5, 0, currVal_2, currVal_3); var currVal_4 = _co.horizonLevelName; _ck(_v, 8, 0, currVal_4); var currVal_5 = \"week\"; _ck(_v, 10, 0, currVal_5); var currVal_6 = \"day\"; _ck(_v, 12, 0, currVal_6); }, function (_ck, _v) { var currVal_7 = _v.context.$implicit.details; _ck(_v, 17, 0, currVal_7); }); }\nexport function View_AgendaGridBarComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { entitySelector: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 16, \"div\", [[\"class\", \"sym-grid-bar clearfix\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 15, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 14, \"div\", [[\"class\", \"sym-grid-segment\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 13, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 6, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text d-none d-md-block\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\" \", \": \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 3, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input pr-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"sym-input-entity\", [], null, [[\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 15).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_InputEntityComponent_0, i4.RenderType_InputEntityComponent)), i1.ɵdid(15, 245760, [[1, 4]], 0, i5.InputEntityComponent, [i6.DomainService, i7.AlertsService, i3.TranslateService, i8.LocalisationService, i9.OverlayService], { control: [0, \"control\"], format: [1, \"format\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaGridBarComponent_1)), i1.ɵdid(17, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.gridBarControl; var currVal_2 = _co.inputEntityFormat; _ck(_v, 15, 0, currVal_1, currVal_2); var currVal_3 = _co.items; var currVal_4 = _co.trackByResource; _ck(_v, 17, 0, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.MISC.RESOURCE.#SINGULAR\")); _ck(_v, 9, 0, currVal_0); }); }\nexport function View_AgendaGridBarComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-grid-bar\", [], null, null, null, View_AgendaGridBarComponent_0, RenderType_AgendaGridBarComponent)), i1.ɵdid(1, 4440064, null, 0, i10.AgendaGridBarComponent, [i11.UserService, i12.ExecutorsService, i7.AlertsService, i1.ElementRef, i1.NgZone, i13.Router, i14.EventsService, i15.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaGridBarComponentNgFactory = i1.ɵccf(\"sym-agenda-grid-bar\", i10.AgendaGridBarComponent, View_AgendaGridBarComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", griddisplay: \"griddisplay\" }, {}, []);\nexport { AgendaGridBarComponentNgFactory as AgendaGridBarComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda grid bar component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"[_nghost-%COMP%] .sym-entity-link{display:none}\"];\nexport { styles as styles };\n","import { PipeTransform } from '@angular/core';\nvar MinutesToHoursPipe = /** @class */ (function () {\n function MinutesToHoursPipe() {\n }\n MinutesToHoursPipe.prototype.addLeadingZero = function (count) {\n return (count < 10) ? '0' + count : count;\n };\n MinutesToHoursPipe.prototype.transform = function (value) {\n if (value === undefined || value === 0) {\n return '0:00';\n }\n var sign = (value > 0) ? '+' : '-';\n var hours = Math.floor(Math.abs(value) / 60);\n var minutes = Math.abs(value) % 60;\n return sign + hours + ':' + this.addLeadingZero(minutes);\n };\n return MinutesToHoursPipe;\n}());\nexport { MinutesToHoursPipe };\n","/**\n * @file Agenda grid display component.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterContentChecked, ElementRef, NgZone, AfterViewInit, ChangeDetectorRef } from '@angular/core';\nimport { GridDisplayBaseComponent } from '../grid-display-base/grid-display-base.component';\nimport { Entity } from 'breeze-client';\nimport { DomainService } from '../../domain.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { Router } from '@angular/router';\nimport { SettingsService } from '../../settings.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nimport { GridService } from '../grid.service';\nimport { ResourceService } from '../../resource.service';\nimport { RoutesService } from '../../routes.service';\nimport { BackendSettingsService } from '../../backend-settings.service';\n/** Agenda grid display component.\n * Part of agenda that shows agenda items.\n */\nvar AgendaGridDisplayComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaGridDisplayComponent, _super);\n /**\n * Constructs a new AgendaGridDisplayComponent instance.\n * @param domainService The domain service to retrieve the agenda items form the backend.\n * @param localisationService The localization service for multi language support.\n * @param configurationsService The configuration service to get the configuration of the agenda.\n * @param router The router service to listen to navigation events triggering refreshing.\n */\n function AgendaGridDisplayComponent(router, domainService, localisationService, resourceService, settingsService, backendSettingsService, overlayService, executorsService, alertsService, elementRef, ngZone, changeDetector, eventsService, gridService) {\n var _this = _super.call(this, router, domainService, localisationService, settingsService, backendSettingsService, overlayService, executorsService, alertsService, elementRef, ngZone, changeDetector, eventsService, gridService) || this;\n _this.resourceService = resourceService;\n _this.gridService = gridService;\n /** Gets, sets the query options to retrieve the agenda items. */\n _this.queryOptions = {};\n _this.subscriptionPool.add(eventsService.register('expand-grid-changed').subscribe(function () {\n _this.detectChanges();\n }));\n return _this;\n }\n /** Lifecycle hook that is called after every check of a directive's content. */\n AgendaGridDisplayComponent.prototype.ngAfterContentChecked = function () {\n if (this._gridCollections === undefined) {\n this._gridCollections = this.generateGridSegments();\n }\n };\n /**\n * Refresh the current dataset.\n */\n AgendaGridDisplayComponent.prototype.userRefresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a, resource;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n this.isLoading = true;\n _a = this;\n return [4 /*yield*/, this.domainService.getDataSet(this._objects, this._objects.items)];\n case 1:\n _a.loadingInProgress = _b.sent();\n resource = this.getResource();\n if (resource) {\n resource.$setRow(this._objects);\n }\n this.gridService.level.formatter.refreshWith('AGENDA', this._objects.items);\n this.loadingInProgress = null;\n this.eventsService.register('grid-refresh').emit();\n this.isLoading = false;\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Lifecycle hook that is called after a component's view has been fully initialized.\n */\n AgendaGridDisplayComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n _super.prototype.ngAfterViewInit.call(this);\n this.subscriptionPool.add(this.gridService.stateChanged.subscribe(function () {\n _this._gridCollections = _this.generateGridSegments();\n _this.refresh();\n }));\n };\n /**\n * Retrieves a new fresh data set form the backend when query parameters are changed.\n * @param {Boolean} [forcing=false] Refresh is forced when true otherwise only when query parameters are changed.\n * @returns {Observable} An observable of the needed retrieve request otherwise null.\n */\n AgendaGridDisplayComponent.prototype.refresh = function (forcing) {\n if (forcing === void 0) { forcing = false; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a, resource;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(forcing || DomainService.setDynamicParams(this.queryOptions, this.dynamicParameters, this))) return [3 /*break*/, 2];\n this.lastResourceKey = this.userResourceKey;\n this.isLoading = true;\n _a = this;\n return [4 /*yield*/, this.domainService.getDataSet(this._objects, this._objects.items)];\n case 1:\n _a.loadingInProgress = _b.sent();\n resource = this.getResource();\n if (resource) {\n resource.$setRow(this._objects);\n }\n this.gridService.level.formatter.refreshWith('AGENDA', this._objects.items);\n _b.label = 2;\n case 2:\n this.loadingInProgress = null;\n this.isLoading = false;\n return [2 /*return*/];\n }\n });\n });\n };\n Object.defineProperty(AgendaGridDisplayComponent.prototype, \"userResourceKey\", {\n /** Gets the key of the selected resource, the owner of the agenda. */\n get: function () {\n if (this.bar === null || this.bar === undefined) {\n return this.resourceService.getResourceOid();\n }\n return this.bar.selectedResource;\n },\n enumerable: true,\n configurable: true\n });\n // Returns the selected resource from the agenda grid bar\n AgendaGridDisplayComponent.prototype.getResource = function () {\n var agendaGridBarComponent = this.bar;\n var entitySelector = agendaGridBarComponent.entitySelector;\n var resource = entitySelector.value;\n return (resource !== null) ? resource : this.resourceService.resource;\n };\n Object.defineProperty(AgendaGridDisplayComponent.prototype, \"startDate\", {\n /** Gets the start date of the displayed period. */\n get: function () {\n if (this.gridService.level.formatter.queryStartDate == null) {\n return '2017-01-01';\n }\n else {\n return this.gridService.level.formatter.queryStartDate.format('YYYY-MM-DD HH:mm:ss');\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AgendaGridDisplayComponent.prototype, \"endDate\", {\n /** Gets the end date of the displayed period. */\n get: function () {\n if (this.gridService.level.formatter.queryFinishDate == null) {\n return '2017-02-01';\n }\n else {\n return this.gridService.level.formatter.queryFinishDate.format('YYYY-MM-DD HH:mm:ss');\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Refreshes if the resource key has changed.\n * @protected\n */\n AgendaGridDisplayComponent.prototype.refreshIfNeeded = function () {\n if (this.lastResourceKey !== this.userResourceKey) {\n this._gridCollections = this.generateGridSegments();\n this.refresh();\n }\n };\n /**\n * Is called when a displayed entity is changed a partial refresh is needed.\n * @param {Entity} entity The changed displayed entity.\n * @param {boolean} selectable Flag indicating whether or not to select the entity when needed.\n */\n AgendaGridDisplayComponent.prototype.refreshFor = function (entity, selectable) {\n if (selectable === void 0) { selectable = true; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var itemOid, planItemNew, wrapper;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.refresh(selectable)];\n case 1:\n _a.sent();\n if (RoutesService.getDetailId(this.router.routerState) == null) {\n return [2 /*return*/];\n }\n itemOid = entity['Oid'] ? entity['Oid'] : entity['Item_Oid'];\n planItemNew = this._objects.items.find(function (item) { return item['Item_Oid'] === itemOid; });\n if (planItemNew) {\n wrapper = this.findWrapperOf(planItemNew['Item']);\n this.selectPlanItem(wrapper);\n }\n else {\n // Kon de item niet vinden ik moet details sluiten.\n this.selectPlanItem(null);\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n AgendaGridDisplayComponent.prototype.afterInitialize = function () {\n var _this = this;\n _super.prototype.afterInitialize.call(this);\n if (this.configuration.data) {\n var entityConfig = this.configuration.data;\n this._objects.sourceName = entityConfig.dataSource;\n if (entityConfig.parameters) {\n this.queryOptions.parameters = Object.assign({}, entityConfig.parameters);\n }\n this.queryOptions.expand = entityConfig.expand;\n this._objects.queryOptions = this.queryOptions;\n DomainService.getDynamicParams(this.queryOptions, this.dynamicParameters);\n this.domainService.registerSource(entityConfig.entity, this._objects);\n this.subscriptionPool.add(this.localisationService.onLanguageChanged.subscribe(function () {\n _this._gridCollections = _this.generateGridSegments();\n _this.refresh();\n }));\n }\n };\n /**\n * Generates the GridSegments a collection of elements to display.\n */\n AgendaGridDisplayComponent.prototype.generateGridSegments = function () {\n // If horizon does not exist; return an empty set\n return this.gridService.level.formatter.agendaGridSegments(this, this.gridService);\n };\n /**\n * Used for check if the current segment needs expansion\n */\n AgendaGridDisplayComponent.prototype.expandGrid = function (segmentsIndex, segmentIndex) {\n if (this.expandedIndex === undefined) {\n return false;\n }\n return (this.gridService.level.name === 'day' ? segmentsIndex : segmentIndex) === this.expandedIndex;\n };\n return AgendaGridDisplayComponent;\n}(GridDisplayBaseComponent));\nexport { AgendaGridDisplayComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda grid display component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-translate/core\";\nimport * as i2 from \"../../base/directives/openProfile.directive\";\nimport * as i3 from \"../../core/overlay.service\";\nimport * as i4 from \"../../user.service\";\nimport * as i5 from \"../../domain.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"@angular/common\";\nimport * as i8 from \"../../base/pipes/oid-to-key.pipe\";\nimport * as i9 from \"../../core/minutes-in-hours.pipe\";\nimport * as i10 from \"../../base/pipes/duration-to-text.pipe\";\nimport * as i11 from \"./agenda-grid-display.component\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"../../core/localisation.service\";\nimport * as i14 from \"../../resource.service\";\nimport * as i15 from \"../../settings.service\";\nimport * as i16 from \"../../backend-settings.service\";\nimport * as i17 from \"../executors.service\";\nimport * as i18 from \"../../core/event.service\";\nimport * as i19 from \"../grid.service\";\nvar styles_AgendaGridDisplayComponent = [];\nvar RenderType_AgendaGridDisplayComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AgendaGridDisplayComponent, data: {} });\nexport { RenderType_AgendaGridDisplayComponent as RenderType_AgendaGridDisplayComponent };\nfunction View_AgendaGridDisplayComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 2, 0, i0.ɵnov(_v, 3).transform(\"APP.GRIDS.NO_RESOURCES_FOUND\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_AgendaGridDisplayComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-grid-clicker\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setHorizon(_v.parent.context.$implicit.click) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"d-inline d-md-none\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i2.OpenProfileDirective, [i3.OverlayService, i4.UserService, i5.DomainService, i6.AlertsService], { key: [0, \"key\"] }, null), i0.ɵppd(2, 1), (_l()(), i0.ɵted(3, null, [\" \", \" \", \" \", \" | \"]))], function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent, 0), _v.parent.context.$implicit.meta.resource[\"Oid\"])); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.meta.resource.FirstName; var currVal_2 = _v.parent.context.$implicit.meta.resource.Prefix; var currVal_3 = _v.parent.context.$implicit.meta.resource.Name; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_AgendaGridDisplayComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-grid-clicker\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setHorizon(_v.parent.context.$implicit.click) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i0.ɵdid(2, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(3, { \"sym-is-today\": 0 }), (_l()(), i0.ɵted(4, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.isToday(_co.horizonDate)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.meta.label; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i0.ɵdid(2, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(3, { \"sym-is-today\": 0 }), (_l()(), i0.ɵted(4, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, (_v.parent.context.$implicit.click && _co.isToday(_v.parent.context.$implicit.click.date))); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.meta.label; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-grid-clicker\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setHorizon(_v.parent.context.$implicit.click) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label sym-label-center\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i0.ɵdid(3, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(4, { \"sym-is-today\": 0 }), (_l()(), i0.ɵted(5, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 4, 0, _co.isToday(_v.parent.context.$implicit.meta.start)); _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.meta.label; _ck(_v, 5, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-label sym-label-position\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 1), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"sym-label sym-label-position\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-\" + _v.context.$implicit.position)); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.label; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AgendaGridDisplayComponent_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-dot\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 2)], function (_ck, _v) { var currVal_0 = \"sym-dot\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-\" + _v.context.$implicit.position), (\"sym-dot-\" + _v.context.$implicit.variant)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_AgendaGridDisplayComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_12)), i0.ɵdid(2, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"sym-labels\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_13)), i0.ɵdid(5, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_14)), i0.ɵdid(7, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"sym-dots\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_15)), i0.ɵdid(10, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.click; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_v.parent.parent.context.$implicit.gridLabels.length; _ck(_v, 5, 0, currVal_1); var currVal_2 = _v.parent.parent.context.$implicit.gridLabels; _ck(_v, 7, 0, currVal_2); var currVal_3 = _v.parent.parent.parent.context.$implicit.gridDots; _ck(_v, 10, 0, currVal_3); }, null); }\nfunction View_AgendaGridDisplayComponent_17(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-stage sym-stage-publicated\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_18(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-stage sym-stage-unpublicated\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_19(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-plan-item sym-workpattern\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 4)], function (_ck, _v) { var currVal_0 = \"sym-plan-item sym-workpattern\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-h\" + _v.context.$implicit.startHour), (\"sym-start-m\" + _v.context.$implicit.startMinute), (\"sym-end-h\" + _v.context.$implicit.endHour), (\"sym-end-m\" + _v.context.$implicit.endMinute)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_AgendaGridDisplayComponent_20(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-plan-item sym-availability sym-has-no-violations\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 5)], function (_ck, _v) { var currVal_0 = \"sym-plan-item sym-availability sym-has-no-violations\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-h\" + _v.context.$implicit.startHour), (\"sym-start-m\" + _v.context.$implicit.startMinute), (\"sym-end-h\" + _v.context.$implicit.endHour), (\"sym-end-m\" + _v.context.$implicit.endMinute), _v.context.$implicit.weightClass); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_AgendaGridDisplayComponent_21(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-splitter\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 1)], function (_ck, _v) { var currVal_0 = \"sym-splitter\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-\" + _v.context.$implicit.position)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_AgendaGridDisplayComponent_23(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_24(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_22(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"attendant-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_23)), i0.ɵdid(5, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i7.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"attendant-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"attendant-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_24)), i0.ɵdid(14, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 4, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(19, null, [\" \", \" \"])), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"]))], function (_ck, _v) { var _co = _v.component; var currVal_3 = i0.ɵinlineInterpolate(6, \"sym-plan-item sym-attendant sym-source-\", _v.context.$implicit.source, \" sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_4 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_3, currVal_4); var currVal_5 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_5); var currVal_6 = \"sym-active-helper\"; var currVal_7 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_6, currVal_7); var currVal_8 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_8); var currVal_9 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.color; var currVal_2 = (_v.context.$implicit.zIndex + 1); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); var currVal_10 = _v.context.$implicit.name; _ck(_v, 19, 0, currVal_10); }); }\nfunction View_AgendaGridDisplayComponent_26(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_27(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_28(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-finished sym-watermark\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_25(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 26, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"absence-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_26)), i0.ɵdid(5, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i7.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"absence-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"absence-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_27)), i0.ɵdid(14, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_28)), i0.ɵdid(18, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\" \", \" \"])), (_l()(), i0.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"])), (_l()(), i0.ɵeld(24, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(25, null, [\" \", \" \"])), i0.ɵppd(26, 1)], function (_ck, _v) { var _co = _v.component; var currVal_3 = i0.ɵinlineInterpolate(5, \"sym-plan-item sym-absence sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_4 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_3, currVal_4); var currVal_5 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_5); var currVal_6 = \"sym-active-helper\"; var currVal_7 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_6, currVal_7); var currVal_8 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_8); var currVal_9 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_9); var currVal_10 = _v.context.$implicit.isFinished; _ck(_v, 18, 0, currVal_10); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.color; var currVal_2 = (_v.context.$implicit.zIndex + 1); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); var currVal_11 = _v.context.$implicit.name; _ck(_v, 21, 0, currVal_11); var currVal_12 = i0.ɵunv(_v, 25, 0, _ck(_v, 26, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent, 2), _v.context.$implicit.hoursOfLeave())); _ck(_v, 25, 0, currVal_12); }); }\nfunction View_AgendaGridDisplayComponent_30(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], [[4, \"color\", null]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.colorDarker; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AgendaGridDisplayComponent_31(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_32(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-finished sym-watermark\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_29(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 25, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null], [4, \"background-color\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"assignment-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_30)), i0.ɵdid(5, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i7.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"assignment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"assignment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_31)), i0.ɵdid(14, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_32)), i0.ɵdid(18, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 6, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\" \", \" \"])), (_l()(), i0.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"])), (_l()(), i0.ɵeld(24, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(25, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵinlineInterpolate(6, \"sym-plan-item sym-assignment sym-source-\", _v.context.$implicit.source, \" sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_5 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_4, currVal_5); var currVal_6 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_6); var currVal_7 = \"sym-active-helper\"; var currVal_8 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_7, currVal_8); var currVal_9 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_9); var currVal_10 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_10); var currVal_11 = _v.context.$implicit.isFinished; _ck(_v, 18, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.colorDarker; var currVal_2 = (_v.context.$implicit.zIndex + 1); var currVal_3 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_12 = _v.context.$implicit.contrast; _ck(_v, 19, 0, currVal_12); var currVal_13 = _v.context.$implicit.name; _ck(_v, 21, 0, currVal_13); var currVal_14 = _v.context.$implicit.effortAsText; _ck(_v, 25, 0, currVal_14); }); }\nfunction View_AgendaGridDisplayComponent_34(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], [[4, \"color\", null]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.colorDarker; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AgendaGridDisplayComponent_35(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_36(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-finished sym-watermark\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridDisplayComponent_33(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 25, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null], [4, \"background-color\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"appointment-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_34)), i0.ɵdid(5, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i7.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"appointment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"appointment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_35)), i0.ɵdid(14, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_36)), i0.ɵdid(18, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 6, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\" \", \" \"])), (_l()(), i0.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"])), (_l()(), i0.ɵeld(24, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(25, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵinlineInterpolate(6, \"sym-plan-item sym-appointment sym-source-\", _v.context.$implicit.source, \" sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_5 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_4, currVal_5); var currVal_6 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_6); var currVal_7 = \"sym-active-helper\"; var currVal_8 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_7, currVal_8); var currVal_9 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_9); var currVal_10 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_10); var currVal_11 = _v.context.$implicit.isFinished; _ck(_v, 18, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.colorDarker; var currVal_2 = (_v.context.$implicit.zIndex + 1); var currVal_3 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_12 = _v.context.$implicit.contrast; _ck(_v, 19, 0, currVal_12); var currVal_13 = _v.context.$implicit.name; _ck(_v, 21, 0, currVal_13); var currVal_14 = _v.context.$implicit.effortAsText; _ck(_v, 25, 0, currVal_14); }); }\nfunction View_AgendaGridDisplayComponent_38(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-action text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.invokeAction(_v.context.$implicit, _v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i0.ɵdid(2, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpad(3, 2), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _ck(_v, 3, 0, \"icon\", _v.context.$implicit.icon); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(_v.context.$implicit.labelKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AgendaGridDisplayComponent_37(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"sym-add\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sym-add-lines\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"sym-add-actions\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-actions\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_38)), i0.ɵdid(5, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"sym-add-button\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"+\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getActions(); _ck(_v, 5, 0, currVal_0); }, null); }\nfunction View_AgendaGridDisplayComponent_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 29, \"div\", [[\"class\", \"sym-column\"]], null, [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event, { targets: [{ start: _v.context.$implicit.meta.start, finish: _v.context.$implicit.meta.finish }], resources: [_v.context.$implicit.meta.resource] }) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"sym-stages\"]], null, null, null, null, null)), i0.ɵdid(2, 16384, null, 0, i7.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_17)), i0.ɵdid(4, 278528, null, 0, i7.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i7.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_18)), i0.ɵdid(6, 278528, null, 0, i7.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i7.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"sym-workpatterns\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_19)), i0.ɵdid(9, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-availabilities\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_20)), i0.ɵdid(12, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"sym-splitters\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_21)), i0.ɵdid(15, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"sym-attendants\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_22)), i0.ɵdid(18, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"div\", [[\"class\", \"sym-absences\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_25)), i0.ɵdid(21, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(22, 0, null, null, 2, \"div\", [[\"class\", \"sym-assignments\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_29)), i0.ɵdid(24, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 2, \"div\", [[\"class\", \"sym-appointments\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_33)), i0.ɵdid(27, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_37)), i0.ɵdid(29, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getStageOf(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); var currVal_1 = \"publicated\"; _ck(_v, 4, 0, currVal_1); var currVal_2 = \"unpublicated\"; _ck(_v, 6, 0, currVal_2); var currVal_3 = _v.context.$implicit.gridWorkPatterns; var currVal_4 = _co.trackByPlanItem; _ck(_v, 9, 0, currVal_3, currVal_4); var currVal_5 = _v.context.$implicit.gridAvailabilities; var currVal_6 = _co.trackByPlanItem; _ck(_v, 12, 0, currVal_5, currVal_6); var currVal_7 = _v.parent.parent.parent.context.$implicit.gridSplitters; _ck(_v, 15, 0, currVal_7); var currVal_8 = _v.context.$implicit.gridAttendants; var currVal_9 = _co.trackByPlanItem; _ck(_v, 18, 0, currVal_8, currVal_9); var currVal_10 = _v.context.$implicit.gridAbsences; var currVal_11 = _co.trackByPlanItem; _ck(_v, 21, 0, currVal_10, currVal_11); var currVal_12 = _v.context.$implicit.gridAssignments; var currVal_13 = _co.trackByPlanItem; _ck(_v, 24, 0, currVal_12, currVal_13); var currVal_14 = _v.context.$implicit.gridAppointments; var currVal_15 = _co.trackByPlanItem; _ck(_v, 27, 0, currVal_14, currVal_15); var currVal_16 = (_co.canCreate && _co.getActions()); _ck(_v, 29, 0, currVal_16); }, null); }\nfunction View_AgendaGridDisplayComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_8)), i0.ɵdid(4, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 5, \"div\", [], null, null, null, null, null)), i0.ɵdid(6, 16384, null, 0, i7.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_9)), i0.ɵdid(8, 278528, null, 0, i7.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i7.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_10)), i0.ɵdid(10, 16384, null, 0, i7.NgSwitchDefault, [i0.ViewContainerRef, i0.TemplateRef, i7.NgSwitch], null, null), (_l()(), i0.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_11)), i0.ɵdid(13, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-unavailable\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_16)), i0.ɵdid(16, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.click; _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.horizonLevelName; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"day\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = _v.context.$implicit.children; _ck(_v, 13, 0, currVal_3); var currVal_4 = _v.context.$implicit.children; _ck(_v, 16, 0, currVal_4); }, null); }\nfunction View_AgendaGridDisplayComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-grid-expanded\": 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_7)), i0.ɵdid(4, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.expandGrid(_v.parent.context.index, _v.context.index)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.context.$implicit.children; _ck(_v, 4, 0, currVal_2); }, null); }\nfunction View_AgendaGridDisplayComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 15, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 11, \"div\", [[\"class\", \"sym-grid-segments sym-grid-segments-info\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 10, \"div\", [[\"class\", \"sym-grid-segment\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 9, \"div\", [[\"class\", \"sym-rows sym-rows-full\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"sym-column sym-column-full\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_4)), i0.ɵdid(7, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_5)), i0.ɵdid(10, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(12, null, [\"\", \"\"])), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_6)), i0.ɵdid(15, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.click; _ck(_v, 7, 0, currVal_0); var currVal_1 = _v.context.$implicit.meta.resource; _ck(_v, 10, 0, currVal_1); var currVal_4 = _v.context.$implicit.children; _ck(_v, 15, 0, currVal_4); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.meta.label; _ck(_v, 12, 0, currVal_2); var currVal_3 = i0.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 13, 0, currVal_3); }); }\nfunction View_AgendaGridDisplayComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-grid-scroll-column\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"sym-grid-scroll-container ml-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 6, \"div\", [], null, [[null, \"mouseup\"], [null, \"mouseleave\"], [null, \"mousemove\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseup\" === en)) {\n var pd_0 = (_co.stopResize($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"mouseleave\" === en)) {\n var pd_1 = (_co.cancelResize($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"mousemove\" === en)) {\n var pd_2 = (_co.moveResize($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(3, 278528, null, 0, i7.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(4, { \"in-resize-mode\": 0, \"sym-no-resize-support\": 1 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_2)), i0.ɵdid(6, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_3)), i0.ɵdid(8, 278528, null, 0, i7.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-grid-display clearfix sym-grid-zoom-\", _co.zoom, \"\"); var currVal_1 = _ck(_v, 4, 0, _co.inResizeMode(), !_co.canUpdate); _ck(_v, 3, 0, currVal_0, currVal_1); var currVal_2 = ((!_co.isLoading && _co.gridCollections) && (_co.gridCollections.length === 0)); _ck(_v, 6, 0, currVal_2); var currVal_3 = _co.gridCollections; _ck(_v, 8, 0, currVal_3); }, null); }\nexport function View_AgendaGridDisplayComponent_0(_l) { return i0.ɵvid(0, [i0.ɵpid(0, i8.OidToKeyPipe, []), i0.ɵpid(0, i9.MinutesToHoursPipe, []), i0.ɵpid(0, i10.DurationToTextPipe, []), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AgendaGridDisplayComponent_1)), i0.ɵdid(4, 16384, null, 0, i7.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridCollections; _ck(_v, 4, 0, currVal_0); }, null); }\nexport function View_AgendaGridDisplayComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-agenda-grid-display\", [], null, null, null, View_AgendaGridDisplayComponent_0, RenderType_AgendaGridDisplayComponent)), i0.ɵdid(1, 6537216, null, 0, i11.AgendaGridDisplayComponent, [i12.Router, i5.DomainService, i13.LocalisationService, i14.ResourceService, i15.SettingsService, i16.BackendSettingsService, i3.OverlayService, i17.ExecutorsService, i6.AlertsService, i0.ElementRef, i0.NgZone, i0.ChangeDetectorRef, i18.EventsService, i19.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaGridDisplayComponentNgFactory = i0.ɵccf(\"sym-agenda-grid-display\", i11.AgendaGridDisplayComponent, View_AgendaGridDisplayComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", bar: \"bar\" }, { selectionChanged: \"selectionChanged\" }, []);\nexport { AgendaGridDisplayComponentNgFactory as AgendaGridDisplayComponentNgFactory };\n","/**\n * @file Grid base component\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { ControlBase } from '../../base/helpers/control-base';\nvar GridBaseComponent = /** @class */ (function (_super) {\n tslib_1.__extends(GridBaseComponent, _super);\n /**\n * Creates an instance of GridBaseComponent.\n * @param {DomainService} domainService\n * @param {configurationsService} configurationsService\n */\n function GridBaseComponent(domainService, localStorageService, gridService, alertsService) {\n var _this = _super.call(this, alertsService) || this;\n _this.domainService = domainService;\n _this.localStorageService = localStorageService;\n _this.gridService = gridService;\n /**\n * A value indicating whether AfterViewInit has completed.\n * @memberOf GridDisplayBaseComponent\n */\n _this.initialized = false;\n // Test if current device is a touch device\n _this.deviceAgent = navigator.userAgent.toLowerCase();\n _this.isTouchDevice = ('createTouch' in document || screen.width <= 699 ||\n _this.deviceAgent.includes('iphone') ||\n _this.deviceAgent.includes('ipod') ||\n _this.deviceAgent.includes('ipad') ||\n _this.deviceAgent.includes('blackberry') ||\n _this.deviceAgent.includes('android'));\n // Keep track of the available layers\n _this.availableLayers = [\n { name: 'workpatterns', title: 'APP.GRIDS.LAYER_WORKPATTERNS' },\n { name: 'availabilities', title: 'APP.GRIDS.LAYER_AVAILABILITIES' },\n { name: 'absences', title: 'APP.GRIDS.LAYER_ABSENCES' },\n { name: 'assignments', title: 'APP.GRIDS.LAYER_ASSIGNMENTS' },\n { name: 'appointments', title: 'APP.GRIDS.LAYER_APPOINTMENTS' },\n { name: 'attendants', title: 'APP.GRIDS.LAYER_ATTENDANTS' },\n { name: 'drop-targets', title: 'APP.GRIDS.LAYER_DROPTARGETS' },\n { name: 'violations', title: 'APP.GRIDS.LAYER_VIOLATIONS' },\n { name: 'adhoc', title: 'APP.GRIDS.LAYER_ADHOC' },\n { name: 'template', title: 'APP.GRIDS.LAYER_TEMPLATE' },\n { name: 'forecast', title: 'APP.GRIDS.LAYER_FORECAST' },\n // Tijdelijk, script + extra, uitgezet zonder dat ejs omvalt.\n // Zie: Lagen kiezer lijkt niet helemaal goed te werken bij forecast opties. #3074\n /*\n { name: 'script', title: 'APP.GRIDS.LAYER_SCRIPT' },\n { name: 'extra', title: 'APP.GRIDS.LAYER_EXTRA' },\n */\n { name: 'dragsources', title: 'APP.GRIDS.LAYER_DRAGSOURCES' }\n ];\n // Important: visiblity per layer is also per grid type (see agenda-grid and planboard-grid)\n _this.visibilityPerLayer = {};\n /** Event triggered when a entity from the list is selected. */\n _this.selectionChanged = new EventEmitter();\n /** */\n _this.gridBarSource = undefined;\n _this.pluginPairSource = undefined;\n /**\n * Used as model for the layer select element\n */\n _this._layer = '';\n return _this;\n }\n Object.defineProperty(GridBaseComponent.prototype, \"startDate\", {\n /**\n * The start date currently displayed in the grid\n * This is taken from the current horizon\n * @readonly\n * @type {moment.Moment}\n */\n get: function () {\n return this.gridService.startDate;\n },\n enumerable: true,\n configurable: true\n });\n GridBaseComponent.prototype.areSettingsOpen = function () {\n return this.gridService.settingsOpen;\n };\n GridBaseComponent.prototype.toggleSettingsOpen = function () {\n this.gridService.settingsOpen = !this.gridService.settingsOpen;\n };\n Object.defineProperty(GridBaseComponent.prototype, \"dragsourcesPinned\", {\n /**\n * Are the dragsources pinned?\n *\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return this.localStorageService.readProperty('local', 'dragsources-pinned', false, [true, false]);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBaseComponent.prototype, \"endDate\", {\n /**\n * The end date currently displayed in the grid\n * This is taken from the current horizon\n * @readonly\n * @type {moment.Moment}\n */\n get: function () {\n return this.gridService.endDate;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBaseComponent.prototype, \"layer\", {\n /**\n * Get the layer\n */\n get: function () {\n return this._layer;\n },\n /**\n * Set the layer\n */\n set: function (name) {\n var _this = this;\n // Try to find the layer\n var foundLayer = this.availableLayers.find(function (visibleLayer) {\n return (visibleLayer.name === name);\n });\n // If found toggle the visibility\n if (foundLayer) {\n this.visibilityPerLayer[name] = !this.visibilityPerLayer[name];\n this.localStorageService.updateProperty('local', 'grid-show-' + name, this.visibilityPerLayer[name], [true, false]);\n }\n // Initial set the new value\n this._layer = name;\n // In the next cycle set it back to show the 'placeholder' text\n setTimeout(function () {\n _this._layer = '';\n }, 1);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets a value indicating that the view is initialized\n * @memberOf GridBaseComponent\n */\n GridBaseComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n setTimeout(function () {\n _this.initialized = true;\n });\n };\n /**\n * Count the number of visible layers\n */\n GridBaseComponent.prototype.countVisibleLayers = function () {\n var _this = this;\n var visibleLayers = Object.keys(this.visibilityPerLayer).filter(function (key) {\n return (_this.visibilityPerLayer[key] === true && _this.availableLayers.find(function (item) { return item.name === key; }));\n });\n return visibleLayers.length;\n };\n /**\n * Are there dragsources?\n * @readonly\n * @type {boolean}\n */\n GridBaseComponent.prototype.hasDragsources = function () {\n return (this.canCreate === true || this.canDelete === true) && this.visibilityPerLayer['dragsources'] === true;\n };\n /**\n * Translate the visibility of given name to the correct localisation key\n */\n GridBaseComponent.prototype.transformVisibilityToLocalisationKey = function (name) {\n return this.visibilityPerLayer[name] === true ? 'APP.GRIDS.LAYER_VISIBLE_YES' : 'APP.GRIDS.LAYER_VISIBLE_NO';\n };\n Object.defineProperty(GridBaseComponent.prototype, \"level\", {\n /**\n * The detaillevel used for the display\n * This is taken from the current horizon\n * @readonly\n * @type {DetailLevel}\n */\n get: function () {\n return this.gridService.level;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBaseComponent.prototype, \"visibleDays\", {\n /**\n * Visible days in the grid\n * This is taken from the current horizon\n * @readonly\n * @type {[number]}\n */\n get: function () {\n return this.gridService.visibleDays;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBaseComponent.prototype, \"visibleHoursStart\", {\n /**\n * Start hour for the grid\n * This is taken from the current horizon\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursStart;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBaseComponent.prototype, \"visibleHoursEnd\", {\n /**\n * End hour for the grid\n * This is taken from the current horizon\n * @readonly\n * @type {Number}\n */\n get: function () {\n return this.gridService.visibleHoursEnd;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBaseComponent.prototype, \"weekends\", {\n /**\n * Are weekends enabled\n * This is taken from the current horizon\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return this.gridService.weekends;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GridBaseComponent.prototype, \"officeHours\", {\n /**\n * Are office hours enabled\n * This is taken from the current horizon\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return this.gridService.officeHours;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Selects an item in the grid\n * @param {Entity} item\n */\n GridBaseComponent.prototype.selectPlanItem = function (item) {\n this.selectionChanged.emit(item);\n };\n return GridBaseComponent;\n}(ControlBase));\nexport { GridBaseComponent };\n","/**\n * @file Agenda Component.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { DomainService } from '../../domain.service';\nimport { GridBaseComponent } from '../grid-base/grid-base.component';\nimport { AgendaGridBarComponent } from '../agenda-grid-bar/agenda-grid-bar.component';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { GridService } from '../grid.service';\nimport { AlertsService } from '../../core/alerts.service';\n/**\n * Agenda Component\n */\nvar AgendaGridComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AgendaGridComponent, _super);\n /**\n * Constructs an AgendaGridComponent.\n * @param configurationsService Configuration service to get the configuration of this component.\n * @param domainService Domain service to access the backend api.\n */\n function AgendaGridComponent(domainService, localStorageService, gridService, alertsService) {\n var _this = _super.call(this, domainService, localStorageService, gridService, alertsService) || this;\n // Important: visiblity per layer is also per grid type (agenda and planboard)\n _this.visibilityPerLayer = {\n 'workpatterns': true,\n 'availabilities': true,\n 'absences': true,\n 'assignments': true,\n 'appointments': true,\n 'attendants': true,\n 'drop-targets': true,\n 'violations': false,\n 'adhoc': true,\n 'template': true,\n 'forecast': true,\n 'script': true,\n 'extra': true,\n 'dragsources': (_this.isTouchDevice === true) ? false : true\n };\n return _this;\n }\n Object.defineProperty(AgendaGridComponent.prototype, \"selectedResource\", {\n /**\n * Gets the Resource of the agenda displayed.\n * @readonly\n * @type {Entity} The Resource entity or null.\n */\n get: function () {\n if (this.gridBar == null || this.gridBar.entitySelector == null) {\n return null;\n }\n return this.gridBar.entitySelector.value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n AgendaGridComponent.prototype.afterInitialize = function () {\n _super.prototype.afterInitialize.call(this);\n var agendaGridBarComponent = this.configuration.components.find(function (item) { return item.component.includes('AgendaGridBarComponent'); });\n if (!agendaGridBarComponent) {\n throw new Error('AgendaGridBarComponent is missing in the configuration');\n }\n this.gridBarSource = agendaGridBarComponent.configuration;\n };\n return AgendaGridComponent;\n}(GridBaseComponent));\nexport { AgendaGridComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Agenda Component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../grid-base/grid-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i5 from \"../../base/instruction/instruction.component\";\nimport * as i6 from \"@angular/common/http\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"../agenda-grid-drag/agenda-grid-drag.component.ngfactory\";\nimport * as i9 from \"../agenda-grid-drag/agenda-grid-drag.component\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../executors.service\";\nimport * as i12 from \"../drop-targets.service\";\nimport * as i13 from \"../../core/local-storage.service\";\nimport * as i14 from \"../grid.service\";\nimport * as i15 from \"../horizon/horizon.component.ngfactory\";\nimport * as i16 from \"../horizon/horizon.component\";\nimport * as i17 from \"../../core/localisation.service\";\nimport * as i18 from \"../agenda-grid-bar/agenda-grid-bar.component.ngfactory\";\nimport * as i19 from \"../agenda-grid-bar/agenda-grid-bar.component\";\nimport * as i20 from \"../../user.service\";\nimport * as i21 from \"@angular/router\";\nimport * as i22 from \"../../core/event.service\";\nimport * as i23 from \"../agenda-grid-display/agenda-grid-display.component.ngfactory\";\nimport * as i24 from \"../agenda-grid-display/agenda-grid-display.component\";\nimport * as i25 from \"../../domain.service\";\nimport * as i26 from \"../../resource.service\";\nimport * as i27 from \"../../settings.service\";\nimport * as i28 from \"../../backend-settings.service\";\nimport * as i29 from \"../../core/overlay.service\";\nimport * as i30 from \"./agenda-grid.component\";\nvar styles_AgendaGridComponent = [i0.styles];\nvar RenderType_AgendaGridComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AgendaGridComponent, data: {} });\nexport { RenderType_AgendaGridComponent as RenderType_AgendaGridComponent };\nfunction View_AgendaGridComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 29).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_AgendaGridComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 29, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 24, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-grid-2783-fix\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(6, null, [\" \", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 17, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 18).userRefresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(10, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(11, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(14, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(15, { \"icon-spin\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaGridComponent_2)), i1.ɵdid(17, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(18, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-sm btn-link d-md-none\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSettingsOpen() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-settings\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), (_l()(), i1.ɵeld(28, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i4.View_InstructionComponent_0, i4.RenderType_InstructionComponent)), i1.ɵdid(29, 180224, [[\"instruction\", 4]], 0, i5.InstructionComponent, [i6.HttpClient, i7.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_4 = \"btn btn-sm btn-link\"; var currVal_5 = _ck(_v, 11, 0, i1.ɵnov(_v.parent, 18).isLoading); _ck(_v, 10, 0, currVal_4, currVal_5); var currVal_6 = \"icon sym-icon-refresh\"; var currVal_7 = _ck(_v, 15, 0, i1.ɵnov(_v.parent, 18).isLoading); _ck(_v, 14, 0, currVal_6, currVal_7); var currVal_8 = _co.configuration.instruction; _ck(_v, 17, 0, currVal_8); var currVal_14 = _co.configuration.instruction; _ck(_v, 29, 0, currVal_14); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.configuration.labelKey)); _ck(_v, 6, 0, currVal_2); var currVal_3 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 12).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 9, 0, currVal_3); var currVal_9 = !_co.areSettingsOpen(); _ck(_v, 20, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 22).transform(\"APP.GRIDS.OPEN_SETTINGS\")); _ck(_v, 21, 0, currVal_10); var currVal_11 = _co.areSettingsOpen(); _ck(_v, 23, 0, currVal_11); var currVal_12 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.GRIDS.HIDE_SETTINGS\")); _ck(_v, 24, 0, currVal_12); var currVal_13 = _co.configuration.key; _ck(_v, 27, 0, currVal_13); }); }\nfunction View_AgendaGridComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-grid-drag\", [[\"class\", \"sym-dragsources\"]], null, [[\"window\", \"dragstart\"], [\"window\", \"dragend\"]], function (_v, en, $event) { var ad = true; if ((\"window:dragstart\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).onDragOver($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"window:dragend\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 1).onDragLeave($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i8.View_AgendaGridDragComponent_0, i8.RenderType_AgendaGridDragComponent)), i1.ɵdid(1, 245760, null, 0, i9.AgendaGridDragComponent, [i10.AlertsService, i11.ExecutorsService, i12.DropTargetsService, i1.ElementRef, i1.NgZone, i13.LocalStorageService, i14.GridService], { configuration: [0, \"configuration\"], selectedResource: [1, \"selectedResource\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration; var currVal_1 = _co.selectedResource; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nexport function View_AgendaGridComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { gridBar: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaGridComponent_1)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 32, \"div\", [], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-hide-workpatterns\": 0, \"sym-hide-availabilities\": 1, \"sym-hide-absences\": 2, \"sym-hide-assignments\": 3, \"sym-hide-appointments\": 4, \"sym-hide-attendants\": 5, \"sym-hide-drop-targets\": 6, \"sym-hide-adhoc\": 7, \"sym-hide-template\": 8, \"sym-hide-forecast\": 9, \"sym-hide-script\": 10, \"sym-hide-extra\": 11, \"sym-hide-no-violations\": 12, \"sym-hide-dragsources\": 13, \"sym-dragsources-pinned\": 14 }), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"sym-horizon\", [], null, null, null, i15.View_HorizonComponent_0, i15.RenderType_HorizonComponent)), i1.ɵdid(7, 180224, null, 0, i16.HorizonComponent, [i17.LocalisationService, i14.GridService], { mode: [0, \"mode\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 10, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), i1.ɵdid(9, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(10, { \"sym-has-dragsources\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AgendaGridComponent_3)), i1.ɵdid(12, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2 pr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"sym-agenda-grid-bar\", [], null, null, null, i18.View_AgendaGridBarComponent_0, i18.RenderType_AgendaGridBarComponent)), i1.ɵdid(15, 4440064, [[1, 4], [\"gridbar\", 4]], 0, i19.AgendaGridBarComponent, [i20.UserService, i11.ExecutorsService, i10.AlertsService, i1.ElementRef, i1.NgZone, i21.Router, i22.EventsService, i14.GridService], { configuration: [0, \"configuration\"], griddisplay: [1, \"griddisplay\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"col-md-10 pr-0 pl-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"sym-agenda-grid-display\", [], null, [[null, \"selectionChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectionChanged\" === en)) {\n var pd_0 = (_co.selectPlanItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i23.View_AgendaGridDisplayComponent_0, i23.RenderType_AgendaGridDisplayComponent)), i1.ɵdid(18, 6537216, [[\"griddisplay\", 4]], 0, i24.AgendaGridDisplayComponent, [i21.Router, i25.DomainService, i17.LocalisationService, i26.ResourceService, i27.SettingsService, i28.BackendSettingsService, i29.OverlayService, i11.ExecutorsService, i10.AlertsService, i1.ElementRef, i1.NgZone, i1.ChangeDetectorRef, i22.EventsService, i14.GridService], { configuration: [0, \"configuration\"], bar: [1, \"bar\"] }, { selectionChanged: \"selectionChanged\" }), (_l()(), i1.ɵeld(19, 0, null, null, 16, \"div\", [[\"class\", \"d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 13, \"div\", [[\"class\", \"close-gap-between-grid\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 12, \"div\", [[\"class\", \"d-flex flex-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 10, \"div\", [[\"class\", \"d-flex flex-column sym-legenda\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"div\", [[\"class\", \"sym-legenda-visual sym-stage-publicated\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"sym-legenda-label ml-1\"]], null, null, null, null, null)), (_l()(), i1.ɵted(29, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(31, 0, null, null, 4, \"div\", [[\"class\", \"sym-legenda-spacer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 0, \"div\", [[\"class\", \"sym-legenda-visual sym-stage-unpublicated\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"div\", [[\"class\", \"sym-legenda-label ml-1\"]], null, null, null, null, null)), (_l()(), i1.ɵted(34, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.initialized; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(3, \"sym-grid sym-variant-agenda sym-level-\", _co.level.name, \" sym-hours-h\", _co.visibleHoursStart, \"-h\", _co.visibleHoursEnd, \"\"); var currVal_2 = _ck(_v, 5, 1, [!_co.visibilityPerLayer[\"workpatterns\"], !_co.visibilityPerLayer[\"availabilities\"], !_co.visibilityPerLayer[\"absences\"], !_co.visibilityPerLayer[\"assignments\"], !_co.visibilityPerLayer[\"appointments\"], !_co.visibilityPerLayer[\"attendants\"], !_co.visibilityPerLayer[\"drop-targets\"], !_co.visibilityPerLayer[\"adhoc\"], !_co.visibilityPerLayer[\"template\"], !_co.visibilityPerLayer[\"forecast\"], !_co.visibilityPerLayer[\"script\"], !_co.visibilityPerLayer[\"extra\"], _co.visibilityPerLayer[\"violations\"], !_co.visibilityPerLayer[\"dragsources\"], _co.dragsourcesPinned]); _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_3 = \"horizonModeGrid\"; _ck(_v, 7, 0, currVal_3); var currVal_4 = \"row\"; var currVal_5 = _ck(_v, 10, 0, _co.hasDragsources()); _ck(_v, 9, 0, currVal_4, currVal_5); var currVal_6 = _co.hasDragsources(); _ck(_v, 12, 0, currVal_6); var currVal_7 = _co.gridBarSource; var currVal_8 = i1.ɵnov(_v, 18); _ck(_v, 15, 0, currVal_7, currVal_8); var currVal_9 = _co.configuration; var currVal_10 = i1.ɵnov(_v, 15); _ck(_v, 18, 0, currVal_9, currVal_10); }, function (_ck, _v) { var currVal_11 = i1.ɵunv(_v, 29, 0, i1.ɵnov(_v, 30).transform(\"APP.GRIDS.STAGES.PUBLICATED\")); _ck(_v, 29, 0, currVal_11); var currVal_12 = i1.ɵunv(_v, 34, 0, i1.ɵnov(_v, 35).transform(\"APP.GRIDS.STAGES.UNPUBLICATED\")); _ck(_v, 34, 0, currVal_12); }); }\nexport function View_AgendaGridComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-agenda-grid\", [], null, null, null, View_AgendaGridComponent_0, RenderType_AgendaGridComponent)), i1.ɵdid(1, 4440064, null, 0, i30.AgendaGridComponent, [i25.DomainService, i13.LocalStorageService, i14.GridService, i10.AlertsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AgendaGridComponentNgFactory = i1.ɵccf(\"sym-agenda-grid\", i30.AgendaGridComponent, View_AgendaGridComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\" }, {}, []);\nexport { AgendaGridComponentNgFactory as AgendaGridComponentNgFactory };\n","/**\n * @file Planboard drag source tasks component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceTasksBaseComponent } from '../drag-source-tasks-base/drag-source-tasks-base.component';\nimport { DomainService } from '../../domain.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { GridService } from '../grid.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\n/** Planboard drag source tasks component */\nvar PlanboardDragSourceTasksComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardDragSourceTasksComponent, _super);\n /**\n * Constructs PlanboardDragSourceTasksComponent\n * @param configurationsService The configuration service to get the configuration of this component\n * @param router The router to synchronize query parameters with component state\n */\n function PlanboardDragSourceTasksComponent(domainService, executorsService, alertsService, gridService, localStorageService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService) || this;\n _this.localStorageService = localStorageService;\n /**\n * The names of the available filter sources.\n * @private\n * @memberOf PlanboardGridBarComponent\n */\n _this.filterSources = ['RESOURCE', 'PROJECT'];\n _this._selectedTeam = null;\n _this.initiateExecutors();\n return _this;\n }\n Object.defineProperty(PlanboardDragSourceTasksComponent.prototype, \"selectedTeam\", {\n get: function () {\n return this._selectedTeam;\n },\n set: function (value) {\n if (this._selectedTeam === value) {\n return;\n }\n this._selectedTeam = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardDragSourceTasksComponent.prototype, \"teamOid\", {\n get: function () {\n if (this._selectedTeam == null) {\n return '?';\n }\n return this._selectedTeam['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * The current source to select a filter entity from.\n * @returns The name of the current source.\n * @memberOf PlanboardGridBarComponent\n */\n PlanboardDragSourceTasksComponent.prototype.currentFilterSource = function () {\n return this.localStorageService.readProperty('local', 'planboard-drag-source-tasks-filter-source', 'RESOURCE', this.filterSources);\n };\n /**\n * Select the next filter source\n * @memberOf PlanboardGridBarComponent\n */\n PlanboardDragSourceTasksComponent.prototype.nextFilterSource = function () {\n // Get the current filter source\n var currentFilterSource = this.currentFilterSource();\n // Find the position of the current filter source\n var position = this.filterSources.indexOf(currentFilterSource) + 1;\n // Last in list\n if (position === this.filterSources.length) {\n position = 0;\n }\n // Update the local storage\n this.localStorageService.updateProperty('local', 'planboard-drag-source-tasks-filter-source', this.filterSources[position], this.filterSources);\n };\n return PlanboardDragSourceTasksComponent;\n}(DragSourceTasksBaseComponent));\nexport { PlanboardDragSourceTasksComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard drag source tasks component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i5 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i6 from \"../../domain.service\";\nimport * as i7 from \"../../core/alerts.service\";\nimport * as i8 from \"../../core/localisation.service\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"@angular/common\";\nimport * as i11 from \"./planboard-drag-source-tasks.component\";\nimport * as i12 from \"../executors.service\";\nimport * as i13 from \"../grid.service\";\nimport * as i14 from \"../../core/local-storage.service\";\nvar styles_PlanboardDragSourceTasksComponent = [i0.styles];\nvar RenderType_PlanboardDragSourceTasksComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PlanboardDragSourceTasksComponent, data: {} });\nexport { RenderType_PlanboardDragSourceTasksComponent as RenderType_PlanboardDragSourceTasksComponent };\nfunction View_PlanboardDragSourceTasksComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_PlanboardDragSourceTasksComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filter = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i4.View_InputEntityComponent_0, i4.RenderType_InputEntityComponent)), i1.ɵdid(1, 245760, null, 0, i5.InputEntityComponent, [i6.DomainService, i7.AlertsService, i3.TranslateService, i8.LocalisationService, i9.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], showButton: [2, \"showButton\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridBarControl; var currVal_1 = _co.filter; var currVal_2 = false; var currVal_3 = _co.getFilterFormat(\"Project\"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PlanboardDragSourceTasksComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filter = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i4.View_InputEntityComponent_0, i4.RenderType_InputEntityComponent)), i1.ɵdid(1, 245760, null, 0, i5.InputEntityComponent, [i6.DomainService, i7.AlertsService, i3.TranslateService, i8.LocalisationService, i9.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], showButton: [2, \"showButton\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridBarControl; var currVal_1 = _co.filter; var currVal_2 = false; var currVal_3 = _co.getFilterFormat(\"Resource\"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PlanboardDragSourceTasksComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-assignment\"]], [[4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i10.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 9, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 6, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(15, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = \"sym-pattern sym-pattern-assignment\"; var currVal_3 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; var currVal_1 = _co.colorTools.maxContrast(_v.context.$implicit.Color, 20); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.PROJECTNAME\")), \"\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_v.context.$implicit.Project ? (_v.context.$implicit.Project.Name + \" \\u2022 \") : \"\"); _ck(_v, 12, 0, currVal_6); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.GRIDS.SOURCE.CUSTOMERNAME\")), \"\"); _ck(_v, 13, 0, currVal_7); var currVal_8 = (_v.context.$implicit.Customer ? ((((_v.context.$implicit.Customer.FirstName + \" \") + _v.context.$implicit.Customer.Prefix) + \" \") + _v.context.$implicit.Customer.Name) : \"\"); _ck(_v, 15, 0, currVal_8); }); }\nexport function View_PlanboardDragSourceTasksComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 68, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 67, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 66, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 37, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 36, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 35, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 31, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 30, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 12).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 12).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.norm = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(12, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(14, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(16, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label mr-1\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.norm = !_co.norm) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 21).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 21).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.timed = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(21, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(23, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(25, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(26, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.timed = !_co.timed) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(30, 278528, null, 0, i10.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(31, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh \"]], null, null, null, null, null)), i1.ɵdid(34, 278528, null, 0, i10.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(35, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(36, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(38, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(39, 278528, null, 0, i10.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(40, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(41, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(42, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 44).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 44).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(44, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(46, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(48, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceTasksComponent_1)), i1.ɵdid(50, 278528, null, 0, i10.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(51, 0, null, null, 14, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(52, 0, null, null, 13, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(53, 0, null, null, 12, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(54, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(55, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.nextFilterSource() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(57, null, [\" \", \": \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(59, 0, null, null, 6, \"div\", [[\"class\", \"w-100\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(60, 0, null, null, 5, null, null, null, null, null, null, null)), i1.ɵdid(61, 16384, null, 0, i10.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceTasksComponent_2)), i1.ɵdid(63, 278528, null, 0, i10.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i10.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceTasksComponent_3)), i1.ɵdid(65, 278528, null, 0, i10.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i10.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵeld(66, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceTasksComponent_4)), i1.ɵdid(68, 278528, null, 0, i10.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_9 = _co.norm; _ck(_v, 14, 0, currVal_9); var currVal_18 = _co.timed; _ck(_v, 23, 0, currVal_18); var currVal_21 = \"btn btn-sm btn-link p-0\"; var currVal_22 = _ck(_v, 31, 0, _co.isLoading); _ck(_v, 30, 0, currVal_21, currVal_22); var currVal_23 = \"icon sym-icon-refresh \"; var currVal_24 = _ck(_v, 35, 0, _co.isLoading); _ck(_v, 34, 0, currVal_23, currVal_24); var currVal_26 = \"icon sym-icon-pin\"; var currVal_27 = _ck(_v, 40, 0, !_co.griddrag.pinned); _ck(_v, 39, 0, currVal_26, currVal_27); var currVal_35 = _co.selectedExecutorName; _ck(_v, 46, 0, currVal_35); var currVal_36 = _co.availableExecutors; _ck(_v, 50, 0, currVal_36); var currVal_39 = _co.currentFilterSource(); _ck(_v, 61, 0, currVal_39); var currVal_40 = \"PROJECT\"; _ck(_v, 63, 0, currVal_40); var currVal_41 = \"RESOURCE\"; _ck(_v, 65, 0, currVal_41); var currVal_42 = _co.items; _ck(_v, 68, 0, currVal_42); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.GRIDS.DROP.PROJECT_TASKS\")); var currVal_1 = _co.count; _ck(_v, 7, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵnov(_v, 16).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 16).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 16).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 16).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 16).ngClassValid; var currVal_7 = i1.ɵnov(_v, 16).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 16).ngClassPending; _ck(_v, 11, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_10 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.GRIDS.DRAG.NORM\")); _ck(_v, 18, 0, currVal_10); var currVal_11 = i1.ɵnov(_v, 25).ngClassUntouched; var currVal_12 = i1.ɵnov(_v, 25).ngClassTouched; var currVal_13 = i1.ɵnov(_v, 25).ngClassPristine; var currVal_14 = i1.ɵnov(_v, 25).ngClassDirty; var currVal_15 = i1.ɵnov(_v, 25).ngClassValid; var currVal_16 = i1.ɵnov(_v, 25).ngClassInvalid; var currVal_17 = i1.ɵnov(_v, 25).ngClassPending; _ck(_v, 20, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17); var currVal_19 = i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.GRIDS.DRAG.TIMED\")); _ck(_v, 27, 0, currVal_19); var currVal_20 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 29, 0, i1.ɵnov(_v, 32).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 29, 0, currVal_20); var currVal_25 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 36, 0, i1.ɵnov(_v, 37).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 36, 0, currVal_25); var currVal_28 = i1.ɵnov(_v, 48).ngClassUntouched; var currVal_29 = i1.ɵnov(_v, 48).ngClassTouched; var currVal_30 = i1.ɵnov(_v, 48).ngClassPristine; var currVal_31 = i1.ɵnov(_v, 48).ngClassDirty; var currVal_32 = i1.ɵnov(_v, 48).ngClassValid; var currVal_33 = i1.ɵnov(_v, 48).ngClassInvalid; var currVal_34 = i1.ɵnov(_v, 48).ngClassPending; _ck(_v, 43, 0, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); var currVal_37 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 55, 0, i1.ɵnov(_v, 56).transform((\"APP.GRIDS.DRAG.FILTER_SOURCE_\" + _co.currentFilterSource()))), \"\"); _ck(_v, 55, 0, currVal_37); var currVal_38 = i1.ɵunv(_v, 57, 0, i1.ɵnov(_v, 58).transform(((\"APP.GRIDS.DRAG.FILTER_SOURCE_\" + _co.currentFilterSource()) + \"_SHORT\"))); _ck(_v, 57, 0, currVal_38); }); }\nexport function View_PlanboardDragSourceTasksComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-drag-source-tasks\", [], null, null, null, View_PlanboardDragSourceTasksComponent_0, RenderType_PlanboardDragSourceTasksComponent)), i1.ɵdid(1, 245760, null, 0, i11.PlanboardDragSourceTasksComponent, [i6.DomainService, i12.ExecutorsService, i7.AlertsService, i13.GridService, i14.LocalStorageService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardDragSourceTasksComponentNgFactory = i1.ɵccf(\"sym-planboard-drag-source-tasks\", i11.PlanboardDragSourceTasksComponent, View_PlanboardDragSourceTasksComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\", selectedTeam: \"selectedTeam\" }, {}, []);\nexport { PlanboardDragSourceTasksComponentNgFactory as PlanboardDragSourceTasksComponentNgFactory };\n","/**\n * @file Planboard drag source appointments component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceAppointmentsBaseComponent } from '../drag-source-appointments-base/drag-source-appointments-base.component';\nimport { DomainService } from '../../domain.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { GridService } from '../grid.service';\n/** Planboard drag source appointments component. */\nvar PlanboardDragSourceAppointmentsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardDragSourceAppointmentsComponent, _super);\n /**\n * Constructs PlanboarDragSourceAppointmentsComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function PlanboardDragSourceAppointmentsComponent(domainService, executorsService, alertsService, gridService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService) || this;\n _this._selectedTeam = null;\n _this.initiateExecutors();\n return _this;\n }\n Object.defineProperty(PlanboardDragSourceAppointmentsComponent.prototype, \"selectedTeam\", {\n get: function () {\n return this._selectedTeam;\n },\n set: function (value) {\n if (this._selectedTeam === value) {\n return;\n }\n this._selectedTeam = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardDragSourceAppointmentsComponent.prototype, \"teamOid\", {\n get: function () {\n if (this._selectedTeam == null) {\n return '?';\n }\n return this._selectedTeam['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n return PlanboardDragSourceAppointmentsComponent;\n}(DragSourceAppointmentsBaseComponent));\nexport { PlanboardDragSourceAppointmentsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard drag source appointments component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i6 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i7 from \"../../domain.service\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"../../core/localisation.service\";\nimport * as i10 from \"../../core/overlay.service\";\nimport * as i11 from \"./planboard-drag-source-appointments.component\";\nimport * as i12 from \"../executors.service\";\nimport * as i13 from \"../grid.service\";\nvar styles_PlanboardDragSourceAppointmentsComponent = [i0.styles];\nvar RenderType_PlanboardDragSourceAppointmentsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PlanboardDragSourceAppointmentsComponent, data: {} });\nexport { RenderType_PlanboardDragSourceAppointmentsComponent as RenderType_PlanboardDragSourceAppointmentsComponent };\nfunction View_PlanboardDragSourceAppointmentsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_PlanboardDragSourceAppointmentsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-appointment\"]], [[4, \"background-color\", null], [4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 9, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 6, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(15, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = \"sym-pattern sym-pattern-appointment\"; var currVal_3 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; var currVal_1 = _co.colorTools.maxContrast(_v.context.$implicit.Color, 20); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.PROJECTNAME\")), \"\"); _ck(_v, 10, 0, currVal_5); var currVal_6 = (_v.context.$implicit.Project ? (_v.context.$implicit.Project.Name + \" \\u2022 \") : \"\"); _ck(_v, 12, 0, currVal_6); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.GRIDS.SOURCE.CUSTOMERNAME\")), \"\"); _ck(_v, 13, 0, currVal_7); var currVal_8 = (_v.context.$implicit.Customer ? ((((_v.context.$implicit.Customer.FirstName + \" \") + _v.context.$implicit.Customer.Prefix) + \" \") + _v.context.$implicit.Customer.Name) : \"\"); _ck(_v, 15, 0, currVal_8); }); }\nexport function View_PlanboardDragSourceAppointmentsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 50, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 49, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 48, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 28, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 27, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 26, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 22, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 21, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 12).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 12).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.timed = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(12, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(14, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(16, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.timed = !_co.timed) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(21, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(22, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(25, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(26, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(27, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(30, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(31, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(32, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 35).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 35).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(35, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(37, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(39, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceAppointmentsComponent_1)), i1.ɵdid(41, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(42, 0, null, null, 5, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(44, 0, null, null, 3, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 45).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filter = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i5.View_InputEntityComponent_0, i5.RenderType_InputEntityComponent)), i1.ɵdid(45, 245760, null, 0, i6.InputEntityComponent, [i7.DomainService, i8.AlertsService, i3.TranslateService, i9.LocalisationService, i10.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" }), i1.ɵpad(46, 2), i1.ɵpod(47, { dataSource: 0, entity: 1, fields: 2, displayFormat: 3 }), (_l()(), i1.ɵeld(48, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceAppointmentsComponent_2)), i1.ɵdid(50, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_9 = _co.timed; _ck(_v, 14, 0, currVal_9); var currVal_12 = \"btn btn-sm btn-link p-0\"; var currVal_13 = _ck(_v, 22, 0, _co.isLoading); _ck(_v, 21, 0, currVal_12, currVal_13); var currVal_14 = \"icon sym-icon-refresh\"; var currVal_15 = _ck(_v, 26, 0, _co.isLoading); _ck(_v, 25, 0, currVal_14, currVal_15); var currVal_17 = \"icon sym-icon-pin\"; var currVal_18 = _ck(_v, 31, 0, !_co.griddrag.pinned); _ck(_v, 30, 0, currVal_17, currVal_18); var currVal_26 = _co.selectedExecutorName; _ck(_v, 37, 0, currVal_26); var currVal_27 = _co.availableExecutors; _ck(_v, 41, 0, currVal_27); var currVal_28 = _co.dragSourceBaseControl; var currVal_29 = _co.filter; var currVal_30 = _ck(_v, 47, 0, \"ResourceItems\", \"Resource\", _ck(_v, 46, 0, \"FirstName\", \"Name\"), \"[Name] ([FirstName])\"); _ck(_v, 45, 0, currVal_28, currVal_29, currVal_30); var currVal_31 = _co.items; _ck(_v, 50, 0, currVal_31); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.GRIDS.DROP.APPOINTMENTS\")); var currVal_1 = _co.count; _ck(_v, 7, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵnov(_v, 16).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 16).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 16).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 16).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 16).ngClassValid; var currVal_7 = i1.ɵnov(_v, 16).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 16).ngClassPending; _ck(_v, 11, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_10 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.GRIDS.DRAG.TIMED\")); _ck(_v, 18, 0, currVal_10); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 23).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 20, 0, currVal_11); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 27, 0, currVal_16); var currVal_19 = i1.ɵnov(_v, 39).ngClassUntouched; var currVal_20 = i1.ɵnov(_v, 39).ngClassTouched; var currVal_21 = i1.ɵnov(_v, 39).ngClassPristine; var currVal_22 = i1.ɵnov(_v, 39).ngClassDirty; var currVal_23 = i1.ɵnov(_v, 39).ngClassValid; var currVal_24 = i1.ɵnov(_v, 39).ngClassInvalid; var currVal_25 = i1.ɵnov(_v, 39).ngClassPending; _ck(_v, 34, 0, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25); }); }\nexport function View_PlanboardDragSourceAppointmentsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-drag-source-appointments\", [], null, null, null, View_PlanboardDragSourceAppointmentsComponent_0, RenderType_PlanboardDragSourceAppointmentsComponent)), i1.ɵdid(1, 245760, null, 0, i11.PlanboardDragSourceAppointmentsComponent, [i7.DomainService, i12.ExecutorsService, i8.AlertsService, i13.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardDragSourceAppointmentsComponentNgFactory = i1.ɵccf(\"sym-planboard-drag-source-appointments\", i11.PlanboardDragSourceAppointmentsComponent, View_PlanboardDragSourceAppointmentsComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\", selectedTeam: \"selectedTeam\" }, {}, []);\nexport { PlanboardDragSourceAppointmentsComponentNgFactory as PlanboardDragSourceAppointmentsComponentNgFactory };\n","/**\n * @file Planboard Drag source services component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceServicesBaseComponent } from '../drag-source-services-base/drag-source-services-base.component';\nimport { DomainService } from '../../domain.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { GridService } from '../grid.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/** Planboad drag source services component. */\nvar PlanboardDragSourceServicesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardDragSourceServicesComponent, _super);\n /**\n * Constructs DragSourceServicesBaseComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function PlanboardDragSourceServicesComponent(domainService, executorsService, alertsService, gridService, localisationService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService, localisationService) || this;\n _this._selectedTeam = null;\n _this.initiateExecutors();\n return _this;\n }\n Object.defineProperty(PlanboardDragSourceServicesComponent.prototype, \"selectedTeam\", {\n get: function () {\n return this._selectedTeam;\n },\n set: function (value) {\n if (this._selectedTeam === value) {\n return;\n }\n this._selectedTeam = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardDragSourceServicesComponent.prototype, \"teamOid\", {\n get: function () {\n if (this._selectedTeam == null) {\n return '?';\n }\n return this._selectedTeam['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n return PlanboardDragSourceServicesComponent;\n}(DragSourceServicesBaseComponent));\nexport { PlanboardDragSourceServicesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard Drag source services component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"ngx-moment\";\nimport * as i6 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i7 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../core/localisation.service\";\nimport * as i11 from \"../../core/overlay.service\";\nimport * as i12 from \"./planboard-drag-source-services.component\";\nimport * as i13 from \"../executors.service\";\nimport * as i14 from \"../grid.service\";\nvar styles_PlanboardDragSourceServicesComponent = [i0.styles];\nvar RenderType_PlanboardDragSourceServicesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PlanboardDragSourceServicesComponent, data: {} });\nexport { RenderType_PlanboardDragSourceServicesComponent as RenderType_PlanboardDragSourceServicesComponent };\nfunction View_PlanboardDragSourceServicesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_PlanboardDragSourceServicesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-service\"]], [[4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 10, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 7, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\" \", \" \", \" - \", \" \", \" \"])), i1.ɵppd(13, 2), i1.ɵppd(14, 2), i1.ɵppd(15, 2), i1.ɵppd(16, 2)], function (_ck, _v) { var currVal_1 = \"sym-pattern sym-pattern-service\"; var currVal_2 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; _ck(_v, 2, 0, currVal_0); var currVal_3 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_3); var currVal_4 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.STARTFINISH\")), \"\"); _ck(_v, 10, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 12, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Start, _co.localisationService.dayMonth.format)); var currVal_6 = i1.ɵunv(_v, 12, 1, _ck(_v, 14, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Start, _co.localisationService.time.format)); var currVal_7 = i1.ɵunv(_v, 12, 2, _ck(_v, 15, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Finish, _co.localisationService.dayMonth.format)); var currVal_8 = i1.ɵunv(_v, 12, 3, _ck(_v, 16, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.Finish, _co.localisationService.time.format)); _ck(_v, 12, 0, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nexport function View_PlanboardDragSourceServicesComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i5.DateFormatPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 50, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 49, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 48, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 28, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 27, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 26, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 22, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 21, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.timed = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(15, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(17, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.timed = !_co.timed) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(21, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(22, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(23, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(26, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(27, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(28, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(30, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(31, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(32, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(33, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(35, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 36).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 36).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(36, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(38, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(40, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceServicesComponent_1)), i1.ɵdid(42, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(43, 0, null, null, 5, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(44, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(45, 0, null, null, 3, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 46).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filter = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputEntityComponent_0, i6.RenderType_InputEntityComponent)), i1.ɵdid(46, 245760, null, 0, i7.InputEntityComponent, [i8.DomainService, i9.AlertsService, i3.TranslateService, i10.LocalisationService, i11.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], format: [2, \"format\"] }, { valueChange: \"valueChange\" }), i1.ɵpad(47, 2), i1.ɵpod(48, { dataSource: 0, entity: 1, fields: 2, displayFormat: 3 }), (_l()(), i1.ɵeld(49, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceServicesComponent_2)), i1.ɵdid(51, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_9 = _co.timed; _ck(_v, 15, 0, currVal_9); var currVal_12 = \"btn btn-sm btn-link p-0\"; var currVal_13 = _ck(_v, 23, 0, _co.isLoading); _ck(_v, 22, 0, currVal_12, currVal_13); var currVal_14 = \"icon sym-icon-refresh\"; var currVal_15 = _ck(_v, 27, 0, _co.isLoading); _ck(_v, 26, 0, currVal_14, currVal_15); var currVal_17 = \"icon sym-icon-pin\"; var currVal_18 = _ck(_v, 32, 0, !_co.griddrag.pinned); _ck(_v, 31, 0, currVal_17, currVal_18); var currVal_26 = _co.selectedExecutorName; _ck(_v, 38, 0, currVal_26); var currVal_27 = _co.availableExecutors; _ck(_v, 42, 0, currVal_27); var currVal_28 = _co.dragSourceBaseControl; var currVal_29 = _co.filter; var currVal_30 = _ck(_v, 48, 0, \"ResourceItems\", \"Resource\", _ck(_v, 47, 0, \"FirstName\", \"Name\"), \"[Name] ([FirstName])\"); _ck(_v, 46, 0, currVal_28, currVal_29, currVal_30); var currVal_31 = _co.items; _ck(_v, 51, 0, currVal_31); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.GRIDS.DROP.SERVICES\")); var currVal_1 = _co.count; _ck(_v, 8, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵnov(_v, 17).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 17).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 17).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 17).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 17).ngClassValid; var currVal_7 = i1.ɵnov(_v, 17).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 17).ngClassPending; _ck(_v, 12, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_10 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.GRIDS.DRAG.TIMED\")); _ck(_v, 19, 0, currVal_10); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 24).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 21, 0, currVal_11); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 28, 0, i1.ɵnov(_v, 29).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 28, 0, currVal_16); var currVal_19 = i1.ɵnov(_v, 40).ngClassUntouched; var currVal_20 = i1.ɵnov(_v, 40).ngClassTouched; var currVal_21 = i1.ɵnov(_v, 40).ngClassPristine; var currVal_22 = i1.ɵnov(_v, 40).ngClassDirty; var currVal_23 = i1.ɵnov(_v, 40).ngClassValid; var currVal_24 = i1.ɵnov(_v, 40).ngClassInvalid; var currVal_25 = i1.ɵnov(_v, 40).ngClassPending; _ck(_v, 35, 0, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25); }); }\nexport function View_PlanboardDragSourceServicesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-drag-source-services\", [], null, null, null, View_PlanboardDragSourceServicesComponent_0, RenderType_PlanboardDragSourceServicesComponent)), i1.ɵdid(1, 245760, null, 0, i12.PlanboardDragSourceServicesComponent, [i8.DomainService, i13.ExecutorsService, i9.AlertsService, i14.GridService, i10.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardDragSourceServicesComponentNgFactory = i1.ɵccf(\"sym-planboard-drag-source-services\", i12.PlanboardDragSourceServicesComponent, View_PlanboardDragSourceServicesComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\", selectedTeam: \"selectedTeam\" }, {}, []);\nexport { PlanboardDragSourceServicesComponentNgFactory as PlanboardDragSourceServicesComponentNgFactory };\n","/**\n * @file Planboard drag source absences component\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { DragSourceAbsencesBaseComponent } from '../drag-source-absences-base/drag-source-absences-base.component';\nimport { DomainService } from '../../domain.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { GridService } from '../grid.service';\n/** Planboard drag source absences component. */\nvar PlanboardDragSourceAbsencesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardDragSourceAbsencesComponent, _super);\n /**\n * Constructs PlanboardDragSourceAbsencesComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function PlanboardDragSourceAbsencesComponent(domainService, executorsService, alertsService, gridService) {\n var _this = _super.call(this, domainService, executorsService, alertsService, gridService) || this;\n _this.initiateExecutors();\n return _this;\n }\n return PlanboardDragSourceAbsencesComponent;\n}(DragSourceAbsencesBaseComponent));\nexport { PlanboardDragSourceAbsencesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard drag source absences component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../drag-source-base/drag-source-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./planboard-drag-source-absences.component\";\nimport * as i6 from \"../../domain.service\";\nimport * as i7 from \"../executors.service\";\nimport * as i8 from \"../../core/alerts.service\";\nimport * as i9 from \"../grid.service\";\nvar styles_PlanboardDragSourceAbsencesComponent = [i0.styles];\nvar RenderType_PlanboardDragSourceAbsencesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PlanboardDragSourceAbsencesComponent, data: {} });\nexport { RenderType_PlanboardDragSourceAbsencesComponent as RenderType_PlanboardDragSourceAbsencesComponent };\nfunction View_PlanboardDragSourceAbsencesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" : \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.EXECUTORS.METHOD\")); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_v.context.$implicit.label)); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_PlanboardDragSourceAbsencesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"sym-drag-spot\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"sym-drag-item\"], [\"draggable\", \"true\"]], null, [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"sym-pattern sym-pattern-absence\"]], [[4, \"border-color\", null]], null, null, null, null)), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"sym-is-draft\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-drag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"sym-text text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"div\", [[\"class\", \"sym-text text-truncate text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_1 = \"sym-pattern sym-pattern-absence\"; var currVal_2 = _ck(_v, 4, 0, _v.context.$implicit.isDraft); _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.Color; _ck(_v, 2, 0, currVal_0); var currVal_3 = _v.context.$implicit.Name; _ck(_v, 8, 0, currVal_3); var currVal_4 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"APP.GRIDS.SOURCE.SUMFACTOR\")), \"\"); _ck(_v, 10, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(_co.getLabelSumFactor(_v.context.$implicit.SumFactor))); _ck(_v, 12, 0, currVal_5); }); }\nexport function View_PlanboardDragSourceAbsencesComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 35, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 34, \"div\", [[\"class\", \"sym-grid-segment sym-b-t-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 33, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 19, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 18, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 17, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 12, \"div\", [[\"class\", \"form-check form-check-inline mr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(12, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(13, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(16, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(17, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(18, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-link sym-dragsources-pinbutton p-0\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.griddrag.togglePinned() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-pin\"]], null, null, null, null, null)), i1.ɵdid(21, 278528, null, 0, i4.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(22, { \"icon-rotate-90\": 0 }), (_l()(), i1.ɵeld(23, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 7, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 26).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 26).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedExecutorName = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(26, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(28, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(30, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceAbsencesComponent_1)), i1.ɵdid(32, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"div\", [[\"class\", \"sym-drag-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardDragSourceAbsencesComponent_2)), i1.ɵdid(35, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_3 = \"btn btn-sm btn-link p-0\"; var currVal_4 = _ck(_v, 13, 0, _co.isLoading); _ck(_v, 12, 0, currVal_3, currVal_4); var currVal_5 = \"icon sym-icon-refresh\"; var currVal_6 = _ck(_v, 17, 0, _co.isLoading); _ck(_v, 16, 0, currVal_5, currVal_6); var currVal_8 = \"icon sym-icon-pin\"; var currVal_9 = _ck(_v, 22, 0, !_co.griddrag.pinned); _ck(_v, 21, 0, currVal_8, currVal_9); var currVal_17 = _co.selectedExecutorName; _ck(_v, 28, 0, currVal_17); var currVal_18 = _co.availableExecutors; _ck(_v, 32, 0, currVal_18); var currVal_19 = _co.items; _ck(_v, 35, 0, currVal_19); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.GRIDS.DROP.ABSENCES\")); var currVal_1 = _co.count; _ck(_v, 7, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 14).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 11, 0, currVal_2); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.GRIDS.DRAG.TOGGLEPIN\")), \"\"); _ck(_v, 18, 0, currVal_7); var currVal_10 = i1.ɵnov(_v, 30).ngClassUntouched; var currVal_11 = i1.ɵnov(_v, 30).ngClassTouched; var currVal_12 = i1.ɵnov(_v, 30).ngClassPristine; var currVal_13 = i1.ɵnov(_v, 30).ngClassDirty; var currVal_14 = i1.ɵnov(_v, 30).ngClassValid; var currVal_15 = i1.ɵnov(_v, 30).ngClassInvalid; var currVal_16 = i1.ɵnov(_v, 30).ngClassPending; _ck(_v, 25, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); }); }\nexport function View_PlanboardDragSourceAbsencesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-drag-source-absences\", [], null, null, null, View_PlanboardDragSourceAbsencesComponent_0, RenderType_PlanboardDragSourceAbsencesComponent)), i1.ɵdid(1, 245760, null, 0, i5.PlanboardDragSourceAbsencesComponent, [i6.DomainService, i7.ExecutorsService, i8.AlertsService, i9.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardDragSourceAbsencesComponentNgFactory = i1.ɵccf(\"sym-planboard-drag-source-absences\", i5.PlanboardDragSourceAbsencesComponent, View_PlanboardDragSourceAbsencesComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", filter: \"filter\", griddrag: \"griddrag\" }, {}, []);\nexport { PlanboardDragSourceAbsencesComponentNgFactory as PlanboardDragSourceAbsencesComponentNgFactory };\n","/**\n * @file Planboard grid drag component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ElementRef, NgZone } from '@angular/core';\nimport { GridDragBaseComponent } from '../grid-drag-base/grid-drag-base.component';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ExecutorsService } from '../executors.service';\nimport { DropTargetsService } from '../drop-targets.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { GridService } from '../grid.service';\n/** Planboard grid bar component. */\nvar PlanboardGridDragComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardGridDragComponent, _super);\n /**\n * Constructs PlanboardGridDragComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function PlanboardGridDragComponent(alertsService, executorsService, dropTargetsService, elementRef, ngZone, localStorageService, gridService) {\n var _this = _super.call(this, alertsService, executorsService, dropTargetsService, elementRef, ngZone, localStorageService, gridService) || this;\n /**\n * Gets, sets the selected Team of the planboard displayed.\n * This property is used to pass on the Team from\n * PlanboardGridComponent to planboard drag source components.\n * @type {Entity} The selected Team\n */\n _this.selectedTeam = null;\n return _this;\n }\n PlanboardGridDragComponent.prototype.afterInitialize = function () {\n _super.prototype.afterInitialize.call(this);\n if (!this.configuration || !this.configuration.components) {\n return;\n }\n var test = this.configuration.components.find(function (item) { return item.component.indexOf('PlanboardDragSourceTasksComponent') !== -1; });\n this.configTasksSource = test ? test.configuration : null;\n test = this.configuration.components.find(function (item) { return item.component.indexOf('PlanboardDragSourceAppointmentsComponent') !== -1; });\n this.configAppointmentsSource = test ? test.configuration : null;\n test = this.configuration.components.find(function (item) { return item.component.indexOf('PlanboardDragSourceServicesComponent') !== -1; });\n this.configServicesSource = test ? test.configuration : null;\n test = this.configuration.components.find(function (item) { return item.component.indexOf('PlanboardDragSourceAbsencesComponent') !== -1; });\n this.configAbsencesSource = test ? test.configuration : null;\n };\n return PlanboardGridDragComponent;\n}(GridDragBaseComponent));\nexport { PlanboardGridDragComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard grid drag component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../planboard-drag-source-tasks/planboard-drag-source-tasks.component.ngfactory\";\nimport * as i2 from \"../planboard-drag-source-tasks/planboard-drag-source-tasks.component\";\nimport * as i3 from \"../../domain.service\";\nimport * as i4 from \"../executors.service\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"../grid.service\";\nimport * as i7 from \"../../core/local-storage.service\";\nimport * as i8 from \"../planboard-drag-source-appointments/planboard-drag-source-appointments.component.ngfactory\";\nimport * as i9 from \"../planboard-drag-source-appointments/planboard-drag-source-appointments.component\";\nimport * as i10 from \"../planboard-drag-source-services/planboard-drag-source-services.component.ngfactory\";\nimport * as i11 from \"../planboard-drag-source-services/planboard-drag-source-services.component\";\nimport * as i12 from \"../../core/localisation.service\";\nimport * as i13 from \"../planboard-drag-source-absences/planboard-drag-source-absences.component.ngfactory\";\nimport * as i14 from \"../planboard-drag-source-absences/planboard-drag-source-absences.component\";\nimport * as i15 from \"@angular/common\";\nimport * as i16 from \"@ngx-translate/core\";\nimport * as i17 from \"./planboard-grid-drag.component\";\nimport * as i18 from \"../drop-targets.service\";\nvar styles_PlanboardGridDragComponent = [];\nvar RenderType_PlanboardGridDragComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_PlanboardGridDragComponent, data: {} });\nexport { RenderType_PlanboardGridDragComponent as RenderType_PlanboardGridDragComponent };\nfunction View_PlanboardGridDragComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-tasks\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-planboard-drag-source-tasks\", [], null, null, null, i1.View_PlanboardDragSourceTasksComponent_0, i1.RenderType_PlanboardDragSourceTasksComponent)), i0.ɵdid(2, 245760, null, 0, i2.PlanboardDragSourceTasksComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService, i7.LocalStorageService], { configuration: [0, \"configuration\"], griddrag: [1, \"griddrag\"], selectedTeam: [2, \"selectedTeam\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configTasksSource; var currVal_1 = _co; var currVal_2 = _co.selectedTeam; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PlanboardGridDragComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-appointments\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-planboard-drag-source-appointments\", [], null, null, null, i8.View_PlanboardDragSourceAppointmentsComponent_0, i8.RenderType_PlanboardDragSourceAppointmentsComponent)), i0.ɵdid(2, 245760, null, 0, i9.PlanboardDragSourceAppointmentsComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService], { configuration: [0, \"configuration\"], griddrag: [1, \"griddrag\"], selectedTeam: [2, \"selectedTeam\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configAppointmentsSource; var currVal_1 = _co; var currVal_2 = _co.selectedTeam; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PlanboardGridDragComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-services\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-planboard-drag-source-services\", [], null, null, null, i10.View_PlanboardDragSourceServicesComponent_0, i10.RenderType_PlanboardDragSourceServicesComponent)), i0.ɵdid(2, 245760, null, 0, i11.PlanboardDragSourceServicesComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService, i12.LocalisationService], { configuration: [0, \"configuration\"], griddrag: [1, \"griddrag\"], selectedTeam: [2, \"selectedTeam\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configServicesSource; var currVal_1 = _co; var currVal_2 = _co.selectedTeam; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PlanboardGridDragComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-drag-source sym-grid-drag-source-absences\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-planboard-drag-source-absences\", [], null, null, null, i13.View_PlanboardDragSourceAbsencesComponent_0, i13.RenderType_PlanboardDragSourceAbsencesComponent)), i0.ɵdid(2, 245760, null, 0, i14.PlanboardDragSourceAbsencesComponent, [i3.DomainService, i4.ExecutorsService, i5.AlertsService, i6.GridService], { configuration: [0, \"configuration\"], griddrag: [1, \"griddrag\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configAbsencesSource; var currVal_1 = _co; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_PlanboardGridDragComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-b-b-0 sym-row-drop\"]], null, [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i15.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-row-drop-active\": 0 }), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-delete-button\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i16.TranslatePipe, [i16.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-row sym-row-five-eighths sym-row-text sym-b-b-0 sym-row-drop\"; var currVal_1 = _ck(_v, 2, 0, _co.inDragMode); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(\"APP.GRIDS.DRAG.TRASH\")); _ck(_v, 6, 0, currVal_2); }); }\nexport function View_PlanboardGridDragComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 51, \"div\", [[\"class\", \"sym-grid-drag\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 50, \"div\", [[\"class\", \"sym-grid-drag-menu\"]], null, [[null, \"mouseleave\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseleave\" === en)) {\n var pd_0 = (_co.closeSourceDelayed() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 278528, null, 0, i15.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(3, { \"sym-no-create-allowed\": 0 }), (_l()(), i0.ɵeld(4, 0, null, null, 47, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 46, \"div\", [[\"class\", \"sym-grid-segment\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 45, \"div\", [[\"class\", \"sym-rows sym-b-l-0 sym-b-r-0\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 0, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-b-b-0\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 0, \"div\", [[\"class\", \"sym-column sym-column-full\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"tasks\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(11, 278528, null, 0, i15.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(12, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-task sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(16, null, [\"\", \"\"])), i0.ɵpid(131072, i16.TranslatePipe, [i16.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDragComponent_1)), i0.ɵdid(19, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"appointments\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(21, 278528, null, 0, i15.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(22, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(23, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(24, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-appointment sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(25, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(26, null, [\"\", \"\"])), i0.ɵpid(131072, i16.TranslatePipe, [i16.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDragComponent_2)), i0.ɵdid(29, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(30, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"services\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(31, 278528, null, 0, i15.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(32, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(33, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-service sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(35, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(36, null, [\"\", \"\"])), i0.ɵpid(131072, i16.TranslatePipe, [i16.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDragComponent_3)), i0.ɵdid(39, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(40, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"]], null, [[null, \"mouseenter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.openSource(\"absences\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(41, 278528, null, 0, i15.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(42, { \"drag-source-open\": 0, \"last-dragsource-open\": 1 }), (_l()(), i0.ɵeld(43, 0, null, null, 4, \"div\", [[\"class\", \"sym-column sym-column-full sym-b-r-0 sym-drag-source-button sym-clickable\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(44, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-absence sym-column-icon\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(45, 0, null, null, 2, \"div\", [[\"class\", \"sym-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(46, null, [\"\", \"\"])), i0.ɵpid(131072, i16.TranslatePipe, [i16.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDragComponent_4)), i0.ɵdid(49, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDragComponent_5)), i0.ɵdid(51, 16384, null, 0, i15.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-grid-drag-menu\"; var currVal_1 = _ck(_v, 3, 0, !_co.canCreate); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_3 = _ck(_v, 12, 0, _co.isSourceOpen(\"tasks\"), _co.isLastOpenedDragsource(\"tasks\")); _ck(_v, 11, 0, currVal_2, currVal_3); var currVal_5 = _co.canCreate; _ck(_v, 19, 0, currVal_5); var currVal_6 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_7 = _ck(_v, 22, 0, _co.isSourceOpen(\"appointments\"), _co.isLastOpenedDragsource(\"appointments\")); _ck(_v, 21, 0, currVal_6, currVal_7); var currVal_9 = _co.canCreate; _ck(_v, 29, 0, currVal_9); var currVal_10 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_11 = _ck(_v, 32, 0, _co.isSourceOpen(\"services\"), _co.isLastOpenedDragsource(\"services\")); _ck(_v, 31, 0, currVal_10, currVal_11); var currVal_13 = _co.canCreate; _ck(_v, 39, 0, currVal_13); var currVal_14 = \"sym-row sym-row-five-eighths sym-row-text sym-row-as-button\"; var currVal_15 = _ck(_v, 42, 0, _co.isSourceOpen(\"absences\"), _co.isLastOpenedDragsource(\"absences\")); _ck(_v, 41, 0, currVal_14, currVal_15); var currVal_17 = _co.canCreate; _ck(_v, 49, 0, currVal_17); var currVal_18 = _co.canDelete; _ck(_v, 51, 0, currVal_18); }, function (_ck, _v) { var currVal_4 = i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.GRIDS.DRAG.PROJECT_TASKS\")); _ck(_v, 16, 0, currVal_4); var currVal_8 = i0.ɵunv(_v, 26, 0, i0.ɵnov(_v, 27).transform(\"APP.GRIDS.DRAG.APPOINTMENTS\")); _ck(_v, 26, 0, currVal_8); var currVal_12 = i0.ɵunv(_v, 36, 0, i0.ɵnov(_v, 37).transform(\"APP.GRIDS.DRAG.SERVICES\")); _ck(_v, 36, 0, currVal_12); var currVal_16 = i0.ɵunv(_v, 46, 0, i0.ɵnov(_v, 47).transform(\"APP.GRIDS.DRAG.ABSENCES\")); _ck(_v, 46, 0, currVal_16); }); }\nexport function View_PlanboardGridDragComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-planboard-grid-drag\", [], null, [[\"window\", \"dragstart\"], [\"window\", \"dragend\"]], function (_v, en, $event) { var ad = true; if ((\"window:dragstart\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).onDragOver($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"window:dragend\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 1).onDragLeave($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, View_PlanboardGridDragComponent_0, RenderType_PlanboardGridDragComponent)), i0.ɵdid(1, 245760, null, 0, i17.PlanboardGridDragComponent, [i5.AlertsService, i4.ExecutorsService, i18.DropTargetsService, i0.ElementRef, i0.NgZone, i7.LocalStorageService, i6.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardGridDragComponentNgFactory = i0.ɵccf(\"sym-planboard-grid-drag\", i17.PlanboardGridDragComponent, View_PlanboardGridDragComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", selectedTeam: \"selectedTeam\" }, {}, []);\nexport { PlanboardGridDragComponentNgFactory as PlanboardGridDragComponentNgFactory };\n","/**\n * @file Component to view the number of calls\n * @author Heino Lenting, Maarten Lensink\n */\nimport { SettingsService } from '../settings.service';\nvar PluginPairService = /** @class */ (function () {\n /**\n * Creates an instance of PluginPairService\n * @param {SettingsService} settingsService The settings service\n * @memberOf PluginPairService\n */\n function PluginPairService(settingsService) {\n // List of plugins (Add 'PLUGIN_CAPACITY' etc to make the Capacity plugin visible)\n this.normalPluginPairs = [\n {\n name: 'PLUGIN_EMPTY',\n title: 'APP.PLUGINS.PLUGIN_EMPTY',\n filterMethod: 'none',\n views: ['sym-plugin-view-empty']\n },\n {\n name: 'PLUGIN_SHIFTS',\n title: 'APP.PLUGINS.PLUGIN_SHIFTS',\n filterMethod: 'function',\n views: ['sym-plugin-view-empty', 'sym-plugin-view-attendants']\n }\n ];\n this.scriptingPluginPairs = [\n {\n name: 'PLUGIN_EMPTY',\n title: 'APP.PLUGINS.PLUGIN_EMPTY',\n filterMethod: 'none',\n views: ['sym-plugin-view-empty']\n },\n {\n name: 'PLUGIN_CONTROLS',\n title: 'APP.PLUGINS.PLUGIN_CONTROLS',\n filterMethod: 'function',\n views: ['sym-plugin-view-empty', 'sym-plugin-view-forecast-controls']\n },\n {\n name: 'PLUGIN_SHIFTS',\n title: 'APP.PLUGINS.PLUGIN_SHIFTS',\n filterMethod: 'function',\n views: ['sym-plugin-view-empty', 'sym-plugin-view-attendants']\n }\n ];\n // List of plugins (Add 'PLUGIN_CAPACITY' etc to make the Capacity plugin visible)\n this.forecastPluginPairs = [\n {\n name: 'PLUGINS_PAIR_EMPTY',\n title: 'APP.PLUGINS.PLUGINS_PAIR_EMPTY',\n filterMethod: 'none',\n views: ['sym-plugin-view-empty']\n },\n {\n name: 'PLUGINS_PAIR_PROGNOSES_CONTROLS',\n title: 'APP.PLUGINS.PLUGINS_PAIR_PROGNOSES_CONTROLS',\n filterMethod: 'function',\n views: ['sym-plugin-view-prognoses', 'sym-plugin-view-forecast-controls']\n },\n {\n name: 'PLUGINS_PAIR_PROGNOSES_CORRECTIONS',\n title: 'APP.PLUGINS.PLUGINS_PAIR_PROGNOSES_CORRECTIONS',\n filterMethod: 'function',\n views: ['sym-plugin-view-prognoses', 'sym-plugin-view-corrections']\n },\n {\n name: 'PLUGINS_PAIR_PROGNOSES_CALLS',\n title: 'APP.PLUGINS.PLUGINS_PAIR_PROGNOSES_CALLS',\n filterMethod: 'function',\n views: ['sym-plugin-view-prognoses', 'sym-plugin-view-calls']\n },\n {\n name: 'PLUGINS_PAIR_CAPACITY_SHRINKAGE',\n title: 'APP.PLUGINS.PLUGINS_PAIR_CAPACITY_SHRINKAGE',\n filterMethod: 'function',\n views: ['sym-plugin-view-capacity', 'sym-plugin-view-shrinkage']\n },\n {\n name: 'PLUGINS_PAIR_CHECK_SCRIPT',\n title: 'APP.PLUGINS.PLUGINS_PAIR_CHECK_SCRIPT',\n filterMethod: 'function',\n views: ['sym-plugin-view-service-level', 'sym-plugin-view-generated']\n },\n {\n name: 'PLUGINS_PAIR_SLA_FORECAST',\n title: 'APP.PLUGINS.PLUGINS_PAIR_SLA_FORECAST',\n filterMethod: 'function',\n views: ['sym-plugin-view-service-level', 'sym-plugin-view-attendants']\n },\n {\n name: 'PLUGINS_PAIR_CAPACITY_FORECAST',\n title: 'APP.PLUGINS.PLUGINS_PAIR_CAPACITY_FORECAST',\n filterMethod: 'function',\n views: ['sym-plugin-view-capacity', 'sym-plugin-view-attendants']\n },\n {\n name: 'PLUGIN_SHIFTS',\n title: 'APP.PLUGINS.PLUGIN_SHIFTS',\n filterMethod: 'function',\n views: ['sym-plugin-view-empty', 'sym-plugin-view-attendants']\n }\n ];\n if (settingsService.settings.forecast) {\n this.pluginPairs = this.forecastPluginPairs;\n }\n else if (settingsService.settings.autoplan) {\n this.pluginPairs = this.scriptingPluginPairs;\n }\n else {\n this.pluginPairs = this.normalPluginPairs;\n }\n }\n Object.defineProperty(PluginPairService.prototype, \"selectedPluginPair\", {\n /**\n * Get the selected plugins pair\n * @readonly\n * @type {PluginPair}\n * @memberOf PluginPairService\n */\n get: function () {\n if (this._pluginPair) {\n return this._pluginPair;\n }\n return this.pluginPairs[0];\n },\n /**\n * Sets the selected plugins pair\n * @memberOf PluginPairService\n */\n set: function (pluginPair) {\n if (this.pluginPairs.indexOf(pluginPair) > -1) {\n this._pluginPair = pluginPair;\n }\n else {\n this.clearSelected();\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Clear the selection\n * @memberOf PluginPairService\n */\n PluginPairService.prototype.clearSelected = function () {\n this._pluginPair = undefined;\n this.selectedFunction = undefined;\n };\n return PluginPairService;\n}());\nexport { PluginPairService };\n","/**\n * @file The Plugin Pair Selector component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter, OnDestroy } from '@angular/core';\nimport { AbstractComponent } from '../../../core/helpers/abstract-component';\nimport { EventsService } from '../../../core/event.service';\nimport { ForecastService } from '../../../forecast/forecast.service';\nimport { DomainService } from '../../../domain.service';\nimport { LocalStorageService } from '../../../core/local-storage.service';\nimport { PluginPairService } from '../../plugin-pair.service';\nimport { AlertsService } from '../../../core/alerts.service';\nvar PluginPairSelectorComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginPairSelectorComponent, _super);\n /**\n * Creates an instance of PluginPairSelectorComponent.\n * @param {PluginPairService} pluginPairService The plugin pair service.\n * @param {DomainService} domainService The domain service is used to get all functions.\n * @param {ForecastService} forecastService The forecast service is used to get the forecast functions.\n * @param {EventsService} eventsService The events service is used to fire an event when the pair selection has changed.\n * @memberOf PluginPairSelectorComponent\n */\n function PluginPairSelectorComponent(pluginPairService, domainService, forecastService, localStorageService, eventsService, alertsService) {\n var _this = _super.call(this, alertsService) || this;\n _this.pluginPairService = pluginPairService;\n _this.domainService = domainService;\n _this.forecastService = forecastService;\n _this.localStorageService = localStorageService;\n _this.eventsService = eventsService;\n _this.alertsService = alertsService;\n /**\n * The selectable functions.\n * @type {Entity[]}\n * @memberOf PluginPairSelectorComponent\n */\n _this.functionEntities = [];\n return _this;\n }\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n PluginPairSelectorComponent.prototype.afterInitialize = function () {\n var selected = this.localStorageService.readProperty('local', PluginPairSelectorComponent.STORED_SELECTED_PAIR, undefined);\n if (selected) {\n this.pluginPairService.selectedPluginPair = this.pluginPairService.pluginPairs.find(function (pair) { return pair.name === selected; });\n this.setFunctions();\n }\n else {\n this.localStorageService.updateProperty('local', PluginPairSelectorComponent.STORED_SELECTED_PAIR, this.pluginPairService.selectedPluginPair);\n }\n this.pluginPairSelectorChanged = this.eventsService.register('plugin-selector-changed');\n };\n /**\n * Used to notify other of a plugin pair change.\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.pluginPairChanged = function () {\n this.pluginPairSelectorChanged.emit(true);\n this.localStorageService.updateProperty('local', PluginPairSelectorComponent.STORED_SELECTED_PAIR, this.pluginPairService.selectedPluginPair.name);\n if (this.pluginPairService.selectedPluginPair.filterMethod === 'function') {\n this.setFunctions();\n }\n };\n /**\n * Used to notify other of a function entity change.\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.functionEntityChanged = function () {\n this.pluginPairSelectorChanged.emit(true);\n if (this.pluginPairService.selectedFunction) {\n this.localStorageService.updateProperty('local', PluginPairSelectorComponent.STORED_SELECTED_FUNCTION, this.pluginPairService.selectedFunction['Oid']);\n }\n else {\n this.localStorageService.deleteProperty('local', PluginPairSelectorComponent.STORED_SELECTED_FUNCTION);\n }\n };\n /**\n * The current function Entity.\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.functionEntityName = function () {\n return (this.pluginPairService.selectedFunction) ? this.pluginPairService.selectedFunction['Name'] : undefined;\n };\n /**\n * Check if the function select is needed.\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.showFunctionSelect = function () {\n return (this.pluginPairService.selectedPluginPair.filterMethod === 'function' && this.functionEntities);\n };\n /**\n * Is used to disable or enable the refresh button for the plugin pair selector.\n * @returns {Boolean} When true refresh button is enabled otherwise disabled.\n */\n PluginPairSelectorComponent.prototype.showPluginPairRefresh = function () {\n if (this.pluginPairService.selectedPluginPair.name === 'PLUGIN_EMPTY' || this.pluginPairService.selectedPluginPair.name === 'PLUGINS_PAIR_EMPTY') {\n return false;\n }\n return (this.pluginPairService.selectedPluginPair.filterMethod === 'none');\n };\n /**\n * Is used to disable or enable the refresh button.\n * @returns {Boolean} When true refresh button is enabled otherwise disabled.\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.refreshable = function () {\n if (this.pluginPairService.selectedPluginPair.name !== 'PLUGINS_PAIR_PROGNOSES_CONTROLS') {\n return true;\n }\n return this.pluginPairService.selectedFunction != null;\n };\n /**\n * Refresh the plugins.\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.refreshPlugins = function () {\n this.pluginPairSelectorChanged.emit(true);\n };\n /**\n * Clear the selection to improve performance.\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n this.pluginPairService.clearSelected();\n };\n /**\n * Retrieves the relevant functions.\n * @private\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.setFunctions = function () {\n var _this = this;\n var dataSource = this.configuration.data.dataSource;\n this.functionEntities.length = 0;\n switch (this.pluginPairService.selectedPluginPair.name) {\n case 'PLUGINS_PAIR_PROGNOSES_CALLS':\n case 'PLUGINS_PAIR_PROGNOSES_CORRECTIONS':\n case 'PLUGINS_PAIR_PROGNOSES_CONTROLS':\n case 'PLUGINS_PAIR_CAPACITY_SHRINKAGE':\n case 'PLUGINS_PAIR_CHECK_SCRIPT':\n case 'PLUGINS_PAIR_CAPACITY_FORECAST':\n case 'PLUGINS_PAIR_CAPACITY_FORECAST_EXTRA':\n case 'PLUGINS_PAIR_SLA_FORECAST':\n case 'PLUGINS_PAIR_SLA_FORECAST_EXTRA':\n if (!this.forecastService.entityManager) {\n this.alertsService.createAlert('danger', 'APP.GRIDS.NO_FORECAST_SERVICE');\n return;\n }\n this.forecastService.entityManager.executeQuery(dataSource, function (response) {\n response.results.forEach(function (entity) {\n _this.functionEntities.push(entity);\n });\n _this.functionEntities.sort(_this.sortByProperty('Name'));\n _this.setSelectedFunction();\n });\n break;\n case 'PLUGIN_CONTROLS':\n case 'PLUGIN_SHIFTS':\n case 'PLUGIN_SHIFTS_EXTRA':\n this.domainService.entityManager.executeQuery('FunctionItems', function (response) {\n response.results.forEach(function (entity) {\n _this.functionEntities.push(entity);\n });\n _this.functionEntities.sort(_this.sortByProperty('Name'));\n _this.setSelectedFunction();\n });\n break;\n }\n };\n /**\n * Sets the previously selected function, if any.\n * @private\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.setSelectedFunction = function () {\n var selected = this.localStorageService.readProperty('local', PluginPairSelectorComponent.STORED_SELECTED_FUNCTION, undefined);\n if (selected) {\n this.pluginPairService.selectedFunction = this.functionEntities.find(function (f) { return f['Oid'] === selected; });\n this.refreshPlugins();\n }\n };\n /**\n * Returns an array sort function that sorts by the given property.\n * @private\n * @param {string} property The name of the property\n * @returns A function that can be used as parameter of Array.prototype.sort()\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.prototype.sortByProperty = function (property) {\n return function (value1, value2) {\n if (value1[property] < value2[property]) {\n return -1;\n }\n if (value1[property] > value2[property]) {\n return 1;\n }\n return 0;\n };\n };\n /**\n * The string is used to update and read the selected plugin pair in the local storage.\n * @private\n * @static\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.STORED_SELECTED_PAIR = 'selected-plugin-pair';\n /**\n * The string is used to update and read the selected function in the local storage.\n * @private\n * @static\n * @memberOf PluginPairSelectorComponent\n */\n PluginPairSelectorComponent.STORED_SELECTED_FUNCTION = 'selected-plugin-function';\n return PluginPairSelectorComponent;\n}(AbstractComponent));\nexport { PluginPairSelectorComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Plugin Pair Selector component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./plugin-pair-selector.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./plugin-pair-selector.component\";\nimport * as i6 from \"../../plugin-pair.service\";\nimport * as i7 from \"../../../domain.service\";\nimport * as i8 from \"../../../forecast/forecast.service\";\nimport * as i9 from \"../../../core/local-storage.service\";\nimport * as i10 from \"../../../core/event.service\";\nimport * as i11 from \"../../../core/alerts.service\";\nvar styles_PluginPairSelectorComponent = [i0.styles];\nvar RenderType_PluginPairSelectorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PluginPairSelectorComponent, data: {} });\nexport { RenderType_PluginPairSelectorComponent as RenderType_PluginPairSelectorComponent };\nfunction View_PluginPairSelectorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_v.context.$implicit.title)); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_PluginPairSelectorComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-sm btn-secondary sym-method-select \"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refreshPlugins() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_1 = !_co.refreshable(); _ck(_v, 1, 0, currVal_0, currVal_1); }); }\nfunction View_PluginPairSelectorComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit[\"Name\"]; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_PluginPairSelectorComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"sym-plugin-pair-selector-part mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 17, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 12, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 3).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.pluginPairService.selectedFunction = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.functionEntityChanged() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(8, 0, null, null, 4, \"option\", [], null, null, null, null, null)), i1.ɵdid(9, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(10, 147456, null, 0, i2.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairSelectorComponent_4)), i1.ɵdid(14, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-sm btn-secondary sym-method-select \"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refreshPlugins() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.pluginPairService.selectedFunction; _ck(_v, 5, 0, currVal_8); var currVal_9 = undefined; _ck(_v, 9, 0, currVal_9); var currVal_10 = undefined; _ck(_v, 10, 0, currVal_10); var currVal_12 = _co.functionEntities; _ck(_v, 14, 0, currVal_12); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.functionEntityName(), \"\"); var currVal_1 = i1.ɵnov(_v, 7).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 7).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 7).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 7).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 7).ngClassValid; var currVal_6 = i1.ɵnov(_v, 7).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 7).ngClassPending; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_11 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"APP.PLUGINS.PICK_FUNCTION\")); _ck(_v, 11, 0, currVal_11); var currVal_13 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_14 = !_co.refreshable(); _ck(_v, 16, 0, currVal_13, currVal_14); }); }\nexport function View_PluginPairSelectorComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"sym-plugin-pair-selector\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"sym-plugin-pair-selector-part mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 11, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 8, \"select\", [[\"class\", \"custom-select form-control-sm sym-method-select\"]], [[8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.pluginPairService.selectedPluginPair = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.pluginPairChanged() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(6, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(8, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairSelectorComponent_1)), i1.ɵdid(11, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairSelectorComponent_2)), i1.ɵdid(13, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairSelectorComponent_3)), i1.ɵdid(15, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.pluginPairService.selectedPluginPair; _ck(_v, 6, 0, currVal_8); var currVal_9 = _co.pluginPairService.pluginPairs; _ck(_v, 11, 0, currVal_9); var currVal_10 = _co.showPluginPairRefresh(); _ck(_v, 13, 0, currVal_10); var currVal_11 = _co.showFunctionSelect(); _ck(_v, 15, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 9).transform(_co.pluginPairService.selectedPluginPair.title)), \"\"); var currVal_1 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 8).ngClassValid; var currVal_6 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nexport function View_PluginPairSelectorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-pair-selector\", [], null, null, null, View_PluginPairSelectorComponent_0, RenderType_PluginPairSelectorComponent)), i1.ɵdid(1, 245760, null, 0, i5.PluginPairSelectorComponent, [i6.PluginPairService, i7.DomainService, i8.ForecastService, i9.LocalStorageService, i10.EventsService, i11.AlertsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PluginPairSelectorComponentNgFactory = i1.ɵccf(\"sym-plugin-pair-selector\", i5.PluginPairSelectorComponent, View_PluginPairSelectorComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { PluginPairSelectorComponentNgFactory as PluginPairSelectorComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Plugin Pair Selector component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"@media (max-width:767.98px){.sym-plugin-pair-selector[_ngcontent-%COMP%]{padding-right:1rem}}.sym-plugin-pair-selector[_ngcontent-%COMP%] .sym-plugin-pair-selector-part[_ngcontent-%COMP%]{height:43px;border:1px solid #ccc;padding:5px 4px 0}.sym-plugin-pair-selector[_ngcontent-%COMP%] .sym-plugin-pair-selector-part[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:4px}\"];\nexport { styles as styles };\n","/**\n * A Component to show hour summations in the banner of the planboard.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { Resource } from '../../domain/helpers/resource';\nimport * as moment from 'moment';\nimport { durationToText } from '../../core/helpers/durationToText';\nimport { DomainService } from '../../domain.service';\nimport { EntityQuery } from 'breeze-client';\nimport { GridService } from '../grid.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * A Component to show hour summations in the banner of the planboard.\n * @export\n * @class PlanboardRowInfoComponent\n * @implements {OnDestroy}\n */\nvar PlanboardRowInfoComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardRowInfoComponent, _super);\n /**\n * Creates an instance of PlanboardRowInfoComponent.\n * @param {DomainService} domainService The domain service to query for the contract hours.\n */\n function PlanboardRowInfoComponent(domainService, gridService) {\n var _this = _super.call(this) || this;\n _this.domainService = domainService;\n _this.gridService = gridService;\n // The placeholder for the loading state\n _this.loadingPlaceholder = '??:??';\n /**\n * Reference to the Resource of this PlanboardRowInfoComponent\n * @private\n * @type {Resource}\n */\n _this._resource = null;\n /**\n * Gets, sets the contract hours displayed.\n */\n _this.contract = '';\n /**\n * Gets, sets the displayed value.\n */\n _this.work = '';\n /**\n * Gets, sets the displayed hours of leave.\n */\n _this.absence = '';\n /**\n * Gets, sets the loading flag\n * so that the loading animation is shown on the appropriate moment.\n */\n _this.loading = false;\n _this.subscriptionPool.add(_this.gridService.stateChanged.subscribe(function () {\n if (_this._resource) {\n _this.refreshValueWith(_this._resource.$getRow());\n }\n }));\n return _this;\n }\n Object.defineProperty(PlanboardRowInfoComponent.prototype, \"resource\", {\n /**\n * Sets the Resource\n */\n set: function (value) {\n var _this = this;\n if (value === this._resource) {\n return;\n }\n if (this._resource) {\n this.subscriptionPool.unsubscribeAll();\n this.subscriptionPool.add(this.gridService.stateChanged.subscribe(function () {\n if (_this._resource) {\n _this.refreshValueWith(_this._resource.$getRow());\n }\n }));\n }\n this._resource = value;\n if (value == null) {\n return;\n }\n this.subscriptionPool.add(value.onRowChanged.subscribe(function (result) {\n _this.refreshValueWith(result);\n }));\n this.refreshValueWith(this._resource.$getRow());\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardRowInfoComponent.prototype, \"showInfo\", {\n /**\n * Gets the show info flag.\n * @readonly\n * @type {boolean} Is true when the horizon level is \"week\", otherwise false.\n */\n get: function () {\n return this.gridService.level.name === 'week' || this.gridService.level.name === 'day';\n },\n enumerable: true,\n configurable: true\n });\n /**\n * A refresh the current value with a new dataset\n * @private\n * @param {DataSet} data\n * @returns\n */\n PlanboardRowInfoComponent.prototype.refreshValueWith = function (data) {\n var _this = this;\n this.work = this.loadingPlaceholder;\n this.absence = this.loadingPlaceholder;\n if (data == null) {\n return;\n }\n var parameters = data.queryOptions.parameters;\n // Vanwege IE, gebruik moment voor string naar date.\n var start = moment(parameters['start']).toDate();\n if (this.gridService.startDate.toDate().getDate() !== start.getDate()) {\n // Vergelijk getDate() i.p.v. getTime()\n return;\n }\n var secondsWork = 0;\n var secondsAbsence = 0;\n data.items.map(function (item) { return item; }).filter(function (item) { return item.Item != null; }).forEach(function (item) {\n switch (item.ItemClass) {\n case 'Appointment':\n secondsAbsence += item.Item['overlapEffort'](_this.gridService.startDate, _this.gridService.endDate);\n break;\n case 'Assignment':\n case 'Attendant':\n secondsWork += item.Item['overlapEffort'](_this.gridService.startDate, _this.gridService.endDate);\n break;\n }\n });\n var minutes = Math.round(secondsWork / 60);\n this.work = durationToText(moment.duration(Math.abs(minutes), 'minutes'));\n if (minutes < 0) {\n this.work = '-' + this.work;\n }\n minutes = Math.round(secondsAbsence / 60);\n this.absence = durationToText(moment.duration(Math.abs(minutes), 'minutes'));\n if (minutes < 0) {\n this.absence = '-' + this.absence;\n }\n if (this.gridService.level.name !== 'week') {\n return;\n }\n this.contract = this.loadingPlaceholder;\n this.loading = true;\n var query = new EntityQuery('ContractHoursOn');\n query.parameters = { oid: parameters['oid'], view: start };\n this.domainService.entityManager.executeQuery(query).then(function (response) {\n if (_this._resource == null || _this._resource.Oid !== response.results[0]['oid']) {\n // Fix issue: Soms worden er andere uren getoond bij de banner van de medewerker in planbord #4161\n // Door een andere datum te kiezen, 1 sec wachten, dan andere pagina kiezen, kan:\n // Oorsponkelijke query later binnen komen nadat de medewerker van PlanboardRowInfoComponent verandert is.\n _this.loading = false;\n return;\n }\n _this.contract = durationToText(moment.duration(response.results[0]['contract']));\n _this.loading = false;\n });\n };\n return PlanboardRowInfoComponent;\n}(AbstractBase));\nexport { PlanboardRowInfoComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * A Component to show hour summations in the banner of the planboard.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./planboard-row-info.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./planboard-row-info.component\";\nimport * as i5 from \"../../domain.service\";\nimport * as i6 from \"../grid.service\";\nvar styles_PlanboardRowInfoComponent = [i0.styles];\nvar RenderType_PlanboardRowInfoComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PlanboardRowInfoComponent, data: {} });\nexport { RenderType_PlanboardRowInfoComponent as RenderType_PlanboardRowInfoComponent };\nfunction View_PlanboardRowInfoComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"em\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(2, null, [\" \", \"\\u00A0 \"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"APP.GRIDS.CONTRACT_HOURS\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.contract; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_PlanboardRowInfoComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-row-info\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardRowInfoComponent_2)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"em\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(5, null, [\" \", \"\\u00A0 \"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"em\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(8, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.gridService.level.name === \"week\"); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.GRIDS.PLANNED_HOURS\")), \"\"); _ck(_v, 3, 0, currVal_1); var currVal_2 = _co.work; _ck(_v, 5, 0, currVal_2); var currVal_3 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.GRIDS.ABSENCE_HOURS\")), \"\"); _ck(_v, 6, 0, currVal_3); var currVal_4 = _co.absence; _ck(_v, 8, 0, currVal_4); }); }\nexport function View_PlanboardRowInfoComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardRowInfoComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.showInfo; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_PlanboardRowInfoComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-row-info\", [], null, null, null, View_PlanboardRowInfoComponent_0, RenderType_PlanboardRowInfoComponent)), i1.ɵdid(1, 180224, null, 0, i4.PlanboardRowInfoComponent, [i5.DomainService, i6.GridService], null, null)], null, null); }\nvar PlanboardRowInfoComponentNgFactory = i1.ɵccf(\"sym-planboard-row-info\", i4.PlanboardRowInfoComponent, View_PlanboardRowInfoComponent_Host_0, { resource: \"resource\" }, {}, []);\nexport { PlanboardRowInfoComponentNgFactory as PlanboardRowInfoComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * A Component to show hour summations in the banner of the planboard.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"em[_ngcontent-%COMP%]{color:#6c757d}.sym-row-info[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\"];\nexport { styles as styles };\n","/**\n * @file Planboard grid bar component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter, ElementRef, NgZone, AfterViewInit } from '@angular/core';\nimport { GridBarBaseComponent } from '../grid-bar-base/grid-bar-base.component';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { DomainService } from '../../domain.service';\nimport { PropertyFilter } from '../../core/helpers/property-filter';\nimport { FilterOperators } from '../../core/helpers/filter-operators';\nimport { GridService } from '../grid.service';\nvar PlanboardGridBarComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardGridBarComponent, _super);\n /**\n * Constructs AgendaGridBarComponent.\n * @param configurationsService The configuration service to get the configuration of this component.\n * @param router The router to synchronize query parameters with component state.\n */\n function PlanboardGridBarComponent(executorsService, alertsService, elementRef, ngZone, overlayService, eventsServices, localStorageService, domainService, gridService) {\n var _this = _super.call(this, executorsService, alertsService, elementRef, ngZone, eventsServices, gridService) || this;\n _this.overlayService = overlayService;\n _this.localStorageService = localStorageService;\n _this.domainService = domainService;\n /**\n * Event that triggers when the entity that filters the shown resources is changed.\n * @memberOf PlanboardGridBarComponent\n */\n _this.filterEntityChanged = new EventEmitter();\n /**\n * Gets, sets the reference of the entity responsible for filtering the resources\n * @private\n * @type {Entity}\n * @memberOf PlanboardGridBarComponent\n */\n _this._filterEntity = null;\n /**\n * The names of the available filter sources.\n * @private\n * @memberOf PlanboardGridBarComponent\n */\n _this.filterSources = ['TEAM', 'COMPETENCE', 'REGION', 'RESOURCE', 'PROJECT'];\n /**\n * Gets, sets the flag indicating whether or not the user has changed the filter.\n * @memberOf PlanboardGridBarComponent\n */\n _this.userChangedFilter = false;\n return _this;\n }\n /**\n * Gets the format by the filtername\n * @param {string} filter the filtername\n * @type {EntityFormat}\n * @memberOf PlanboardGridBarComponent\n */\n PlanboardGridBarComponent.prototype.getFilterFormat = function (filter) {\n return this.gridService.getFormat(filter);\n };\n Object.defineProperty(PlanboardGridBarComponent.prototype, \"filterEntity\", {\n /**\n * Gets the entity used as filter for the shown resources.\n * @type {Entity}\n * @memberOf PlanboardGridBarComponent\n */\n get: function () {\n return this._filterEntity;\n },\n /**\n * Sets the entity used as filter for the shown resources.\n * @memberOf PlanboardGridBarComponent\n */\n set: function (value) {\n if (this._filterEntity === value) {\n return;\n }\n this._filterEntity = value;\n this.filterEntityChanged.emit(value);\n if (value === null) {\n this.localStorageService.deleteProperty('local', 'planboard-filter-entity');\n }\n else {\n this.localStorageService.updateProperty('local', 'planboard-filter-entity', value['Oid']);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridBarComponent.prototype, \"team\", {\n /**\n * Gets the team used as filter and needed for certain plugins.\n * @readonly\n * @type {Entity}\n * @memberOf PlanboardGridBarComponent\n */\n get: function () {\n return this._filterEntity != null && this._filterEntity.entityType.shortName === 'Team' ? this._filterEntity : null;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * The current source to select a filter entity from.\n * @returns The name of the current source.\n * @memberOf PlanboardGridBarComponent\n */\n PlanboardGridBarComponent.prototype.currentFilterSource = function () {\n return this.localStorageService.readProperty('local', 'grid-bar-filter-source', 'TEAM', this.filterSources);\n };\n /**\n * Select the next filter source\n * @memberOf PlanboardGridBarComponent\n */\n PlanboardGridBarComponent.prototype.nextFilterSource = function () {\n // Get the current filter source\n var currentFilterSource = this.currentFilterSource();\n // Find the position of the current filter source\n var position = this.filterSources.indexOf(currentFilterSource) + 1;\n // Last in list\n if (position === this.filterSources.length) {\n position = 0;\n }\n // Update the local storage\n this.localStorageService.updateProperty('local', 'grid-bar-filter-source', this.filterSources[position], this.filterSources);\n };\n /**\n * Handler for change of the filter by user.\n * @param {Event} event The selection changed event.\n */\n PlanboardGridBarComponent.prototype.filterChosen = function (event) {\n this.userChangedFilter = true;\n };\n /**\n * A lifecycle hook that is called after Angular has fully initialized the component\n * @memberOf PlanboardGridBarComponent\n */\n PlanboardGridBarComponent.prototype.ngAfterViewInit = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var filterSource, storedFilterOid, typeEntityFilter, dataSet, classID, found;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n filterSource = this.currentFilterSource();\n storedFilterOid = this.localStorageService.readProperty('local', 'planboard-filter-entity', undefined);\n if (!storedFilterOid) return [3 /*break*/, 2];\n typeEntityFilter = 'Team';\n dataSet = new DataSet(this.domainService);\n classID = storedFilterOid.substr(0, 2);\n switch (classID) {\n case '22': // Team\n dataSet.sourceName = 'TeamItems';\n typeEntityFilter = 'Team';\n filterSource = this.filterSources[0];\n break;\n case '12': // Function\n dataSet.sourceName = 'FunctionItems';\n typeEntityFilter = 'Function';\n filterSource = this.filterSources[1];\n break;\n case '32': // Region Location\n typeEntityFilter = 'Location';\n dataSet.sourceName = 'Regions';\n filterSource = this.filterSources[2];\n break;\n case 'I2': // Resource\n dataSet.sourceName = 'ResourceItems';\n typeEntityFilter = 'Resource';\n filterSource = this.filterSources[3];\n break;\n case 'O1': // Project\n dataSet.sourceName = 'ProjectItems';\n typeEntityFilter = 'Project';\n filterSource = this.filterSources[4];\n break;\n default:\n // Filter source is niet ondersteund.\n this.filterEntity = null;\n return [2 /*return*/];\n }\n dataSet.filter = new PropertyFilter(dataSet, 'Oid', FilterOperators.Equals, storedFilterOid);\n return [4 /*yield*/, dataSet.load(typeEntityFilter)];\n case 1:\n found = _a.sent();\n if (found.results.length > 0) {\n this.filterEntity = found.results[0];\n }\n else {\n this._filterEntity = null;\n this.localStorageService.deleteProperty('local', 'planboard-filter-entity');\n }\n if (filterSource !== this.currentFilterSource()) {\n // filterSource laten kloppen met filterEntity.\n window.setTimeout(function () {\n _this.localStorageService.updateProperty('local', 'grid-bar-filter-source', filterSource, _this.filterSources);\n }, 500);\n }\n _a.label = 2;\n case 2: return [2 /*return*/];\n }\n });\n });\n };\n return PlanboardGridBarComponent;\n}(GridBarBaseComponent));\nexport { PlanboardGridBarComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard grid bar component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./planboard-grid-bar.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i3 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i4 from \"../../domain.service\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"../../core/localisation.service\";\nimport * as i8 from \"../../core/overlay.service\";\nimport * as i9 from \"../../base/profile-picture/profile-picture.component.ngfactory\";\nimport * as i10 from \"../../base/directives/openProfile.directive\";\nimport * as i11 from \"../../user.service\";\nimport * as i12 from \"../../base/profile-picture/profile-picture.component\";\nimport * as i13 from \"../planboard-row-info/planboard-row-info.component.ngfactory\";\nimport * as i14 from \"../planboard-row-info/planboard-row-info.component\";\nimport * as i15 from \"../grid.service\";\nimport * as i16 from \"@angular/common\";\nimport * as i17 from \"../../base/pipes/oid-to-key.pipe\";\nimport * as i18 from \"./planboard-grid-bar.component\";\nimport * as i19 from \"../executors.service\";\nimport * as i20 from \"../../core/event.service\";\nimport * as i21 from \"../../core/local-storage.service\";\nvar styles_PlanboardGridBarComponent = [i0.styles];\nvar RenderType_PlanboardGridBarComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PlanboardGridBarComponent, data: {} });\nexport { RenderType_PlanboardGridBarComponent as RenderType_PlanboardGridBarComponent };\nfunction View_PlanboardGridBarComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [null, \"change\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filterEntity = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.filterChosen($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_InputEntityComponent_0, i2.RenderType_InputEntityComponent)), i1.ɵdid(1, 245760, null, 0, i3.InputEntityComponent, [i4.DomainService, i5.AlertsService, i6.TranslateService, i7.LocalisationService, i8.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], showButton: [2, \"showButton\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridBarControl; var currVal_1 = _co.filterEntity; var currVal_2 = false; var currVal_3 = _co.getFilterFormat(\"Team\"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PlanboardGridBarComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [null, \"change\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filterEntity = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.filterChosen($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_InputEntityComponent_0, i2.RenderType_InputEntityComponent)), i1.ɵdid(1, 245760, null, 0, i3.InputEntityComponent, [i4.DomainService, i5.AlertsService, i6.TranslateService, i7.LocalisationService, i8.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], showButton: [2, \"showButton\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridBarControl; var currVal_1 = _co.filterEntity; var currVal_2 = false; var currVal_3 = _co.getFilterFormat(\"Competence\"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PlanboardGridBarComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [null, \"change\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filterEntity = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.filterChosen($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_InputEntityComponent_0, i2.RenderType_InputEntityComponent)), i1.ɵdid(1, 245760, null, 0, i3.InputEntityComponent, [i4.DomainService, i5.AlertsService, i6.TranslateService, i7.LocalisationService, i8.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], showButton: [2, \"showButton\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridBarControl; var currVal_1 = _co.filterEntity; var currVal_2 = false; var currVal_3 = _co.getFilterFormat(\"Region\"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PlanboardGridBarComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [null, \"change\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filterEntity = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.filterChosen($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_InputEntityComponent_0, i2.RenderType_InputEntityComponent)), i1.ɵdid(1, 245760, null, 0, i3.InputEntityComponent, [i4.DomainService, i5.AlertsService, i6.TranslateService, i7.LocalisationService, i8.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], showButton: [2, \"showButton\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridBarControl; var currVal_1 = _co.filterEntity; var currVal_2 = false; var currVal_3 = _co.getFilterFormat(\"Project\"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PlanboardGridBarComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [null, \"change\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.filterEntity = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.filterChosen($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_InputEntityComponent_0, i2.RenderType_InputEntityComponent)), i1.ɵdid(1, 245760, null, 0, i3.InputEntityComponent, [i4.DomainService, i5.AlertsService, i6.TranslateService, i7.LocalisationService, i8.OverlayService], { control: [0, \"control\"], value: [1, \"value\"], showButton: [2, \"showButton\"], format: [3, \"format\"] }, { valueChange: \"valueChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridBarControl; var currVal_1 = _co.filterEntity; var currVal_2 = false; var currVal_3 = _co.getFilterFormat(\"Resource\"); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PlanboardGridBarComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-drop-target sym-drop-target-no-match\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridBarComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"d-none d-md-block sym-row sym-row-text sym-row-half\"]], null, [[null, \"mouseenter\"], [null, \"mouseleave\"], [null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.mouseEnterItem(_v.context.index) !== false);\n ad = (pd_0 && ad);\n } if ((\"mouseleave\" === en)) {\n var pd_1 = (_co.mouseLeaveItem(_v.context.index) !== false);\n ad = (pd_1 && ad);\n } if ((\"drop\" === en)) {\n var pd_2 = (_co.dropItem($event, { resources: [_v.context.$implicit] }) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 14, \"div\", [[\"class\", \"sym-column sym-column-picture sym-column-full\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"sym-profile-picture\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i9.View_ProfilePictureComponent_0, i9.RenderType_ProfilePictureComponent)), i1.ɵdid(4, 16384, null, 0, i10.OpenProfileDirective, [i8.OverlayService, i11.UserService, i4.DomainService, i5.AlertsService], { key: [0, \"key\"] }, null), i1.ɵppd(5, 1), i1.ɵdid(6, 49152, null, 0, i12.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 3, \"div\", [[\"class\", \"sym-text sym-clickable text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 9).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(9, 16384, null, 0, i10.OpenProfileDirective, [i8.OverlayService, i11.UserService, i4.DomainService, i5.AlertsService], { key: [0, \"key\"] }, null), i1.ɵppd(10, 1), (_l()(), i1.ɵted(11, null, [\"\", \" \", \" \", \"\"])), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-planboard-row-info\", [], null, null, null, i13.View_PlanboardRowInfoComponent_0, i13.RenderType_PlanboardRowInfoComponent)), i1.ɵdid(14, 180224, null, 0, i14.PlanboardRowInfoComponent, [i4.DomainService, i15.GridService], { resource: [0, \"resource\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridBarComponent_7)), i1.ɵdid(16, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit[\"Oid\"])); _ck(_v, 4, 0, currVal_0); var currVal_1 = ((((_v.context.$implicit.FirstName + \" \") + _v.context.$implicit.Prefix) + \" \") + _v.context.$implicit.Name); var currVal_2 = 35; _ck(_v, 6, 0, currVal_1, currVal_2); var currVal_3 = i1.ɵunv(_v, 9, 0, _ck(_v, 10, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit[\"Oid\"])); _ck(_v, 9, 0, currVal_3); var currVal_7 = _v.context.$implicit; _ck(_v, 14, 0, currVal_7); var currVal_8 = ((_v.context.$implicit.isDropZone !== undefined) && (_v.context.$implicit.isDropZone === false)); _ck(_v, 16, 0, currVal_8); }, function (_ck, _v) { var currVal_4 = _v.context.$implicit.FirstName; var currVal_5 = _v.context.$implicit.Prefix; var currVal_6 = _v.context.$implicit.Name; _ck(_v, 11, 0, currVal_4, currVal_5, currVal_6); }); }\nexport function View_PlanboardGridBarComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i17.OidToKeyPipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 33, \"div\", [[\"class\", \"sym-grid-bar clearfix\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 32, \"div\", [[\"class\", \"sym-grid-segments\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 31, \"div\", [[\"class\", \"sym-grid-segment\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 30, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 6, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text d-none d-md-block\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\" \", \" (\", \") \"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 20, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 19, \"div\", [[\"class\", \"sym-column sym-column-full sym-column-input pr-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 18, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.nextFilterSource() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(18, null, [\" \", \": \"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 12, \"div\", [[\"class\", \"w-100\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 11, null, null, null, null, null, null, null)), i1.ɵdid(22, 16384, null, 0, i16.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridBarComponent_1)), i1.ɵdid(24, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridBarComponent_2)), i1.ɵdid(26, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridBarComponent_3)), i1.ɵdid(28, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridBarComponent_4)), i1.ɵdid(30, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridBarComponent_5)), i1.ɵdid(32, 278528, null, 0, i16.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i16.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridBarComponent_6)), i1.ɵdid(34, 278528, null, 0, i16.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_4 = _co.currentFilterSource(); _ck(_v, 22, 0, currVal_4); var currVal_5 = \"TEAM\"; _ck(_v, 24, 0, currVal_5); var currVal_6 = \"COMPETENCE\"; _ck(_v, 26, 0, currVal_6); var currVal_7 = \"REGION\"; _ck(_v, 28, 0, currVal_7); var currVal_8 = \"PROJECT\"; _ck(_v, 30, 0, currVal_8); var currVal_9 = \"RESOURCE\"; _ck(_v, 32, 0, currVal_9); var currVal_10 = _co.resources.items; var currVal_11 = _co.trackByResource; _ck(_v, 34, 0, currVal_10, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.MISC.RESOURCE.#PLURAL\")); var currVal_1 = _co.resources.inlineCount; _ck(_v, 9, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform((\"APP.GRIDS.BAR.FILTER_SOURCE_\" + _co.currentFilterSource()))), \"\"); _ck(_v, 16, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(((\"APP.GRIDS.BAR.FILTER_SOURCE_\" + _co.currentFilterSource()) + \"_SHORT\"))); _ck(_v, 18, 0, currVal_3); }); }\nexport function View_PlanboardGridBarComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-grid-bar\", [], null, null, null, View_PlanboardGridBarComponent_0, RenderType_PlanboardGridBarComponent)), i1.ɵdid(1, 4440064, null, 0, i18.PlanboardGridBarComponent, [i19.ExecutorsService, i5.AlertsService, i1.ElementRef, i1.NgZone, i8.OverlayService, i20.EventsService, i21.LocalStorageService, i4.DomainService, i15.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardGridBarComponentNgFactory = i1.ɵccf(\"sym-planboard-grid-bar\", i18.PlanboardGridBarComponent, View_PlanboardGridBarComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", griddisplay: \"griddisplay\", resources: \"resources\" }, { filterEntityChanged: \"filterEntityChanged\" }, []);\nexport { PlanboardGridBarComponentNgFactory as PlanboardGridBarComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard grid bar component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"[_nghost-%COMP%] .sym-entity-link{display:none}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present the forecast\n * @author Tzi Yang Lum\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-loader[_ngcontent-%COMP%]{position:absolute;right:17px;top:1px;padding:.25rem .5rem;z-index:99999;background-color:#fff;opacity:.85}.sym-special-day[_ngcontent-%COMP%]{color:gray;text-shadow:0 0 3px #fff;left:0;right:0;text-align:center;z-index:99999;position:relative}.sym-grid-plugin-view[_ngcontent-%COMP%] .sym-plugin-controls[_ngcontent-%COMP%]{padding-top:5px;padding-right:4px}.sym-grid-plugin-view[_ngcontent-%COMP%] .sym-plugin-controls[_ngcontent-%COMP%] .sym-plugin-control[_ngcontent-%COMP%]{float:left;top:2px;margin-left:4px}.sym-grid-plugin-view[_ngcontent-%COMP%] .sym-plugin-controls[_ngcontent-%COMP%] .sym-plugin-control.sym-plugin-template[_ngcontent-%COMP%]{min-width:130px;width:27%;max-width:300px}.sym-grid-plugin-view[_ngcontent-%COMP%] .sym-plugin-controls[_ngcontent-%COMP%] .sym-plugin-control.sym-plugin-script[_ngcontent-%COMP%]{min-width:120px;width:26%;max-width:250px}\"];\nexport { styles as styles };\n","/**\n * @file Plugin base, graphical components above planboard.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, AfterContentChecked } from '@angular/core';\nimport { durationToText } from '../../../core/helpers/durationToText';\nimport * as moment from 'moment';\nimport { Processor } from '../../processors/processor';\nimport { AbstractBase } from '../../../core/helpers/abstract-base';\n/**\n * Base class for a plugin, graphical components above planboard.\n */\nvar PluginViewBase = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewBase, _super);\n /**\n * Creates an instance of a PluginBase class.\n * @param {LocalisationService} localisationService LocalisationService to get langauge dependent formats.\n * @param {ChangeDetectorRef} changeDetector ChangeDetectorRef to update the component on change\n * @param {SettingsService} settingsService SettingsService has settings we need.\n */\n function PluginViewBase(localisationService, changeDetector, eventsService, gridService, settingsService) {\n var _this = _super.call(this) || this;\n _this.localisationService = localisationService;\n _this.changeDetector = changeDetector;\n _this.eventsService = eventsService;\n _this.gridService = gridService;\n _this.settingsService = settingsService;\n _this.subscriptionPool.add(_this.gridService.stateChanged.subscribe(function () {\n _this.refresh();\n }));\n return _this;\n }\n Object.defineProperty(PluginViewBase.prototype, \"selectedFunction\", {\n /**\n * Gets the selected function from the plugin selector\n */\n get: function () {\n return this._selectedFunction;\n },\n /**\n * Sets the selected function from the plugin selector\n */\n set: function (entity) {\n this._selectedFunction = entity;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewBase.prototype, \"horizonStart\", {\n /**\n * The start of the horizon, which can be used for queries.\n * @readonly\n * @protected\n * @type {Date}\n * @memberOf PluginBase\n */\n get: function () {\n return moment(this.gridService.date).startOf(this.gridService.level.startOf).toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewBase.prototype, \"horizonFinish\", {\n /**\n * The finish of the horizon, which can be used for queries.\n * @readonly\n * @protected\n * @type {Date}\n * @memberOf PluginBase\n */\n get: function () {\n return moment(this.gridService.date).endOf(this.gridService.level.startOf).toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewBase.prototype, \"pluginKey\", {\n /**\n * Gets the plugin key. The key to store and find the timeslot collections of this plugin.\n * @readonly\n * @public\n * @type {string}\n * @memberOf PluginViewBase\n */\n get: function () {\n return Processor.pluginKey; // Default plugin key.\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is used to show planned v.s. effort of a plan item.\n * @param {Entity} entity The plan item.\n * @returns {string} The string depicting planned v.s. effort\n * @memberOf PluginBase\n */\n PluginViewBase.prototype.plannedVsEffort = function (entity) {\n if (entity == null) {\n return '';\n }\n var result = '? / ';\n var planned = entity['Planned'];\n if (planned) {\n result = durationToText(moment.duration(planned)) + ' / ';\n }\n var effort = entity['Effort'];\n if (effort) {\n return result + durationToText(moment.duration(effort));\n }\n return '? / ?';\n };\n PluginViewBase.prototype.showEffort = function (entity) {\n return durationToText(moment.duration(entity['Effort']));\n };\n Object.defineProperty(PluginViewBase.prototype, \"visibleDays\", {\n /**\n * Gets the visible days from the horizon\n * @readonly\n * @type {Number[]}\n */\n get: function () {\n return this.gridService.visibleDays;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Get true if the horizion is in week mode\n */\n PluginViewBase.prototype.isHorizionInWeek = function () {\n return (this.gridService.level.name === 'week');\n };\n Object.defineProperty(PluginViewBase.prototype, \"zoom\", {\n /**\n * Gets the current zoom\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.zoom;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewBase.prototype, \"visibleHourStart\", {\n /**\n * Gets the visible hours (start)\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursStart;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewBase.prototype, \"visibleHoursEnd\", {\n /**\n * Gets the visible hours (finish)\n * @readonly\n * @type {number}\n */\n get: function () {\n return this.gridService.visibleHoursEnd;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Lifecycle hook that is called after every check of a directive's content.\n */\n PluginViewBase.prototype.ngAfterContentChecked = function () {\n if (this.gridCollections == null) {\n this.gridCollections = this.generateGridSegments();\n }\n };\n /**\n * Generate the grid segements based on current state of the horizon\n * @returns {GridCollections}\n */\n PluginViewBase.prototype.generateGridSegments = function () {\n return this.gridService.level.formatter.pluginGridSegments(this, this.gridService);\n };\n /**\n * Gets the shown data of the plugin. Override this method.\n * @protected\n * @returns {Promise} The plugin data request result.\n */\n PluginViewBase.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, null];\n });\n });\n };\n /**\n * Gets the correct css class (base, positive or negative) based on the value\n * @param {number} value The value\n * @returns {string} The resulting css classes\n * @memberOf PluginBase\n */\n PluginViewBase.prototype.goingUpOrDownClass = function (type, value) {\n if (value > 0) {\n return \"sym-\" + type + \"-positive sym-\" + type + \"-positive-\" + value;\n }\n if (value < 0) {\n return \"sym-\" + type + \"-negative sym-\" + type + \"-negative\" + value; // no 'sym-bar-negative--30' :-)\n }\n return \"sym-\" + type + \"-base\";\n };\n /**\n * Used to create a title using the value and the value extra (optional)\n */\n PluginViewBase.prototype.readableTitle = function (pluginBar) {\n return (pluginBar.valueExtra) ? pluginBar.value + \" (\" + pluginBar.valueExtra + \")\" : pluginBar.value;\n };\n /**\n * Safe way to detect changes?\n * We want to avoid the exception: ViewDestroyedError: Attempt to use a destroyed view: detectChanges\n * @protected\n * @memberOf PluginViewBase\n */\n PluginViewBase.prototype.detectChanges = function () {\n if (this.changeDetector.destroyed) {\n return;\n }\n this.changeDetector.detectChanges();\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n * Override this method to process the loaded configuration data.\n */\n PluginViewBase.prototype.afterInitialize = function () {\n // Place to implement specific code in extensions.\n };\n return PluginViewBase;\n}(AbstractBase));\nexport { PluginViewBase };\n","import * as moment from 'moment';\nvar Shrinkage = /** @class */ (function () {\n function Shrinkage(entity) {\n this.entity = entity;\n this.start = moment.duration(entity['Start']).asMilliseconds();\n this.finish = moment.duration(entity['Finish']).asMilliseconds();\n }\n Object.defineProperty(Shrinkage.prototype, \"entityAspect\", {\n get: function () {\n return this.entity.entityAspect;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Shrinkage.prototype, \"entityType\", {\n get: function () {\n return this.entity.entityType;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Shrinkage.prototype, \"FunctionKey\", {\n get: function () {\n return this.entity['FunctionKey'];\n },\n set: function (value) {\n this.entity['FunctionKey'] = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Shrinkage.prototype, \"DayOfWeek\", {\n get: function () {\n return this.entity['DayOfWeek'];\n },\n set: function (value) {\n this.entity['DayOfWeek'] = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Shrinkage.prototype, \"Start\", {\n get: function () {\n return this.start;\n },\n set: function (value) {\n this.start = value;\n this.entity['Start'] = moment.duration(value).toISOString();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Shrinkage.prototype, \"Finish\", {\n get: function () {\n return this.finish;\n },\n set: function (value) {\n this.finish = value;\n this.entity['Finish'] = moment.duration(value).toISOString();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Shrinkage.prototype, \"Value\", {\n get: function () {\n return this.entity['Value'];\n },\n set: function (value) {\n this.entity['Value'] = value;\n },\n enumerable: true,\n configurable: true\n });\n return Shrinkage;\n}());\nexport { Shrinkage };\n","/**\n * @file Base component to displaying forecast data\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { EntityQuery } from 'breeze-client';\nimport * as moment from 'moment';\nimport { PluginViewBase } from '../../grids/plugins/plugin-view/plugin-view.base';\nimport { Processor } from '../../grids/processors/processor';\nimport { Shrinkage } from '../helpers/shrinkage';\n/**\n * The name of the end-point for retrieving prognoses.\n */\nexport var PROGNOSES = 'Prognoses';\n/**\n * The name of the end-point for retrieving forecast attendants.\n */\nexport var PLANITEMS = 'ForecastPlanItems';\n/**\n * The name of the end-point for retrieving calls.\n */\nexport var CALLS = 'Calls';\n/**\n * The name of the end-point for retrieving opening hours.\n */\nexport var OPENING_HOURS = 'OpeningHours';\n/**\n * The name of the end-point for retrieving special days.\n */\nexport var SPECIAL_DAYS = 'SpecialDays';\n/**\n * The name of the end-point for retrieving holidays.\n */\nexport var HOLIDAYS = 'Holidays';\n/**\n * The name of the end-point for retrieving correction factors.\n */\nexport var CORRECTIONS = 'Corrections';\n/**\n * The name of the end-point for retrieving shrinkages.\n */\nexport var SHRINKAGES = 'Shrinkages';\n/**\n * The class can be overloaded by plugin components that display forecast data.\n * @export\n * @class PluginForecastBase\n * @extends {PluginViewBase}\n * @implements {AfterViewInit}\n */\nvar PluginViewForecastBase = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewForecastBase, _super);\n /**\n * Creates an instance of PluginCallsComponent.\n * @param {LocalisationService} localisationService The localisation service.\n * @param {ChangeDetectorRef} changeDetector The change detector is used to update the rendered layout.\n * @param {EventsService} eventsService The events service.\n * @param {SettingsService} settingsService The settings service.\n * @param {ForecastService} forecastService The forecast service is used to retrieve prognoses.\n * @param {AlertsService} alertsService The alerts service.\n * @memberOf PluginViewForecastBase\n */\n function PluginViewForecastBase(localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService) || this;\n _this.gridService = gridService;\n _this.settingsService = settingsService;\n _this.forecastService = forecastService;\n _this.alertsService = alertsService;\n /**\n * The names of the queries that are loaded when the plugin view refreshes.\n * @protected\n * @type {string[]}\n * @memberOf PluginViewForecastBase\n */\n _this.queryNames = [];\n /**\n * The queries are loaded on a refresh.\n * @protected\n * @type {{ [id: string]: EntityQuery }}\n * @memberOf PluginViewForecastBase\n */\n _this.queries = {};\n /**\n * The results of the queries above are stored here, on the same index keys as the queries.\n * @protected\n * @type {{ [id: string]: Entity[] }}\n * @memberOf PluginViewForecastBase\n */\n _this.queryResults = {};\n /**\n * A value indicating whether the data is being loaded.\n * @memberOf PluginViewForecastBase\n */\n _this.loadingInProgress = false;\n _this.subscriptionPool.add(_this.eventsService.register('plugin-selector-changed').subscribe(function (result) {\n _this.refresh();\n }));\n return _this;\n }\n Object.defineProperty(PluginViewForecastBase.prototype, \"options\", {\n /**\n * Sets the shift.\n * @type {Entity}\n * @memberOf PluginViewForecastBase\n */\n set: function (value) {\n if (this.selectedFunction === value) {\n return;\n }\n this.selectedFunction = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewForecastBase.prototype, \"pluginKey\", {\n /**\n * Gets the plugin key. The key to store and find the timeslot collections of this plugin.\n * @readonly\n * @public\n * @type {string}\n * @memberOf PluginViewBase\n */\n get: function () {\n return Processor.pluginKey + '-view-forecast';\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the shift template, if the function and entity manager are known, and refreshes the plugin.\n * @private\n * @memberOf PluginViewForecastBase\n */\n PluginViewForecastBase.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n this.loadingInProgress = true;\n if (!this.selectedFunction) {\n // Clear view.\n this.gridCollections = this.generateGridSegments();\n this.loadingInProgress = false;\n this.detectChanges();\n return [2 /*return*/, null];\n }\n this.setQueries();\n return [2 /*return*/, this.prepareBuild()];\n });\n });\n };\n /**\n * Loads the prognoses and resets the grid collection\n * @returns {Observable}\n * @memberOf PluginViewForecastBase\n */\n PluginViewForecastBase.prototype.prepareBuild = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n this.gridCollections = this.generateGridSegments();\n this.detectChanges(); // For loading indicator.\n switch (this.gridService.level.name) {\n case 'day':\n this.barWidth = moment.duration(this.selectedFunction['TimeslotLength']);\n break;\n case 'week':\n this.barWidth = moment.duration(1, 'hours');\n break;\n default:\n this.barWidth = null;\n break;\n }\n result = new Promise(function (resolve, reject) { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var response, reason_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n return [4 /*yield*/, this.executeQueries()];\n case 1:\n response = _a.sent();\n this.build();\n resolve(response);\n return [3 /*break*/, 3];\n case 2:\n reason_1 = _a.sent();\n reject(reason_1);\n return [3 /*break*/, 3];\n case 3:\n this.loadingInProgress = false;\n this.detectChanges();\n return [2 /*return*/];\n }\n });\n }); });\n return [2 /*return*/, result];\n });\n });\n };\n /**\n * Returns an object containing the start and end time of the chart and the width of the first chart bar.\n * @protected\n * @param {GridColumn} gridColumn The column in which the chart is placed.\n * @returns {ChartDimensions} The object contains the chart dimensions.\n * @memberOf PluginViewForecastBase\n */\n PluginViewForecastBase.prototype.getBarDimensions = function (gridColumn) {\n var width;\n var startTime = gridColumn.meta.start.clone();\n if (this.barWidth) {\n width = this.barWidth;\n }\n else {\n var hours = this.settingsService.settings.frontend.grid.officeHours[this.gridService.officeHours ? 'enabled' : 'disabled'];\n width = moment.duration(hours.end - hours.start, 'hours');\n }\n var endTime = startTime.clone().add(width);\n return {\n startTime: startTime, endTime: endTime, width: width\n };\n };\n /**\n * Returns a string representation of the number with up to two decimals.\n * @protected\n * @param {number} value A string representation of the parameter is returned.\n * @returns {string} The value parameter in string format.\n * @memberOf PluginViewForecastBase\n */\n PluginViewForecastBase.prototype.toMaxTwoDecimals = function (value) {\n var result = value.toFixed(2);\n if (result.indexOf('.00') !== -1) {\n return result.slice(0, result.indexOf('.00'));\n }\n else if (result.slice(-1) === '0') {\n return result.slice(0, result.length - 1);\n }\n return result;\n };\n /**\n * Sets the query that all forecast plugin views need. Can be extended in the views themselves.\n * @private\n * @memberOf PluginViewForecastBase\n */\n PluginViewForecastBase.prototype.setQueries = function () {\n var _this = this;\n this.queryNames.forEach(function (name) {\n var query = EntityQuery.from(name);\n query.parameters = { oid: _this.selectedFunction['Oid'], start: _this.horizonStart, finish: _this.horizonFinish };\n _this.queries[name] = query;\n });\n };\n /**\n * Execute the queries required to calculate and display data in the plugin.\n * @private\n * @returns {Promise} A promise telling when the queries are done loading.\n * @memberOf PluginViewForecastBase\n */\n PluginViewForecastBase.prototype.executeQueries = function () {\n var _this = this;\n var promises = [];\n Object.keys(this.queries).forEach(function (key) {\n _this.queryResults[key] = null;\n promises.push(_this.forecastService.entityManager.executeQuery(_this.queries[key]).then(function (response) {\n if (key === SHRINKAGES) {\n _this.queryResults[key] = [];\n response.results.forEach(function (entity) { return _this.queryResults[key].push(new Shrinkage(entity)); });\n }\n else {\n _this.queryResults[key] = response.results;\n }\n }).catch(function (error) {\n _this.alertsService.createAlert('warning', 'APP.PLUGINS.QUERY_ERROR');\n console.warn(error);\n }));\n });\n return Promise.all(promises);\n };\n /**\n * The back-end enumerator IsoDayOfWeek returns days of the week as string.\n * This array can be used to numeric values to those.\n * @protected\n * @static\n * @type {{ [index: string]: number }}\n * @memberOf PluginViewForecastBase\n */\n PluginViewForecastBase.daysOfWeek = {\n 0: 'Monday',\n 1: 'Tuesday',\n 2: 'Wednesday',\n 3: 'Thursday',\n 4: 'Friday',\n 5: 'Saturday',\n 6: 'Sunday'\n };\n return PluginViewForecastBase;\n}(PluginViewBase));\nexport { PluginViewForecastBase };\n","/**\n * @file Component to view the number of calls\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ForecastService } from '../forecast.service';\nimport { PluginViewForecastBase, CALLS, OPENING_HOURS, SPECIAL_DAYS, HOLIDAYS } from '../plugin-view-forecast/plugin-view-forecast.base';\nimport { SettingsService } from '../../settings.service';\nimport { GridService } from '../../grids/grid.service';\n/**\n * Class to show the number of calls.\n */\nvar PluginViewCallsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewCallsComponent, _super);\n /**\n * Creates an instance of PluginCallsComponent.\n * @param {LocalisationService} localisationService The localisation service.\n * @param {ChangeDetectorRef} changeDetector The change detector is used to update the rendered layout.\n * @param {EventsService} eventsService The events service.\n * @param {SettingsService} settingsService The settings service.\n * @param {ForecastService} forecastService The forecast service is used to retrieve prognoses.\n * @param {AlertsService} alertsService The alerts service.\n * @memberOf PluginCallsComponent\n */\n function PluginViewCallsComponent(localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService, translateService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) || this;\n _this.translateService = translateService;\n /**\n * The names of the queries that are loaded when the plugin view refreshes.\n * @protected\n * @memberOf PluginViewCallsComponent\n */\n _this.queryNames = [CALLS, OPENING_HOURS, SPECIAL_DAYS, HOLIDAYS];\n _this.subscriptionPool.add(forecastService.processCompleted.subscribe(function () {\n _this.refresh();\n }));\n return _this;\n }\n /**\n * Builds the calls chart.\n * @protected\n * @memberOf PluginCallsComponent\n */\n PluginViewCallsComponent.prototype.build = function () {\n var _this = this;\n var maxValue = 0;\n var pluginBars = [];\n this.gridCollections.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRows) {\n gridRows.children.forEach(function (gridRow) {\n gridRow.children.forEach(function (gridColumn) {\n var specialDay = _this.queryResults[SPECIAL_DAYS].find(function (s) { return gridColumn.meta.start.startOf('day').isSame(s['Date']); });\n if (specialDay) {\n gridColumn.specialDay = specialDay['Name'];\n }\n var holiday = _this.queryResults[HOLIDAYS].find(function (h) { return gridColumn.meta.start.isBetween(h['Start'], h['Finish'], 'day', '[]'); });\n if (holiday) {\n gridColumn.specialDay = holiday['Item']['Name'];\n }\n gridColumn.pluginBars = [];\n if (_this.queryResults[CALLS].length === 0) {\n return;\n }\n var dimensions = _this.getBarDimensions(gridColumn);\n do {\n var prognoses = _this.queryResults[CALLS].filter(function (p) { return dimensions.startTime.isSameOrBefore(p['DateTime']) && dimensions.endTime.isAfter(p['DateTime']); });\n if (prognoses.length > 0) {\n var outside = _this.queryResults[OPENING_HOURS].every(function (p) { return dimensions.startTime.isSameOrAfter(p['Finish']) || dimensions.endTime.isSameOrBefore(p['Start']); });\n var value = prognoses.length;\n if (value > maxValue) {\n maxValue = value;\n }\n var tooltip = value.toString();\n if (outside) {\n tooltip += \" (\" + _this.translateService.instant('APP.FORECAST.OUTSIDE_OPENING_HOURS') + \")\";\n }\n var pluginBar = {\n startHour: dimensions.startTime.hour(),\n startMinute: dimensions.startTime.minute(),\n endHour: dimensions.width.asDays() >= 1 ? 24 : dimensions.endTime.hour(),\n endMinute: dimensions.width.asDays() >= 1 ? 0 : dimensions.endTime.minute(),\n relativeValue: value,\n value: tooltip,\n class: outside ? 'sym-bar-outside' : ''\n };\n gridColumn.pluginBars.push(pluginBar);\n pluginBars.push(pluginBar);\n }\n dimensions.startTime = dimensions.endTime;\n dimensions.endTime = dimensions.startTime.clone().add(dimensions.width);\n } while (dimensions.endTime.isSameOrBefore(gridColumn.meta.finish));\n });\n });\n });\n });\n pluginBars.forEach(function (pluginBar) {\n pluginBar.relativeValue = Math.round(100 * pluginBar.relativeValue / maxValue);\n });\n };\n return PluginViewCallsComponent;\n}(PluginViewForecastBase));\nexport { PluginViewCallsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the number of calls\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"./plugin-view-calls.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./plugin-view-calls.component\";\nimport * as i6 from \"../../core/localisation.service\";\nimport * as i7 from \"../../core/event.service\";\nimport * as i8 from \"../../grids/grid.service\";\nimport * as i9 from \"../../settings.service\";\nimport * as i10 from \"../forecast.service\";\nimport * as i11 from \"../../core/alerts.service\";\nvar styles_PluginViewCallsComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewCallsComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewCallsComponent, data: {} });\nexport { RenderType_PluginViewCallsComponent as RenderType_PluginViewCallsComponent };\nfunction View_PluginViewCallsComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewCallsComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \" \", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(5, \"sym-plan-item sym-graph \", _co.goingUpOrDownClass(\"graph\", _v.parent.context.$implicit.pluginLine.relativeValue), \" sym-start-h\", _v.parent.context.$implicit.pluginLine.startHour, \" sym-start-m\", _v.parent.context.$implicit.pluginLine.startMinute, \" sym-end-h\", _v.parent.context.$implicit.pluginLine.endHour, \" sym-end-m\", _v.parent.context.$implicit.pluginLine.endMinute, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.pluginLine.value; var currVal_2 = i2.ɵunv(_v, 2, 1, i2.ɵnov(_v, 3).transform(\"APP.PLUGINS.AVERAGE\")); _ck(_v, 2, 0, currVal_1, currVal_2); }); }\nfunction View_PluginViewCallsComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.parent.context.$implicit.relativeValueExtra), \" \", _v.parent.context.$implicit.class, \" sym-bar-extra\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewCallsComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0], [8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_8)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], function (_ck, _v) { var currVal_2 = _v.context.$implicit.relativeValueExtra; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-bar-positioner sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_1 = _co.readableTitle(_v.context.$implicit); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.context.$implicit.relativeValue), \" \", _v.context.$implicit.class, \"\"); _ck(_v, 3, 0, currVal_3); }); }\nfunction View_PluginViewCallsComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-special-day text-truncate\"]], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.specialDay; _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.specialDay; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PluginViewCallsComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-graphs sym-graphs-range-positive\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_6)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"sym-bars sym-bars-range-positive\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_7)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_9)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.pluginLine != null); _ck(_v, 3, 0, currVal_0); var currVal_1 = _v.context.$implicit.pluginBars; _ck(_v, 6, 0, currVal_1); var currVal_2 = _v.context.$implicit.specialDay; _ck(_v, 8, 0, currVal_2); }, null); }\nfunction View_PluginViewCallsComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_5)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewCallsComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_4)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewCallsComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_3)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewCallsComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCallsComponent_1)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewCallsComponent_2)), i2.ɵdid(4, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i4.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view sym-grid-plugin-view-bars clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewCallsComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-calls\", [], null, null, null, View_PluginViewCallsComponent_0, RenderType_PluginViewCallsComponent)), i2.ɵdid(1, 2277376, null, 0, i5.PluginViewCallsComponent, [i6.LocalisationService, i2.ChangeDetectorRef, i7.EventsService, i8.GridService, i9.SettingsService, i10.ForecastService, i11.AlertsService, i3.TranslateService], null, null)], null, null); }\nvar PluginViewCallsComponentNgFactory = i2.ɵccf(\"sym-plugin-view-calls\", i5.PluginViewCallsComponent, View_PluginViewCallsComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", options: \"options\" }, {}, []);\nexport { PluginViewCallsComponentNgFactory as PluginViewCallsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the number of calls\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-bar[_ngcontent-%COMP%]{background-color:#548ed9;border:1px solid rgba(0,0,0,.1)}.sym-bar-outside[_ngcontent-%COMP%]{background-color:#b6503e}\"];\nexport { styles as styles };\n","/**\n * @file Component to view the number of calls\n * @author Heino Lenting, Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ForecastService } from '../forecast.service';\nimport { PluginViewForecastBase, PROGNOSES, SPECIAL_DAYS, HOLIDAYS, CORRECTIONS } from '../plugin-view-forecast/plugin-view-forecast.base';\nimport { GridService } from '../../grids/grid.service';\nimport { SettingsService } from '../../settings.service';\n/**\n * Class to show the number of calls.\n */\nvar PluginViewPrognosesComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewPrognosesComponent, _super);\n /**\n * Creates an instance of PluginCallsComponent.\n * @param {LocalisationService} localisationService The localisation service.\n * @param {ChangeDetectorRef} changeDetector The change detector is used to update the rendered layout.\n * @param {EventsService} eventsService The events service.\n * @param {SettingsService} settingsService The settings service.\n * @param {ForecastService} forecastService The forecast service is used to retrieve prognoses.\n * @param {AlertsService} alertsService The alerts service.\n * @memberOf PluginCallsComponent\n */\n function PluginViewPrognosesComponent(localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) || this;\n /**\n * The names of the queries that are loaded when the plugin view refreshes.\n * @protected\n * @memberOf PluginViewCallsComponent\n */\n _this.queryNames = [PROGNOSES, SPECIAL_DAYS, HOLIDAYS, CORRECTIONS];\n _this.subscriptionPool.add(forecastService.processCompleted.subscribe(function () {\n _this.refresh();\n }));\n return _this;\n }\n /**\n * Builds the calls chart.\n * @protected\n * @memberOf PluginCallsComponent\n */\n PluginViewPrognosesComponent.prototype.build = function () {\n var _this = this;\n // The absolute highest value of all displayed charts.\n var maxValue = 0;\n var pluginBars = [];\n this.gridCollections.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRows) {\n gridRows.children.forEach(function (gridRow) {\n // A grid column is one day on the planboard.\n gridRow.children.forEach(function (gridColumn) {\n // The special days and holidays are merely displayed.\n var specialDay = _this.queryResults[SPECIAL_DAYS].find(function (s) { return gridColumn.meta.start.startOf('day').isSame(s['Date']); });\n if (specialDay) {\n gridColumn.specialDay = specialDay['Name'];\n }\n var holiday = _this.queryResults[HOLIDAYS].find(function (h) { return gridColumn.meta.start.isBetween(h['Start'], h['Finish'], 'day', '[]'); });\n if (holiday) {\n gridColumn.specialDay = holiday['Item']['Name'];\n }\n gridColumn.pluginBars = [];\n if (_this.queryResults[PROGNOSES].length === 0) {\n return;\n }\n // The correction factor is 1 if there is not correction.\n var correctionEntity = _this.queryResults[CORRECTIONS].find(function (c) { return gridColumn.meta.start.startOf('day').isSame(c['Date']); });\n var correction = correctionEntity ? correctionEntity['Value'] : 1;\n var dimensions = _this.getBarDimensions(gridColumn);\n var _loop_1 = function () {\n // Collect all prognoses that fall within the dimensions.\n // Prognoses may not overlap partially with a bar!\n var prognoses = _this.queryResults[PROGNOSES].filter(function (p) { return dimensions.startTime.isSameOrBefore(p['Start']) && dimensions.endTime.isSameOrAfter(p['Finish']); });\n if (prognoses.length > 0) {\n // Sum the number of customers for the whole bar.\n var value_1 = 0;\n prognoses.forEach(function (prognosis) {\n value_1 += prognosis['Customers'];\n });\n if (value_1 > maxValue) {\n maxValue = value_1;\n }\n // The corrected number of customers is displayed in the bar.\n var corrected = correction * value_1;\n var pluginBar = {\n startHour: dimensions.startTime.hour(),\n startMinute: dimensions.startTime.minute(),\n endHour: dimensions.width.asDays() >= 1 ? 24 : dimensions.endTime.hour(),\n endMinute: dimensions.width.asDays() >= 1 ? 0 : dimensions.endTime.minute(),\n relativeValue: corrected,\n value: _this.toMaxTwoDecimals(corrected)\n };\n // If the correction factor is set, show the uncorrected estimated number of customers.\n if (correction !== 1) {\n pluginBar.relativeValueExtra = value_1;\n pluginBar.valueExtra = _this.toMaxTwoDecimals(value_1);\n if (corrected > maxValue) {\n maxValue = corrected;\n }\n }\n // Add the bar to the plug-in.\n gridColumn.pluginBars.push(pluginBar);\n pluginBars.push(pluginBar);\n }\n // Move to the next bar.\n dimensions.startTime = dimensions.endTime;\n dimensions.endTime = dimensions.startTime.clone().add(dimensions.width);\n };\n do {\n _loop_1();\n } while (dimensions.endTime.isSameOrBefore(gridColumn.meta.finish));\n });\n });\n });\n });\n // All charts need to be scaled equally, so the relative value can only be set at the end, when the maximum value is known.\n pluginBars.forEach(function (pluginBar) {\n pluginBar.relativeValue = Math.round(100 * pluginBar.relativeValue / maxValue);\n if (pluginBar.relativeValueExtra) {\n pluginBar.relativeValueExtra = Math.round(100 * pluginBar.relativeValueExtra / maxValue);\n }\n });\n };\n return PluginViewPrognosesComponent;\n}(PluginViewForecastBase));\nexport { PluginViewPrognosesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the number of calls\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"./plugin-view-prognoses.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./plugin-view-prognoses.component\";\nimport * as i6 from \"../../core/localisation.service\";\nimport * as i7 from \"../../core/event.service\";\nimport * as i8 from \"../../grids/grid.service\";\nimport * as i9 from \"../../settings.service\";\nimport * as i10 from \"../forecast.service\";\nimport * as i11 from \"../../core/alerts.service\";\nvar styles_PluginViewPrognosesComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewPrognosesComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewPrognosesComponent, data: {} });\nexport { RenderType_PluginViewPrognosesComponent as RenderType_PluginViewPrognosesComponent };\nfunction View_PluginViewPrognosesComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewPrognosesComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \" \", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(5, \"sym-plan-item sym-graph \", _co.goingUpOrDownClass(\"graph\", _v.parent.context.$implicit.pluginLine.relativeValue), \" sym-start-h\", _v.parent.context.$implicit.pluginLine.startHour, \" sym-start-m\", _v.parent.context.$implicit.pluginLine.startMinute, \" sym-end-h\", _v.parent.context.$implicit.pluginLine.endHour, \" sym-end-m\", _v.parent.context.$implicit.pluginLine.endMinute, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.pluginLine.value; var currVal_2 = i2.ɵunv(_v, 2, 1, i2.ɵnov(_v, 3).transform(\"APP.PLUGINS.AVERAGE\")); _ck(_v, 2, 0, currVal_1, currVal_2); }); }\nfunction View_PluginViewPrognosesComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.parent.context.$implicit.relativeValueExtra), \" \", _v.parent.context.$implicit.class, \" sym-bar-extra\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewPrognosesComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0], [8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_8)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], function (_ck, _v) { var currVal_2 = _v.context.$implicit.relativeValueExtra; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-bar-positioner sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_1 = _co.readableTitle(_v.context.$implicit); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.context.$implicit.relativeValue), \" \", _v.context.$implicit.class, \"\"); _ck(_v, 3, 0, currVal_3); }); }\nfunction View_PluginViewPrognosesComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-special-day text-truncate\"]], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.specialDay; _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.specialDay; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PluginViewPrognosesComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-graphs sym-graphs-range-positive\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_6)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"sym-bars sym-bars-range-positive\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_7)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_9)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.pluginLine != null); _ck(_v, 3, 0, currVal_0); var currVal_1 = _v.context.$implicit.pluginBars; _ck(_v, 6, 0, currVal_1); var currVal_2 = _v.context.$implicit.specialDay; _ck(_v, 8, 0, currVal_2); }, null); }\nfunction View_PluginViewPrognosesComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_5)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewPrognosesComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_4)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewPrognosesComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_3)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewPrognosesComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewPrognosesComponent_1)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewPrognosesComponent_2)), i2.ɵdid(4, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i4.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view sym-grid-plugin-view-bars clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewPrognosesComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-prognoses\", [], null, null, null, View_PluginViewPrognosesComponent_0, RenderType_PluginViewPrognosesComponent)), i2.ɵdid(1, 2277376, null, 0, i5.PluginViewPrognosesComponent, [i6.LocalisationService, i2.ChangeDetectorRef, i7.EventsService, i8.GridService, i9.SettingsService, i10.ForecastService, i11.AlertsService], null, null)], null, null); }\nvar PluginViewPrognosesComponentNgFactory = i2.ɵccf(\"sym-plugin-view-prognoses\", i5.PluginViewPrognosesComponent, View_PluginViewPrognosesComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", options: \"options\" }, {}, []);\nexport { PluginViewPrognosesComponentNgFactory as PluginViewPrognosesComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the number of calls\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-bar[_ngcontent-%COMP%], .sym-bar-positive[_ngcontent-%COMP%]{background-color:#54c1d9;border:1px solid rgba(0,0,0,.1)}\"];\nexport { styles as styles };\n","/**\n * @file Component for forecast correction factor input\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, OnDestroy } from '@angular/core';\nimport { SettingsService } from '../../settings.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { GridService } from '../../grids/grid.service';\nimport { ForecastService } from '../forecast.service';\nimport { PluginViewForecastBase, CORRECTIONS } from '../plugin-view-forecast/plugin-view-forecast.base';\nimport { DomainService } from '../../domain.service';\nvar PluginViewCorrectionsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewCorrectionsComponent, _super);\n /**\n * Creates an instance of PluginViewCorrectionsComponent.\n * @param {LocalisationService} localisationService\n * @param {ChangeDetectorRef} changeDetector\n * @param {EventsService} eventsService\n * @param {GridService} gridService\n * @param {SettingsService} settingsService\n * @param {ForecastService} forecastService\n * @param {AlertsService} alertsService\n * @memberOf PluginViewCorrectionsComponent\n */\n function PluginViewCorrectionsComponent(localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) || this;\n _this.forecastService = forecastService;\n _this.alertsService = alertsService;\n /**\n * The names of the queries that are loaded when the plugin view refreshes.\n * @protected\n * @memberOf PluginViewCorrectionsComponent\n */\n _this.queryNames = [CORRECTIONS];\n _this.subscriptionPool.add(_this.gridService.stateChanged.subscribe(function () {\n // Because correctly input corrections are saved immediately, any unsaved changes are incorrect and should therefore be rejected.\n _this.forecastService.rejectChanges();\n }));\n return _this;\n }\n /**\n * Because correctly input corrections are saved immediately, any unsaved changes are incorrect and should therefore be rejected.\n * @memberOf PluginViewCorrectionsComponent\n */\n PluginViewCorrectionsComponent.prototype.ngOnDestroy = function () {\n this.forecastService.rejectChanges();\n _super.prototype.ngOnDestroy.call(this);\n };\n /**\n * Saves changes in the forecast domain if there are any.\n * @memberOf PluginViewCorrectionsComponent\n */\n PluginViewCorrectionsComponent.prototype.saveChanges = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.forecastService.hasChanges()) return [3 /*break*/, 2];\n return [4 /*yield*/, this.forecastService.saveChanges(function (error) {\n _this.changeDetector.detectChanges();\n if (error) {\n if (error.entityErrors && error.entityErrors.length > 0) {\n _this.alertsService.createAlert('danger', 'APP.FORECAST.CORRECTION_NOT_SAVED', _this.forecastService.entityErrorInfo(error.entityErrors));\n return;\n }\n _this.alertsService.createAlert('danger', 'APP.FORECAST.CORRECTION_NOT_SAVED', error);\n return;\n }\n _this.alertsService.createAlert('success', 'APP.FORECAST.CORRECTION_SAVED');\n })];\n case 1:\n _a.sent();\n _a.label = 2;\n case 2: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Places the correction factors.\n * @protected\n * @memberOf PluginViewCorrectionsComponent\n */\n PluginViewCorrectionsComponent.prototype.build = function () {\n var _this = this;\n var newEntities = [];\n this.gridCollections.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRows) {\n gridRows.children.forEach(function (gridRow) {\n gridRow.children.forEach(function (gridColumn) {\n var entity = _this.queryResults[CORRECTIONS].find(function (c) { return gridColumn.meta.start.startOf('day').isSame(c['Date']); });\n if (!entity) {\n var entityType = _this.forecastService.getEntityType('Correction');\n entity = entityType.createEntity({\n FunctionKey: DomainService.oidToKey(_this.selectedFunction['Oid']),\n Date: gridColumn.meta.start.startOf('day').utc(true).toDate(),\n Value: 1\n });\n _this.forecastService.addEntity(entity);\n _this.queryResults[CORRECTIONS].push(entity);\n newEntities.push(entity);\n }\n gridColumn.entity = entity;\n });\n });\n });\n });\n if (newEntities.length > 0) {\n this.forecastService.entityManager.saveChanges();\n }\n };\n /**\n * Checkes for entity errors.\n * @param {Entity} entity The entity to check.\n * @returns {Boolean} True when entity errors found otherwise false.\n * @memberOf PluginViewCorrectionsComponent\n */\n PluginViewCorrectionsComponent.prototype.hasValidationErrors = function (entity) {\n return entity && entity.entityAspect.hasValidationErrors;\n };\n return PluginViewCorrectionsComponent;\n}(PluginViewForecastBase));\nexport { PluginViewCorrectionsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component for forecast correction factor input\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"./plugin-view-corrections.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/forms\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"./plugin-view-corrections.component\";\nimport * as i7 from \"../../core/localisation.service\";\nimport * as i8 from \"../../core/event.service\";\nimport * as i9 from \"../../grids/grid.service\";\nimport * as i10 from \"../../settings.service\";\nimport * as i11 from \"../forecast.service\";\nimport * as i12 from \"../../core/alerts.service\";\nvar styles_PluginViewCorrectionsComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewCorrectionsComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewCorrectionsComponent, data: {} });\nexport { RenderType_PluginViewCorrectionsComponent as RenderType_PluginViewCorrectionsComponent };\nfunction View_PluginViewCorrectionsComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewCorrectionsComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"input\", [[\"class\", \"form-control\"], [\"type\", \"number\"]], [[8, \"title\", 0], [8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"blur\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 1).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 1)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 1)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i2.ɵnov(_v, 2).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i2.ɵnov(_v, 2).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i2.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_v.parent.context.$implicit.entity.Value = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"blur\" === en)) {\n var pd_8 = (_co.saveChanges() !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 16384, null, 0, i3.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵdid(2, 16384, null, 0, i3.ɵangular_packages_forms_forms_be, [i2.Renderer2, i2.ElementRef], null, null), i2.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i3.DefaultValueAccessor, i3.ɵangular_packages_forms_forms_be]), i2.ɵdid(4, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i2.ɵdid(6, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var currVal_9 = _v.parent.context.$implicit.entity.Value; _ck(_v, 4, 0, currVal_9); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 7).transform(\"APP.FORECAST.CORRECTION_RANGE\")), \"\"); var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 1, i2.ɵnov(_v, 8).transform(\"APP.FORECAST.CORRECTION_PLACEHOLDER\")), \"\"); var currVal_2 = i2.ɵnov(_v, 6).ngClassUntouched; var currVal_3 = i2.ɵnov(_v, 6).ngClassTouched; var currVal_4 = i2.ɵnov(_v, 6).ngClassPristine; var currVal_5 = i2.ɵnov(_v, 6).ngClassDirty; var currVal_6 = i2.ɵnov(_v, 6).ngClassValid; var currVal_7 = i2.ɵnov(_v, 6).ngClassInvalid; var currVal_8 = i2.ɵnov(_v, 6).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nfunction View_PluginViewCorrectionsComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-input\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i5.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpod(3, { \"sym-has-errors\": 0 }), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCorrectionsComponent_6)), i2.ɵdid(5, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.hasValidationErrors(_v.context.$implicit.entity)); _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.entity; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_PluginViewCorrectionsComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCorrectionsComponent_5)), i2.ɵdid(3, 278528, null, 0, i5.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewCorrectionsComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCorrectionsComponent_4)), i2.ɵdid(2, 278528, null, 0, i5.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewCorrectionsComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCorrectionsComponent_3)), i2.ɵdid(3, 278528, null, 0, i5.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewCorrectionsComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCorrectionsComponent_1)), i2.ɵdid(2, 16384, null, 0, i5.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewCorrectionsComponent_2)), i2.ɵdid(4, 278528, null, 0, i5.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i5.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view sym-grid-plugin-view-bars clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewCorrectionsComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-corrections\", [], null, null, null, View_PluginViewCorrectionsComponent_0, RenderType_PluginViewCorrectionsComponent)), i2.ɵdid(1, 2277376, null, 0, i6.PluginViewCorrectionsComponent, [i7.LocalisationService, i2.ChangeDetectorRef, i8.EventsService, i9.GridService, i10.SettingsService, i11.ForecastService, i12.AlertsService], null, null)], null, null); }\nvar PluginViewCorrectionsComponentNgFactory = i2.ɵccf(\"sym-plugin-view-corrections\", i6.PluginViewCorrectionsComponent, View_PluginViewCorrectionsComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", options: \"options\" }, {}, []);\nexport { PluginViewCorrectionsComponentNgFactory as PluginViewCorrectionsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component for forecast correction factor input\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"input[_ngcontent-%COMP%]{padding-left:4px!important;padding-right:4px!important}.sym-has-errors[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{border:1px solid #d55b40}.sym-has-errors[_ngcontent-%COMP%] .sym-input-feedback[_ngcontent-%COMP%]{color:#d55b40}.input-group-append[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.sym-enabled[_ngcontent-%COMP%]{opacity:1}span[_ngcontent-%COMP%]{line-height:27px}@media (min-width:992px){.input-group-append[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;min-width:50px}}input[_ngcontent-%COMP%]{text-align:center}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present an empty plugin\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-grid-plugin-view[_ngcontent-%COMP%]{height:43px;border:1px solid #ccc;background-color:#fafafa}.sym-grid-plugin-view.sym-grid-plugin-view-empty[_ngcontent-%COMP%]{margin-right:15px}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { SettingsService } from '../../settings.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { GridService } from '../../grids/grid.service';\nimport { PluginViewBase } from '../../grids/plugins/plugin-view/plugin-view.base';\nimport { ActionService } from '../../core/action.service';\nimport { AlertsService } from '../../core/alerts.service';\nvar PluginViewShrinkageComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewShrinkageComponent, _super);\n /**\n * Creates an instance of PluginViewShrinkageComponent.\n * @param {LocalisationService} localisationService\n * @param {ChangeDetectorRef} changeDetector\n * @param {EventsService} eventsService\n * @param {GridService} gridService\n * @param {SettingsService} settingsService\n * @memberOf PluginViewShrinkageComponent\n */\n function PluginViewShrinkageComponent(localisationService, changeDetector, eventsService, gridService, settingsService, actionService, alertsService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService) || this;\n _this.actionService = actionService;\n _this.alertsService = alertsService;\n /**\n * The days of the week from 0 to 6.\n * @memberOf PluginViewShrinkageComponent\n */\n _this.days = [];\n /**\n * The labels for the days of the week.\n * @memberOf PluginViewShrinkageComponent\n */\n _this.labels = {\n long: [\n 'APP.PLUGINS.MONDAY',\n 'APP.PLUGINS.TUESDAY',\n 'APP.PLUGINS.WEDNESDAY',\n 'APP.PLUGINS.THURSDAY',\n 'APP.PLUGINS.FRIDAY',\n 'APP.PLUGINS.SATURDAY',\n 'APP.PLUGINS.SUNDAY'\n ],\n short: [\n 'APP.PLUGINS.MONDAY_SHORT',\n 'APP.PLUGINS.TUESDAY_SHORT',\n 'APP.PLUGINS.WEDNESDAY_SHORT',\n 'APP.PLUGINS.THURSDAY_SHORT',\n 'APP.PLUGINS.FRIDAY_SHORT',\n 'APP.PLUGINS.SATURDAY_SHORT',\n 'APP.PLUGINS.SUNDAY_SHORT'\n ]\n };\n for (var day = 0; day < 7; day++) {\n _this.days.push(day);\n }\n return _this;\n }\n /**\n * Opens the shrinkage overlay.\n * @param {any} day The day of the week, where Monday = 0.\n * @memberOf PluginViewShrinkageComponent\n */\n PluginViewShrinkageComponent.prototype.openOverlay = function (day) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var input, error_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2, , 3]);\n input = {\n actionConfiguration: {\n name: 'open-overlay-shrinkage',\n configuration: null,\n method: day\n },\n item: this.selectedFunction\n };\n return [4 /*yield*/, this.actionService.doAction(input)];\n case 1:\n _a.sent();\n return [3 /*break*/, 3];\n case 2:\n error_1 = _a.sent();\n if (error_1) {\n if (!error_1.labelKey) {\n return [2 /*return*/, this.alertsService.createAlert('danger', 'APP.SOCIAL.ACTION_NOT_FOUND', new Error('No labelKey is found'))];\n }\n if (!error_1.message) {\n return [2 /*return*/, this.alertsService.createAlert('danger', error_1.labelKey)];\n }\n return [2 /*return*/, this.alertsService.createAlert('danger', error_1.labelKey, error_1.message)];\n }\n return [2 /*return*/, this.alertsService.createAlert('danger', 'APP.SOCIAL.ACTION_NOT_FOUND', new Error('Received Error is undefined'))];\n case 3: return [2 /*return*/];\n }\n });\n });\n };\n return PluginViewShrinkageComponent;\n}(PluginViewBase));\nexport { PluginViewShrinkageComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../grids/plugins/plugin-view-empty/plugin-view-empty.component.scss.shim.ngstyle\";\nimport * as i1 from \"../../grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./plugin-view-shrinkage.component\";\nimport * as i6 from \"../../core/localisation.service\";\nimport * as i7 from \"../../core/event.service\";\nimport * as i8 from \"../../grids/grid.service\";\nimport * as i9 from \"../../settings.service\";\nimport * as i10 from \"../../core/action.service\";\nimport * as i11 from \"../../core/alerts.service\";\nvar styles_PluginViewShrinkageComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewShrinkageComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewShrinkageComponent, data: {} });\nexport { RenderType_PluginViewShrinkageComponent as RenderType_PluginViewShrinkageComponent };\nfunction View_PluginViewShrinkageComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-sm btn-secondary mr-1\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openOverlay(_v.context.index) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"d-lg-none\"]], null, null, null, null, null)), (_l()(), i2.ɵted(3, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"d-none d-lg-inline\"]], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 1).transform(_co.labels[\"long\"][_v.context.index])), \"\"); var currVal_1 = !_co.selectedFunction; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i2.ɵunv(_v, 3, 0, i2.ɵnov(_v, 4).transform(_co.labels[\"short\"][_v.context.index])); _ck(_v, 3, 0, currVal_2); var currVal_3 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(_co.labels[\"long\"][_v.context.index])); _ck(_v, 6, 0, currVal_3); }); }\nexport function View_PluginViewShrinkageComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"sym-grid-plugin-view\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-plugin-controls\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-plugin-control\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShrinkageComponent_1)), i2.ɵdid(5, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.days; _ck(_v, 5, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewShrinkageComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-shrinkage\", [], null, null, null, View_PluginViewShrinkageComponent_0, RenderType_PluginViewShrinkageComponent)), i2.ɵdid(1, 2277376, null, 0, i5.PluginViewShrinkageComponent, [i6.LocalisationService, i2.ChangeDetectorRef, i7.EventsService, i8.GridService, i9.SettingsService, i10.ActionService, i11.AlertsService], null, null)], null, null); }\nvar PluginViewShrinkageComponentNgFactory = i2.ɵccf(\"sym-plugin-view-shrinkage\", i5.PluginViewShrinkageComponent, View_PluginViewShrinkageComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\" }, {}, []);\nexport { PluginViewShrinkageComponentNgFactory as PluginViewShrinkageComponentNgFactory };\n","/**\n * @file Component to present forecast controls\n * @author Heino Lenting, Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { Entity } from 'breeze-client';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ForecastService } from '../forecast.service';\nimport { PluginViewBase } from '../../grids/plugins/plugin-view/plugin-view.base';\nimport { EventsService } from '../../core/event.service';\nimport { DomainService } from '../../domain.service';\nimport { Processor } from '../../grids/processors/processor';\nimport { FormControl } from '@angular/forms';\nimport { SettingsService } from '../../settings.service';\nimport { GridService } from '../../grids/grid.service';\n/**\n * Class to show the forecast plugins.\n */\nvar PluginViewControlsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewControlsComponent, _super);\n /**\n * Creates an instance of PluginForcastControlsComponent.\n * @param {LocalisationService} localisationService The localisation service.\n * @param {ChangeDetectorRef} changeDetector The change detector.\n * @param {SettingsService} settingsService The settings service.\n * @param {ForecastService} forecastService The forecast service.\n * @param {AlertsService} alertsService The service can be used to display alerts.\n * @memberOf PluginForcastControlsComponent\n */\n function PluginViewControlsComponent(localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, domainService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService) || this;\n _this.gridService = gridService;\n _this.forecastService = forecastService;\n _this.domainService = domainService;\n _this.pluginForcastControl = new FormControl();\n /**\n * A value indicating whether the forecast is being calculated.\n * @memberOf PluginForcastControlsComponent\n */\n _this.isCalculating = false;\n /**\n * A value indicating whether the forecast is being planned.\n * @memberOf PluginForcastControlsComponent\n */\n _this.isExecuting = false;\n /**\n * Holds the reference of the component format.\n * @private\n * @type {ComponentConfiguration}\n */\n _this._format = undefined;\n _this.autoplan = settingsService.settings.autoplan;\n _this.isExecuting = _this.forecastService.isExecuting;\n _this.isCalculating = _this.forecastService.isCalculating;\n _this.subscriptionPool.add(_this.forecastService.processCompleted.subscribe(function () {\n _this.isExecuting = false;\n _this.isCalculating = false;\n _this.detectChanges();\n }));\n return _this;\n }\n Object.defineProperty(PluginViewControlsComponent.prototype, \"template\", {\n /**\n * Gets or sets the shift template.\n * @readonly\n * @type {Entity}\n * @memberOf PluginForcastControlsComponent\n */\n get: function () {\n return this._template;\n },\n set: function (value) {\n if (value === this._template) {\n return;\n }\n this._template = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewControlsComponent.prototype, \"selectedFunction\", {\n /**\n * Gets or sets the selected function from the plugin selector\n */\n get: function () {\n return this._selectedFunction;\n },\n set: function (entity) {\n this._selectedFunction = entity;\n this._template = null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewControlsComponent.prototype, \"templateQuery\", {\n /**\n * Returns the query for looking for the template of a specific function.\n * @readonly\n * @type {*}\n * @memberOf PluginForcastViewControlsComponent\n */\n get: function () {\n var name = this.format.fields.find(function (field) { return field.name === 'Name'; });\n var number = this.format.fields.find(function (field) { return field.name === 'Number'; });\n var query = {\n dataSource: this.format.dataSource,\n entity: this.format.entity,\n fields: [name.name, number.name],\n displayFormat: \"[\" + name.name + \"], [\" + number.name + \"]\",\n parameters: {\n function: this._selectedFunction ? this._selectedFunction['Oid'] : '?'\n }\n };\n return query;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewControlsComponent.prototype, \"scriptQuery\", {\n get: function () {\n var query = {\n dataSource: 'PlanMacroItems',\n entity: 'PlanMacro',\n fields: ['Name'],\n displayFormat: '[Name]'\n };\n return query;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewControlsComponent.prototype, \"pluginKey\", {\n /**\n * Gets the plugin key. The key to store and find the timeslot collections of this plugin.\n * @readonly\n * @public\n * @type {string}\n * @memberOf PluginViewBase\n */\n get: function () {\n return Processor.pluginKey + '-view-forecast-controls';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewControlsComponent.prototype, \"script\", {\n /**\n * Gets or sets the plan macro.\n * @readonly\n * @type {PlanMacro}\n * @memberOf PluginForcastControlsComponent\n */\n get: function () {\n return this._script;\n },\n set: function (value) {\n if (value === this._script) {\n return;\n }\n this._script = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewControlsComponent.prototype, \"format\", {\n /**\n * Get the format of the lookup.\n */\n get: function () {\n return this._format;\n },\n /**\n * Sets the format of the lookup\n */\n set: function (value) {\n if (value === this._format) {\n return;\n }\n this._format = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Start the execution flow if a execution or calculation process is not already running and a shift template is selected.\n * @memberOf PluginForcastControlsComponent\n */\n PluginViewControlsComponent.prototype.execute = function () {\n this.isExecuting = true;\n this.detectChanges();\n this.forecastService.execute(this.domainService, this.selectedFunction, this.template, this.script, this.gridService.startDate, this.gridService.endDate);\n };\n /**\n * Start the calculation flow if a execution or calculation process is not already running and a shift template is selected.\n * @memberOf PluginForcastControlsComponent\n */\n PluginViewControlsComponent.prototype.calculate = function () {\n this.isCalculating = true;\n this.detectChanges();\n this.forecastService.calculate(this.selectedFunction, this.gridService.startDate, this.gridService.endDate);\n };\n /**\n * Returns true if the all conditions are met to execute planning.\n * @returns {boolean} A value indicating whether the planning can be executed.\n * @memberOf PluginForcastViewControlsComponent\n */\n PluginViewControlsComponent.prototype.readyToExecute = function () {\n return !this.isExecuting && !this.isCalculating && this.selectedFunction != null && this.template != null;\n };\n /**\n * Returns true if the all conditions are met to calculate calls.\n * @returns {boolean} A value indicating whether calls can be calculated.\n * @memberOf PluginForcastViewControlsComponent\n */\n PluginViewControlsComponent.prototype.readyToCalculate = function () {\n return !this.isExecuting && !this.isCalculating && this.selectedFunction != null;\n };\n /**\n * Refreshes the layout.\n * @memberOf PluginForcastViewControlsComponent\n */\n PluginViewControlsComponent.prototype.templateChanged = function () {\n this.detectChanges();\n };\n /**\n * Filters out tasks that are already fully planned.\n * @protected\n * @param {Entity} item The task.\n * @returns A value indicating whether the task should be included.\n * @memberOf PluginForcastControlsComponent\n */\n PluginViewControlsComponent.prototype.itemFilter = function (item) {\n return !item.isFullyPlanned();\n };\n return PluginViewControlsComponent;\n}(PluginViewBase));\nexport { PluginViewControlsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present forecast controls\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../grids/plugins/plugin-view-empty/plugin-view-empty.component.scss.shim.ngstyle\";\nimport * as i1 from \"../../grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i4 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i5 from \"../../domain.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"@ngx-translate/core\";\nimport * as i8 from \"../../core/localisation.service\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"@angular/common\";\nimport * as i11 from \"./plugin-view-controls.component\";\nimport * as i12 from \"../../core/event.service\";\nimport * as i13 from \"../../grids/grid.service\";\nimport * as i14 from \"../../settings.service\";\nimport * as i15 from \"../forecast.service\";\nvar styles_PluginViewControlsComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewControlsComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewControlsComponent, data: {} });\nexport { RenderType_PluginViewControlsComponent as RenderType_PluginViewControlsComponent };\nfunction View_PluginViewControlsComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-plugin-control sym-plugin-script\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [null, \"onDropdownChanged\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 2).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.script = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"onDropdownChanged\" === en)) {\n var pd_2 = (_co.changeDetector.detectChanges() !== false);\n ad = (pd_2 && ad);\n } return ad; }, i3.View_InputEntityComponent_0, i3.RenderType_InputEntityComponent)), i2.ɵdid(2, 245760, null, 0, i4.InputEntityComponent, [i5.DomainService, i6.AlertsService, i7.TranslateService, i8.LocalisationService, i9.OverlayService], { disabled: [0, \"disabled\"], control: [1, \"control\"], value: [2, \"value\"], placeholder: [3, \"placeholder\"], format: [4, \"format\"] }, { valueChange: \"valueChange\", onDropdownChanged: \"onDropdownChanged\" }), i2.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.template == null); var currVal_1 = _co.pluginForcastControl; var currVal_2 = _co.script; var currVal_3 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 2, 3, i2.ɵnov(_v, 3).transform(\"APP.FORECAST.CHOOSE_SCRIPT\")), \"\"); var currVal_4 = _co.scriptQuery; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }, null); }\nfunction View_PluginViewControlsComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-plugin-control\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"disabled\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.execute() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i10.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-icon-loading icon-spin\": 0, \"sym-icon-execute\": 1 }), (_l()(), i2.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), i2.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_2 = \"icon\"; var currVal_3 = _ck(_v, 5, 0, _co.isExecuting, !_co.isExecuting); _ck(_v, 4, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.readyToExecute(); var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 1, 1, i2.ɵnov(_v, 2).transform(\"APP.PLUGINS.EXECUTE\")), \"\"); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_4 = i2.ɵunv(_v, 7, 0, i2.ɵnov(_v, 8).transform(\"APP.PLUGINS.EXECUTE\")); _ck(_v, 7, 0, currVal_4); }); }\nfunction View_PluginViewControlsComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 17, \"div\", [[\"class\", \"sym-plugin-controls\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"sym-plugin-control sym-plugin-template\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 2, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [null, \"onDropdownChanged\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 3).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.template = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"onDropdownChanged\" === en)) {\n var pd_2 = (_co.changeDetector.detectChanges() !== false);\n ad = (pd_2 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_3 = (_co.templateChanged() !== false);\n ad = (pd_3 && ad);\n } return ad; }, i3.View_InputEntityComponent_0, i3.RenderType_InputEntityComponent)), i2.ɵdid(3, 245760, null, 0, i4.InputEntityComponent, [i5.DomainService, i6.AlertsService, i7.TranslateService, i8.LocalisationService, i9.OverlayService], { disabled: [0, \"disabled\"], control: [1, \"control\"], value: [2, \"value\"], placeholder: [3, \"placeholder\"], format: [4, \"format\"] }, { valueChange: \"valueChange\", onDropdownChanged: \"onDropdownChanged\" }), i2.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewControlsComponent_2)), i2.ɵdid(6, 16384, null, 0, i10.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewControlsComponent_3)), i2.ɵdid(8, 16384, null, 0, i10.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(9, 0, null, null, 8, \"div\", [[\"class\", \"sym-plugin-control\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"disabled\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.calculate() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(12, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(13, 278528, null, 0, i10.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(14, { \"sym-icon-loading icon-spin\": 0, \"sym-icon-recalculate\": 1 }), (_l()(), i2.ɵeld(15, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(16, null, [\"\", \"\"])), i2.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.selectedFunction == null); var currVal_1 = _co.pluginForcastControl; var currVal_2 = _co.template; var currVal_3 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 3, 3, i2.ɵnov(_v, 4).transform(\"APP.FORECAST.CHOOSE_SHIFTTEMPLATE\")), \"\"); var currVal_4 = _co.templateQuery; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); var currVal_5 = _co.autoplan; _ck(_v, 6, 0, currVal_5); var currVal_6 = _co.isHorizionInWeek(); _ck(_v, 8, 0, currVal_6); var currVal_9 = \"icon\"; var currVal_10 = _ck(_v, 14, 0, _co.isCalculating, !_co.isCalculating); _ck(_v, 13, 0, currVal_9, currVal_10); }, function (_ck, _v) { var _co = _v.component; var currVal_7 = !_co.readyToCalculate(); var currVal_8 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 10, 1, i2.ɵnov(_v, 11).transform(\"APP.PLUGINS.RECALCULATE\")), \"\"); _ck(_v, 10, 0, currVal_7, currVal_8); var currVal_11 = i2.ɵunv(_v, 16, 0, i2.ɵnov(_v, 17).transform(\"APP.PLUGINS.RECALCULATE\")); _ck(_v, 16, 0, currVal_11); }); }\nexport function View_PluginViewControlsComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-grid-plugin-view\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewControlsComponent_1)), i2.ɵdid(3, 16384, null, 0, i10.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.format; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewControlsComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-forecast-controls\", [], null, null, null, View_PluginViewControlsComponent_0, RenderType_PluginViewControlsComponent)), i2.ɵdid(1, 2277376, null, 0, i11.PluginViewControlsComponent, [i8.LocalisationService, i2.ChangeDetectorRef, i12.EventsService, i13.GridService, i14.SettingsService, i15.ForecastService, i5.DomainService], null, null)], null, null); }\nvar PluginViewControlsComponentNgFactory = i2.ɵccf(\"sym-plugin-view-forecast-controls\", i11.PluginViewControlsComponent, View_PluginViewControlsComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", format: \"format\" }, {}, []);\nexport { PluginViewControlsComponentNgFactory as PluginViewControlsComponentNgFactory };\n","/**\n * @file Component to view the capacity\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport * as moment from 'moment';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ForecastService } from '../forecast.service';\nimport { PluginViewForecastBase, PLANITEMS, PROGNOSES, CORRECTIONS, SHRINKAGES } from '../plugin-view-forecast/plugin-view-forecast.base';\nimport { SettingsService } from '../../settings.service';\nimport { GridService } from '../../grids/grid.service';\n/**\n * Class to show the grid capacity\n */\nvar PluginViewCapacityComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewCapacityComponent, _super);\n /**\n * Creates an instance of PluginViewCapacityComponent.\n * @param {LocalisationService} localisationService The localisation service.\n * @param {ChangeDetectorRef} changeDetector The change detector is used to update the rendered layout.\n * @param {EventsService} eventsService The events service.\n * @param {SettingsService} settingsService The settings service.\n * @param {ForecastService} forecastService The forecast service is used to retrieve prognoses.\n * @param {AlertsService} alertsService The alerts service.\n * @memberOf PluginViewCapacityComponent\n */\n function PluginViewCapacityComponent(localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) || this;\n /**\n * The names of the queries that are loaded when the plugin view refreshes.\n * @protected\n * @memberOf PluginViewCapacityComponent\n */\n _this.queryNames = [PLANITEMS, PROGNOSES, CORRECTIONS, SHRINKAGES];\n return _this;\n }\n /**\n * Builds the calls chart.\n * @protected\n * @memberOf PluginViewCapacityComponent\n */\n PluginViewCapacityComponent.prototype.build = function () {\n var _this = this;\n // The absolute highest value of all displayed charts.\n var maxValue = 0;\n var pluginBars = [];\n // The service level agreement and maximum waiting time are static.\n var sla = this.selectedFunction['SLA'] / 100;\n var maxWait = moment.duration(this.selectedFunction['MaxWait']);\n this.gridCollections.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRows) {\n gridRows.children.forEach(function (gridRow) {\n // A grid column is one day on the planboard.\n gridRow.children.forEach(function (gridColumn) {\n gridColumn.pluginBars = [];\n if (_this.queryResults[PROGNOSES].length === 0) {\n return;\n }\n // The correction factor is 1 if there is not correction.\n var correctionEntity = _this.queryResults[CORRECTIONS].find(function (c) { return gridColumn.meta.start.startOf('day').isSame(c['Date']); });\n var correction = correctionEntity ? correctionEntity['Value'] : 1;\n // The dimensions are the start, finish and derived width of the one bar. In this case the first.\n var dimensions = _this.getBarDimensions(gridColumn);\n var _loop_1 = function () {\n // Collect all prognoses that fall within the dimensions.\n // Prognoses may not overlap partially with a bar!\n var prognoses = _this.queryResults[PROGNOSES].filter(function (prognosis) { return dimensions.startTime.isBefore(prognosis['Finish']) && dimensions.endTime.isAfter(prognosis['Start']); });\n if (prognoses.length > 0) {\n // The calculated capacity.\n var value_1 = 0;\n prognoses.forEach(function (prognosis) {\n var customers = correction * prognosis['Customers'];\n var overlapStart = dimensions.startTime.isSameOrAfter(prognosis['Start']) ? dimensions.startTime.clone() : moment(prognosis['Start']);\n var overlapFinish = dimensions.startTime.isSameOrBefore(prognosis['Finish']) ? dimensions.endTime.clone() : moment(prognosis['Finish']);\n var timeLength = moment.duration(overlapFinish.diff(overlapStart));\n var aht = moment.duration(prognosis['AHT']);\n var resources = 0;\n var serviceLevel = 0;\n while (serviceLevel < sla) {\n serviceLevel = ForecastService.getServiceLevel(++resources, customers, timeLength, aht, maxWait);\n }\n // The number of resources required to meet the SLA is equal to the negative capacity if there are no attendants.\n value_1 -= resources * timeLength.asMilliseconds() / dimensions.width.asMilliseconds();\n });\n // The calculated capacity without shrinkage.\n var extraValue = value_1;\n // The attendants and assignments (breaks) that overlap with the bar.\n var planItems = _this.queryResults[PLANITEMS].filter(function (planItem) {\n return dimensions.startTime.isBefore(planItem['Finish']) && dimensions.endTime.isAfter(planItem['Start']) &&\n planItem['Item']['Resource_Oid'] != null;\n });\n var attendants = planItems.filter(function (planItem) { return planItem['ItemClass'] === 'Attendant'; }).map(function (planItem) { return planItem['Item']; });\n var assignments = planItems.filter(function (planItem) { return planItem['ItemClass'] === 'Assignment'; }).map(function (planItem) { return planItem['Item']; });\n // The shrinkages that overlap with the bar.\n var dayStart_1 = dimensions.startTime.clone().startOf('day');\n var barStart_1 = dimensions.startTime.diff(dayStart_1);\n var barFinish_1 = dimensions.endTime.diff(dayStart_1);\n var shrinkages = _this.queryResults[SHRINKAGES].map(function (entity) { return entity; }).filter(function (shrinkage) {\n return shrinkage.DayOfWeek === PluginViewForecastBase.daysOfWeek[dimensions.startTime.isoWeekday() - 1] &&\n shrinkage.Start < barFinish_1 && shrinkage.Finish > barStart_1;\n });\n // Find all the points where one of these items start or finish within the bar.\n var ends_1 = [barStart_1, barFinish_1];\n planItems.forEach(function (planItem) {\n if (dimensions.startTime.isBefore(planItem['Start']) && dimensions.endTime.isAfter(planItem['Start'])) {\n ends_1.push(moment(planItem['Start']).diff(dayStart_1));\n }\n if (dimensions.startTime.isBefore(planItem['Finish']) && dimensions.endTime.isAfter(planItem['Finish'])) {\n ends_1.push(moment(planItem['Finish']).diff(dayStart_1));\n }\n });\n shrinkages.forEach(function (shrinkage) {\n if (barStart_1 < shrinkage.Start && barFinish_1 > shrinkage.Start) {\n ends_1.push(shrinkage.Start);\n }\n if (barStart_1 < shrinkage.Finish && barFinish_1 > shrinkage.Finish) {\n ends_1.push(shrinkage.Finish);\n }\n });\n // Put all breakpoints in chronological order.\n var breakpoints_1 = [];\n ends_1.sort().forEach(function (end) {\n if (breakpoints_1.indexOf(end) === -1) {\n breakpoints_1.push(end);\n }\n });\n var _loop_2 = function (index) {\n var fractionalStart = breakpoints_1[index - 1];\n var fractionalFinish = breakpoints_1[index];\n // Get the width of this bit as a fraction of the whole bar width.\n var timeFraction = (fractionalFinish - breakpoints_1[index - 1]) / dimensions.width.asMilliseconds();\n // The coverage is the number of agents at work.\n var coverage = attendants.filter(function (attendant) {\n return moment(attendant['Start']).diff(dayStart_1) <= fractionalStart && moment(attendant['Finish']).diff(dayStart_1) >= fractionalFinish;\n }).length;\n coverage -= assignments.filter(function (assignment) {\n return moment(assignment['Start']).diff(dayStart_1) <= fractionalStart && moment(assignment['Finish']).diff(dayStart_1) >= fractionalFinish;\n }).length;\n var shrinkage = shrinkages.find(function (shrinkage) {\n return shrinkage.Start <= fractionalStart && shrinkage.Finish >= fractionalFinish;\n });\n extraValue += coverage * timeFraction;\n // The coverage needs to be corrected for shrinkage.\n value_1 += coverage * timeFraction * (shrinkage ? 1 - shrinkage['Value'] / 100 : 1);\n };\n // Calculate capacity coverage per timeframe.\n for (var index = 1; index < breakpoints_1.length; index++) {\n _loop_2(index);\n }\n // Get the maximum value, so that the chart is stretched to the max on the y-axis.\n if (Math.abs(value_1) > maxValue) {\n maxValue = Math.abs(value_1);\n }\n // One bar for the calculated capacity taking shrinkage into account.\n var pluginBar = {\n startHour: dimensions.startTime.hour(),\n startMinute: dimensions.startTime.minute(),\n endHour: dimensions.width.asDays() >= 1 ? 24 : dimensions.endTime.hour(),\n endMinute: dimensions.width.asDays() >= 1 ? 0 : dimensions.endTime.minute(),\n relativeValue: value_1,\n value: _this.toMaxTwoDecimals(value_1)\n };\n // If there is shrinkage, add the capacity without shrinkage.\n if (extraValue !== value_1) {\n pluginBar.relativeValueExtra = extraValue;\n pluginBar.valueExtra = _this.toMaxTwoDecimals(extraValue);\n if (Math.abs(extraValue) > maxValue) {\n maxValue = Math.abs(extraValue);\n }\n }\n // Add the bar to the plug-in.\n gridColumn.pluginBars.push(pluginBar);\n pluginBars.push(pluginBar);\n }\n // Move to the next bar.\n dimensions.startTime = dimensions.endTime;\n dimensions.endTime = dimensions.startTime.clone().add(dimensions.width);\n };\n do {\n _loop_1();\n } while (dimensions.endTime.isSameOrBefore(gridColumn.meta.finish));\n });\n });\n });\n });\n // All charts need to be scaled equally, so the relative value can only be set at the end, when the maximum value is known.\n pluginBars.forEach(function (pluginBar) {\n pluginBar.relativeValue = Math.round(100 * pluginBar.relativeValue / maxValue);\n if (pluginBar.relativeValueExtra) {\n pluginBar.relativeValueExtra = Math.round(100 * pluginBar.relativeValueExtra / maxValue);\n }\n });\n };\n return PluginViewCapacityComponent;\n}(PluginViewForecastBase));\nexport { PluginViewCapacityComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the capacity\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"./plugin-view-capacity.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./plugin-view-capacity.component\";\nimport * as i6 from \"../../core/localisation.service\";\nimport * as i7 from \"../../core/event.service\";\nimport * as i8 from \"../../grids/grid.service\";\nimport * as i9 from \"../../settings.service\";\nimport * as i10 from \"../forecast.service\";\nimport * as i11 from \"../../core/alerts.service\";\nvar styles_PluginViewCapacityComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewCapacityComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewCapacityComponent, data: {} });\nexport { RenderType_PluginViewCapacityComponent as RenderType_PluginViewCapacityComponent };\nfunction View_PluginViewCapacityComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewCapacityComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \" \", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(5, \"sym-plan-item sym-graph \", _co.goingUpOrDownClass(\"graph\", _v.parent.context.$implicit.pluginLine.relativeValue), \" sym-start-h\", _v.parent.context.$implicit.pluginLine.startHour, \" sym-start-m\", _v.parent.context.$implicit.pluginLine.startMinute, \" sym-end-h\", _v.parent.context.$implicit.pluginLine.endHour, \" sym-end-m\", _v.parent.context.$implicit.pluginLine.endMinute, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.pluginLine.value; var currVal_2 = i2.ɵunv(_v, 2, 1, i2.ɵnov(_v, 3).transform(\"APP.PLUGINS.AVERAGE\")); _ck(_v, 2, 0, currVal_1, currVal_2); }); }\nfunction View_PluginViewCapacityComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.parent.context.$implicit.relativeValueExtra), \" \", _v.parent.context.$implicit.class, \" sym-bar-extra\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewCapacityComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0], [8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_8)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], function (_ck, _v) { var currVal_2 = _v.context.$implicit.relativeValueExtra; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-bar-positioner sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_1 = _co.readableTitle(_v.context.$implicit); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.context.$implicit.relativeValue), \" \", _v.context.$implicit.class, \"\"); _ck(_v, 3, 0, currVal_3); }); }\nfunction View_PluginViewCapacityComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-special-day text-truncate\"]], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.specialDay; _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.specialDay; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PluginViewCapacityComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-graphs sym-graphs-range-positive-negative\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_6)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"sym-bars sym-bars-range-positive-negative\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_7)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_9)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.pluginLine != null); _ck(_v, 3, 0, currVal_0); var currVal_1 = _v.context.$implicit.pluginBars; _ck(_v, 6, 0, currVal_1); var currVal_2 = _v.context.$implicit.specialDay; _ck(_v, 8, 0, currVal_2); }, null); }\nfunction View_PluginViewCapacityComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_5)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewCapacityComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_4)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewCapacityComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_3)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewCapacityComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewCapacityComponent_1)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewCapacityComponent_2)), i2.ɵdid(4, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i4.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view sym-grid-plugin-view-bars clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewCapacityComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-capacity\", [], null, null, null, View_PluginViewCapacityComponent_0, RenderType_PluginViewCapacityComponent)), i2.ɵdid(1, 2277376, null, 0, i5.PluginViewCapacityComponent, [i6.LocalisationService, i2.ChangeDetectorRef, i7.EventsService, i8.GridService, i9.SettingsService, i10.ForecastService, i11.AlertsService], null, null)], null, null); }\nvar PluginViewCapacityComponentNgFactory = i2.ɵccf(\"sym-plugin-view-capacity\", i5.PluginViewCapacityComponent, View_PluginViewCapacityComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", options: \"options\" }, {}, []);\nexport { PluginViewCapacityComponentNgFactory as PluginViewCapacityComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the capacity\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-bar-negative[_ngcontent-%COMP%]{background-color:#e8a055;border:1px solid rgba(0,0,0,.1)}.sym-bar-base[_ngcontent-%COMP%]{background-color:#999653}.sym-bar-positive[_ngcontent-%COMP%]{background-color:#d31433;border:1px solid rgba(0,0,0,.1)}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-grid-segments[_ngcontent-%COMP%]{border-top:1px solid #ccc}\"];\nexport { styles as styles };\n","/**\n * @file Component to present the forecast\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterContentChecked, OnDestroy, ChangeDetectorRef, AfterViewInit, NgZone, ElementRef } from '@angular/core';\nimport { PluginViewBase } from '../plugin-view/plugin-view.base';\nimport { DataSet } from '../../../core/helpers/data-set';\nimport { KeyedCollection } from '../../../base/helpers/remove-keyed-collection';\nimport { Processor } from '../../processors/processor';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { EventsService } from '../../../core/event.service';\nimport { DomainService } from '../../../domain.service';\nimport { ExecutorsService } from '../../executors.service';\nimport { SettingsService } from '../../../settings.service';\nimport { GridService } from '../../grid.service';\n/**\n * Class to show the forecast, the unplanned services only.\n */\nvar PluginViewShiftsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewShiftsComponent, _super);\n /**\n * Creates an instance of PluginForecastShiftsComponent.\n * @param {LocalisationService} localisationService LocalisationService to get langauge dependent formats.\n * @param {ChangeDetectorRef} changeDetector ChangeDetectorRef to update the component on change\n * @param {SettingsService} settingsService SettingsService has settings we need.\n * @param {ExecutorsService} executorsService ExecutorsService needed for drag/drop actions.\n * @param {DomainService} domainService DomainService to get the shifts and services.\n */\n function PluginViewShiftsComponent(alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService) || this;\n _this.alertsService = alertsService;\n _this.executorsService = executorsService;\n _this.domainService = domainService;\n _this.elementRef = elementRef;\n _this.ngZone = ngZone;\n _this.gridService = gridService;\n /**\n * Reference to the selected team. The team is used to filter the shifts.\n * @private\n * @type {Entity}\n */\n _this._selectedTeam = null;\n /**\n * Reference to the selected function (or regio or team). The filter entity is used to filter the shifts.\n * @private\n * @type {Entity}\n */\n _this._filter = null;\n /**\n * The number of data refresh cycles are currently processing.\n * @protected\n * @memberOf PluginViewShiftsComponent\n */\n _this.loadingProcesses = 0;\n /**\n * Collection with query parameters that the user can change in value.\n * @protected\n * @type {DynamicParameter[]}\n */\n _this.dynamicParameters = [];\n /**\n * Collection with datasets per shift with the OID as key\n * @private\n */\n _this._datasets = new KeyedCollection();\n /**\n * Gets the executor name. Is used to indicate the source of a drag event.\n * @type {ExecutorName}\n */\n _this.executorName = 'drop';\n /**\n * Holds the reference of the component format.\n * @private\n * @type {ComponentConfiguration}\n */\n _this._format = undefined;\n return _this;\n }\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"loadingInProgress\", {\n /**\n * Boolean to indicate loading in progress.\n * @public\n * @type {boolean}\n */\n get: function () {\n return this.loadingProcesses > 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"startDate\", {\n /**\n * Gets he start date used for building the query\n * @readonly\n * @type {string}\n */\n get: function () {\n return this.gridService.level.formatter.queryStartDate.format('YYYY-MM-DD HH:mm:ss');\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"endDate\", {\n /**\n * Gets, the end date used for building the query\n * @readonly\n * @type {string}\n */\n get: function () {\n return this.gridService.level.formatter.queryFinishDate.format('YYYY-MM-DD HH:mm:ss');\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"selectedFunction\", {\n /**\n * Sets the options of the plugin. In this case the function to filter the services.\n * @type {Entity}\n * @memberOf PluginShiftsComponent\n */\n set: function (entity) {\n if (this._selectedFunction === entity) {\n return;\n }\n this._selectedFunction = entity;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"selectedTeam\", {\n /**\n * Gets the selected team. The team is used to filter the shifts.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n return this._selectedTeam;\n },\n /**\n * Sets the selected team. The team is used to filter the shifts.\n */\n set: function (value) {\n if (this._selectedTeam === value) {\n return;\n }\n this._selectedTeam = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"teamOid\", {\n /**\n * Gets the query parameter value of the selected team.\n * @readonly\n * @type {string}\n */\n get: function () {\n if (this._selectedTeam == null) {\n return '?';\n }\n return this._selectedTeam['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"filterOid\", {\n /**\n * Gets the query parameter value of the selected filter entity.\n * @readonly\n * @type {string}\n */\n get: function () {\n if (this._filter == null) {\n return '?';\n }\n return this._filter['Oid'] ? this._filter['Oid'] : '?';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"filter\", {\n /**\n * Gets the selected function (or regio or team). The filter entity is used to filter the shifts.\n * @readonly\n * @type {Entity}\n */\n get: function () {\n return this._filter;\n },\n /**\n * Sets the selected function (or regio or team). The filter entity is used to filter the shifts.\n */\n set: function (value) {\n if (value === this._filter) {\n return;\n }\n this._filter = value;\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"pluginKey\", {\n /**\n * Gets the plugin key. The key to store and find the timeslot collections of this plugin.\n * @readonly\n * @public\n * @type {string}\n * @memberOf PluginViewBase\n */\n get: function () {\n return Processor.pluginKey + '-view-shifts';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewShiftsComponent.prototype, \"format\", {\n /**\n * Get the formatof the lookup.\n */\n get: function () {\n return this._format;\n },\n /**\n * Sets the formatof the lookup\n */\n set: function (value) {\n if (value === this._format) {\n return;\n }\n this._format = value;\n },\n enumerable: true,\n configurable: true\n });\n PluginViewShiftsComponent.prototype.registerShift = function (dataSource) {\n var _this = this;\n this.shifts = new DataSet(this.domainService);\n this.shifts.sourceName = dataSource;\n this.shifts.queryOptions = {\n parameters: {\n filter: {\n valueProperty: 'filterOid'\n },\n team: {\n valueProperty: 'teamOid'\n },\n period: true,\n start: {\n valueProperty: 'startDate'\n },\n finish: {\n valueProperty: 'endDate'\n }\n }\n };\n DomainService.getDynamicParams(this.shifts.queryOptions, this.dynamicParameters);\n this.subscriptionPool.add(this.eventsService.register('drop-successful').subscribe(function () {\n _this.refresh();\n }));\n this.subscriptionPool.add(this.eventsService.register('plugin-selector-changed').subscribe(function () {\n _this.refresh();\n }));\n this.shifts.register('Shift');\n };\n /**\n * Callback when pagination is destroyed to cleanup references.\n */\n PluginViewShiftsComponent.prototype.ngOnDestroy = function () {\n this.subscriptionPool.unsubscribeAll();\n };\n /**\n * Handling the drag start event\n * @param {DragEvent} event The drag event\n * @param {string} executerName The name of the executor\n * @param {ExecutorData} data The data of the executor\n */\n PluginViewShiftsComponent.prototype.dragItem = function (dragEvent, executerName, data) {\n if (dragEvent.target instanceof Element) {\n // Create executor event and get the id returned\n var executorId = this.executorsService.createExecutorEventAndGetTheId(executerName, data);\n // Set the executor id\n /* Fix issue: Xerius: Bij aanlog via IE is het niet mogelijk om Afwezigheden /Services te droppen op Planbord #2718\n * Oplossing gebruik alleen 'Text' bij dataTransfer.\n * Zie: https://stackoverflow.com/questions/26213011/html5-dragdrop-issue-in-internet-explorer-datatransfer-property-access-not-pos\n */\n dragEvent.dataTransfer.setData('Text', executorId);\n }\n };\n /**\n * Gets the shifts and services to show.\n * @protected\n * @returns {Promise} The result of the query\n */\n PluginViewShiftsComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n if (!this.shifts || this.shifts.entityType == null) {\n return [2 /*return*/];\n }\n // generateGridSegments is hier nodig want daar wordt\n // gridService.level.formatter.queryStartDate en gridService.level.formatter.queryLastDate\n // gezet en die zijn nodig om de query request te doen met de juiste periode.\n this.gridCollections = this.generateGridSegments();\n result = new Promise(function (resolve, reject) { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var harvestAll, formatter, count;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this.loadingProcesses++;\n this.detectChanges();\n DomainService.setDynamicParams(this.shifts.queryOptions, this.dynamicParameters, this);\n return [4 /*yield*/, this.shifts.refresh()];\n case 1:\n _a.sent();\n harvestAll = [];\n // Stop loading even when there are no resources\n if (this.shifts.items.length === 0) {\n formatter = this.gridService.level.formatter;\n formatter.refreshWith(this.pluginKey, harvestAll);\n resolve(null);\n if (this.loadingProcesses > 0) {\n this.loadingProcesses--;\n }\n this.detectChanges();\n return [2 /*return*/];\n }\n count = 0;\n this.shifts.items.map(function (it) { return it; }).forEach(function (shift) { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var oid, dataset, queryOptions, queryResult, reason_1, formatter;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n oid = shift['Oid'];\n dataset = this._datasets.Item(oid);\n if (dataset === undefined) {\n dataset = this._datasets.Add(oid, new DataSet());\n dataset.sourceName = 'TaskList';\n }\n queryOptions = this.queryOptions(oid);\n dataset.queryOptions = queryOptions;\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.domainService.getDataSet(dataset, dataset.items)];\n case 2:\n queryResult = _a.sent();\n harvestAll = harvestAll.concat(dataset.items);\n resolve(queryResult);\n return [3 /*break*/, 4];\n case 3:\n reason_1 = _a.sent();\n this.loadingProcesses = 0;\n reject(reason_1);\n this.detectChanges();\n return [3 /*break*/, 4];\n case 4:\n count++;\n if (this.shifts.items.length === count) {\n formatter = this.gridService.level.formatter;\n formatter.refreshWith(this.pluginKey, harvestAll);\n if (this.loadingProcesses > 0) {\n this.loadingProcesses--;\n }\n this.detectChanges();\n }\n return [2 /*return*/];\n }\n });\n }); });\n return [2 /*return*/];\n }\n });\n }); });\n return [2 /*return*/, result];\n });\n });\n };\n /**\n * Create the QueryOptions for given shift\n * @param {string} shiftOid The oid of the shift\n * @returns {QueryOptions} The query options of the shift\n */\n PluginViewShiftsComponent.prototype.queryOptions = function (shiftOid) {\n return {\n parameters: {\n 'className': 'Shift',\n 'oid': shiftOid,\n 'start': this.startDate,\n 'finish': this.endDate,\n 'include': this.getIncludeOfTasklist()\n },\n expand: 'Item.Shift'\n };\n };\n /**\n * Gets the include query parameter value.\n * @protected\n * @returns The include query parameter value.\n */\n PluginViewShiftsComponent.prototype.getIncludeOfTasklist = function () {\n if (!this._selectedFunction) {\n return 'Services UNPLANNED !PURPOSES[GENERATED]';\n }\n return 'Services UNPLANNED CONCERNS[' + this._selectedFunction['Oid'] + '] !PURPOSES[GENERATED]';\n };\n /**\n * Handling the drag over event\n * @param {DragEvent} event\n */\n PluginViewShiftsComponent.prototype.dragOver = function (event) {\n event.stopPropagation();\n event.preventDefault();\n };\n /**\n * Handling the drop event\n * @param {DragEvent} event\n */\n PluginViewShiftsComponent.prototype.dropItem = function (event) {\n var _this = this;\n // Prevent the default handling of the element\n event.preventDefault();\n // Get the executor id from the drag data\n /* Fix issue: Xerius: Bij aanlog via IE is het niet mogelijk om Afwezigheden /Services te droppen op Planbord #2718\n * Oplossing gebruik alleen 'Text' bij dataTransfer.\n * Zie: https://stackoverflow.com/questions/26213011/html5-dragdrop-issue-in-internet-explorer-datatransfer-property-access-not-pos\n */\n var executorId = event.dataTransfer.getData('Text');\n // Use the executor id to find the executor event\n var executorEvent = this.executorsService.getExecutorEventById(executorId);\n // By the drag start the executor name is set but if a drop is performed on the 'delete' button in\n // the DragSource we need to rewrite the orginal executor name to match against the correct delete executor.\n var executorName;\n switch (executorEvent.executorName) {\n case 'attendant-move':\n executorName = 'back';\n break;\n }\n if (executorName) {\n // Initiate the executors\n this.executorsService.initiate(executorName, executorEvent.data).then(function (_a) {\n var items = _a[0], successMessage = _a[1];\n // Execution is successful\n _this.alertsService.createAlert('success', successMessage);\n // Refresh the plugin itself\n _this.refresh();\n }).catch(function (error) {\n if (error.entityErrors && error.entityErrors.length > 0) {\n // Error alert already created by executor\n return;\n }\n _this.alertsService.createAlert('danger', (typeof error === 'string') ? error : 'APP.EXECUTORS.EXECUTION_FAILED', (typeof error === 'string') ? undefined : error);\n });\n }\n else {\n this.alertsService.createAlert('danger', 'APP.EXECUTORS.NO_DROP_BACK_SUPPORT');\n }\n };\n /**\n * Is called during the initialization of the component\n */\n PluginViewShiftsComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n // The dragover event is needed to make a drop work. The problem is that for every move the draggable\n // item fires the dragover event of Angular and a change detection is handled. This is per pixel (!)\n // so it's quite slow to 're-render' the grid. Therefore I placed the dragover event outside Angular via NgZone.\n // This construction is used in grid-display-base.component.ts, grid-drag-base.component.ts, plugin-view-forecast-shifts and grid-bar-base.component.ts.\n this.ngZone.runOutsideAngular(function () {\n _this.elementRef.nativeElement.addEventListener('dragover', function (event) {\n event.stopPropagation();\n event.preventDefault();\n });\n _this.elementRef.nativeElement.addEventListener('drop', function (event) {\n event.stopPropagation();\n event.preventDefault();\n });\n });\n this.registerShift(this.format.dataSource);\n this.refresh();\n };\n return PluginViewShiftsComponent;\n}(PluginViewBase));\nexport { PluginViewShiftsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present the forecast\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"./plugin-view-shifts.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./plugin-view-shifts.component\";\nimport * as i6 from \"../../../core/alerts.service\";\nimport * as i7 from \"../../../core/localisation.service\";\nimport * as i8 from \"../../../core/event.service\";\nimport * as i9 from \"../../../settings.service\";\nimport * as i10 from \"../../executors.service\";\nimport * as i11 from \"../../../domain.service\";\nimport * as i12 from \"../../grid.service\";\nvar styles_PluginViewShiftsComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewShiftsComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewShiftsComponent, data: {} });\nexport { RenderType_PluginViewShiftsComponent as RenderType_PluginViewShiftsComponent };\nfunction View_PluginViewShiftsComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewShiftsComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null]], [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _co.executorName, { items: [_v.context.$implicit.entity] }) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(12, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-service sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_3 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = true; var currVal_1 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.colorDarker; _ck(_v, 5, 0, currVal_4); var currVal_5 = _v.context.$implicit.entity.Shift.Name; _ck(_v, 7, 0, currVal_5); var currVal_6 = _v.context.$implicit.name; _ck(_v, 9, 0, currVal_6); var currVal_7 = i2.ɵinlineInterpolate(2, \"\", _v.context.$implicit.name, \"1\\n\", i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 11).transform(\"APP.PLUGINS.PLUGIN_PLANNED_VS_NEEDED\")), \"\"); _ck(_v, 10, 0, currVal_7); var currVal_8 = _co.plannedVsEffort(_v.context.$implicit.entity); _ck(_v, 12, 0, currVal_8); }); }\nfunction View_PluginViewShiftsComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-services\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsComponent_6)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.gridAttendants; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewShiftsComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-unavailable\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsComponent_5)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewShiftsComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsComponent_4)), i2.ɵdid(2, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewShiftsComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsComponent_3)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewShiftsComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewShiftsComponent_2)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i3.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewShiftsComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-shifts\", [], null, null, null, View_PluginViewShiftsComponent_0, RenderType_PluginViewShiftsComponent)), i2.ɵdid(1, 6471680, null, 0, i5.PluginViewShiftsComponent, [i6.AlertsService, i7.LocalisationService, i2.ChangeDetectorRef, i8.EventsService, i9.SettingsService, i10.ExecutorsService, i11.DomainService, i2.ElementRef, i2.NgZone, i12.GridService], null, null)], null, null); }\nvar PluginViewShiftsComponentNgFactory = i2.ɵccf(\"sym-plugin-view-shifts\", i5.PluginViewShiftsComponent, View_PluginViewShiftsComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", selectedTeam: \"selectedTeam\", filter: \"filter\", format: \"format\" }, {}, []);\nexport { PluginViewShiftsComponentNgFactory as PluginViewShiftsComponentNgFactory };\n","/**\n * @file Component to present the forecast\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, NgZone, ElementRef } from '@angular/core';\nimport { ExecutorsService } from '../../executors.service';\nimport { PluginViewShiftsComponent } from '../plugin-view-shifts/plugin-view-shifts.component';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { DomainService } from '../../../domain.service';\nimport { EventsService } from '../../../core/event.service';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { SettingsService } from '../../../settings.service';\nimport { GridService } from '../../grid.service';\n/**\n * Class to show the forecast, planned and unplanned.\n */\nvar PluginViewShiftsExtraComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewShiftsExtraComponent, _super);\n /**\n * Creates an instance of PluginForecastShiftsExtraComponent.\n * @param {LocalisationService} localisationService LocalisationService to get langauge dependent formats.\n * @param {ChangeDetectorRef} changeDetector ChangeDetectorRef to update the component on change\n * @param {SettingsService} settingsService SettingsService has settings we need.\n * @param {ExecutorsService} executorsService ExecutorsService needed for drag/drop actions.\n * @param {DomainService} domainService DomainService to get the shifts and services.\n */\n function PluginViewShiftsExtraComponent(alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) {\n var _this = _super.call(this, alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) || this;\n /**\n * Gets the executor name. Is used to indicate the source of a drag event.\n * @type {ExecutorName}\n */\n _this.executorName = 'drop-extra';\n return _this;\n }\n /**\n * Gets the include query parameter value.\n * @protected\n * @returns The include query parameter value.\n */\n PluginViewShiftsExtraComponent.prototype.getIncludeOfTasklist = function () {\n if (!this._selectedFunction) {\n return 'Services !PURPOSES[GENERATED]';\n }\n return 'Services CONCERNS[' + this._selectedFunction['Oid'] + '] !PURPOSES[GENERATED]';\n };\n return PluginViewShiftsExtraComponent;\n}(PluginViewShiftsComponent));\nexport { PluginViewShiftsExtraComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present the forecast\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"../plugin-view-shifts/plugin-view-shifts.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./plugin-view-shifts-extra.component\";\nimport * as i6 from \"../../../core/alerts.service\";\nimport * as i7 from \"../../../core/localisation.service\";\nimport * as i8 from \"../../../core/event.service\";\nimport * as i9 from \"../../../settings.service\";\nimport * as i10 from \"../../executors.service\";\nimport * as i11 from \"../../../domain.service\";\nimport * as i12 from \"../../grid.service\";\nvar styles_PluginViewShiftsExtraComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewShiftsExtraComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewShiftsExtraComponent, data: {} });\nexport { RenderType_PluginViewShiftsExtraComponent as RenderType_PluginViewShiftsExtraComponent };\nfunction View_PluginViewShiftsExtraComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewShiftsExtraComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null]], [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _co.executorName, { items: [_v.context.$implicit.entity] }) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(12, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-service sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_3 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = true; var currVal_1 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.colorDarker; _ck(_v, 5, 0, currVal_4); var currVal_5 = _v.context.$implicit.entity.Shift.Name; _ck(_v, 7, 0, currVal_5); var currVal_6 = _v.context.$implicit.name; _ck(_v, 9, 0, currVal_6); var currVal_7 = i2.ɵinlineInterpolate(2, \"\", _v.context.$implicit.name, \"1\\n\", i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 11).transform(\"APP.PLUGINS.PLUGIN_PLANNED_VS_NEEDED\")), \"\"); _ck(_v, 10, 0, currVal_7); var currVal_8 = _co.plannedVsEffort(_v.context.$implicit.entity); _ck(_v, 12, 0, currVal_8); }); }\nfunction View_PluginViewShiftsExtraComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-services\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsExtraComponent_6)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.gridAttendants; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewShiftsExtraComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-unavailable\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsExtraComponent_5)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewShiftsExtraComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsExtraComponent_4)), i2.ɵdid(2, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewShiftsExtraComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsExtraComponent_3)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewShiftsExtraComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewShiftsExtraComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewShiftsExtraComponent_2)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i3.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewShiftsExtraComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-shifts-extra\", [], null, null, null, View_PluginViewShiftsExtraComponent_0, RenderType_PluginViewShiftsExtraComponent)), i2.ɵdid(1, 6471680, null, 0, i5.PluginViewShiftsExtraComponent, [i6.AlertsService, i7.LocalisationService, i2.ChangeDetectorRef, i8.EventsService, i9.SettingsService, i10.ExecutorsService, i11.DomainService, i2.ElementRef, i2.NgZone, i12.GridService], null, null)], null, null); }\nvar PluginViewShiftsExtraComponentNgFactory = i2.ɵccf(\"sym-plugin-view-shifts-extra\", i5.PluginViewShiftsExtraComponent, View_PluginViewShiftsExtraComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", selectedTeam: \"selectedTeam\", filter: \"filter\", format: \"format\" }, {}, []);\nexport { PluginViewShiftsExtraComponentNgFactory as PluginViewShiftsExtraComponentNgFactory };\n","/**\n * @file Component to present the forecast\n * @author Tzi Yang Lum\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterContentChecked, OnDestroy, ChangeDetectorRef, AfterViewInit, NgZone, ElementRef } from '@angular/core';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { EventsService } from '../../../core/event.service';\nimport { DomainService } from '../../../domain.service';\nimport { ExecutorsService } from '../../executors.service';\nimport { SettingsService } from '../../../settings.service';\nimport { GridService } from '../../grid.service';\nimport { PluginViewShiftsComponent } from '../plugin-view-shifts/plugin-view-shifts.component';\n/**\n * Class to show the forecast, the unplanned attendants only.\n */\nvar PluginViewAttendantsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewAttendantsComponent, _super);\n /**\n * Creates an instance of PluginViewAttendantsComponent.\n * @param {LocalisationService} localisationService LocalisationService to get langauge dependent formats.\n * @param {ChangeDetectorRef} changeDetector ChangeDetectorRef to update the component on change\n * @param {SettingsService} settingsService SettingsService has settings we need.\n * @param {ExecutorsService} executorsService ExecutorsService needed for drag/drop actions.\n * @param {DomainService} domainService DomainService to get the shifts and services.\n */\n function PluginViewAttendantsComponent(alertsService, localisationService, changeDetector, eventsService, settingsService, ngZone, executorsService, domainService, elementRef, gridService) {\n var _this = _super.call(this, alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) || this;\n _this.alertsService = alertsService;\n _this.domainService = domainService;\n _this.elementRef = elementRef;\n _this.gridService = gridService;\n /**\n * Need generated data\n */\n _this._generated = false;\n return _this;\n }\n Object.defineProperty(PluginViewAttendantsComponent.prototype, \"useExecutor\", {\n /**\n * Sets the executor that will be used\n * @param {ExecutorName} value\n */\n set: function (value) {\n if (!value) {\n throw new Error('Exector Not found');\n }\n this.executorName = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PluginViewAttendantsComponent.prototype, \"generated\", {\n get: function () {\n return this._generated;\n },\n /**\n * Set generated to true\n * @param {boolean} value\n */\n set: function (value) {\n if (!value) {\n throw new Error('Generated not set');\n }\n this._generated = value;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the include query parameter value.\n * @protected\n * @returns The include query parameter value.\n */\n PluginViewAttendantsComponent.prototype.getIncludeOfTasklist = function () {\n var useGenerated = '';\n if (!this.generated) {\n useGenerated = '!';\n }\n if (!this._selectedFunction) {\n return \"Attendants UNPLANNED \" + useGenerated + \"PURPOSES[GENERATED]\";\n }\n return \"Attendants UNPLANNED CONCERNS[\" + this._selectedFunction['Oid'] + \"] \" + useGenerated + \"PURPOSES[GENERATED]\";\n };\n return PluginViewAttendantsComponent;\n}(PluginViewShiftsComponent));\nexport { PluginViewAttendantsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present the forecast\n * @author Tzi Yang Lum\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"./plugin-view-attendants.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./plugin-view-attendants.component\";\nimport * as i6 from \"../../../core/alerts.service\";\nimport * as i7 from \"../../../core/localisation.service\";\nimport * as i8 from \"../../../core/event.service\";\nimport * as i9 from \"../../../settings.service\";\nimport * as i10 from \"../../executors.service\";\nimport * as i11 from \"../../../domain.service\";\nimport * as i12 from \"../../grid.service\";\nvar styles_PluginViewAttendantsComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewAttendantsComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewAttendantsComponent, data: {} });\nexport { RenderType_PluginViewAttendantsComponent as RenderType_PluginViewAttendantsComponent };\nfunction View_PluginViewAttendantsComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewAttendantsComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 10, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null]], [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _co.executorName, { items: [_v.context.$implicit.entity] }) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(10, null, [\" \", \"\"]))], function (_ck, _v) { var currVal_2 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-service sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_3 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = true; var currVal_1 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.colorDarker; _ck(_v, 5, 0, currVal_4); var currVal_5 = _v.context.$implicit.name; _ck(_v, 7, 0, currVal_5); var currVal_6 = i2.ɵinlineInterpolate(2, \"\", _v.context.$implicit.name, \"1\\n\", i2.ɵunv(_v, 8, 0, i2.ɵnov(_v, 9).transform(\"APP.PLUGINS.PLUGIN_PLANNED_VS_NEEDED\")), \"\"); _ck(_v, 8, 0, currVal_6); var currVal_7 = _co.showEffort(_v.context.$implicit.entity); _ck(_v, 10, 0, currVal_7); }); }\nfunction View_PluginViewAttendantsComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-services\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewAttendantsComponent_6)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.gridAttendants; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewAttendantsComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-unavailable\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewAttendantsComponent_5)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewAttendantsComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewAttendantsComponent_4)), i2.ɵdid(2, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewAttendantsComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewAttendantsComponent_3)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewAttendantsComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewAttendantsComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewAttendantsComponent_2)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i3.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewAttendantsComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-attendants\", [], null, null, null, View_PluginViewAttendantsComponent_0, RenderType_PluginViewAttendantsComponent)), i2.ɵdid(1, 6471680, null, 0, i5.PluginViewAttendantsComponent, [i6.AlertsService, i7.LocalisationService, i2.ChangeDetectorRef, i8.EventsService, i9.SettingsService, i2.NgZone, i10.ExecutorsService, i11.DomainService, i2.ElementRef, i12.GridService], null, null)], null, null); }\nvar PluginViewAttendantsComponentNgFactory = i2.ɵccf(\"sym-plugin-view-attendants\", i5.PluginViewAttendantsComponent, View_PluginViewAttendantsComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", selectedTeam: \"selectedTeam\", filter: \"filter\", format: \"format\", useExecutor: \"useExecutor\", generated: \"generated\" }, {}, []);\nexport { PluginViewAttendantsComponentNgFactory as PluginViewAttendantsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present the forecast\n * @author Tzi Yang Lum\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-grid-segments[_ngcontent-%COMP%]{border-top:1px solid #ccc}\"];\nexport { styles as styles };\n","/**\n * @file Component to view the service level\n * @author Heino Lenting, Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport * as moment from 'moment';\nimport { AlertsService } from '../../core/alerts.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { ForecastService } from '../forecast.service';\nimport { PluginViewForecastBase, PROGNOSES, PLANITEMS, CORRECTIONS, SHRINKAGES } from '../plugin-view-forecast/plugin-view-forecast.base';\nimport { SettingsService } from '../../settings.service';\nimport { GridService } from '../../grids/grid.service';\n/**\n * Class to show the grid service level\n */\nvar PluginViewServiceLevelComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewServiceLevelComponent, _super);\n /**\n * Creates an instance of PluginViewServiceLevelComponent.\n * @param {LocalisationService} localisationService The localisation service.\n * @param {ChangeDetectorRef} changeDetector The change detector is used to update the rendered layout.\n * @param {EventsService} eventsService The events service.\n * @param {SettingsService} settingsService The settings service.\n * @param {ForecastService} forecastService The forecast service is used to retrieve prognoses.\n * @param {AlertsService} alertsService The alerts service.\n * @memberOf PluginViewServiceLevelComponent\n */\n function PluginViewServiceLevelComponent(localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) {\n var _this = _super.call(this, localisationService, changeDetector, eventsService, gridService, settingsService, forecastService, alertsService) || this;\n _this.gridService = gridService;\n /**\n * The names of the queries that are loaded when the plugin view refreshes.\n * @protected\n * @memberOf PluginViewServiceLevelComponent\n */\n _this.queryNames = [PLANITEMS, PROGNOSES, CORRECTIONS, SHRINKAGES];\n return _this;\n }\n /**\n * Builds the calls chart.\n * @protected\n * @memberOf PluginViewServiceLevelComponent\n */\n PluginViewServiceLevelComponent.prototype.build = function () {\n var _this = this;\n // The service level agreement and maximum waiting time are static.\n var sla = this.selectedFunction['SLA'] / 100;\n var maxWait = moment.duration(this.selectedFunction['MaxWait']);\n this.gridCollections.forEach(function (gridSegment) {\n gridSegment.children.forEach(function (gridRows) {\n gridRows.children.forEach(function (gridRow) {\n // A grid column is one day on the planboard.\n gridRow.children.forEach(function (gridColumn) {\n gridColumn.pluginBars = [];\n if (_this.queryResults[PROGNOSES].length === 0) {\n return;\n }\n // The totals are used to calculate the service level on the entire day.\n var totalNumerator = 0;\n var totalDenominator = 0;\n // The correction factor is 1 if there is not correction.\n var correctionEntity = _this.queryResults[CORRECTIONS].find(function (c) { return gridColumn.meta.start.clone().startOf('day').isSame(c['Date']); });\n var correction = correctionEntity ? correctionEntity['Value'] : 1;\n // The dimensions are the start, finish and derived width of the one bar. In this case the first.\n var dimensions = _this.getBarDimensions(gridColumn);\n var _loop_1 = function () {\n // Collect all prognoses that fall within the dimensions.\n // Prognoses may not overlap partially with a bar!\n var prognoses = _this.queryResults[PROGNOSES].filter(function (prognosis) { return dimensions.startTime.isSameOrBefore(prognosis['Start']) && dimensions.endTime.isSameOrAfter(prognosis['Finish']); });\n if (prognoses.length > 0) {\n // The numerator for the service level calculation.\n var numerator = 0;\n // The numerator for the service level calculation without shrinkage.\n var extraNumerator = 0;\n // The denominator (i.e. calls) for both service level calculations.\n var denominator = 0;\n // The attendants and assignments (breaks) that overlap with the bar.\n var planItems = _this.queryResults[PLANITEMS].filter(function (planItem) {\n return dimensions.startTime.isBefore(planItem['Finish']) && dimensions.endTime.isAfter(planItem['Start']) &&\n planItem['Item']['Resource_Oid'] != null;\n });\n var attendants = planItems.filter(function (planItem) { return planItem['ItemClass'] === 'Attendant'; }).map(function (planItem) { return planItem['Item']; });\n var assignments = planItems.filter(function (planItem) { return planItem['ItemClass'] === 'Assignment'; }).map(function (planItem) { return planItem['Item']; });\n // The shrinkages that overlap with the bar.\n var dayStart_1 = dimensions.startTime.clone().startOf('day');\n var barStart_1 = dimensions.startTime.diff(dayStart_1);\n var barFinish_1 = dimensions.endTime.diff(dayStart_1);\n var shrinkages = _this.queryResults[SHRINKAGES].map(function (entity) { return entity; }).filter(function (shrinkage) {\n return shrinkage.DayOfWeek === PluginViewForecastBase.daysOfWeek[dimensions.startTime.isoWeekday() - 1] &&\n shrinkage.Start < barFinish_1 && shrinkage.Finish > barStart_1;\n });\n // Find all the points where one of these items start or finish within the bar.\n var ends_1 = [barStart_1, barFinish_1];\n prognoses.forEach(function (prognosis) {\n if (dimensions.startTime.isBefore(prognosis['Start']) && dimensions.endTime.isAfter(prognosis['Start'])) {\n ends_1.push(moment(prognosis['Start']).diff(dayStart_1));\n }\n if (dimensions.startTime.isBefore(prognosis['Finish']) && dimensions.endTime.isAfter(prognosis['Finish'])) {\n ends_1.push(moment(prognosis['Finish']).diff(dayStart_1));\n }\n });\n planItems.forEach(function (planItem) {\n if (dimensions.startTime.isBefore(planItem['Start']) && dimensions.endTime.isAfter(planItem['Start'])) {\n ends_1.push(moment(planItem['Start']).diff(dayStart_1));\n }\n if (dimensions.startTime.isBefore(planItem['Finish']) && dimensions.endTime.isAfter(planItem['Finish'])) {\n ends_1.push(moment(planItem['Finish']).diff(dayStart_1));\n }\n });\n shrinkages.forEach(function (shrinkage) {\n if (barStart_1 < shrinkage.Start && barFinish_1 > shrinkage.Start) {\n ends_1.push(shrinkage.Start);\n }\n if (barStart_1 < shrinkage.Finish && barFinish_1 > shrinkage.Finish) {\n ends_1.push(shrinkage.Finish);\n }\n });\n // Put all breakpoints in chronological order.\n var breakpoints_1 = [];\n ends_1.sort().forEach(function (end) {\n if (breakpoints_1.indexOf(end) === -1) {\n breakpoints_1.push(end);\n }\n });\n var _loop_2 = function (index) {\n var fractionalStart = dayStart_1.clone().add(breakpoints_1[index - 1], 'milliseconds');\n var fractionalFinish = dayStart_1.clone().add(breakpoints_1[index], 'milliseconds');\n var fractionalMilliseconds = breakpoints_1[index] - breakpoints_1[index - 1];\n var fractionalDuration = moment.duration(fractionalMilliseconds);\n // The calls during this time frame.\n var prognosis = prognoses.find(function (p) { return fractionalStart.isSameOrAfter(p['Start']) && fractionalFinish.isSameOrBefore(p['Finish']); });\n if (!prognosis) {\n return \"continue\";\n }\n var calls = correction * prognosis['Customers'] * moment(prognosis['Finish']).diff(moment(prognosis['Start'])) / fractionalMilliseconds;\n var aht = moment.duration(prognosis['AHT']);\n // The coverage is the number of agents at work.\n var coverage = attendants.filter(function (attendant) {\n return fractionalStart.isSameOrAfter(attendant['Start']) && fractionalFinish.isSameOrBefore(attendant['Finish']);\n }).length;\n coverage -= assignments.filter(function (assignment) {\n return fractionalStart.isSameOrAfter(assignment['Start']) && fractionalFinish.isSameOrBefore(assignment['Finish']);\n }).length;\n var shrinkage = shrinkages.find(function (shrinkage) {\n return shrinkage.Start <= breakpoints_1[index - 1] && shrinkage.Finish >= breakpoints_1[index];\n });\n var shrinkedCoverage = coverage * (shrinkage ? 1 - shrinkage['Value'] / 100 : 1);\n // The service level without shrinkage.\n var extraServiceLevel = ForecastService.getServiceLevel(coverage, calls, fractionalDuration, aht, maxWait);\n var serviceLevel = void 0;\n var rest = shrinkedCoverage % 1;\n // This if statement might save CPU power.\n if (rest === 0) {\n // The probably means there is no shrinkage, but it could be that the shrinked number of resources happens to be a round number.\n serviceLevel = ForecastService.getServiceLevel(shrinkedCoverage, calls, fractionalDuration, aht, maxWait);\n }\n else {\n var lowerServiceLevel = ForecastService.getServiceLevel(Math.floor(shrinkedCoverage), calls, fractionalDuration, aht, maxWait);\n var upperServiceLevel = ForecastService.getServiceLevel(Math.ceil(shrinkedCoverage), calls, fractionalDuration, aht, maxWait);\n serviceLevel = rest * upperServiceLevel + (1 - rest) * lowerServiceLevel;\n }\n numerator += serviceLevel * calls;\n extraNumerator += extraServiceLevel * calls;\n denominator += calls;\n };\n // Calculate capacity coverage per timeframe.\n for (var index = 1; index < breakpoints_1.length; index++) {\n _loop_2(index);\n }\n totalNumerator += numerator;\n totalDenominator += denominator;\n var value = void 0;\n var extraValue = void 0;\n var barHeight = void 0;\n var textValue = void 0;\n if (denominator === 0) {\n return { value: void 0 };\n }\n else {\n // A weighted average of the service levels is by definition equal to the service level for the whole bar width.\n value = numerator / denominator;\n extraValue = extraNumerator / denominator;\n barHeight = Math.round(100 * value);\n textValue = value >= 0.995 ? '>99%' : (barHeight + '%');\n }\n // One bar for the calculated service level taking shrinkage into account.\n var pluginBar = {\n startHour: dimensions.startTime.hour(),\n startMinute: dimensions.startTime.minute(),\n endHour: dimensions.width.asDays() >= 1 ? 24 : dimensions.endTime.hour(),\n endMinute: dimensions.width.asDays() >= 1 ? 0 : dimensions.endTime.minute(),\n relativeValue: barHeight,\n value: textValue,\n class: 'sym-bar-' + (value > sla ? 'above' : 'below')\n };\n // If there is shrinkage, add the service level without shrinkage.\n if (value !== extraValue) {\n var extraBarHeight = Math.round(100 * extraValue);\n pluginBar.relativeValueExtra = extraBarHeight;\n pluginBar.valueExtra = extraValue >= 0.995 ? '>99%' : (extraBarHeight + '%');\n }\n // Add the bar to the plug-in.\n gridColumn.pluginBars.push(pluginBar);\n }\n // Move to the next bar.\n dimensions.startTime = dimensions.endTime;\n dimensions.endTime = dimensions.startTime.clone().add(dimensions.width);\n };\n do {\n var state_1 = _loop_1();\n if (typeof state_1 === \"object\")\n return state_1.value;\n } while (dimensions.endTime.isSameOrBefore(gridColumn.meta.finish));\n // The total value is the expected service level (taking shrinkage into account) for the entire day.\n var totalValue = (totalNumerator === 0 || totalDenominator === 0) ? 0 : totalNumerator / totalDenominator;\n var totalHeight = Math.round(100 * totalValue);\n gridColumn.pluginLine = {\n startHour: gridColumn.meta.start.hour(),\n startMinute: gridColumn.meta.start.minute(),\n endHour: _this.gridService.officeHours ? gridColumn.meta.finish.hour() : 24,\n endMinute: _this.gridService.officeHours ? gridColumn.meta.finish.minute() : 0,\n value: totalValue >= 0.995 ? '>99%' : (totalHeight + '%'),\n relativeValue: totalHeight\n };\n });\n });\n });\n });\n };\n return PluginViewServiceLevelComponent;\n}(PluginViewForecastBase));\nexport { PluginViewServiceLevelComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the service level\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../grids/plugins/plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"./plugin-view-service-level.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"./plugin-view-service-level.component\";\nimport * as i6 from \"../../core/localisation.service\";\nimport * as i7 from \"../../core/event.service\";\nimport * as i8 from \"../../grids/grid.service\";\nimport * as i9 from \"../../settings.service\";\nimport * as i10 from \"../forecast.service\";\nimport * as i11 from \"../../core/alerts.service\";\nvar styles_PluginViewServiceLevelComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewServiceLevelComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewServiceLevelComponent, data: {} });\nexport { RenderType_PluginViewServiceLevelComponent as RenderType_PluginViewServiceLevelComponent };\nfunction View_PluginViewServiceLevelComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewServiceLevelComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"small\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \" \", \"\"])), i2.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(5, \"sym-plan-item sym-graph \", _co.goingUpOrDownClass(\"graph\", _v.parent.context.$implicit.pluginLine.relativeValue), \" sym-start-h\", _v.parent.context.$implicit.pluginLine.startHour, \" sym-start-m\", _v.parent.context.$implicit.pluginLine.startMinute, \" sym-end-h\", _v.parent.context.$implicit.pluginLine.endHour, \" sym-end-m\", _v.parent.context.$implicit.pluginLine.endMinute, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.pluginLine.value; var currVal_2 = i2.ɵunv(_v, 2, 1, i2.ɵnov(_v, 3).transform(\"APP.PLUGINS.AVERAGE\")); _ck(_v, 2, 0, currVal_1, currVal_2); }); }\nfunction View_PluginViewServiceLevelComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.parent.context.$implicit.relativeValueExtra), \" \", _v.parent.context.$implicit.class, \" sym-bar-extra\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewServiceLevelComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], [[8, \"className\", 0], [8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_8)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [], [[8, \"className\", 0]], null, null, null, null))], function (_ck, _v) { var currVal_2 = _v.context.$implicit.relativeValueExtra; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-bar-positioner sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_1 = _co.readableTitle(_v.context.$implicit); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = i2.ɵinlineInterpolate(2, \"sym-bar \", _co.goingUpOrDownClass(\"bar\", _v.context.$implicit.relativeValue), \" \", _v.context.$implicit.class, \"\"); _ck(_v, 3, 0, currVal_3); }); }\nfunction View_PluginViewServiceLevelComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-special-day text-truncate\"]], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.specialDay; _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.specialDay; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PluginViewServiceLevelComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-graphs sym-graphs-range-positive\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_6)), i2.ɵdid(3, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"sym-bars sym-bars-range-positive\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_7)), i2.ɵdid(6, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_9)), i2.ɵdid(8, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.pluginLine != null); _ck(_v, 3, 0, currVal_0); var currVal_1 = _v.context.$implicit.pluginBars; _ck(_v, 6, 0, currVal_1); var currVal_2 = _v.context.$implicit.specialDay; _ck(_v, 8, 0, currVal_2); }, null); }\nfunction View_PluginViewServiceLevelComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_5)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewServiceLevelComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_4)), i2.ɵdid(2, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewServiceLevelComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_3)), i2.ɵdid(3, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewServiceLevelComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewServiceLevelComponent_1)), i2.ɵdid(2, 16384, null, 0, i4.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewServiceLevelComponent_2)), i2.ɵdid(4, 278528, null, 0, i4.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i4.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view sym-grid-plugin-view-bars clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewServiceLevelComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-service-level\", [], null, null, null, View_PluginViewServiceLevelComponent_0, RenderType_PluginViewServiceLevelComponent)), i2.ɵdid(1, 2277376, null, 0, i5.PluginViewServiceLevelComponent, [i6.LocalisationService, i2.ChangeDetectorRef, i7.EventsService, i8.GridService, i9.SettingsService, i10.ForecastService, i11.AlertsService], null, null)], null, null); }\nvar PluginViewServiceLevelComponentNgFactory = i2.ɵccf(\"sym-plugin-view-service-level\", i5.PluginViewServiceLevelComponent, View_PluginViewServiceLevelComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", options: \"options\" }, {}, []);\nexport { PluginViewServiceLevelComponentNgFactory as PluginViewServiceLevelComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to view the service level\n * @author Heino Lenting, Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-bar-above[_ngcontent-%COMP%]{background-color:#999653}.sym-bar-above[_ngcontent-%COMP%], .sym-bar-below[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.1)}.sym-bar-below[_ngcontent-%COMP%]{background-color:#e8a055}\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';\nimport { PluginViewShiftsComponent } from '../plugin-view-shifts/plugin-view-shifts.component';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { SettingsService } from '../../../settings.service';\nimport { EventsService } from '../../../core/event.service';\nimport { ExecutorsService } from '../../executors.service';\nimport { DomainService } from '../../../domain.service';\nimport { GridService } from '../../grid.service';\nvar PluginViewGeneratedComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewGeneratedComponent, _super);\n function PluginViewGeneratedComponent(alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) {\n return _super.call(this, alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) || this;\n }\n /**\n * Gets the include query parameter value.\n * @protected\n * @returns The include query parameter value.\n */\n PluginViewGeneratedComponent.prototype.getIncludeOfTasklist = function () {\n if (!this._selectedFunction) {\n return 'Services UNPLANNED PURPOSES[GENERATED]';\n }\n return 'Services UNPLANNED CONCERNS[' + this._selectedFunction['Oid'] + '] PURPOSES[GENERATED]';\n };\n return PluginViewGeneratedComponent;\n}(PluginViewShiftsComponent));\nexport { PluginViewGeneratedComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"../plugin-view-shifts/plugin-view-shifts.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./plugin-view-generated.component\";\nimport * as i6 from \"../../../core/alerts.service\";\nimport * as i7 from \"../../../core/localisation.service\";\nimport * as i8 from \"../../../core/event.service\";\nimport * as i9 from \"../../../settings.service\";\nimport * as i10 from \"../../executors.service\";\nimport * as i11 from \"../../../domain.service\";\nimport * as i12 from \"../../grid.service\";\nvar styles_PluginViewGeneratedComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewGeneratedComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewGeneratedComponent, data: {} });\nexport { RenderType_PluginViewGeneratedComponent as RenderType_PluginViewGeneratedComponent };\nfunction View_PluginViewGeneratedComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewGeneratedComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null]], [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _co.executorName, { items: [_v.context.$implicit.entity] }) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(12, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-service sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_3 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = true; var currVal_1 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.colorDarker; _ck(_v, 5, 0, currVal_4); var currVal_5 = _v.context.$implicit.entity.Shift.Name; _ck(_v, 7, 0, currVal_5); var currVal_6 = _v.context.$implicit.name; _ck(_v, 9, 0, currVal_6); var currVal_7 = i2.ɵinlineInterpolate(2, \"\", _v.context.$implicit.name, \"1\\n\", i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 11).transform(\"APP.PLUGINS.PLUGIN_PLANNED_VS_NEEDED\")), \"\"); _ck(_v, 10, 0, currVal_7); var currVal_8 = _co.plannedVsEffort(_v.context.$implicit.entity); _ck(_v, 12, 0, currVal_8); }); }\nfunction View_PluginViewGeneratedComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-services\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedComponent_6)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.gridAttendants; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewGeneratedComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-unavailable\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedComponent_5)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewGeneratedComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedComponent_4)), i2.ɵdid(2, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewGeneratedComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedComponent_3)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewGeneratedComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewGeneratedComponent_2)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i3.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewGeneratedComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-generated\", [], null, null, null, View_PluginViewGeneratedComponent_0, RenderType_PluginViewGeneratedComponent)), i2.ɵdid(1, 6471680, null, 0, i5.PluginViewGeneratedComponent, [i6.AlertsService, i7.LocalisationService, i2.ChangeDetectorRef, i8.EventsService, i9.SettingsService, i10.ExecutorsService, i11.DomainService, i2.ElementRef, i2.NgZone, i12.GridService], null, null)], null, null); }\nvar PluginViewGeneratedComponentNgFactory = i2.ɵccf(\"sym-plugin-view-generated\", i5.PluginViewGeneratedComponent, View_PluginViewGeneratedComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", selectedTeam: \"selectedTeam\", filter: \"filter\", format: \"format\" }, {}, []);\nexport { PluginViewGeneratedComponentNgFactory as PluginViewGeneratedComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';\nimport { PluginViewGeneratedComponent } from '../plugin-view-generated/plugin-view-generated.component';\nimport { AlertsService } from '../../../core/alerts.service';\nimport { LocalisationService } from '../../../core/localisation.service';\nimport { EventsService } from '../../../core/event.service';\nimport { SettingsService } from '../../../settings.service';\nimport { ExecutorsService } from '../../executors.service';\nimport { DomainService } from '../../../domain.service';\nimport { GridService } from '../../grid.service';\nvar PluginViewGeneratedExtraComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginViewGeneratedExtraComponent, _super);\n function PluginViewGeneratedExtraComponent(alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) {\n var _this = _super.call(this, alertsService, localisationService, changeDetector, eventsService, settingsService, executorsService, domainService, elementRef, ngZone, gridService) || this;\n /**\n * Gets the executor name. Is used to indicate the source of a drag event.\n * @type {ExecutorName}\n */\n _this.executorName = 'drop-extra';\n return _this;\n }\n /**\n * Gets the include query parameter value.\n * @protected\n * @returns The include query parameter value.\n */\n PluginViewGeneratedExtraComponent.prototype.getIncludeOfTasklist = function () {\n if (!this._selectedFunction) {\n return 'Services PURPOSES[GENERATED]';\n }\n return 'Services CONCERNS[' + this._selectedFunction['Oid'] + '] PURPOSES[GENERATED]';\n };\n return PluginViewGeneratedExtraComponent;\n}(PluginViewGeneratedComponent));\nexport { PluginViewGeneratedExtraComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../plugin-view/plugin-view.base.scss.shim.ngstyle\";\nimport * as i1 from \"../plugin-view-shifts/plugin-view-shifts.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./plugin-view-generated-extra.component\";\nimport * as i6 from \"../../../core/alerts.service\";\nimport * as i7 from \"../../../core/localisation.service\";\nimport * as i8 from \"../../../core/event.service\";\nimport * as i9 from \"../../../settings.service\";\nimport * as i10 from \"../../executors.service\";\nimport * as i11 from \"../../../domain.service\";\nimport * as i12 from \"../../grid.service\";\nvar styles_PluginViewGeneratedExtraComponent = [i0.styles, i1.styles];\nvar RenderType_PluginViewGeneratedExtraComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_PluginViewGeneratedExtraComponent, data: {} });\nexport { RenderType_PluginViewGeneratedExtraComponent as RenderType_PluginViewGeneratedExtraComponent };\nfunction View_PluginViewGeneratedExtraComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-loader\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-refresh icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_PluginViewGeneratedExtraComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 12, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null]], [[null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"dragstart\" === en)) {\n var pd_0 = (_co.dragItem($event, _co.executorName, { items: [_v.context.$implicit.entity] }) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1 }), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i2.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(7, null, [\"\", \"\"])), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i2.ɵted(9, null, [\"\", \"\"])), (_l()(), i2.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], [[8, \"title\", 0]], null, null, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵted(12, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_2 = i2.ɵinlineInterpolate(4, \"sym-plan-item sym-service sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \"\"); var currVal_3 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = true; var currVal_1 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.colorDarker; _ck(_v, 5, 0, currVal_4); var currVal_5 = _v.context.$implicit.entity.Shift.Name; _ck(_v, 7, 0, currVal_5); var currVal_6 = _v.context.$implicit.name; _ck(_v, 9, 0, currVal_6); var currVal_7 = i2.ɵinlineInterpolate(2, \"\", _v.context.$implicit.name, \"1\\n\", i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 11).transform(\"APP.PLUGINS.PLUGIN_PLANNED_VS_NEEDED\")), \"\"); _ck(_v, 10, 0, currVal_7); var currVal_8 = _co.plannedVsEffort(_v.context.$implicit.entity); _ck(_v, 12, 0, currVal_8); }); }\nfunction View_PluginViewGeneratedExtraComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-services\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedExtraComponent_6)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.gridAttendants; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewGeneratedExtraComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-unavailable\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedExtraComponent_5)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PluginViewGeneratedExtraComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedExtraComponent_4)), i2.ɵdid(2, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PluginViewGeneratedExtraComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedExtraComponent_3)), i2.ɵdid(3, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.children; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_PluginViewGeneratedExtraComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_PluginViewGeneratedExtraComponent_1)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 2, null, View_PluginViewGeneratedExtraComponent_2)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i2.ɵpid(0, i3.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.loadingInProgress; _ck(_v, 2, 0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.gridCollections, 0, 1)); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-grid-display sym-grid-plugin-view clearfix sym-grid-zoom-\", _co.zoom, \" mb-1\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PluginViewGeneratedExtraComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-generated-extra\", [], null, null, null, View_PluginViewGeneratedExtraComponent_0, RenderType_PluginViewGeneratedExtraComponent)), i2.ɵdid(1, 6471680, null, 0, i5.PluginViewGeneratedExtraComponent, [i6.AlertsService, i7.LocalisationService, i2.ChangeDetectorRef, i8.EventsService, i9.SettingsService, i10.ExecutorsService, i11.DomainService, i2.ElementRef, i2.NgZone, i12.GridService], null, null)], null, null); }\nvar PluginViewGeneratedExtraComponentNgFactory = i2.ɵccf(\"sym-plugin-view-generated-extra\", i5.PluginViewGeneratedExtraComponent, View_PluginViewGeneratedExtraComponent_Host_0, { team: \"team\", selectedFunction: \"selectedFunction\", selectedTeam: \"selectedTeam\", filter: \"filter\", format: \"format\" }, {}, []);\nexport { PluginViewGeneratedExtraComponentNgFactory as PluginViewGeneratedExtraComponentNgFactory };\n","/**\n * @file Component to present an empty plugin\n * @author Heino Lenting\n */\n/**\n * Class to show the forecast\n */\nvar PluginViewEmptyComponent = /** @class */ (function () {\n function PluginViewEmptyComponent() {\n }\n return PluginViewEmptyComponent;\n}());\nexport { PluginViewEmptyComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to present an empty plugin\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./plugin-view-empty.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./plugin-view-empty.component\";\nvar styles_PluginViewEmptyComponent = [i0.styles];\nvar RenderType_PluginViewEmptyComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PluginViewEmptyComponent, data: {} });\nexport { RenderType_PluginViewEmptyComponent as RenderType_PluginViewEmptyComponent };\nexport function View_PluginViewEmptyComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-grid-plugin-view sym-grid-plugin-view-empty mb-1 pl-1\"]], null, null, null, null, null))], null, null); }\nexport function View_PluginViewEmptyComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-empty\", [], null, null, null, View_PluginViewEmptyComponent_0, RenderType_PluginViewEmptyComponent)), i1.ɵdid(1, 49152, null, 0, i2.PluginViewEmptyComponent, [], null, null)], null, null); }\nvar PluginViewEmptyComponentNgFactory = i1.ɵccf(\"sym-plugin-view-empty\", i2.PluginViewEmptyComponent, View_PluginViewEmptyComponent_Host_0, {}, {}, []);\nexport { PluginViewEmptyComponentNgFactory as PluginViewEmptyComponentNgFactory };\n","/**\n * @file The Plugin Pair View component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { PluginPairService } from '../../plugin-pair.service';\nimport { AbstractComponent } from '../../../core/helpers/abstract-component';\nimport { AlertsService } from '../../../core/alerts.service';\nvar PluginPairViewComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PluginPairViewComponent, _super);\n /**\n * Creates an instance of PluginPairViewComponent.\n * @param {PluginPairService} pluginPairService Used to get the selected function.\n * @param {AlertsService} alertsService Passed to the parent.\n * @memberOf PluginPairViewComponent\n */\n function PluginPairViewComponent(pluginPairService, alertsService) {\n var _this = _super.call(this, alertsService) || this;\n _this.pluginPairService = pluginPairService;\n _this.alertsService = alertsService;\n /**\n * The configuration for the PluginViewShiftsComponent.\n * @type {EntityConfiguration}\n * @memberOf PluginPairViewComponent\n */\n _this.shiftsSource = undefined;\n /**\n * The configuration for the PluginViewControlsComponent.\n * @type {EntityConfiguration}\n * @memberOf PluginPairViewComponent\n */\n _this.controlsSource = undefined;\n return _this;\n }\n /**\n * Retrieves the plugin configurations.\n * @memberOf PluginPairViewComponent\n */\n PluginPairViewComponent.prototype.afterInitialize = function () {\n var pluginViewShiftsComponent = this.configuration.components.find(function (item) { return item.component.indexOf('PluginViewShiftsComponent') !== -1; });\n this.shiftsSource = pluginViewShiftsComponent ? pluginViewShiftsComponent.configuration.data : null;\n var pluginViewControlsComponent = this.configuration.components.find(function (item) { return item.component.indexOf('PluginViewControlsComponent') !== -1; });\n this.controlsSource = pluginViewControlsComponent ? pluginViewControlsComponent.configuration.data : null;\n };\n return PluginPairViewComponent;\n}(AbstractComponent));\nexport { PluginPairViewComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Plugin Pair View component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./plugin-pair-view.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../forecast/plugin-view-calls/plugin-view-calls.component.ngfactory\";\nimport * as i3 from \"../../../forecast/plugin-view-calls/plugin-view-calls.component\";\nimport * as i4 from \"../../../core/localisation.service\";\nimport * as i5 from \"../../../core/event.service\";\nimport * as i6 from \"../../grid.service\";\nimport * as i7 from \"../../../settings.service\";\nimport * as i8 from \"../../../forecast/forecast.service\";\nimport * as i9 from \"../../../core/alerts.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../../forecast/plugin-view-prognoses/plugin-view-prognoses.component.ngfactory\";\nimport * as i12 from \"../../../forecast/plugin-view-prognoses/plugin-view-prognoses.component\";\nimport * as i13 from \"../../../forecast/plugin-view-corrections/plugin-view-corrections.component.ngfactory\";\nimport * as i14 from \"../../../forecast/plugin-view-corrections/plugin-view-corrections.component\";\nimport * as i15 from \"../../../forecast/plugin-view-shrinkage/plugin-view-shrinkage.component.ngfactory\";\nimport * as i16 from \"../../../forecast/plugin-view-shrinkage/plugin-view-shrinkage.component\";\nimport * as i17 from \"../../../core/action.service\";\nimport * as i18 from \"../../../forecast/plugin-view-controls/plugin-view-controls.component.ngfactory\";\nimport * as i19 from \"../../../forecast/plugin-view-controls/plugin-view-controls.component\";\nimport * as i20 from \"../../../domain.service\";\nimport * as i21 from \"../../../forecast/plugin-view-capacity/plugin-view-capacity.component.ngfactory\";\nimport * as i22 from \"../../../forecast/plugin-view-capacity/plugin-view-capacity.component\";\nimport * as i23 from \"../plugin-view-shifts/plugin-view-shifts.component.ngfactory\";\nimport * as i24 from \"../plugin-view-shifts/plugin-view-shifts.component\";\nimport * as i25 from \"../../executors.service\";\nimport * as i26 from \"../plugin-view-shifts-extra/plugin-view-shifts-extra.component.ngfactory\";\nimport * as i27 from \"../plugin-view-shifts-extra/plugin-view-shifts-extra.component\";\nimport * as i28 from \"../plugin-view-attendants/plugin-view-attendants.component.ngfactory\";\nimport * as i29 from \"../plugin-view-attendants/plugin-view-attendants.component\";\nimport * as i30 from \"../../../forecast/plugin-view-service-level/plugin-view-service-level.component.ngfactory\";\nimport * as i31 from \"../../../forecast/plugin-view-service-level/plugin-view-service-level.component\";\nimport * as i32 from \"../plugin-view-generated/plugin-view-generated.component.ngfactory\";\nimport * as i33 from \"../plugin-view-generated/plugin-view-generated.component\";\nimport * as i34 from \"../plugin-view-generated-extra/plugin-view-generated-extra.component.ngfactory\";\nimport * as i35 from \"../plugin-view-generated-extra/plugin-view-generated-extra.component\";\nimport * as i36 from \"../plugin-view-empty/plugin-view-empty.component.ngfactory\";\nimport * as i37 from \"../plugin-view-empty/plugin-view-empty.component\";\nimport * as i38 from \"@angular/common\";\nimport * as i39 from \"./plugin-pair-view.component\";\nimport * as i40 from \"../../plugin-pair.service\";\nvar styles_PluginPairViewComponent = [i0.styles];\nvar RenderType_PluginPairViewComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PluginPairViewComponent, data: {} });\nexport { RenderType_PluginPairViewComponent as RenderType_PluginPairViewComponent };\nfunction View_PluginPairViewComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-calls\", [], null, null, null, i2.View_PluginViewCallsComponent_0, i2.RenderType_PluginViewCallsComponent)), i1.ɵdid(1, 2277376, null, 0, i3.PluginViewCallsComponent, [i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i6.GridService, i7.SettingsService, i8.ForecastService, i9.AlertsService, i10.TranslateService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PluginPairViewComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-prognoses\", [], null, null, null, i11.View_PluginViewPrognosesComponent_0, i11.RenderType_PluginViewPrognosesComponent)), i1.ɵdid(1, 2277376, null, 0, i12.PluginViewPrognosesComponent, [i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i6.GridService, i7.SettingsService, i8.ForecastService, i9.AlertsService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PluginPairViewComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-corrections\", [], null, null, null, i13.View_PluginViewCorrectionsComponent_0, i13.RenderType_PluginViewCorrectionsComponent)), i1.ɵdid(1, 2277376, null, 0, i14.PluginViewCorrectionsComponent, [i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i6.GridService, i7.SettingsService, i8.ForecastService, i9.AlertsService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PluginPairViewComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-shrinkage\", [], null, null, null, i15.View_PluginViewShrinkageComponent_0, i15.RenderType_PluginViewShrinkageComponent)), i1.ɵdid(1, 2277376, null, 0, i16.PluginViewShrinkageComponent, [i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i6.GridService, i7.SettingsService, i17.ActionService, i9.AlertsService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PluginPairViewComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-forecast-controls\", [], null, null, null, i18.View_PluginViewControlsComponent_0, i18.RenderType_PluginViewControlsComponent)), i1.ɵdid(1, 2277376, null, 0, i19.PluginViewControlsComponent, [i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i6.GridService, i7.SettingsService, i8.ForecastService, i20.DomainService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.controlsSource; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PluginPairViewComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-capacity\", [], null, null, null, i21.View_PluginViewCapacityComponent_0, i21.RenderType_PluginViewCapacityComponent)), i1.ɵdid(1, 2277376, null, 0, i22.PluginViewCapacityComponent, [i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i6.GridService, i7.SettingsService, i8.ForecastService, i9.AlertsService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PluginPairViewComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-shifts\", [], null, null, null, i23.View_PluginViewShiftsComponent_0, i23.RenderType_PluginViewShiftsComponent)), i1.ɵdid(1, 6471680, null, 0, i24.PluginViewShiftsComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i1.NgZone, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PluginPairViewComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-shifts-extra\", [], null, null, null, i26.View_PluginViewShiftsExtraComponent_0, i26.RenderType_PluginViewShiftsExtraComponent)), i1.ɵdid(1, 6471680, null, 0, i27.PluginViewShiftsExtraComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i1.NgZone, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PluginPairViewComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-attendants\", [], null, null, null, i28.View_PluginViewAttendantsComponent_0, i28.RenderType_PluginViewAttendantsComponent)), i1.ɵdid(1, 6471680, null, 0, i29.PluginViewAttendantsComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i1.NgZone, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"], useExecutor: [3, \"useExecutor\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; var currVal_3 = \"attendant-drop\"; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PluginPairViewComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-attendants\", [], null, null, null, i28.View_PluginViewAttendantsComponent_0, i28.RenderType_PluginViewAttendantsComponent)), i1.ɵdid(1, 6471680, null, 0, i29.PluginViewAttendantsComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i1.NgZone, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"], useExecutor: [3, \"useExecutor\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; var currVal_3 = \"attendant-drop-edit\"; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_PluginPairViewComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-attendants\", [], null, null, null, i28.View_PluginViewAttendantsComponent_0, i28.RenderType_PluginViewAttendantsComponent)), i1.ɵdid(1, 6471680, null, 0, i29.PluginViewAttendantsComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i1.NgZone, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"], useExecutor: [3, \"useExecutor\"], generated: [4, \"generated\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; var currVal_3 = \"attendant-drop\"; var currVal_4 = true; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }, null); }\nfunction View_PluginPairViewComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-attendants\", [], null, null, null, i28.View_PluginViewAttendantsComponent_0, i28.RenderType_PluginViewAttendantsComponent)), i1.ɵdid(1, 6471680, null, 0, i29.PluginViewAttendantsComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i1.NgZone, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"], useExecutor: [3, \"useExecutor\"], generated: [4, \"generated\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; var currVal_3 = \"attendant-drop-edit\"; var currVal_4 = true; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }, null); }\nfunction View_PluginPairViewComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-service-level\", [], null, null, null, i30.View_PluginViewServiceLevelComponent_0, i30.RenderType_PluginViewServiceLevelComponent)), i1.ɵdid(1, 2277376, null, 0, i31.PluginViewServiceLevelComponent, [i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i6.GridService, i7.SettingsService, i8.ForecastService, i9.AlertsService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PluginPairViewComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-generated\", [], null, null, null, i32.View_PluginViewGeneratedComponent_0, i32.RenderType_PluginViewGeneratedComponent)), i1.ɵdid(1, 6471680, null, 0, i33.PluginViewGeneratedComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i1.NgZone, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PluginPairViewComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-generated-extra\", [], null, null, null, i34.View_PluginViewGeneratedExtraComponent_0, i34.RenderType_PluginViewGeneratedExtraComponent)), i1.ɵdid(1, 6471680, null, 0, i35.PluginViewGeneratedExtraComponent, [i9.AlertsService, i4.LocalisationService, i1.ChangeDetectorRef, i5.EventsService, i7.SettingsService, i25.ExecutorsService, i20.DomainService, i1.ElementRef, i1.NgZone, i6.GridService], { team: [0, \"team\"], selectedFunction: [1, \"selectedFunction\"], format: [2, \"format\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.team; var currVal_1 = _co.pluginPairService.selectedFunction; var currVal_2 = _co.shiftsSource; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_PluginPairViewComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-view-empty\", [], null, null, null, i36.View_PluginViewEmptyComponent_0, i36.RenderType_PluginViewEmptyComponent)), i1.ɵdid(1, 49152, null, 0, i37.PluginViewEmptyComponent, [], null, null)], null, null); }\nfunction View_PluginPairViewComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 35, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 34, null, null, null, null, null, null, null)), i1.ɵdid(2, 16384, null, 0, i38.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 32, \"div\", [[\"class\", \"sym-plugin-pair-select\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_2)), i1.ɵdid(5, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_3)), i1.ɵdid(7, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_4)), i1.ɵdid(9, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_5)), i1.ɵdid(11, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_6)), i1.ɵdid(13, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_7)), i1.ɵdid(15, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_8)), i1.ɵdid(17, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_9)), i1.ɵdid(19, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_10)), i1.ɵdid(21, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_11)), i1.ɵdid(23, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_12)), i1.ɵdid(25, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_13)), i1.ɵdid(27, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_14)), i1.ɵdid(29, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_15)), i1.ɵdid(31, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_16)), i1.ɵdid(33, 278528, null, 0, i38.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_17)), i1.ɵdid(35, 16384, null, 0, i38.NgSwitchDefault, [i1.ViewContainerRef, i1.TemplateRef, i38.NgSwitch], null, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"sym-plugin-view-calls\"; _ck(_v, 5, 0, currVal_1); var currVal_2 = \"sym-plugin-view-prognoses\"; _ck(_v, 7, 0, currVal_2); var currVal_3 = \"sym-plugin-view-corrections\"; _ck(_v, 9, 0, currVal_3); var currVal_4 = \"sym-plugin-view-shrinkage\"; _ck(_v, 11, 0, currVal_4); var currVal_5 = \"sym-plugin-view-forecast-controls\"; _ck(_v, 13, 0, currVal_5); var currVal_6 = \"sym-plugin-view-capacity\"; _ck(_v, 15, 0, currVal_6); var currVal_7 = \"sym-plugin-view-shifts\"; _ck(_v, 17, 0, currVal_7); var currVal_8 = \"sym-plugin-view-shifts-extra\"; _ck(_v, 19, 0, currVal_8); var currVal_9 = \"sym-plugin-view-attendants\"; _ck(_v, 21, 0, currVal_9); var currVal_10 = \"sym-plugin-view-attendants-edit\"; _ck(_v, 23, 0, currVal_10); var currVal_11 = \"sym-plugin-view-generated-attendants\"; _ck(_v, 25, 0, currVal_11); var currVal_12 = \"sym-plugin-view-generated-attendants-edit\"; _ck(_v, 27, 0, currVal_12); var currVal_13 = \"sym-plugin-view-service-level\"; _ck(_v, 29, 0, currVal_13); var currVal_14 = \"sym-plugin-view-generated\"; _ck(_v, 31, 0, currVal_14); var currVal_15 = \"sym-plugin-view-generated-extra\"; _ck(_v, 33, 0, currVal_15); }, null); }\nexport function View_PluginPairViewComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-plugin-pair\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PluginPairViewComponent_1)), i1.ɵdid(2, 278528, null, 0, i38.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.pluginPairService.selectedPluginPair.views; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_PluginPairViewComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-pair-view\", [], null, null, null, View_PluginPairViewComponent_0, RenderType_PluginPairViewComponent)), i1.ɵdid(1, 245760, null, 0, i39.PluginPairViewComponent, [i40.PluginPairService, i9.AlertsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PluginPairViewComponentNgFactory = i1.ɵccf(\"sym-plugin-pair-view\", i39.PluginPairViewComponent, View_PluginPairViewComponent_Host_0, { configuration: \"configuration\", team: \"team\" }, {}, []);\nexport { PluginPairViewComponentNgFactory as PluginPairViewComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Plugin Pair View component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file Planboard grid bar component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterViewInit, AfterContentChecked, ElementRef, NgZone, ChangeDetectorRef, OnDestroy } from '@angular/core';\nimport { GridDisplayBaseComponent } from '../grid-display-base/grid-display-base.component';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { DomainService, PROP_ORIGINAL_RESOURCE_OID } from '../../domain.service';\nimport { KeyedCollection } from '../../base/helpers/remove-keyed-collection';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { SettingsService } from '../../settings.service';\nimport { Router } from '@angular/router';\nimport { OverlayService } from '../../core/overlay.service';\nimport { ExecutorsService } from '../executors.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DropTargetsService } from '../drop-targets.service';\nimport { EventsService } from '../../core/event.service';\nimport { GridService } from '../grid.service';\nimport { RoutesService } from '../../routes.service';\nimport { BackendSettingsService } from '../../backend-settings.service';\nvar PlanboardGridDisplayComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardGridDisplayComponent, _super);\n /**\n * Creates an instance of PlanboardGridDisplayComponent.\n * @param {DomainService} domainService\n * @param {LocalisationService} localisationService\n * @param {configurationsService} configurationsService\n * @param {SettingsService} settingsService\n */\n function PlanboardGridDisplayComponent(router, domainService, localisationService, settingsService, backendSettingsService, overlayService, executorsService, dropZonesService, alertsService, elementRef, ngZone, changeDetector, eventsService, gridService) {\n var _this = _super.call(this, router, domainService, localisationService, settingsService, backendSettingsService, overlayService, executorsService, alertsService, elementRef, ngZone, changeDetector, eventsService, gridService) || this;\n _this.dropZonesService = dropZonesService;\n /** The dataset per resource witht the OID as key */\n _this._datasets = new KeyedCollection();\n _this.subscriptionPool.add(eventsService.register('drop-targets-changed').subscribe(function () {\n changeDetector.detectChanges();\n }));\n _this.subscriptionPool.add(eventsService.register('expand-grid-changed').subscribe(function () {\n changeDetector.detectChanges();\n }));\n _this.subscriptionPool.add(eventsService.register('plugin-selector-changed').subscribe(function () {\n changeDetector.detectChanges();\n }));\n return _this;\n }\n Object.defineProperty(PlanboardGridDisplayComponent.prototype, \"resources\", {\n /**\n * Gets the resources\n * @returns {DataSet} The resources\n */\n get: function () {\n return this._resources;\n },\n /**\n * Sets the resources\n * @param {DataSet} The resources\n */\n set: function (newValue) {\n this._resources = newValue;\n this.generateGridSegments();\n this.refresh();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridDisplayComponent.prototype, \"startDate\", {\n /** The start date used for building the query */\n get: function () {\n if (this.gridService.level.formatter.queryStartDate == null) {\n return '2017-01-01';\n }\n else {\n return this.gridService.level.formatter.queryStartDate.format('YYYY-MM-DD HH:mm:ss');\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridDisplayComponent.prototype, \"endDate\", {\n /** The end date used for building the query */\n get: function () {\n if (this.gridService.level.formatter.queryFinishDate == null) {\n return '2017-02-01';\n }\n else {\n return this.gridService.level.formatter.queryFinishDate.format('YYYY-MM-DD HH:mm:ss');\n }\n },\n enumerable: true,\n configurable: true\n });\n /** Lifecycle hook that is called after every check of a directive's content. */\n PlanboardGridDisplayComponent.prototype.ngAfterContentChecked = function () {\n if (this._gridCollections === undefined) {\n this._gridCollections = this.generateGridSegments();\n }\n };\n PlanboardGridDisplayComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n };\n /**\n * Retrieves a new fresh data set form the backend when query parameters are changed.\n * @param {Boolean} [forcing=false] Refresh is forced when true otherwise only when query parameters are changed.\n * @returns {Observable} An observable of the needed retrieve request otherwise null.\n */\n PlanboardGridDisplayComponent.prototype.refresh = function (forcing) {\n if (forcing === void 0) { forcing = false; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var resources, count;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n resources = this.resources.items.map(function (entity) { return entity; });\n count = 0;\n resources.forEach(function (resource) { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var oid, dataset, queryOptions, _a, formatter;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n oid = resource['Oid'];\n dataset = this._datasets.Item(oid);\n if (dataset === undefined) {\n dataset = this._datasets.Add(oid, new DataSet());\n dataset.sourceName = 'TaskList';\n }\n this.isLoading = true;\n queryOptions = this.queryOptions(oid);\n dataset.queryOptions = queryOptions;\n _a = this;\n return [4 /*yield*/, this.domainService.getDataSet(dataset, dataset.items)];\n case 1:\n _a.loadingInProgress = _b.sent();\n formatter = this.gridService.level.formatter;\n formatter.refreshWith(oid, dataset.items);\n resource.$setRow(dataset);\n this.detectChanges();\n count++;\n if (this.resources.items.length === count) {\n this.loadingInProgress = null;\n this.isLoading = false;\n this.detectChanges();\n }\n return [2 /*return*/];\n }\n });\n }); });\n // Stop loading even when there are no resources\n if (this.resources.items.length === 0) {\n this.loadingInProgress = null;\n this.isLoading = false;\n this.detectChanges();\n }\n this.eventsService.register('grid-refresh').emit();\n return [2 /*return*/];\n });\n });\n };\n /**\n * Handling the move resize event.\n * An override of the method to accommodate refreshing with detectChanges.\n * @param {MouseEvent} event The mouse move event.\n */\n PlanboardGridDisplayComponent.prototype.moveResize = function (event) {\n // Planbord – Sommeer uren leeg #2524\n if (!this.itemResizeData) {\n return;\n }\n _super.prototype.moveResize.call(this, event);\n this.detectChanges();\n };\n /**\n * Lifecycle hook that is called after a component's view has been fully initialized.\n */\n PlanboardGridDisplayComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n this.changeDetector.detach();\n _super.prototype.ngAfterViewInit.call(this);\n this.subscriptionPool.add(this.resources.onRefresh.subscribe(function () {\n _this._gridCollections = _this.generateGridSegments();\n _this.refresh();\n // Register both grid collections and resources so that the drop zone services\n // can influence the planboard (no drop zones etc) during dragging\n _this.dropZonesService.registerGridCollections(_this._gridCollections);\n _this.dropZonesService.registerResources(_this.resources);\n // this._segments = this.generateSegments();\n }));\n };\n /**\n * Refresh the current dataset.\n */\n PlanboardGridDisplayComponent.prototype.userRefresh = function () {\n this.refresh();\n };\n /**\n * Updates the planboard after an entity is changed and saved to update the planboard.\n * @param {Entity} entity The changed entity.\n * @param {boolean} selectable Flag indicating whether or not to select the entity when needed.\n */\n PlanboardGridDisplayComponent.prototype.refreshFor = function (entity, selectable) {\n if (selectable === void 0) { selectable = true; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var oid, dataset, resource, result, itemOid_1, planItemNew, wrapper, oidOriginal, datasetOriginal, resourceOriginal;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n oid = entity['Origin'] ? entity['Origin'] : entity['Resource_Oid'] ? entity['Resource_Oid'] : entity[PROP_ORIGINAL_RESOURCE_OID];\n if (oid == null) {\n return [2 /*return*/];\n }\n dataset = this._datasets.Item(oid);\n resource = this._resources.items.find(function (r) { return r['Oid'] === oid; });\n if (!dataset) return [3 /*break*/, 2];\n return [4 /*yield*/, this.domainService.getDataSet(dataset, dataset.items)];\n case 1:\n result = _a.sent();\n this.gridService.level.formatter.refreshWith(oid, dataset.items);\n if (RoutesService.getDetailId(this.router.routerState) != null) {\n itemOid_1 = entity['Oid'] ? entity['Oid'] : entity['Item_Oid'];\n if (this.oidOfDetailUrl(this.router.url) === itemOid_1) {\n planItemNew = dataset.items.find(function (item) { return item['Item_Oid'] === itemOid_1; });\n if (planItemNew) {\n if (selectable) {\n wrapper = this.findWrapperOf(planItemNew['Item']);\n _super.prototype.selectPlanItem.call(this, wrapper);\n }\n }\n else {\n // Kon de item niet vinden ik moet details sluiten.\n _super.prototype.selectPlanItem.call(this, null);\n }\n }\n }\n if (resource) {\n resource.$setRow(dataset);\n }\n this.detectChanges();\n return [3 /*break*/, 3];\n case 2:\n if (RoutesService.getDetailId(this.router.routerState) != null) {\n _super.prototype.selectPlanItem.call(this, null);\n this.detectChanges();\n }\n _a.label = 3;\n case 3:\n oidOriginal = entity[PROP_ORIGINAL_RESOURCE_OID];\n if (oidOriginal == null) {\n return [2 /*return*/];\n }\n // Opruimen tijdelijke properties\n delete entity[PROP_ORIGINAL_RESOURCE_OID];\n datasetOriginal = this._datasets.Item(oidOriginal);\n resourceOriginal = this._resources.items.find(function (r) { return r['Oid'] === oidOriginal; });\n if (!datasetOriginal) return [3 /*break*/, 5];\n // Original Resource wordt getoond.\n return [4 /*yield*/, this.domainService.getDataSet(datasetOriginal, datasetOriginal.items)];\n case 4:\n // Original Resource wordt getoond.\n _a.sent();\n // Refresh display.\n this.gridService.level.formatter.refreshWith(oidOriginal, datasetOriginal.items);\n if (resourceOriginal) {\n resourceOriginal.$setRow(datasetOriginal);\n this.detectChanges();\n }\n _a.label = 5;\n case 5: return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Create the QueryOptions for given resource\n *\n * @param {string} resourceOid\n * @returns {QueryOptions}\n */\n PlanboardGridDisplayComponent.prototype.queryOptions = function (resourceOid) {\n return {\n parameters: {\n 'className': 'Resource',\n 'oid': resourceOid,\n 'start': this.startDate,\n 'finish': this.endDate,\n 'include': 'Assignments Appointments Availabilities Attendants WorkPatterns Violations'\n },\n expand: 'Item.Deployment.Demand.Task.Project, Item.Service, Item.Service.Shift'\n };\n };\n /**\n * Generate the grid segements based on current state of the horizon\n *\n * @returns {GridCollections}\n */\n PlanboardGridDisplayComponent.prototype.generateGridSegments = function () {\n return this.gridService.level.formatter.planboardGridSegments(this, this.gridService);\n };\n // Used for check if the current segment needs expansion\n PlanboardGridDisplayComponent.prototype.expandGrid = function (segmentsIndex, segmentIndex) {\n if (this.expandedIndex === undefined) {\n return false;\n }\n return (segmentsIndex === this.expandedIndex);\n };\n PlanboardGridDisplayComponent.prototype.selectPlanItem = function (item) {\n _super.prototype.selectPlanItem.call(this, item);\n this.detectChanges();\n };\n /**\n * Override and use this method to load items for first time after creation of component.\n * The method should wait for all the data needed to load items before loading.\n * @protected\n * @returns {boolean} True when items are loaded otherwise false.\n */\n PlanboardGridDisplayComponent.prototype.initialLoading = function () {\n var _this = this;\n this.subscriptionPool.add(this.gridService.zoomChanged.subscribe(function () {\n _this.detectChanges();\n }));\n return _super.prototype.initialLoading.call(this);\n };\n return PlanboardGridDisplayComponent;\n}(GridDisplayBaseComponent));\nexport { PlanboardGridDisplayComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard grid bar component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../plugins/plugin-pair-view/plugin-pair-view.component.ngfactory\";\nimport * as i2 from \"../plugins/plugin-pair-view/plugin-pair-view.component\";\nimport * as i3 from \"../plugin-pair.service\";\nimport * as i4 from \"../../core/alerts.service\";\nimport * as i5 from \"@ngx-translate/core\";\nimport * as i6 from \"../../base/directives/openProfile.directive\";\nimport * as i7 from \"../../core/overlay.service\";\nimport * as i8 from \"../../user.service\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"@angular/common\";\nimport * as i11 from \"../../base/pipes/oid-to-key.pipe\";\nimport * as i12 from \"../../core/minutes-in-hours.pipe\";\nimport * as i13 from \"../../base/pipes/duration-to-text.pipe\";\nimport * as i14 from \"./planboard-grid-display.component\";\nimport * as i15 from \"@angular/router\";\nimport * as i16 from \"../../core/localisation.service\";\nimport * as i17 from \"../../settings.service\";\nimport * as i18 from \"../../backend-settings.service\";\nimport * as i19 from \"../executors.service\";\nimport * as i20 from \"../drop-targets.service\";\nimport * as i21 from \"../../core/event.service\";\nimport * as i22 from \"../grid.service\";\nvar styles_PlanboardGridDisplayComponent = [];\nvar RenderType_PlanboardGridDisplayComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_PlanboardGridDisplayComponent, data: {} });\nexport { RenderType_PlanboardGridDisplayComponent as RenderType_PlanboardGridDisplayComponent };\nfunction View_PlanboardGridDisplayComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-plugin-pair-view\", [], null, null, null, i1.View_PluginPairViewComponent_0, i1.RenderType_PluginPairViewComponent)), i0.ɵdid(1, 245760, null, 0, i2.PluginPairViewComponent, [i3.PluginPairService, i4.AlertsService], { configuration: [0, \"configuration\"], team: [1, \"team\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration; var currVal_1 = _co.bar.team; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PlanboardGridDisplayComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, [\"\", \"\"])), i0.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 2, 0, i0.ɵnov(_v, 3).transform(\"APP.GRIDS.NO_RESOURCES_FOUND\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_PlanboardGridDisplayComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-grid-clicker\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setHorizon(_v.parent.context.$implicit.click) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"d-inline d-md-none\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i6.OpenProfileDirective, [i7.OverlayService, i8.UserService, i9.DomainService, i4.AlertsService], { key: [0, \"key\"] }, null), i0.ɵppd(2, 1), (_l()(), i0.ɵted(3, null, [\" \", \" \", \" \", \" | \"]))], function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent, 0), _v.parent.context.$implicit.meta.resource[\"Oid\"])); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.meta.resource.FirstName; var currVal_2 = _v.parent.context.$implicit.meta.resource.Prefix; var currVal_3 = _v.parent.context.$implicit.meta.resource.Name; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3); }); }\nfunction View_PlanboardGridDisplayComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-grid-clicker\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setHorizon(_v.parent.context.$implicit.click) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i0.ɵdid(2, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(3, { \"sym-is-today\": 0 }), (_l()(), i0.ɵted(4, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co.isToday(_co.horizonDate)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.meta.label; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_PlanboardGridDisplayComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, [\" \", \" \"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.meta.label; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_PlanboardGridDisplayComponent_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-grid-clicker\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setHorizon(_v.parent.context.$implicit.click) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label sym-label-center\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i0.ɵdid(3, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(4, { \"sym-is-today\": 0 }), (_l()(), i0.ɵted(5, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 4, 0, _co.isToday(_v.parent.context.$implicit.meta.start)); _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.meta.label; _ck(_v, 5, 0, currVal_1); }); }\nfunction View_PlanboardGridDisplayComponent_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-label sym-label-position\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 1), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"sym-label sym-label-position\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-\" + _v.context.$implicit.position)); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.label; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_PlanboardGridDisplayComponent_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-dot\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 2)], function (_ck, _v) { var currVal_0 = \"sym-dot\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-\" + _v.context.$implicit.position), (\"sym-dot-\" + _v.context.$implicit.variant)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PlanboardGridDisplayComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"sym-column\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_13)), i0.ɵdid(2, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"sym-labels\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_14)), i0.ɵdid(5, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_15)), i0.ɵdid(7, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"sym-dots\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_16)), i0.ɵdid(10, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.click; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_v.parent.parent.context.$implicit.gridLabels.length; _ck(_v, 5, 0, currVal_1); var currVal_2 = _v.parent.parent.context.$implicit.gridLabels; _ck(_v, 7, 0, currVal_2); var currVal_3 = _v.parent.parent.parent.context.$implicit.gridDots; _ck(_v, 10, 0, currVal_3); }, null); }\nfunction View_PlanboardGridDisplayComponent_18(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-stage sym-stage-publicated\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_19(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-stage sym-stage-unpublicated\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_20(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-plan-item sym-workpattern\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 4)], function (_ck, _v) { var currVal_0 = \"sym-plan-item sym-workpattern\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-h\" + _v.context.$implicit.startHour), (\"sym-start-m\" + _v.context.$implicit.startMinute), (\"sym-end-h\" + _v.context.$implicit.endHour), (\"sym-end-m\" + _v.context.$implicit.endMinute)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PlanboardGridDisplayComponent_21(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-plan-item sym-availability sym-has-no-violations\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 5)], function (_ck, _v) { var currVal_0 = \"sym-plan-item sym-availability sym-has-no-violations\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-h\" + _v.context.$implicit.startHour), (\"sym-start-m\" + _v.context.$implicit.startMinute), (\"sym-end-h\" + _v.context.$implicit.endHour), (\"sym-end-m\" + _v.context.$implicit.endMinute), _v.context.$implicit.weightClass); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PlanboardGridDisplayComponent_22(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-splitter\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpad(2, 1)], function (_ck, _v) { var currVal_0 = \"sym-splitter\"; var currVal_1 = _ck(_v, 2, 0, (\"sym-start-\" + _v.context.$implicit.position)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PlanboardGridDisplayComponent_24(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_25(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PlanboardGridDisplayComponent_23(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"attendant-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_24)), i0.ɵdid(5, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i10.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"attendant-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"attendant-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_25)), i0.ɵdid(14, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 4, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(19, null, [\" \", \" \"])), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"]))], function (_ck, _v) { var _co = _v.component; var currVal_3 = i0.ɵinlineInterpolate(6, \"sym-plan-item sym-attendant sym-source-\", _v.context.$implicit.source, \" sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_4 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_3, currVal_4); var currVal_5 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_5); var currVal_6 = \"sym-active-helper\"; var currVal_7 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_6, currVal_7); var currVal_8 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_8); var currVal_9 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.color; var currVal_2 = (_v.context.$implicit.zIndex + 1); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); var currVal_10 = _v.context.$implicit.name; _ck(_v, 19, 0, currVal_10); }); }\nfunction View_PlanboardGridDisplayComponent_27(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_28(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PlanboardGridDisplayComponent_29(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-finished sym-watermark\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_26(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 26, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"absence-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_27)), i0.ɵdid(5, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i10.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"absence-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"absence-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_28)), i0.ɵdid(14, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_29)), i0.ɵdid(18, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 7, \"div\", [[\"class\", \"sym-texts\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\" \", \" \"])), (_l()(), i0.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"])), (_l()(), i0.ɵeld(24, 0, null, null, 2, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(25, null, [\" \", \" \"])), i0.ɵppd(26, 1)], function (_ck, _v) { var _co = _v.component; var currVal_3 = i0.ɵinlineInterpolate(5, \"sym-plan-item sym-absence sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_4 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_3, currVal_4); var currVal_5 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_5); var currVal_6 = \"sym-active-helper\"; var currVal_7 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_6, currVal_7); var currVal_8 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_8); var currVal_9 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_9); var currVal_10 = _v.context.$implicit.isFinished; _ck(_v, 18, 0, currVal_10); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.color; var currVal_2 = (_v.context.$implicit.zIndex + 1); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); var currVal_11 = _v.context.$implicit.name; _ck(_v, 21, 0, currVal_11); var currVal_12 = i0.ɵunv(_v, 25, 0, _ck(_v, 26, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent, 2), _v.context.$implicit.hoursOfLeave())); _ck(_v, 25, 0, currVal_12); }); }\nfunction View_PlanboardGridDisplayComponent_31(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], [[4, \"color\", null]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.colorDarker; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PlanboardGridDisplayComponent_32(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PlanboardGridDisplayComponent_33(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-finished sym-watermark\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_30(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 25, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null], [4, \"background-color\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"assignment-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_31)), i0.ɵdid(5, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i10.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"assignment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"assignment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_32)), i0.ɵdid(14, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_33)), i0.ɵdid(18, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 6, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\" \", \" \"])), (_l()(), i0.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"])), (_l()(), i0.ɵeld(24, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(25, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵinlineInterpolate(6, \"sym-plan-item sym-assignment sym-source-\", _v.context.$implicit.source, \" sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_5 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_4, currVal_5); var currVal_6 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_6); var currVal_7 = \"sym-active-helper\"; var currVal_8 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_7, currVal_8); var currVal_9 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_9); var currVal_10 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_10); var currVal_11 = _v.context.$implicit.isFinished; _ck(_v, 18, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.colorDarker; var currVal_2 = (_v.context.$implicit.zIndex + 1); var currVal_3 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_12 = _v.context.$implicit.contrast; _ck(_v, 19, 0, currVal_12); var currVal_13 = _v.context.$implicit.name; _ck(_v, 21, 0, currVal_13); var currVal_14 = _v.context.$implicit.effortAsText; _ck(_v, 25, 0, currVal_14); }); }\nfunction View_PlanboardGridDisplayComponent_35(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-violation\"]], [[4, \"color\", null]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.colorDarker; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PlanboardGridDisplayComponent_36(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"sym-resize-info sym-resize-info-\", _co.itemResizeData.mode, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i0.ɵnov(_v.parent.parent.parent.parent.parent.parent.parent, 1), _co.itemResizeData.distanceInMinutesNormalized)); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_PlanboardGridDisplayComponent_37(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-finished sym-watermark\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_34(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 25, \"div\", [], [[8, \"draggable\", 0], [4, \"border-color\", null], [4, \"z-index\", null], [4, \"background-color\", null]], [[null, \"click\"], [null, \"dragstart\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectPlanItemByUser(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"dragstart\" === en)) {\n var pd_1 = (_co.dragItem($event, \"appointment-move\", { items: [_v.context.$implicit.entity], source: { start: _v.parent.context.$implicit.meta.start, finish: _v.parent.context.$implicit.meta.finish } }) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-starts-earlier\": 0, \"sym-ends-later\": 1, \"sym-active\": 2, \"sym-is-draft\": 3, \"sym-has-no-violations\": 4 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-icon-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_35)), i0.ɵdid(5, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"sym-active-helper\"]], null, null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(8, { \"sym-active-helper-in-resize\": 0 }), i0.ɵdid(9, 278528, null, 0, i10.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, \"ngStyle\"] }, null), i0.ɵpod(10, { \"left\": 0, \"right\": 1 }), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-start\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"start\", _v.context.$implicit, _v.parent.context.$implicit, \"appointment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"div\", [[\"class\", \"sym-resize-helper-finish\"]], null, [[null, \"mousedown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n var pd_0 = (_co.startResize($event, \"finish\", _v.context.$implicit, _v.parent.context.$implicit, \"appointment-resize\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_36)), i0.ɵdid(14, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-starts-earlier-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"div\", [[\"class\", \"sym-ends-later-helper\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_37)), i0.ɵdid(18, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 6, \"div\", [[\"class\", \"sym-texts\"]], [[4, \"color\", null]], null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 3, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\" \", \" \"])), (_l()(), i0.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"sym-draft-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"(concept)\"])), (_l()(), i0.ɵeld(24, 0, null, null, 1, \"div\", [[\"class\", \"sym-text\"]], null, null, null, null, null)), (_l()(), i0.ɵted(25, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵinlineInterpolate(6, \"sym-plan-item sym-appointment sym-source-\", _v.context.$implicit.source, \" sym-start-h\", _v.context.$implicit.startHour, \" sym-start-m\", _v.context.$implicit.startMinute, \" sym-end-h\", _v.context.$implicit.endHour, \" sym-end-m\", _v.context.$implicit.endMinute, \" sym-zindex-\", _v.context.$implicit.zIndex, \"\"); var currVal_5 = _ck(_v, 2, 0, _v.context.$implicit.startsEarlier, _v.context.$implicit.endsLater, _co.isEntitySelected(_v.context.$implicit), _v.context.$implicit.isDraft, !_v.context.$implicit.hasViolations); _ck(_v, 1, 0, currVal_4, currVal_5); var currVal_6 = _v.context.$implicit.hasViolations; _ck(_v, 5, 0, currVal_6); var currVal_7 = \"sym-active-helper\"; var currVal_8 = _ck(_v, 8, 0, _co.isPlanItemWrapperInResize(_v.context.$implicit)); _ck(_v, 7, 0, currVal_7, currVal_8); var currVal_9 = _ck(_v, 10, 0, _co.resizeLeft(_v.context.$implicit), _co.resizeRight(_v.context.$implicit)); _ck(_v, 9, 0, currVal_9); var currVal_10 = _co.isPlanItemWrapperInResize(_v.context.$implicit); _ck(_v, 14, 0, currVal_10); var currVal_11 = _v.context.$implicit.isFinished; _ck(_v, 18, 0, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canUpdate; var currVal_1 = _v.context.$implicit.colorDarker; var currVal_2 = (_v.context.$implicit.zIndex + 1); var currVal_3 = _v.context.$implicit.color; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_12 = _v.context.$implicit.contrast; _ck(_v, 19, 0, currVal_12); var currVal_13 = _v.context.$implicit.name; _ck(_v, 21, 0, currVal_13); var currVal_14 = _v.context.$implicit.effortAsText; _ck(_v, 25, 0, currVal_14); }); }\nfunction View_PlanboardGridDisplayComponent_38(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-drop-target sym-drop-target-no-match\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridDisplayComponent_40(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-action text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.invokeAction(_v.context.$implicit, _v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i0.ɵdid(2, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpad(3, 2), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _ck(_v, 3, 0, \"icon\", _v.context.$implicit.icon); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(_v.context.$implicit.labelKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_PlanboardGridDisplayComponent_39(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"sym-add\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sym-add-lines\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"sym-add-actions\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-actions\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_40)), i0.ɵdid(5, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"sym-add-button\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"+\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getActions(); _ck(_v, 5, 0, currVal_0); }, null); }\nfunction View_PlanboardGridDisplayComponent_17(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 31, \"div\", [[\"class\", \"sym-column\"]], null, [[null, \"drop\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"drop\" === en)) {\n var pd_0 = (_co.dropItem($event, { targets: [{ start: _v.context.$implicit.meta.start, finish: _v.context.$implicit.meta.finish }], resources: [_v.context.$implicit.meta.resource] }) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"sym-stages\"]], null, null, null, null, null)), i0.ɵdid(2, 16384, null, 0, i10.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_18)), i0.ɵdid(4, 278528, null, 0, i10.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i10.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_19)), i0.ɵdid(6, 278528, null, 0, i10.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i10.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"sym-workpatterns\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_20)), i0.ɵdid(9, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-availabilities\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_21)), i0.ɵdid(12, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"sym-splitters\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_22)), i0.ɵdid(15, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"sym-attendants\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_23)), i0.ɵdid(18, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"div\", [[\"class\", \"sym-absences\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_26)), i0.ɵdid(21, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(22, 0, null, null, 2, \"div\", [[\"class\", \"sym-assignments\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_30)), i0.ɵdid(24, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 2, \"div\", [[\"class\", \"sym-appointments\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_34)), i0.ɵdid(27, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_38)), i0.ɵdid(29, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_39)), i0.ɵdid(31, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getStageOf(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); var currVal_1 = \"publicated\"; _ck(_v, 4, 0, currVal_1); var currVal_2 = \"unpublicated\"; _ck(_v, 6, 0, currVal_2); var currVal_3 = _v.context.$implicit.gridWorkPatterns; var currVal_4 = _co.trackByPlanItem; _ck(_v, 9, 0, currVal_3, currVal_4); var currVal_5 = _v.context.$implicit.gridAvailabilities; var currVal_6 = _co.trackByPlanItem; _ck(_v, 12, 0, currVal_5, currVal_6); var currVal_7 = _v.parent.parent.parent.context.$implicit.gridSplitters; _ck(_v, 15, 0, currVal_7); var currVal_8 = _v.context.$implicit.gridAttendants; var currVal_9 = _co.trackByPlanItem; _ck(_v, 18, 0, currVal_8, currVal_9); var currVal_10 = _v.context.$implicit.gridAbsences; var currVal_11 = _co.trackByPlanItem; _ck(_v, 21, 0, currVal_10, currVal_11); var currVal_12 = _v.context.$implicit.gridAssignments; var currVal_13 = _co.trackByPlanItem; _ck(_v, 24, 0, currVal_12, currVal_13); var currVal_14 = _v.context.$implicit.gridAppointments; var currVal_15 = _co.trackByPlanItem; _ck(_v, 27, 0, currVal_14, currVal_15); var currVal_16 = (((_v.context.$implicit.meta.isDropZone !== undefined) && (_v.context.$implicit.meta.isDropZone === false)) || ((_v.context.$implicit.meta.resource !== undefined) && (_v.context.$implicit.meta.resource.isDropZone === false))); _ck(_v, 29, 0, currVal_16); var currVal_17 = (_co.canCreate && _co.getActions()); _ck(_v, 31, 0, currVal_17); }, null); }\nfunction View_PlanboardGridDisplayComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"sym-rows\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"sym-column sym-column-full\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_9)), i0.ɵdid(4, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 5, \"div\", [], null, null, null, null, null)), i0.ɵdid(6, 16384, null, 0, i10.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_10)), i0.ɵdid(8, 278528, null, 0, i10.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i10.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_11)), i0.ɵdid(10, 16384, null, 0, i10.NgSwitchDefault, [i0.ViewContainerRef, i0.TemplateRef, i10.NgSwitch], null, null), (_l()(), i0.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_12)), i0.ɵdid(13, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"sym-row sym-row-half sym-row-unavailable\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_17)), i0.ɵdid(16, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.click; _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.horizonLevelName; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"day\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = _v.context.$implicit.children; _ck(_v, 13, 0, currVal_3); var currVal_4 = _v.context.$implicit.children; _ck(_v, 16, 0, currVal_4); }, null); }\nfunction View_PlanboardGridDisplayComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { \"sym-grid-expanded\": 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_8)), i0.ɵdid(4, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(2, \"sym-grid-segment sym-rows-in-row-\", _v.context.$implicit.children.length, \" sym-columns-in-row-\", _v.context.$implicit.children[0].children.length, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.expandGrid(_v.parent.context.index, _v.context.index)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.context.$implicit.children; _ck(_v, 4, 0, currVal_2); }, null); }\nfunction View_PlanboardGridDisplayComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 15, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 11, \"div\", [[\"class\", \"sym-grid-segments sym-grid-segments-info\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 10, \"div\", [[\"class\", \"sym-grid-segment\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 9, \"div\", [[\"class\", \"sym-rows sym-rows-full\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"sym-row sym-row-quarter sym-row-text\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"sym-column sym-column-full\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_5)), i0.ɵdid(7, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_6)), i0.ɵdid(10, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(12, null, [\"\", \"\"])), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_7)), i0.ɵdid(15, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.click; _ck(_v, 7, 0, currVal_0); var currVal_1 = _v.context.$implicit.meta.resource; _ck(_v, 10, 0, currVal_1); var currVal_4 = _v.context.$implicit.children; _ck(_v, 15, 0, currVal_4); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.meta.label; _ck(_v, 12, 0, currVal_2); var currVal_3 = i0.ɵinlineInterpolate(1, \"sym-grid-segments sym-grid-segments-data sym-segments-in-segment-\", _v.context.$implicit.children.length, \"\"); _ck(_v, 13, 0, currVal_3); }); }\nfunction View_PlanboardGridDisplayComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"sym-grid-scroll-column\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-grid-scroll-container ml-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_2)), i0.ɵdid(3, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 6, \"div\", [], null, [[null, \"mouseup\"], [null, \"mouseleave\"], [null, \"mousemove\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseup\" === en)) {\n var pd_0 = (_co.stopResize($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"mouseleave\" === en)) {\n var pd_1 = (_co.cancelResize($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"mousemove\" === en)) {\n var pd_2 = (_co.moveResize($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 278528, null, 0, i10.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(6, { \"in-resize-mode\": 0, \"sym-no-resize-support\": 1 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_3)), i0.ɵdid(8, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_4)), i0.ɵdid(10, 278528, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canCreate; _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"sym-grid-display clearfix sym-grid-zoom-\", _co.zoom, \"\"); var currVal_2 = _ck(_v, 6, 0, _co.inResizeMode(), !_co.canUpdate); _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = ((!_co.isLoading && _co.gridCollections) && (_co.gridCollections.length === 0)); _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.gridCollections; _ck(_v, 10, 0, currVal_4); }, null); }\nexport function View_PlanboardGridDisplayComponent_0(_l) { return i0.ɵvid(0, [i0.ɵpid(0, i11.OidToKeyPipe, []), i0.ɵpid(0, i12.MinutesToHoursPipe, []), i0.ɵpid(0, i13.DurationToTextPipe, []), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PlanboardGridDisplayComponent_1)), i0.ɵdid(4, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.gridCollections; _ck(_v, 4, 0, currVal_0); }, null); }\nexport function View_PlanboardGridDisplayComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-planboard-grid-display\", [], null, null, null, View_PlanboardGridDisplayComponent_0, RenderType_PlanboardGridDisplayComponent)), i0.ɵdid(1, 6537216, null, 0, i14.PlanboardGridDisplayComponent, [i15.Router, i9.DomainService, i16.LocalisationService, i17.SettingsService, i18.BackendSettingsService, i7.OverlayService, i19.ExecutorsService, i20.DropTargetsService, i4.AlertsService, i0.ElementRef, i0.NgZone, i0.ChangeDetectorRef, i21.EventsService, i22.GridService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardGridDisplayComponentNgFactory = i0.ɵccf(\"sym-planboard-grid-display\", i14.PlanboardGridDisplayComponent, View_PlanboardGridDisplayComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", bar: \"bar\", resources: \"resources\" }, { selectionChanged: \"selectionChanged\" }, []);\nexport { PlanboardGridDisplayComponentNgFactory as PlanboardGridDisplayComponentNgFactory };\n","/**\n * @file Planboard grid component\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { AfterViewInit, OnDestroy } from '@angular/core';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { SortDescriptor } from '../../core/helpers/sort-descriptor';\nimport { SortDirection } from '../../core/helpers/sort-direction';\nimport { PlanboardGridBarComponent } from '../planboard-grid-bar/planboard-grid-bar.component';\nimport { GridService } from '../grid.service';\nimport { SettingsService } from './../../settings.service';\nimport { GridBaseComponent } from '../grid-base/grid-base.component';\n/**\n * Planboard grid component.\n */\nvar PlanboardGridComponent = /** @class */ (function (_super) {\n tslib_1.__extends(PlanboardGridComponent, _super);\n function PlanboardGridComponent(domainService, localStorageService, gridService, settingsService, alertsService) {\n var _this = _super.call(this, domainService, localStorageService, gridService, alertsService) || this;\n _this.settingsService = settingsService;\n _this.alertsService = alertsService;\n /** List of dynamic query parameters. */\n _this.dynamicParameters = [];\n // Important: visiblity per layer is also per grid type (agenda and planboard)\n _this.visibilityPerLayer = {\n 'workpatterns': _this.localStorageService.readProperty('local', 'grid-show-workpatterns', true, [true, false]),\n 'availabilities': _this.localStorageService.readProperty('local', 'grid-show-availabilities', false, [true, false]),\n 'absences': _this.localStorageService.readProperty('local', 'grid-show-absences', true, [true, false]),\n 'assignments': _this.localStorageService.readProperty('local', 'grid-show-assignments', true, [true, false]),\n 'appointments': _this.localStorageService.readProperty('local', 'grid-show-appointments', true, [true, false]),\n 'attendants': _this.localStorageService.readProperty('local', 'grid-show-attendants', true, [true, false]),\n 'drop-targets': _this.localStorageService.readProperty('local', 'grid-show-drop-targets', true, [true, false]),\n 'violations': _this.localStorageService.readProperty('local', 'grid-show-violations', false, [true, false]),\n 'adhoc': _this.localStorageService.readProperty('local', 'grid-show-adhoc', true, [true, false]),\n 'template': _this.localStorageService.readProperty('local', 'grid-show-template', true, [true, false]),\n 'forecast': _this.localStorageService.readProperty('local', 'grid-show-forecast', true, [true, false]),\n // Tijdelijk, script + extra, uitgezet zonder dat ejs omvalt.\n // Zie: Lagen kiezer lijkt niet helemaal goed te werken bij forecast opties. #3074\n 'script': true,\n 'extra': true,\n 'dragsources': (_this.isTouchDevice === true) ? false : _this.localStorageService.readProperty('local', 'grid-show-dragsources', true, [true, false])\n };\n _this._resources = new DataSet(_this.domainService);\n return _this;\n }\n Object.defineProperty(PlanboardGridComponent.prototype, \"resources\", {\n /**\n * Gets the data set of the shown resources\n * @readonly\n * @type {DataSet}\n * @memberOf PlanboardGridComponent\n */\n get: function () {\n return this._resources;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridComponent.prototype, \"selectedFilterEntity\", {\n /**\n * Gets the entity used as filter for the shown resources.\n * @readonly\n * @type {Entity}\n * @memberOf PlanboardGridComponent\n */\n get: function () {\n if (!this.gridbar || !this.gridbar.filterEntity) {\n return null;\n }\n return this.gridbar.filterEntity;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridComponent.prototype, \"selectedTeam\", {\n /**\n * Gets selected team when the resource filter is a team.\n * The selected team is used as filter for the service drag sources.\n * @readonly\n * @type {Entity} The selected team.\n * @memberOf PlanboardGridComponent\n */\n get: function () {\n var value = this.selectedFilterEntity;\n if (value && value.entityType.shortName === 'Team') {\n return value;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridComponent.prototype, \"filterEntityOid\", {\n /**\n * Gets the oid of the entity used as filter for the shown resources.\n * @readonly\n * @type {Entity}\n * @memberOf PlanboardGridComponent\n */\n get: function () {\n var filterEntity = this.selectedFilterEntity;\n var userChangedFilter = this.gridbar.userChangedFilter;\n this.gridbar.userChangedFilter = false;\n if (!filterEntity) {\n // if there is not a pending user's choice then look in the storage\n if (!userChangedFilter) {\n var storedFilterOid = this.localStorageService.readProperty('local', 'planboard-filter-entity', undefined);\n if (storedFilterOid) {\n return storedFilterOid;\n }\n }\n return '';\n }\n return filterEntity['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridComponent.prototype, \"start\", {\n /**\n * Gets the horizon start of the displayed planboard.\n * @readonly\n * @type {Date}\n */\n get: function () {\n return this.gridService.startDate.toDate();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlanboardGridComponent.prototype, \"end\", {\n /**\n * Gets the horizon end of the displayed planboard\n * @readonly\n * @type {Date}\n */\n get: function () {\n return this.gridService.endDate.toDate();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Respond after Angular initializes the component's views and child views\n */\n PlanboardGridComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n _super.prototype.ngAfterViewInit.call(this);\n this.horizonSupscription = this.gridService.stateChanged.subscribe(function (state) {\n _this.refresh();\n });\n };\n /**\n * Cleanup just before Angular destroys the component.\n * Unsubscribe Observables and detach event handlers to avoid memory leaks.\n */\n PlanboardGridComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n if (this.horizonSupscription) {\n this.horizonSupscription.unsubscribe();\n }\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n PlanboardGridComponent.prototype.afterInitialize = function () {\n var _this = this;\n _super.prototype.afterInitialize.call(this);\n var pluginPairSelectorComponent = this.configuration.components.find(function (item) { return item.component.indexOf('PluginPairSelectorComponent') !== -1; });\n this.pluginPairSource = pluginPairSelectorComponent ? pluginPairSelectorComponent.configuration : null;\n var entityConfig = this.configuration.data;\n this._resources.sourceName = entityConfig.dataSource;\n if (!entityConfig.listSize) {\n // Default page size.\n entityConfig.listSize = 20;\n }\n // Clear the sorting and add sort descriptor from (if found) the settings, otherwise default is Name\n var sortMethod = this.settingsService.settings.frontend.grid.sortMethod;\n this._resources.sorting.length = 0;\n if (sortMethod) {\n this._resources.sorting.push(new SortDescriptor(sortMethod, sortMethod, SortDirection.Ascending, 0));\n }\n else {\n this._resources.sorting.push(new SortDescriptor('Name', 'Name', SortDirection.Ascending, 0));\n }\n this._resources.queryOptions = {\n take: entityConfig.listSize,\n expand: entityConfig.expand,\n parameters: Object.assign({}, entityConfig.parameters)\n };\n // Fix issue #2364\n // Deze window.setTimeout lijkt te voorkomen dat we\n // soms this.gridbar.horizon gaan missen bij de load.\n window.setTimeout(function () {\n DomainService.getDynamicParams(_this._resources.queryOptions, _this.dynamicParameters);\n DomainService.setDynamicParams(_this._resources.queryOptions, _this.dynamicParameters, _this);\n _this._resources.load(entityConfig.entity);\n });\n };\n /**\n * Method to retrieve the requested entities from the backend api.\n * @returns An Observable object that retrieves the requested entities.\n */\n PlanboardGridComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var result;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.configuration) {\n return [2 /*return*/, null];\n }\n if (this.dynamicParameters.length === 0) {\n // Fix: Regelmatig Not Found melding bij openen planbord #3068\n // DomainService.getDynamicParams is nog niet gedaan.\n return [2 /*return*/, null];\n }\n DomainService.setDynamicParams(this._resources.queryOptions, this.dynamicParameters, this);\n return [4 /*yield*/, this._resources.refresh()];\n case 1:\n result = _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n return PlanboardGridComponent;\n}(GridBaseComponent));\nexport { PlanboardGridComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Planboard grid component\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../grid-base/grid-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i5 from \"../../base/instruction/instruction.component\";\nimport * as i6 from \"@angular/common/http\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"../planboard-grid-drag/planboard-grid-drag.component.ngfactory\";\nimport * as i9 from \"../planboard-grid-drag/planboard-grid-drag.component\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../executors.service\";\nimport * as i12 from \"../drop-targets.service\";\nimport * as i13 from \"../../core/local-storage.service\";\nimport * as i14 from \"../grid.service\";\nimport * as i15 from \"../plugins/plugin-pair-selector/plugin-pair-selector.component.ngfactory\";\nimport * as i16 from \"../plugins/plugin-pair-selector/plugin-pair-selector.component\";\nimport * as i17 from \"../plugin-pair.service\";\nimport * as i18 from \"../../domain.service\";\nimport * as i19 from \"../../forecast/forecast.service\";\nimport * as i20 from \"../../core/event.service\";\nimport * as i21 from \"@angular/forms\";\nimport * as i22 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i23 from \"../../base/pagination/pagination.component\";\nimport * as i24 from \"@angular/router\";\nimport * as i25 from \"../horizon/horizon.component.ngfactory\";\nimport * as i26 from \"../horizon/horizon.component\";\nimport * as i27 from \"../../core/localisation.service\";\nimport * as i28 from \"../planboard-grid-bar/planboard-grid-bar.component.ngfactory\";\nimport * as i29 from \"../planboard-grid-bar/planboard-grid-bar.component\";\nimport * as i30 from \"../../core/overlay.service\";\nimport * as i31 from \"../planboard-grid-display/planboard-grid-display.component.ngfactory\";\nimport * as i32 from \"../planboard-grid-display/planboard-grid-display.component\";\nimport * as i33 from \"../../settings.service\";\nimport * as i34 from \"../../backend-settings.service\";\nimport * as i35 from \"./planboard-grid.component\";\nvar styles_PlanboardGridComponent = [i0.styles];\nvar RenderType_PlanboardGridComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PlanboardGridComponent, data: {} });\nexport { RenderType_PlanboardGridComponent as RenderType_PlanboardGridComponent };\nfunction View_PlanboardGridComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 29).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_PlanboardGridComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 29, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 24, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-grid-2783-fix\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(6, null, [\" \", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 17, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 6, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 20).userRefresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(10, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(11, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(14, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(15, { \"icon-spin\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridComponent_2)), i1.ɵdid(17, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(18, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-sm btn-link d-md-none\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSettingsOpen() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-settings\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), (_l()(), i1.ɵeld(28, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i4.View_InstructionComponent_0, i4.RenderType_InstructionComponent)), i1.ɵdid(29, 180224, [[\"instruction\", 4]], 0, i5.InstructionComponent, [i6.HttpClient, i7.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_4 = \"btn btn-sm btn-link\"; var currVal_5 = _ck(_v, 11, 0, i1.ɵnov(_v.parent, 20).isLoading); _ck(_v, 10, 0, currVal_4, currVal_5); var currVal_6 = \"icon sym-icon-refresh\"; var currVal_7 = _ck(_v, 15, 0, i1.ɵnov(_v.parent, 20).isLoading); _ck(_v, 14, 0, currVal_6, currVal_7); var currVal_8 = _co.configuration.instruction; _ck(_v, 17, 0, currVal_8); var currVal_14 = _co.configuration.instruction; _ck(_v, 29, 0, currVal_14); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.configuration.labelKey)); _ck(_v, 6, 0, currVal_2); var currVal_3 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 12).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 9, 0, currVal_3); var currVal_9 = !_co.areSettingsOpen(); _ck(_v, 20, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 22).transform(\"APP.GRIDS.OPEN_SETTINGS\")); _ck(_v, 21, 0, currVal_10); var currVal_11 = _co.areSettingsOpen(); _ck(_v, 23, 0, currVal_11); var currVal_12 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.GRIDS.HIDE_SETTINGS\")); _ck(_v, 24, 0, currVal_12); var currVal_13 = _co.configuration.key; _ck(_v, 27, 0, currVal_13); }); }\nfunction View_PlanboardGridComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-grid-drag\", [[\"class\", \"sym-dragsources\"]], null, [[\"window\", \"dragstart\"], [\"window\", \"dragend\"]], function (_v, en, $event) { var ad = true; if ((\"window:dragstart\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).onDragOver($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"window:dragend\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 1).onDragLeave($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i8.View_PlanboardGridDragComponent_0, i8.RenderType_PlanboardGridDragComponent)), i1.ɵdid(1, 245760, null, 0, i9.PlanboardGridDragComponent, [i10.AlertsService, i11.ExecutorsService, i12.DropTargetsService, i1.ElementRef, i1.NgZone, i13.LocalStorageService, i14.GridService], { configuration: [0, \"configuration\"], selectedTeam: [1, \"selectedTeam\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration; var currVal_1 = _co.selectedTeam; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PlanboardGridComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-plugin-pair-selector\", [], null, null, null, i15.View_PluginPairSelectorComponent_0, i15.RenderType_PluginPairSelectorComponent)), i1.ɵdid(1, 245760, null, 0, i16.PluginPairSelectorComponent, [i17.PluginPairService, i18.DomainService, i19.ForecastService, i13.LocalStorageService, i20.EventsService, i10.AlertsService], { configuration: [0, \"configuration\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.pluginPairSource; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_PlanboardGridComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i21.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i21.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i21.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \": \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.context.$implicit.name; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_v.context.$implicit.title)); var currVal_3 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_co.transformVisibilityToLocalisationKey(_v.context.$implicit.name))); _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_PlanboardGridComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i22.View_PaginationComponent_0, i22.RenderType_PaginationComponent)), i1.ɵdid(2, 4374528, null, 0, i23.PaginationComponent, [i24.Router], { pageSize: [0, \"pageSize\"], dataSet: [1, \"dataSet\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.data.listSize; var currVal_1 = i1.ɵnov(_v.parent, 17).resources; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nexport function View_PlanboardGridComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { gridbar: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridComponent_1)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 52, \"div\", [], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-hide-workpatterns\": 0, \"sym-hide-availabilities\": 1, \"sym-hide-absences\": 2, \"sym-hide-assignments\": 3, \"sym-hide-appointments\": 4, \"sym-hide-attendants\": 5, \"sym-hide-drop-targets\": 6, \"sym-hide-adhoc\": 7, \"sym-hide-template\": 8, \"sym-hide-forecast\": 9, \"sym-hide-script\": 10, \"sym-hide-extra\": 11, \"sym-hide-no-violations\": 12, \"sym-hide-dragsources\": 13, \"sym-dragsources-pinned\": 14 }), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"sym-horizon\", [], null, null, null, i25.View_HorizonComponent_0, i25.RenderType_HorizonComponent)), i1.ɵdid(7, 180224, null, 0, i26.HorizonComponent, [i27.LocalisationService, i14.GridService], { mode: [0, \"mode\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 12, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), i1.ɵdid(9, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(10, { \"sym-has-dragsources\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridComponent_3)), i1.ɵdid(12, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"col-md-2 pr-0\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridComponent_4)), i1.ɵdid(15, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"sym-planboard-grid-bar\", [], null, [[null, \"filterEntityChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"filterEntityChanged\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i28.View_PlanboardGridBarComponent_0, i28.RenderType_PlanboardGridBarComponent)), i1.ɵdid(17, 4440064, [[1, 4], [\"gridbar\", 4]], 0, i29.PlanboardGridBarComponent, [i11.ExecutorsService, i10.AlertsService, i1.ElementRef, i1.NgZone, i30.OverlayService, i20.EventsService, i13.LocalStorageService, i18.DomainService, i14.GridService], { griddisplay: [0, \"griddisplay\"], resources: [1, \"resources\"] }, { filterEntityChanged: \"filterEntityChanged\" }), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"div\", [[\"class\", \"col-md-10 pr-0 pl-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"sym-planboard-grid-display\", [], null, [[null, \"selectionChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectionChanged\" === en)) {\n var pd_0 = (_co.selectPlanItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i31.View_PlanboardGridDisplayComponent_0, i31.RenderType_PlanboardGridDisplayComponent)), i1.ɵdid(20, 6537216, [[\"griddisplay\", 4]], 0, i32.PlanboardGridDisplayComponent, [i24.Router, i18.DomainService, i27.LocalisationService, i33.SettingsService, i34.BackendSettingsService, i30.OverlayService, i11.ExecutorsService, i12.DropTargetsService, i10.AlertsService, i1.ElementRef, i1.NgZone, i1.ChangeDetectorRef, i20.EventsService, i14.GridService], { configuration: [0, \"configuration\"], bar: [1, \"bar\"], resources: [2, \"resources\"] }, { selectionChanged: \"selectionChanged\" }), (_l()(), i1.ɵeld(21, 0, null, null, 30, \"div\", [[\"class\", \"d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 28, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 27, \"div\", [[\"class\", \"close-gap-between-grid\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 26, \"div\", [[\"class\", \"d-flex flex-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 10, \"div\", [[\"class\", \"d-flex flex-column sym-legenda\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 0, \"div\", [[\"class\", \"sym-legenda-visual sym-stage-publicated\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 2, \"div\", [[\"class\", \"sym-legenda-label ml-1\"]], null, null, null, null, null)), (_l()(), i1.ɵted(31, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(33, 0, null, null, 4, \"div\", [[\"class\", \"sym-legenda-spacer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 0, \"div\", [[\"class\", \"sym-legenda-visual sym-stage-unpublicated\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(35, 0, null, null, 2, \"div\", [[\"class\", \"sym-legenda-label ml-1\"]], null, null, null, null, null)), (_l()(), i1.ɵted(36, null, [\"\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(38, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(39, 0, null, null, 12, \"select\", [[\"class\", \"custom-select form-control-sm sym-layer-select pl-1\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 40).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 40).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.layer = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(40, 16384, null, 0, i21.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i21.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i21.SelectControlValueAccessor]), i1.ɵdid(42, 671744, null, 0, i21.NgModel, [[8, null], [8, null], [8, null], [6, i21.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i21.NgControl, null, [i21.NgModel]), i1.ɵdid(44, 16384, null, 0, i21.NgControlStatus, [[4, i21.NgControl]], null, null), (_l()(), i1.ɵeld(45, 0, null, null, 4, \"option\", [[\"value\", \"\"]], null, null, null, null, null)), i1.ɵdid(46, 147456, null, 0, i21.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i21.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(47, 147456, null, 0, i21.ɵangular_packages_forms_forms_s, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i1.ɵted(48, null, [\"\", \" \", \"/\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridComponent_5)), i1.ɵdid(51, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(52, 0, null, null, 3, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(53, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanboardGridComponent_6)), i1.ɵdid(55, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.initialized; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(3, \"sym-grid sym-variant-planboard sym-level-\", _co.level.name, \" sym-hours-h\", _co.visibleHoursStart, \"-h\", _co.visibleHoursEnd, \"\"); var currVal_2 = _ck(_v, 5, 1, [!_co.visibilityPerLayer[\"workpatterns\"], !_co.visibilityPerLayer[\"availabilities\"], !_co.visibilityPerLayer[\"absences\"], !_co.visibilityPerLayer[\"assignments\"], !_co.visibilityPerLayer[\"appointments\"], !_co.visibilityPerLayer[\"attendants\"], !_co.visibilityPerLayer[\"drop-targets\"], !_co.visibilityPerLayer[\"adhoc\"], !_co.visibilityPerLayer[\"template\"], !_co.visibilityPerLayer[\"forecast\"], !_co.visibilityPerLayer[\"script\"], !_co.visibilityPerLayer[\"extra\"], _co.visibilityPerLayer[\"violations\"], !_co.visibilityPerLayer[\"dragsources\"], _co.dragsourcesPinned]); _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_3 = \"horizonModeGrid\"; _ck(_v, 7, 0, currVal_3); var currVal_4 = \"row\"; var currVal_5 = _ck(_v, 10, 0, _co.hasDragsources()); _ck(_v, 9, 0, currVal_4, currVal_5); var currVal_6 = _co.hasDragsources(); _ck(_v, 12, 0, currVal_6); var currVal_7 = i1.ɵnov(_v, 20).canCreate; _ck(_v, 15, 0, currVal_7); var currVal_8 = i1.ɵnov(_v, 20); var currVal_9 = _co.resources; _ck(_v, 17, 0, currVal_8, currVal_9); var currVal_10 = _co.configuration; var currVal_11 = i1.ɵnov(_v, 17); var currVal_12 = _co.resources; _ck(_v, 20, 0, currVal_10, currVal_11, currVal_12); var currVal_22 = _co.layer; _ck(_v, 42, 0, currVal_22); var currVal_23 = \"\"; _ck(_v, 46, 0, currVal_23); var currVal_24 = \"\"; _ck(_v, 47, 0, currVal_24); var currVal_28 = _co.availableLayers; _ck(_v, 51, 0, currVal_28); var currVal_29 = (_co.configuration && _co.configuration.data); _ck(_v, 55, 0, currVal_29); }, function (_ck, _v) { var _co = _v.component; var currVal_13 = i1.ɵunv(_v, 31, 0, i1.ɵnov(_v, 32).transform(\"APP.GRIDS.STAGES.PUBLICATED\")); _ck(_v, 31, 0, currVal_13); var currVal_14 = i1.ɵunv(_v, 36, 0, i1.ɵnov(_v, 37).transform(\"APP.GRIDS.STAGES.UNPUBLICATED\")); _ck(_v, 36, 0, currVal_14); var currVal_15 = i1.ɵnov(_v, 44).ngClassUntouched; var currVal_16 = i1.ɵnov(_v, 44).ngClassTouched; var currVal_17 = i1.ɵnov(_v, 44).ngClassPristine; var currVal_18 = i1.ɵnov(_v, 44).ngClassDirty; var currVal_19 = i1.ɵnov(_v, 44).ngClassValid; var currVal_20 = i1.ɵnov(_v, 44).ngClassInvalid; var currVal_21 = i1.ɵnov(_v, 44).ngClassPending; _ck(_v, 39, 0, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21); var currVal_25 = i1.ɵunv(_v, 48, 0, i1.ɵnov(_v, 49).transform(\"APP.GRIDS.VISIBLE_LAYERS\")); var currVal_26 = _co.countVisibleLayers(); var currVal_27 = _co.availableLayers.length; _ck(_v, 48, 0, currVal_25, currVal_26, currVal_27); }); }\nexport function View_PlanboardGridComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-planboard-grid\", [], null, null, null, View_PlanboardGridComponent_0, RenderType_PlanboardGridComponent)), i1.ɵdid(1, 4440064, null, 0, i35.PlanboardGridComponent, [i18.DomainService, i13.LocalStorageService, i14.GridService, i33.SettingsService, i10.AlertsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar PlanboardGridComponentNgFactory = i1.ɵccf(\"sym-planboard-grid\", i35.PlanboardGridComponent, View_PlanboardGridComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\" }, {}, []);\nexport { PlanboardGridComponentNgFactory as PlanboardGridComponentNgFactory };\n","/**\n * @file Grid container component for dynamically inject components\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ComponentFactoryResolver, ViewContainerRef, EventEmitter } from '@angular/core';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * This class is used to insert list types, of a specific type, into a template by configuration.\n */\nvar GridContainerComponent = /** @class */ (function (_super) {\n tslib_1.__extends(GridContainerComponent, _super);\n /**\n * Constructs a list typeContainerComponent\n */\n function GridContainerComponent(containerRef, factoryResolver) {\n var _this = _super.call(this) || this;\n _this.containerRef = containerRef;\n _this.factoryResolver = factoryResolver;\n /** Event triggered when a entity from the list is selected. */\n _this.selectionChanged = new EventEmitter();\n /** Event triggered when a new entity is created. */\n _this.entityCreated = new EventEmitter();\n /** The grid component contained. */\n _this.instance = null;\n _this._component = undefined;\n return _this;\n }\n Object.defineProperty(GridContainerComponent.prototype, \"component\", {\n /** Gets the component configuration used in this container. */\n get: function () {\n return this._component;\n },\n /**\n * Sets the component configuration used within this container.\n * @param value The component configuration.\n */\n set: function (value) {\n var _this = this;\n this._component = value;\n if (this._component === undefined) {\n return;\n }\n if (this._component.component === undefined) {\n this._component.component = 'PlanboardGridComponent';\n }\n var editor = ComponentRegistry.getComponent('grid', this._component.component);\n if (this.containerRef.length > 0) {\n this.containerRef.clear();\n }\n var componentFactory = this.factoryResolver.resolveComponentFactory(editor);\n var ref = this.containerRef.createComponent(componentFactory, 0);\n this.instance = ref.instance;\n this.instance.configuration = this._component.configuration;\n this.subscriptionPool.add(this.instance.selectionChanged.subscribe(function (item) {\n _this.selectionChanged.emit(item);\n }));\n },\n enumerable: true,\n configurable: true\n });\n return GridContainerComponent;\n}(AbstractBase));\nexport { GridContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Grid container component for dynamically inject components\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./grid-container.component\";\nvar styles_GridContainerComponent = [];\nvar RenderType_GridContainerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_GridContainerComponent, data: {} });\nexport { RenderType_GridContainerComponent as RenderType_GridContainerComponent };\nexport function View_GridContainerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_GridContainerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-grid-container\", [], null, null, null, View_GridContainerComponent_0, RenderType_GridContainerComponent)), i0.ɵdid(1, 180224, null, 0, i1.GridContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], null, null)], null, null); }\nvar GridContainerComponentNgFactory = i0.ɵccf(\"sym-grid-container\", i1.GridContainerComponent, View_GridContainerComponent_Host_0, { component: \"component\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\" }, []);\nexport { GridContainerComponentNgFactory as GridContainerComponentNgFactory };\n","/**\n * @file Component to assemble other components to construct a view.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { AbstractView } from '../../base/helpers/abstract-view';\nimport { DomainService } from '../../domain.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\n/**\n * Class to show entities as data by using the ListComponent\n */\nvar GridViewComponent = /** @class */ (function (_super) {\n tslib_1.__extends(GridViewComponent, _super);\n /**\n * Constucts a GridViewComponent component.\n * @param configurationsService The configuration service.\n * @param router The router\n * @param route The activated route.\n */\n function GridViewComponent(router, route, dialogService, domainService, alertsService, translateService) {\n var _this = _super.call(this, router, route, domainService, dialogService, alertsService, translateService) || this;\n _this.dialogService = dialogService;\n _this.domainService = domainService;\n _this.alertsService = alertsService;\n // Set configuration to be always defined. Do not use *ngIf because of nested RouterOutlet.\n /** Property where the loaded configuration is divided in logical keys for easy access in the template. */\n _this.configurations = {};\n return _this;\n }\n /**\n * Called when closed event is triggered on sidebar.\n * @param subject The reason of closing the sidebar.\n */\n GridViewComponent.prototype.sidebarIsClosing = function (subject) {\n // if (subject === 'sidebar') {\n // this.navigateTo(null);\n // }\n // TODO: Implement behavior.\n };\n /**\n * Checks whether the given route is the detail route for the given item.\n * @param detailRoute The route to check.\n * @param item Checks the route for this item.\n * @returns True when detailRoute matches with the given entity otherwise false.\n */\n GridViewComponent.prototype.isDetailRouteForItem = function (detailRoute, item) {\n // Override and use the item parameter in derived classes.\n if (!_super.prototype.isDetailRouteForItem.call(this, detailRoute, item)) {\n return false;\n }\n var itemProp = 'Item';\n var entity = item[itemProp];\n var classProp = 'ItemClass';\n var className = (item[classProp] + '').toLowerCase();\n if (entity) {\n switch (className) {\n // Eerder hielde we rekening met Appointments die geen Absence als reden hadden.\n // Van deze Symagic Server mogelijkheid wordt geen gebruik gemaakt.\n // Appointments behoren nu functioneel altijd een Absence als reden te hebben.\n case 'appointment':\n className = 'absence';\n break;\n case 'assignment':\n if (entity['Appointment']) {\n // Assignments met waarde true voor de property Appointment worden binnen HTML5 als Appointments gezien.\n className = 'appointment';\n }\n break;\n }\n }\n return detailRoute.path.toLowerCase().indexOf(className) !== -1;\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n GridViewComponent.prototype.afterInitialize = function () {\n // Improve: use configuration name instead of the component order in the configuration\n this.configurations = {\n insights: this.findChildConfiguration('insights'),\n display: this.findChildComponent('display')\n };\n };\n return GridViewComponent;\n}(AbstractView));\nexport { GridViewComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to assemble other components to construct a view.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./grid-view.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../insights/insights/insights.component.ngfactory\";\nimport * as i3 from \"../../insights/insights/insights.component\";\nimport * as i4 from \"../../core/local-storage.service\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../grid-container/grid-container.component.ngfactory\";\nimport * as i7 from \"../grid-container/grid-container.component\";\nimport * as i8 from \"../../base/sidebar-right/sidebar-right.component.ngfactory\";\nimport * as i9 from \"../../base/sidebar-right/sidebar-right.component\";\nimport * as i10 from \"./grid-view.component\";\nimport * as i11 from \"@angular/router\";\nimport * as i12 from \"../../core/dialog.service\";\nimport * as i13 from \"../../domain.service\";\nimport * as i14 from \"../../core/alerts.service\";\nimport * as i15 from \"@ngx-translate/core\";\nvar styles_GridViewComponent = [i0.styles];\nvar RenderType_GridViewComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_GridViewComponent, data: {} });\nexport { RenderType_GridViewComponent as RenderType_GridViewComponent };\nexport function View_GridViewComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"container-fluid mt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row m-t\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"sym-insights\", [], [[8, \"hidden\", 0]], null, null, i2.View_InsightsComponent_0, i2.RenderType_InsightsComponent)), i1.ɵdid(4, 49152, [[\"insightsTop\", 4]], 0, i3.InsightsComponent, [i4.LocalStorageService], { configuration: [0, \"configuration\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 10, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i1.ɵdid(7, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(8, { \"col-lg-8 pr-0\": 0, \"col-lg-12\": 1, \"d-none d-lg-block pr-0\": 2, \"sym-insights-present\": 3 }), (_l()(), i1.ɵeld(9, 16777216, null, null, 1, \"sym-grid-container\", [], null, [[null, \"selectionChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectionChanged\" === en)) {\n var pd_0 = (_co.navigateTo($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_GridContainerComponent_0, i6.RenderType_GridContainerComponent)), i1.ɵdid(10, 180224, null, 0, i7.GridContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { component: [0, \"component\"] }, { selectionChanged: \"selectionChanged\" }), (_l()(), i1.ɵeld(11, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i1.ɵdid(12, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(13, { \"col-lg-4\": 0, \"d-none\": 1 }), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"sym-sidebar-right\", [], null, [[null, \"closed\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"closed\" === en)) {\n var pd_0 = (_co.sidebarIsClosing($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_SidebarRightComponent_0, i8.RenderType_SidebarRightComponent)), i1.ɵdid(15, 245760, [[\"sidebarRight\", 4]], 0, i9.SidebarRightComponent, [], null, { closed: \"closed\" })], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.configurations.insights; _ck(_v, 4, 0, currVal_1); var currVal_2 = _ck(_v, 8, 0, i1.ɵnov(_v, 15).isOpen(), !i1.ɵnov(_v, 15).isOpen(), i1.ɵnov(_v, 15).isOpen(), _co.configurations.insights); _ck(_v, 7, 0, currVal_2); var currVal_3 = _co.configurations.display; _ck(_v, 10, 0, currVal_3); var currVal_4 = _ck(_v, 13, 0, i1.ɵnov(_v, 15).isOpen(), !i1.ɵnov(_v, 15).isOpen()); _ck(_v, 12, 0, currVal_4); _ck(_v, 15, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.configurations.insights; _ck(_v, 3, 0, currVal_0); }); }\nexport function View_GridViewComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-grid-view\", [], null, null, null, View_GridViewComponent_0, RenderType_GridViewComponent)), i1.ɵdid(1, 245760, null, 0, i10.GridViewComponent, [i11.Router, i11.ActivatedRoute, i12.DialogService, i13.DomainService, i14.AlertsService, i15.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar GridViewComponentNgFactory = i1.ɵccf(\"sym-grid-view\", i10.GridViewComponent, View_GridViewComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { GridViewComponentNgFactory as GridViewComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to assemble other components to construct a view.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"@media (max-width:767.98px){.container-fluid[_ngcontent-%COMP%] .sym-insights-present[_ngcontent-%COMP%] .sym-grid.sym-variant-agenda .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-appointments{top:-116px}.container-fluid[_ngcontent-%COMP%] .sym-insights-present[_ngcontent-%COMP%] .sym-grid.sym-variant-agenda .sym-grid-drag .sym-grid-drag-menu .sym-rows .sym-row .sym-grid-drag-source.sym-grid-drag-source-absences{top:-221px}}\"];\nexport { styles as styles };\n","/**\n * @file Enum presenting the supported values of the Request.Type property.\n * @author Tom Verschoore de la Houssaije.\n */\n/**\n * Enum presenting the supported values of the Request.Type property.\n * @export\n * @enum {string}\n */\nexport var RequestTypes;\n(function (RequestTypes) {\n /**\n * Representing a Request where the receiver is asked to take over the Assignment indicated by the Request subject.\n */\n RequestTypes[\"ReassignAssignment\"] = \"REASSIGN-ASSIGNMENT\";\n /**\n * Representing a Request where the receiver is asked to take over the Attendant indicated by the Request subject.\n */\n RequestTypes[\"ReassignAttendant\"] = \"REASSIGN-ATTENDANT\";\n /**\n * Representing a Request where the receiver is asjed to take over an entire day.\n */\n RequestTypes[\"ReassignDay\"] = \"REASSIGN-DAY\";\n /**\n * Representing a Request where the Resources of the Assignments,\n * indicated by the Request's subject and target,\n * are asked to swap Assignments.\n */\n RequestTypes[\"ExchangeAssignment\"] = \"EXCHANGE-ASSIGNMENT\";\n /**\n * Representing a Request where the Resources of the Attendants,\n * indicated by the Request's subject and target,\n * are asked to swap Attendants.\n */\n RequestTypes[\"ExchangeAttendant\"] = \"EXCHANGE-ATTENDANT\";\n /**\n * Representing a Request where the Resources,\n * indicated by the Request's subject and target,\n * are asked to swap days.\n */\n RequestTypes[\"ExchangeDay\"] = \"EXCHANGE-DAY\";\n /**\n * Representing a Request where the Resource wants to\n * plan an absence, which need to be agreed upon.\n */\n RequestTypes[\"Absence\"] = \"ABSENCE\";\n /**\n * Representing a Request where the Resource wants to\n * change an approved absence, which need to be agreed upon.\n */\n RequestTypes[\"AbsenceChanged\"] = \"ABSENCE-CHANGED\";\n})(RequestTypes || (RequestTypes = {}));\n","/**\n * @file Enum presenting the supported values of the Request.Status property.\n * @author Tom Verschoore de la Houssaije.\n */\n/**\n * Enum presenting the supported values of the Request.Status property.\n * @export\n * @enum {string}\n */\nexport var RequestStatus;\n(function (RequestStatus) {\n /**\n * Starting status when Request is created.\n * This is the only not final state of a Request.\n */\n RequestStatus[\"Request\"] = \"REQUEST\";\n /**\n * Status of request when Recipient has accepted the Request.\n * This is a final state of a Request.\n */\n RequestStatus[\"Accept\"] = \"ACCEPT\";\n /**\n * Status of request when Recipient has declined the Request.\n * This is a final state of a Request.\n */\n RequestStatus[\"Decline\"] = \"DECLINE\";\n /**\n * Status of request when Sender has withdrawn his request.\n * This is a final state of a Request.\n */\n RequestStatus[\"Withdrawn\"] = \"WITHDRAWN\";\n /**\n * Status of a request that competed, for the same plan items, with another accepted request.\n * This is a final state of a Request.\n */\n RequestStatus[\"Conflict\"] = \"CONFLICT\";\n})(RequestStatus || (RequestStatus = {}));\n","/**\n * @file Requests are shown in the out - and inbox of our application.\n * @author Tom Verschoore de la Houssaije\n */\nimport { RequestTypes } from './request-types';\nimport { RequestStatus } from './request-status';\n/** Request entities are shown in the out - and inbox of our application. */\nvar Request = /** @class */ (function () {\n function Request() {\n // WARNING: Do not define an id property. Use the PROPERTY_ID constant.\n /**\n * Field to hold the value for the resource property.\n * @private\n * @type {Entity}\n */\n this._resource = null;\n /**\n * Gets, sets the IsRead property.\n * The IsRead property is a server side NotMapped property.\n * That is why it needs a default value forcing Breeze.js to serialize this property.\n */\n this.IsRead = false;\n }\n Object.defineProperty(Request.prototype, \"IsExpired\", {\n /**\n * Gets whether or not the Request is expired on the current date.\n * @readonly\n * @type {boolean}\n */\n get: function () {\n var currentDate = new Date();\n return this.Expiration < currentDate;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Request.prototype, \"ReadOnly\", {\n /**\n * Gets whether or not the Request is read only.\n * The value is derived from the properties IsExpired and Status.\n * @readonly\n * @type {boolean}\n */\n get: function () {\n return this.IsExpired || this.Status !== RequestStatus.Request;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Request.prototype, \"SubjectType\", {\n /**\n * Gets the short name of the subject entity type based on the request type.\n * @readonly\n * @type {string}\n */\n get: function () {\n switch (this.Type) {\n case RequestTypes.Absence:\n case RequestTypes.AbsenceChanged:\n return 'Appointment';\n case RequestTypes.ExchangeAssignment:\n case RequestTypes.ReassignAssignment:\n return 'Assignment';\n case RequestTypes.ExchangeAttendant:\n case RequestTypes.ReassignAttendant:\n return 'Attendant';\n case RequestTypes.ExchangeDay:\n case RequestTypes.ReassignDay:\n return 'Day';\n default:\n return undefined;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Request.prototype, \"Resource\", {\n /**\n * Gets or sets the receiver. Can only be used while creating a request.\n * @type {Entity}\n */\n get: function () {\n return this._resource;\n },\n set: function (value) {\n if (this._resource !== value) {\n this._resource = value;\n this.ReceiverOid = value ? value['Oid'] : '';\n }\n },\n enumerable: true,\n configurable: true\n });\n return Request;\n}());\nexport { Request };\n","/**\n * @file The Recipient of a request. A Recipient is a representation of an User in the plannings domain.\n * @author Tom Verschoore de la Houssaije\n */\n/**\n * The Recipient of a request.\n * A Recipient is a representation of an User in the plannings domain.\n * @export\n * @class Recipient\n * @implements {Entity}\n */\nvar Recipient = /** @class */ (function () {\n function Recipient() {\n /**\n * Gets, sets the UserOid property.\n * The UserOid property is a server side NotMapped property.\n * That is why it needs a default value forcing Breeze.js to serialize this property.\n */\n this.UserOid = '?';\n }\n Object.defineProperty(Recipient.prototype, \"displayName\", {\n /**\n * Gets a name to display in the InputReadByComponent.\n * Returns the EMailAddress as name when FirstName and LastName are both empty.\n * @readonly\n */\n get: function () {\n var name = this.FirstName + ' ' + this.LastName;\n if (name === ' ') {\n return this.EMailAddress;\n }\n return name;\n },\n enumerable: true,\n configurable: true\n });\n return Recipient;\n}());\nexport { Recipient };\n","/**\n * @file The NotificationsService communicates with the notifications backend.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { EventEmitter } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { AlertsService } from '../core/alerts.service';\nimport { BreezeService } from '../core/breeze.service';\nimport { Request } from './request';\nimport { Recipient } from './recipient';\nimport { RequestStatus } from './request-status';\nimport { TranslateService } from '@ngx-translate/core';\nimport { SettingsService } from '../settings.service';\nimport { AuthenticationService } from '../authentication.service';\nimport { EntityManagerService } from '../entity-manager.service';\nimport { ConfigurationsService } from '../configurations.service';\n/**\n * The NotificationsService communicates with the notifications backend.\n * @export\n * @class NotificationsService\n * @extends {BreezeService}\n */\nvar NotificationsService = /** @class */ (function (_super) {\n tslib_1.__extends(NotificationsService, _super);\n /**\n * Creates an instance of NotificationsService.\n * @param {AlertsService} alertsService For user feedback messages.\n * @param {HttpClient} http Is used to get the un read count uri.\n * @param {OAuthService} oauthService Is needed while getting the un read count uri.\n */\n function NotificationsService(alertsService, translateService, http, authenticationService, settingsService, configurationsService, entityManagerService) {\n var _this = _super.call(this, alertsService, translateService, entityManagerService) || this;\n _this.http = http;\n _this.authenticationService = authenticationService;\n _this.configurationsService = configurationsService;\n // WARNING: Do not define an id property in the supported entity types.\n // Instead use the PROPERTY_ID constant.\n /**\n * Supported notifications entity types.\n * @private\n * @type {{ [key: string]: Function }}\n */\n _this.registerEntityTypes = {\n Request: Request,\n Recipient: Recipient\n };\n /**\n * Gets, sets the last count of unread incoming notifications of the current user.\n */\n _this.totalUnreadNotifications = 0;\n /**\n * This event will be triggered when the Unread count has changed\n */\n _this.unreadCountChanged = new EventEmitter();\n if (settingsService.settings.notifications.updateInterval > 0 && _this.configurationsService.hasNotifications()) {\n _this.unreadCountInterval = window.setInterval(function () {\n _this.updateUnreadCount();\n }, settingsService.settings.notifications.updateInterval * 1000); // 10000 = 10 seconden\n }\n _this.initialize('notifications');\n Object.keys(_this.registerEntityTypes).forEach(function (entityType) {\n _this.metadataStore.registerEntityTypeCtor(entityType, _this.registerEntityTypes[entityType]);\n });\n var domain = settingsService.settings.frontend.domains.find(function (item) { return item.name === 'notifications'; });\n if (domain) {\n _this.unreadCountUri = domain.uri + 'unreadcount';\n }\n else {\n console.warn('Notification domain could not found in the settings. New notifications won\\'t pop up.');\n }\n return _this;\n }\n /**\n * Declines de aangeleverde requests\n * @param {[Request]} requests Requests die aangepast moeten worden\n * @param {(error: any) => void} save_callback Callback die wordt aangeroepen bij een save\n * @param {(value: SaveResult) => void} subscribe_callback Callback voor de subscribe op de SaveChanges\n */\n NotificationsService.prototype.declineRequests = function (requests, save_callback, subscribe_callback) {\n requests.forEach(function (r) {\n if (!r.ReadOnly) {\n r.Status = RequestStatus.Decline;\n }\n });\n this.subscriptionPool.add(this.saveChanges(save_callback).subscribe(subscribe_callback));\n };\n /**\n * Declined het aangeleverde request\n * @param {[Request]} requests Requests die aangepast moeten worden\n * @param {(error: any) => void} save_callback Callback die wordt aangeroepen bij een save\n * @param {(value: SaveResult) => void} subscribe_callback Callback voor de subscribe op de SaveChanges\n */\n NotificationsService.prototype.declineRequest = function (request, save_callback, subscribe_callback) {\n this.declineRequests([request], save_callback, subscribe_callback);\n };\n /**\n * Accepts de aangeleverde requests\n * @param {[Request]} requests Requests die aangepast moeten worden\n * @param {(error: any) => void} save_callback Callback die wordt aangeroepen bij een save\n * @param {(value: SaveResult) => void} subscribe_callback Callback voor de subscribe op de SaveChanges\n */\n NotificationsService.prototype.acceptRequests = function (requests, save_callback, subscribe_callback) {\n requests.forEach(function (r) {\n if (!r.ReadOnly) {\n r.Status = RequestStatus.Accept;\n }\n });\n this.subscriptionPool.add(this.saveChanges(save_callback).subscribe(subscribe_callback));\n };\n /**\n * Accepts het aangeleverde request\n * @param {[Request]} requests Requests die aangepast moeten worden\n * @param {(error: any) => void} save_callback Callback die wordt aangeroepen bij een save\n * @param {(value: SaveResult) => void} subscribe_callback Callback voor de subscribe op de SaveChanges\n */\n NotificationsService.prototype.acceptRequest = function (request, save_callback, subscribe_callback) {\n this.acceptRequests([request], save_callback, subscribe_callback);\n };\n /**\n * WithDraws de aangeleverde requests\n * @param {[Request]} requests Requests die aangepast moeten worden\n * @param {(error: any) => void} save_callback Callback die wordt aangeroepen bij een save\n * @param {(value: SaveResult) => void} subscribe_callback Callback voor de subscribe op de SaveChanges\n */\n NotificationsService.prototype.withDrawRequests = function (requests, save_callback, subscribe_callback) {\n requests.forEach(function (r) {\n if (!r.ReadOnly) {\n r.Status = RequestStatus.Withdrawn;\n }\n });\n this.subscriptionPool.add(this.saveChanges(save_callback).subscribe(subscribe_callback));\n };\n /**\n * WithDraws het aangeleverde request\n * @param {[Request]} requests Requests die aangepast moeten worden\n * @param {(error: any) => void} save_callback Callback die wordt aangeroepen bij een save\n * @param {(value: SaveResult) => void} subscribe_callback Callback voor de subscribe op de SaveChanges\n */\n NotificationsService.prototype.withDrawRequest = function (request, save_callback, subscribe_callback) {\n this.withDrawRequests([request], save_callback, subscribe_callback);\n };\n /**\n * Marks the request as read or unread.\n * @param request The request is marked as read or unread.\n * @param value A value indicating whether the request is read or not.\n * @param configurationsService The configuration service.\n * @param save_callback The callback method for when the changes are saved.\n * @param subscribe_callback The subscribe callback method.\n */\n NotificationsService.prototype.setRequestReadValue = function (request, value, resourceOid, save_callback, subscribe_callback) {\n this.setRequestsReadValue([request], value, resourceOid, save_callback, subscribe_callback);\n };\n /**\n * Marks requests as read or unread.\n * @param request The requests are marked as read or unread.\n * @param value A value indicating whether the requests are read or not.\n * @param configurationsService The configuration service.\n * @param save_callback The callback method for when the changes are saved.\n * @param subscribe_callback The subscribe callback method.\n */\n NotificationsService.prototype.setRequestsReadValue = function (requests, value, userOid, save_callback, subscribe_callback) {\n var _this = this;\n requests.forEach(function (r) {\n if (r.IsRead !== value) {\n var requestStatus = r.UserRequestStatusItems.find(function (item) { return item.UserOid === userOid; });\n if (requestStatus) {\n requestStatus.RequestIsRead = value;\n }\n }\n });\n this.subscriptionPool.add(this.saveChanges(save_callback)\n .subscribe(function (result) {\n subscribe_callback(result);\n _this.updateUnreadCount();\n }));\n };\n /**\n * Gets the number of unread notifications from the server.\n */\n NotificationsService.prototype.updateUnreadCount = function () {\n var _this = this;\n if (this.unreadCountUri && this.authenticationService.isAuthenticated()) {\n this.subscriptionPool.add(this.http.get(this.unreadCountUri).subscribe(function (value) {\n var newValue = value;\n if (newValue !== _this.totalUnreadNotifications) {\n var previousCount = _this.totalUnreadNotifications;\n _this.totalUnreadNotifications = newValue;\n _this.unreadCountChanged.emit({ previous: previousCount, current: _this.totalUnreadNotifications });\n }\n }));\n }\n };\n /**\n * Trying to solve a non-reproduceable bug (not in development environment) issue 1319.\n * We did see a change set with more than one entity. There should be only one entity changed.\n * The valid entity in the change set was the last one.\n */\n NotificationsService.prototype.symptomManagementIssue1319 = function () {\n // Symptoom bestrijding voor niet-reproduceerbare bug.\n // Bij ruilen en waarnemen kunnen er bij specifieke gebruikers niet juiste requesten ontstaan.\n // Wanneer dit gebeurt is onduidelijk.\n // Ik ga ervan uit dat de laatste de juiste is.\n var changes = this.entityManager.getChanges();\n var index = changes.length - 1;\n while (index > 0) {\n index--;\n var entity = changes[index];\n if (entity.entityType.shortName === 'Request' && entity.entityAspect.entityState.isAdded()) {\n // Make it as specific for symptom issue 1319 as I can.\n entity.entityAspect.rejectChanges();\n }\n }\n };\n return NotificationsService;\n}(BreezeService));\nexport { NotificationsService };\n","/**\n * @file The NotificationsViewComponent is used to show the inbox and outbox and its details.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { DialogService } from '../../core/dialog.service';\nimport { NotificationsService } from '../notifications.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DataViewBase } from './../../base/data-view/data-view.base';\n/**\n * The NotificationsViewComponent is used to show the inbox and outbox and its details.\n *\n * @export\n * @class NotificationsViewComponent\n * @extends {DataViewComponent}\n */\nvar NotificationsViewComponent = /** @class */ (function (_super) {\n tslib_1.__extends(NotificationsViewComponent, _super);\n /**\n * Creates an instance of NotificationsViewComponent.\n * @param {configurationsService} configurationsService The configuration service.\n * @param {Router} router The router\n * @param {ActivatedRoute} route The activated route.\n * @param {NotificationsService} notificationService The notifications service.\n * @param {DialogService} dialogService The dialog service.\n */\n function NotificationsViewComponent(router, route, notificationService, dialogService, alertsService, translateService) {\n return _super.call(this, router, route, notificationService, dialogService, alertsService, translateService) || this;\n }\n /**\n * Checks whether the given route is the detail route for the given item.\n *\n * @protected\n * @param {RouteConfiguration} detailRoute The route to check.\n * @param {Entity} item Checks the route for this item.\n * @returns {boolean} True when detailRoute matches with the given entity otherwise false.\n */\n NotificationsViewComponent.prototype.isDetailRouteForItem = function (detailRoute, item) {\n // Override and use the item parameter in derived classes.\n if (!_super.prototype.isDetailRouteForItem.call(this, detailRoute, item)) {\n return false;\n }\n var request = item;\n return detailRoute.path.toUpperCase().indexOf(request.Type) === 0;\n };\n return NotificationsViewComponent;\n}(DataViewBase));\nexport { NotificationsViewComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The NotificationsViewComponent is used to show the inbox and outbox and its details.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./notifications-view.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../insights/insights/insights.component.ngfactory\";\nimport * as i3 from \"../../insights/insights/insights.component\";\nimport * as i4 from \"../../core/local-storage.service\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../../base/list-container/list-container.component.ngfactory\";\nimport * as i7 from \"../../base/list-container/list-container.component\";\nimport * as i8 from \"../../base/sidebar-right/sidebar-right.component.ngfactory\";\nimport * as i9 from \"../../base/sidebar-right/sidebar-right.component\";\nimport * as i10 from \"./notifications-view.component\";\nimport * as i11 from \"@angular/router\";\nimport * as i12 from \"../notifications.service\";\nimport * as i13 from \"../../core/dialog.service\";\nimport * as i14 from \"../../core/alerts.service\";\nimport * as i15 from \"@ngx-translate/core\";\nvar styles_NotificationsViewComponent = [i0.styles];\nvar RenderType_NotificationsViewComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_NotificationsViewComponent, data: {} });\nexport { RenderType_NotificationsViewComponent as RenderType_NotificationsViewComponent };\nexport function View_NotificationsViewComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { dataList: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"container-fluid mt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"row m-t\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"sym-insights\", [], [[8, \"hidden\", 0]], null, null, i2.View_InsightsComponent_0, i2.RenderType_InsightsComponent)), i1.ɵdid(5, 49152, [[\"insightsTop\", 4]], 0, i3.InsightsComponent, [i4.LocalStorageService], { configuration: [0, \"configuration\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 10, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i1.ɵdid(8, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(9, { \"col-lg-8 pr-0\": 0, \"col-lg-12\": 1, \"d-none d-lg-block\": 2 }), (_l()(), i1.ɵeld(10, 16777216, null, null, 1, \"sym-list-container\", [], null, [[null, \"selectionChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectionChanged\" === en)) {\n var pd_0 = (_co.navigateTo($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_ListContainerComponent_0, i6.RenderType_ListContainerComponent)), i1.ɵdid(11, 180224, [[1, 4]], 0, i7.ListContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { insights: [0, \"insights\"], component: [1, \"component\"] }, { selectionChanged: \"selectionChanged\" }), (_l()(), i1.ɵeld(12, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i1.ɵdid(13, 278528, null, 0, i5.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(14, { \"col-lg-4\": 0, \"d-none\": 1 }), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"sym-sidebar-right\", [], null, [[null, \"closed\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"closed\" === en)) {\n var pd_0 = (_co.sidebarIsClosing($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_SidebarRightComponent_0, i8.RenderType_SidebarRightComponent)), i1.ɵdid(16, 245760, [[\"sidebarRight\", 4]], 0, i9.SidebarRightComponent, [], null, { closed: \"closed\" })], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.configurations.insights; _ck(_v, 5, 0, currVal_1); var currVal_2 = _ck(_v, 9, 0, i1.ɵnov(_v, 16).isOpen(), !i1.ɵnov(_v, 16).isOpen(), i1.ɵnov(_v, 16).isOpen()); _ck(_v, 8, 0, currVal_2); var currVal_3 = i1.ɵnov(_v, 5); var currVal_4 = _co.configurations.list; _ck(_v, 11, 0, currVal_3, currVal_4); var currVal_5 = _ck(_v, 14, 0, i1.ɵnov(_v, 16).isOpen(), !i1.ɵnov(_v, 16).isOpen()); _ck(_v, 13, 0, currVal_5); _ck(_v, 16, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.configurations.insights; _ck(_v, 4, 0, currVal_0); }); }\nexport function View_NotificationsViewComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-notifications-view\", [], null, null, null, View_NotificationsViewComponent_0, RenderType_NotificationsViewComponent)), i1.ɵdid(1, 245760, null, 0, i10.NotificationsViewComponent, [i11.Router, i11.ActivatedRoute, i12.NotificationsService, i13.DialogService, i14.AlertsService, i15.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar NotificationsViewComponentNgFactory = i1.ɵccf(\"sym-notifications-view\", i10.NotificationsViewComponent, View_NotificationsViewComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { NotificationsViewComponentNgFactory as NotificationsViewComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The NotificationsViewComponent is used to show the inbox and outbox and its details.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","import * as tslib_1 from \"tslib\";\nimport { ListBase } from '../../base/list/list.base';\nimport { NotificationsService } from '../notifications.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Router } from '@angular/router';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { EventsService } from '../../core/event.service';\nimport { UserService } from '../../user.service';\nimport { ActionService } from '../../core/action.service';\n/**\n * The NotificationsListComponent is used to show the inbox and outbox list.\n * @export\n * @class NotificationsListComponent\n * @extends {ListBase}\n */\nvar NotificationsListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(NotificationsListComponent, _super);\n /**\n * Constructs a NotificationsListComponent.\n * @param configurationsService Service to get the configuration of this component.\n * @param domainService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param router Service for routing events.\n * @memberOf NotificationsListComponent\n */\n function NotificationsListComponent(userService, notificationService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) {\n var _this = _super.call(this, userService, notificationService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n /**\n * Property used to determine if expired requests should be shown.\n * @private\n * @memberOf NotificationsListComponent\n */\n _this._showExpired = false;\n _this.notificationsService = notificationService;\n _this.subscriptionPool.add(_this.notificationsService.unreadCountChanged.subscribe(function () {\n _this.refresh();\n }));\n var params = JSON.parse(JSON.stringify(_this.router.routerState.snapshot.root.queryParams).toLowerCase());\n _this._showExpired = params['expired'] == null ? false : params['expired'] === 't';\n return _this;\n }\n Object.defineProperty(NotificationsListComponent.prototype, \"showExpired\", {\n /**\n * Returns a boolean, whether or not expired requests should be shown.\n * @readonly\n * @type {boolean}\n * @memberOf NotificationsListComponent\n */\n get: function () {\n return this._showExpired;\n },\n /**\n * Sets a value whether or not to show the expired requests.\n * @memberOf NotificationsListComponent\n */\n set: function (value) {\n if (this._showExpired !== value) {\n this._showExpired = value;\n this.refresh();\n var params = JSON.parse(JSON.stringify(this.router.routerState.snapshot.root.queryParams).toLowerCase());\n params['expired'] = value ? 'T' : 'F';\n this.router.navigate([], { queryParams: params });\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NotificationsListComponent.prototype, \"isOutbox\", {\n /**\n * Determines if the current view is the outbox\n * @readonly\n * @type {boolean}\n * @memberOf NotificationsListComponent\n */\n get: function () {\n if (!this.configuration || !this.configuration.features) {\n return false;\n }\n var outbox = this.configuration.features.find(function (item) { return item === 'Outbox'; });\n return !!outbox;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Method to retrieve the requested entities from the backend api.\n * @returns An Observable object that retrieves the requested entities.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, _super.prototype.refresh.call(this)];\n });\n });\n };\n /**\n * Cancels the selected requests in the outbox.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.withdrawRequests = function () {\n var self = this;\n this.notificationsService.withDrawRequests(this.selectedRequests, function (error) {\n if (!error) {\n self.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n }\n }, function () {\n self.refresh();\n });\n };\n /**\n * Marks the selected items as read, in the inbox.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.setRequestsReadValue = function (value) {\n var self = this;\n this.notificationsService.setRequestsReadValue(this.selectedRequests, value, this.userService.user['Oid'], function (error) {\n }, function () {\n self.refresh();\n });\n };\n Object.defineProperty(NotificationsListComponent.prototype, \"selectedRequests\", {\n /**\n * Casts the selected items to requests.\n * @readonly\n * @private\n * @type {Request[]}\n * @memberOf NotificationsListComponent\n */\n get: function () {\n return this.selected;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Mark the selected items as accepted, in the inbox.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.acceptRequests = function () {\n var self = this;\n this.notificationsService.acceptRequests(this.selectedRequests, function (error) {\n if (!error) {\n self.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n }\n }, function (value) {\n self.refresh();\n });\n };\n /**\n * Mark the selected items as declined, in the inbox.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.declineRequests = function () {\n var self = this;\n this.notificationsService.declineRequests(this.selectedRequests, function (error) {\n if (!error) {\n self.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n }\n }, function (value) {\n self.refresh();\n });\n };\n /**\n * Return whether or not the item in the table should be displayed as bold.\n * @param {any} item The item represented in the row.\n * @returns true, when the item should be displayed in bold, otherwise false.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.isBold = function (item) {\n return !item.IsRead;\n };\n /**\n * Checks whether the whole selection can be withdrown.\n * If used to enable or disable withdraw button.\n * @returns {boolean} True when the selection contains no readonly requests.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.selectionWithdrawable = function () {\n if (this.selected.length === 0) {\n return false;\n }\n var result = this.selected.every(function (item) { return !item.ReadOnly; });\n return result;\n };\n /**\n * Checks whether all of the selected requests can be accepted or declined by the user.\n * @returns {boolean} True if none the selected requests are finalized.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.selectionNotFinal = function () {\n if (this.selected.length === 0) {\n return false;\n }\n var result = this.selected.every(function (item) { return item.Status === 'REQUEST'; });\n return result;\n };\n /**\n * Returns a value indicating whether any of the selected requests are not read.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.hasUnreadSelectedItems = function () {\n return this.selectedRequests.some(function (request) {\n return !request.IsRead;\n });\n };\n /**\n * Returns a value indicating whether any of the selected requests are read.\n * @memberOf NotificationsListComponent\n */\n NotificationsListComponent.prototype.hasReadSelectedItems = function () {\n return this.selectedRequests.some(function (request) {\n return request.IsRead;\n });\n };\n return NotificationsListComponent;\n}(ListBase));\nexport { NotificationsListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"./notifications-list.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/forms\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i7 from \"../../base/columns/column-container/column-container.component\";\nimport * as i8 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i9 from \"../../base/instruction/instruction.component\";\nimport * as i10 from \"@angular/common/http\";\nimport * as i11 from \"../../configurations.service\";\nimport * as i12 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i13 from \"../../base/pagination/pagination.component\";\nimport * as i14 from \"@angular/router\";\nimport * as i15 from \"./notifications-list.component\";\nimport * as i16 from \"../../user.service\";\nimport * as i17 from \"../notifications.service\";\nimport * as i18 from \"../../core/dialog.service\";\nimport * as i19 from \"../../core/alerts.service\";\nimport * as i20 from \"../../core/overlay.service\";\nimport * as i21 from \"../../core/local-storage.service\";\nimport * as i22 from \"../../core/event.service\";\nimport * as i23 from \"../../core/action.service\";\nvar styles_NotificationsListComponent = [i0.styles, i1.styles];\nvar RenderType_NotificationsListComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_NotificationsListComponent, data: {} });\nexport { RenderType_NotificationsListComponent as RenderType_NotificationsListComponent };\nfunction View_NotificationsListComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_NotificationsListComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i2.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_NotificationsListComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i2.ɵted(5, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_2)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_3)), i2.ɵdid(11, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵunv(_v, 5, 0, i2.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_NotificationsListComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i2.ɵdid(2, 16384, null, 0, i5.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.DefaultValueAccessor]), i2.ɵdid(4, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i2.ɵdid(6, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(13, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i2.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i2.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i2.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i2.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i2.ɵnov(_v, 6).ngClassValid; var currVal_6 = i2.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i2.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 9, 0, i2.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i2.ɵunv(_v, 13, 0, i2.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_NotificationsListComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_NotificationsListComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_NotificationsListComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_8)), i2.ɵdid(9, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_NotificationsListComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_7)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_NotificationsListComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_NotificationsListComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i2.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i6.View_ColumnContainerComponent_0, i6.RenderType_ColumnContainerComponent)), i2.ɵdid(4, 114688, null, 0, i7.ColumnContainerComponent, [i2.ViewContainerRef, i2.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_NotificationsListComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_12)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_NotificationsListComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_10)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_11)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_NotificationsListComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_NotificationsListComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_NotificationsListComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"disabled\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.withdrawRequests() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-withdraw\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.selectionWithdrawable(); var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 1, i2.ɵnov(_v, 1).transform(\"APP.NOTIFICATIONS.WITHDRAW_REQUESTS\")), \"\"); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.NOTIFICATIONS.WITHDRAW_REQUESTS\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_NotificationsListComponent_16(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"disabled\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.acceptRequests() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.selectionNotFinal(); var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 1, i2.ɵnov(_v, 1).transform(\"APP.NOTIFICATIONS.ACCEPT_REQUESTS\")), \"\"); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.NOTIFICATIONS.ACCEPT_REQUESTS\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_NotificationsListComponent_17(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"disabled\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.declineRequests() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-close\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.selectionNotFinal(); var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 1, i2.ɵnov(_v, 1).transform(\"APP.NOTIFICATIONS.DECLINE_REQUESTS\")), \"\"); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.NOTIFICATIONS.DECLINE_REQUESTS\")); _ck(_v, 4, 0, currVal_2); }); }\nexport function View_NotificationsListComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 72, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 71, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 70, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_1)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i8.View_InstructionComponent_0, i8.RenderType_InstructionComponent)), i2.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i9.InstructionComponent, [i10.HttpClient, i11.ConfigurationsService, i4.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i2.ɵeld(7, 0, null, null, 26, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(8, 0, null, null, 22, \"div\", [[\"class\", \"d-flex justify-content-start\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(10, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(11, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(12, { \"disabled\": 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(14, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i2.ɵdid(15, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(16, { \"icon-spin\": 0 }), (_l()(), i2.ɵeld(17, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(18, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(20, 0, null, null, 10, \"div\", [[\"class\", \"sym-p-l\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(21, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(22, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 23).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 23).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.showExpired = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i2.ɵdid(23, 16384, null, 0, i5.CheckboxControlValueAccessor, [i2.Renderer2, i2.ElementRef], null, null), i2.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i2.ɵdid(25, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i2.ɵdid(27, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i2.ɵeld(28, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.showExpired = !_co.showExpired) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵted(29, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(31, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_4)), i2.ɵdid(33, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(34, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i2.ɵted(35, null, [\"\", \"\"])), (_l()(), i2.ɵeld(36, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(37, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_5)), i2.ɵdid(39, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_6)), i2.ɵdid(41, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(42, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_9)), i2.ɵdid(44, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_13)), i2.ɵdid(46, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_14)), i2.ɵdid(48, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(49, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(50, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(51, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(52, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i12.View_PaginationComponent_0, i12.RenderType_PaginationComponent)), i2.ɵdid(53, 4374528, null, 0, i13.PaginationComponent, [i14.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i2.ɵeld(54, 0, null, null, 18, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(55, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"disabled\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setRequestsReadValue(true) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(57, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-read\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(58, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(59, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(61, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"disabled\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.setRequestsReadValue(false) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(63, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-unread\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(64, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(65, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_15)), i2.ɵdid(68, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_16)), i2.ɵdid(70, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_NotificationsListComponent_17)), i2.ɵdid(72, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_3 = \"btn btn-secondary btn-sm\"; var currVal_4 = _ck(_v, 12, 0, _co.isRefreshing); _ck(_v, 11, 0, currVal_3, currVal_4); var currVal_5 = \"icon sym-icon-refresh\"; var currVal_6 = _ck(_v, 16, 0, _co.isRefreshing); _ck(_v, 15, 0, currVal_5, currVal_6); var currVal_15 = _co.showExpired; _ck(_v, 25, 0, currVal_15); var currVal_17 = _co.canSearch; _ck(_v, 33, 0, currVal_17); var currVal_19 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 39, 0, currVal_19); var currVal_20 = _co.configuration.data.fields; _ck(_v, 41, 0, currVal_20); var currVal_21 = _co.items; var currVal_22 = _co.trackByItem; _ck(_v, 44, 0, currVal_21, currVal_22); var currVal_23 = !_co.isDataLoaded; _ck(_v, 46, 0, currVal_23); var currVal_24 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 48, 0, currVal_24); var currVal_25 = _co.overlayMode; var currVal_26 = _co.configuration.data.listSize; var currVal_27 = _co.dataSet; _ck(_v, 53, 0, currVal_25, currVal_26, currVal_27); var currVal_34 = _co.isOutbox; _ck(_v, 68, 0, currVal_34); var currVal_35 = !_co.isOutbox; _ck(_v, 70, 0, currVal_35); var currVal_36 = !_co.isOutbox; _ck(_v, 72, 0, currVal_36); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 13).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 10, 0, currVal_2); var currVal_7 = i2.ɵunv(_v, 18, 0, i2.ɵnov(_v, 19).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 18, 0, currVal_7); var currVal_8 = i2.ɵnov(_v, 27).ngClassUntouched; var currVal_9 = i2.ɵnov(_v, 27).ngClassTouched; var currVal_10 = i2.ɵnov(_v, 27).ngClassPristine; var currVal_11 = i2.ɵnov(_v, 27).ngClassDirty; var currVal_12 = i2.ɵnov(_v, 27).ngClassValid; var currVal_13 = i2.ɵnov(_v, 27).ngClassInvalid; var currVal_14 = i2.ɵnov(_v, 27).ngClassPending; _ck(_v, 22, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14); var currVal_16 = i2.ɵunv(_v, 29, 0, i2.ɵnov(_v, 30).transform(\"APP.NOTIFICATIONS.SHOW_EXPIRED\")); _ck(_v, 29, 0, currVal_16); var currVal_18 = _co.configuration.key; _ck(_v, 35, 0, currVal_18); var currVal_28 = !_co.hasUnreadSelectedItems(); var currVal_29 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 55, 1, i2.ɵnov(_v, 56).transform(\"APP.NOTIFICATIONS.SET_AS_READ\")), \"\"); _ck(_v, 55, 0, currVal_28, currVal_29); var currVal_30 = i2.ɵunv(_v, 59, 0, i2.ɵnov(_v, 60).transform(\"APP.NOTIFICATIONS.SET_AS_READ\")); _ck(_v, 59, 0, currVal_30); var currVal_31 = !_co.hasReadSelectedItems(); var currVal_32 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 61, 1, i2.ɵnov(_v, 62).transform(\"APP.NOTIFICATIONS.SET_AS_UNREAD\")), \"\"); _ck(_v, 61, 0, currVal_31, currVal_32); var currVal_33 = i2.ɵunv(_v, 65, 0, i2.ɵnov(_v, 66).transform(\"APP.NOTIFICATIONS.SET_AS_UNREAD\")); _ck(_v, 65, 0, currVal_33); }); }\nexport function View_NotificationsListComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-notifications-list\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_NotificationsListComponent_0, RenderType_NotificationsListComponent)), i2.ɵdid(1, 245760, null, 0, i15.NotificationsListComponent, [i16.UserService, i17.NotificationsService, i18.DialogService, i19.AlertsService, i4.TranslateService, i14.Router, i20.OverlayService, i21.LocalStorageService, i22.EventsService, i23.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar NotificationsListComponentNgFactory = i2.ɵccf(\"sym-notifications-list\", i15.NotificationsListComponent, View_NotificationsListComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { NotificationsListComponentNgFactory as NotificationsListComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file The NotificationsFormComponent is used in the template of the ReassignFormComponent.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { NotificationsService } from '../notifications.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { FormBase } from '../../base/form/form.base';\nimport { ResourceService } from '../../resource.service';\n/**\n * The NotificationsFormComponent is used in the template of the ReassignFormComponent.\n *\n * @export\n * @class NotificationsFormComponent\n * @extends {FormBase}\n */\nvar NotificationsFormComponent = /** @class */ (function (_super) {\n tslib_1.__extends(NotificationsFormComponent, _super);\n /**\n * Constructs a FormComponent instance.\n * @param configurationsService The configuration service.\n * @param notificationsService The notifications service\n * @param route The activated route.\n * @param alertsService The alerts service.\n */\n function NotificationsFormComponent(notificationsService, route, router, alertsService, resourceService) {\n return _super.call(this, notificationsService, route, router, null, alertsService, resourceService) || this;\n }\n return NotificationsFormComponent;\n}(FormBase));\nexport { NotificationsFormComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The NotificationsFormComponent is used in the template of the ReassignFormComponent.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./notifications-form.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/forms\";\nimport * as i6 from \"@angular/common\";\nimport * as i7 from \"./notifications-form.component\";\nimport * as i8 from \"../notifications.service\";\nimport * as i9 from \"@angular/router\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../resource.service\";\nvar styles_NotificationsFormComponent = [i0.styles];\nvar RenderType_NotificationsFormComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_NotificationsFormComponent, data: {} });\nexport { RenderType_NotificationsFormComponent as RenderType_NotificationsFormComponent };\nfunction View_NotificationsFormComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i2.View_FieldsetContainerComponent_0, i2.RenderType_FieldsetContainerComponent)), i1.ɵdid(2, 49152, null, 0, i3.FieldsetContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.form.controls[_v.context.$implicit.name]; var currVal_2 = _co.item; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_NotificationsFormComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.FORMS.MARKED_FIELDS_ARE_REQUIRED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_NotificationsFormComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i5.ɵangular_packages_forms_forms_bh, [], null, null), i1.ɵdid(2, 540672, null, 0, i5.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i5.ControlContainer, null, [i5.FormGroupDirective]), i1.ɵdid(4, 16384, null, 0, i5.NgControlStatusGroup, [[4, i5.ControlContainer]], null, null), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsFormComponent_2)), i1.ɵdid(7, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsFormComponent_3)), i1.ɵdid(9, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = _co.configuration.data.fields; _ck(_v, 7, 0, currVal_8); var currVal_9 = (_co.hasRequiredFields() && !_co.isReadOnly); _ck(_v, 9, 0, currVal_9); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 4).ngClassValid; var currVal_5 = i1.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_NotificationsFormComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsFormComponent_1)), i1.ɵdid(3, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = ((_co.form && _co.configuration) && _co.item); _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.key; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_NotificationsFormComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-notifications-form\", [], null, null, null, View_NotificationsFormComponent_0, RenderType_NotificationsFormComponent)), i1.ɵdid(1, 245760, null, 0, i7.NotificationsFormComponent, [i8.NotificationsService, i9.ActivatedRoute, i9.Router, i10.AlertsService, i11.ResourceService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar NotificationsFormComponentNgFactory = i1.ɵccf(\"sym-notifications-form\", i7.NotificationsFormComponent, View_NotificationsFormComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", hasCloseButton: \"hasCloseButton\", useCache: \"useCache\", labelKey: \"labelKey\", item: \"item\", entityKey: \"entityKey\" }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }, []);\nexport { NotificationsFormComponentNgFactory as NotificationsFormComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The NotificationsFormComponent is used in the template of the ReassignFormComponent.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file The ExchangeDetailComponent is used as detail view for the inbox and outbox to display exchange requests.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnDestroy } from '@angular/core';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { RoutesService, ROUTE_PARAM_ID } from '../../routes.service';\nimport { UserService } from '../../user.service';\nimport { AbstractView } from '../../base/helpers/abstract-view';\nimport { FormBase } from '../../base/form/form.base';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DataSet } from '../../core/helpers/data-set';\nimport { PropertyFilter } from '../../core/helpers/property-filter';\nimport { FilterOperators } from '../../core/helpers/filter-operators';\nimport { NotificationsService } from '../notifications.service';\nimport { RequestStatus } from '../request-status';\nimport { SettingsService } from '../../settings.service';\n/**\n * The ExchangeDetailComponent is used as detail view for the inbox and outbox to display exchange requests.\n * @export\n * @class ExchangeDetailComponent\n * @extends {AbstractView}\n */\nvar ExchangeDetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ExchangeDetailComponent, _super);\n /**\n * Constructs a DetailComponent\n * @param configurationsService Service to get the configuration for this component.\n * @param router The angular router enabling navigation between the different form modes.\n * @param route The active route.\n * @param notificationsService The notifications service.\n * @param dialogService The dialog service.\n */\n function ExchangeDetailComponent(userService, router, route, notificationsService, dialogService, alertsService, settingsService, translateService) {\n var _this = _super.call(this, router, route, notificationsService, dialogService, alertsService, translateService) || this;\n _this.userService = userService;\n _this.notificationsService = notificationsService;\n _this.dialogService = dialogService;\n _this.alertsService = alertsService;\n _this.settingsService = settingsService;\n /**\n * Breeze EntityType Request.\n * @private\n * @type {EntityType}\n * @memberOf ExchangeDetailComponent\n */\n _this.entityType = null;\n /**\n * The notification request shown in detail.\n * @protected\n * @type {Request}\n * @memberOf ExchangeDetailComponent\n */\n _this.request = null;\n /**\n * The field property of the fieldset-container for the request's note.\n * @type {FieldConfiguration}\n * @memberOf ExchangeDetailComponent\n */\n _this.noteField = {\n name: 'Note',\n labelKey: 'APP.NOTIFICATIONS.NOTE',\n editor: 'text',\n readonly: true\n };\n /**\n * The field property of the fieldset-container for the request's status.\n * @type {FieldConfiguration}\n * @memberOf ExchangeDetailComponent\n */\n _this.statusField = {\n name: 'Status',\n labelKey: 'APP.NOTIFICATIONS.STATUS',\n editor: 'select',\n readonly: true,\n format: [\n { labelKey: 'APP.NOTIFICATIONS.STATUS_REQUEST', value: 'REQUEST' },\n { labelKey: 'APP.NOTIFICATIONS.STATUS_ACCEPT', value: 'ACCEPT' },\n { labelKey: 'APP.NOTIFICATIONS.STATUS_DECLINE', value: 'DECLINE' },\n { labelKey: 'APP.NOTIFICATIONS.STATUS_WITHDRAWN', value: 'WITHDRAWN' },\n { labelKey: 'APP.NOTIFICATIONS.STATUS_CONFLICT', value: 'CONFLICT' }\n ]\n };\n /**\n * The field property of the fieldset container for the request's expiration date.\n * @type {FieldConfiguration}\n * @memberOf ExchangeDetailComponent\n */\n _this.expirationField = {\n name: 'Expiration',\n labelKey: 'APP.NOTIFICATIONS.EXPIRES',\n editor: 'date',\n readonly: true\n };\n /**\n * The field property of the fieldset container for the request's recipients.\n * @type {FieldConfiguration}\n * @memberOf ExchangeDetailComponent\n */\n _this.readByField = {\n name: 'recipients',\n labelKey: 'APP.NOTIFICATIONS.READ_BY',\n editor: 'readby',\n readonly: true\n };\n /**\n * FormControl to bind with the message fieldset.\n * This is needed for the angular input validation mechanism.\n * The fieldset displays the note of the request.\n * @memberOf ExchangeDetailComponent\n */\n _this.noteControl = new FormControl();\n /**\n * FormControl to bind with the date fieldset.\n * This is needed for the angular input validation mechanism.\n * The fieldset displays the expiration date of the request.\n * @memberOf ExchangeDetailComponent\n */\n _this.expireControl = new FormControl();\n /**\n * FormControl to bind with the select fieldset.\n * This is needed for the angular input validation mechanism.\n * The fieldset displays the status of the request.\n * @memberOf ExchangeDetailComponent\n */\n _this.statusControl = new FormControl();\n /**\n * FormControl to bind with the read by fieldset.\n * This is needed for the angular input validation mechanism.\n * The fieldset displays the recipients that have read the request.\n * @memberOf ExchangeDetailComponent\n */\n _this.readByControl = new FormControl();\n /**\n * FormGroup that is needed for the angular input validation mechanism.\n * @memberOf ExchangeDetailComponent\n */\n _this.form = new FormGroup({});\n /**\n * The entityKey of the entity shown by this detail.\n * @memberOf ExchangeDetailComponent\n */\n _this.entityKey = undefined;\n /**\n * Gets the recipients that have read the request displayed.\n * @memberOf ExchangeDetailComponent\n */\n _this.readBy = {\n recipients: []\n };\n _this.form.addControl('note', _this.noteControl);\n _this.form.addControl('expireControl', _this.expireControl);\n _this.form.addControl('statusControl', _this.statusControl);\n _this.form.addControl('readByControl', _this.readByControl);\n return _this;\n }\n Object.defineProperty(ExchangeDetailComponent.prototype, \"subjectOid\", {\n /**\n * Gets the oid of the planned subject of the displayed request.\n * @readonly\n * @memberOf ExchangeDetailComponent\n */\n get: function () {\n if (!this.request) {\n return '';\n }\n return this.request.SubjectOid;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDetailComponent.prototype, \"targetOid\", {\n /**\n * Gets the oid of the planned target of the displayed request.\n * @readonly\n * @memberOf ExchangeDetailComponent\n */\n get: function () {\n if (!this.request) {\n return '';\n }\n return this.request.TargetOid;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDetailComponent.prototype, \"isReadOnly\", {\n /**\n * If an item is a state other than 'Request', the request is readonly.\n * @readonly\n * @type {boolean} whether or not the item is readonly or not\n * @memberOf ExchangeDetailComponent\n */\n get: function () {\n return this.request.ReadOnly;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDetailComponent.prototype, \"targetLabelKey\", {\n /**\n * Returns a label indicating whether the request has been exchanged already or is still in proposal.\n * @readonly\n * @type {string}\n * @memberOf ExchangeDetailComponent\n */\n get: function () {\n if (this.request && this.request.Status === RequestStatus.Accept) {\n return 'APP.NOTIFICATIONS.EXCHANGED_FOR';\n }\n return 'APP.NOTIFICATIONS.PROPOSAL';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDetailComponent.prototype, \"hasComments\", {\n get: function () {\n if (this.settingsService.settings.comments !== undefined && this.settingsService.settings.comments === false) { // Fix for #4165\n return false;\n }\n if (!this.configuration || !this.configuration.features) {\n return false;\n }\n return this.configuration.features.findIndex(function (feature) { return feature === 'Comments'; }) > -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDetailComponent.prototype, \"hasFiles\", {\n get: function () {\n if (this.settingsService.settings.files !== undefined && this.settingsService.settings.files === false) { // Fix for #4184\n return false;\n }\n if (!this.configuration || !this.configuration.features) {\n return false;\n }\n return this.configuration.features.findIndex(function (feature) { return feature === 'Files'; }) > -1;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Destroys the URL parameters subscription.\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.ngOnDestroy = function () {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n };\n /**\n * Sets the request. This method is overridden by ExchangeDayDetailComponent.\n * @protected\n * @param {Request} value The request.\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.setRequest = function (value) {\n this.request = value;\n };\n /**\n * Is called after the block name is set and the configuration is loaded.\n * Override this method to process the loaded configuration data.\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.afterInitialize = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n this.entityType = this.notificationsService.getEntityType('Request');\n this.subscription = this.route.params.subscribe(function (params) { return tslib_1.__awaiter(_this, void 0, void 0, function () {\n var dataConfig, request, components;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this.entityKey = params[ROUTE_PARAM_ID];\n dataConfig = this.configuration.data;\n return [4 /*yield*/, this.notificationsService.getEntityByKey(this.entityType, this.entityKey, true, dataConfig.expand).toPromise()];\n case 1:\n request = _a.sent();\n this.setRequest(request);\n this.afterRequestRetrieved();\n components = Object.create(this.configuration.components);\n this.setComponentConfigurations(components);\n return [2 /*return*/];\n }\n });\n }); });\n return [2 /*return*/];\n });\n });\n };\n /**\n * Sets the child components. This method is overridden in case of different component configurations.\n * @protected\n * @param {ChildComponent[]} components The child component configurations.\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.setComponentConfigurations = function (components) {\n if (components.length === 3) {\n // Only in edit mode an insight exists.\n // TODO: Consider using components[0].component to decide if it is an insight or not.\n if (components.length > 0) {\n this.insights = components[0];\n components.splice(0, 1);\n }\n }\n if (components.length > 0) {\n this.subjectForm = components[0];\n components.splice(0, 1);\n }\n if (components.length > 0) {\n this.targetForm = components[0];\n components.splice(0, 1);\n }\n };\n /**\n * Is invoked after the request of the detail is retrieved.\n * @protected\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.afterRequestRetrieved = function () {\n this.checkIsRead();\n };\n Object.defineProperty(ExchangeDetailComponent.prototype, \"isOutbox\", {\n /**\n * Determines the item currently shown is in the outbox\n * @readonly\n * @type {boolean}\n * @memberOf ExchangeDetailComponent\n */\n get: function () {\n if (!this.configuration || !this.configuration.features) {\n return false;\n }\n var outbox = this.configuration.features.find(function (item) { return item === 'Outbox'; });\n return !!outbox;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Closes the current detail screen\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.close = function () {\n // Not forget query params.\n RoutesService.navigateBack(this.router, this.route, this.route.snapshot.queryParams);\n };\n /**\n * Accepts the currently displayed request\n * @param {any} event Event triggering this method\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.acceptRequest = function (event) {\n var _this = this;\n this.notificationsService.acceptRequest(this.request, function (error) {\n if (error) {\n _this.notificationsService.rejectChanges();\n }\n else {\n _this.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n }\n if (event) {\n event.target.classList.remove('sym-working');\n }\n }, function (saveResult) {\n _this.close();\n });\n };\n /**\n * Declines the currently displayed request\n * @param {any} event Event triggering this method\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.declineRequest = function (event) {\n var _this = this;\n this.notificationsService.declineRequest(this.request, function (error) {\n if (error) {\n _this.notificationsService.rejectChanges();\n }\n else {\n _this.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n }\n if (event) {\n event.target.classList.remove('sym-working');\n }\n }, function (saveResult) {\n _this.close();\n });\n };\n /**\n * Withdraws the currently displayed request\n * @param {any} event Event triggering this method\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.withdrawRequest = function (event) {\n var _this = this;\n this.notificationsService.withDrawRequest(this.request, function (error) {\n if (error) {\n _this.notificationsService.rejectChanges();\n }\n else {\n _this.alertsService.createAlert('success', 'APP.FORMS.ITEMS_SUCCESSFULLY_SAVED');\n }\n if (event) {\n event.target.classList.remove('sym-working');\n }\n }, function (saveResult) {\n _this.close();\n });\n };\n /**\n * Returns a value indicating whether the request has been loaded.\n * @returns {boolean} True if the request has been loaded.\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.canSave = function () {\n return this.request && this.targetFormObject && this.targetFormObject.item != null && this.subjectFormObject && this.subjectFormObject.item != null;\n };\n /**\n * Sets the request read flag to true for the current user.\n * @protected\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.checkIsRead = function () {\n var _this = this;\n if (!this.configuration || !this.request) {\n return;\n }\n this.loadReadByRecipients(this.notificationsService.getEntityType('UserRequestStatus'));\n if (this.request.IsRead) {\n return;\n }\n var user = this.userService.user;\n if (!user) {\n return;\n }\n var requestStatus = this.request.UserRequestStatusItems.find(function (item) {\n return item.UserOid === _this.userService.user['Oid'];\n });\n if (!requestStatus) {\n console.warn('Item Oid does not match with User Oid, Probably the employee has changed');\n return;\n }\n if (requestStatus.RequestIsRead) {\n this.notificationsService.getEntityByKey(this.entityType, this.entityKey, false);\n this.loadReadByRecipients(requestStatus.entityType);\n }\n else {\n requestStatus.RequestIsRead = true;\n this.notificationsService.saveChanges(function (error) {\n // Give correct alert based on whether an error is given or not\n if (!error) {\n _this.notificationsService.getEntityByKey(_this.entityType, _this.entityKey, false);\n _this.loadReadByRecipients(requestStatus.entityType);\n }\n });\n }\n this.notificationsService.updateUnreadCount();\n };\n /**\n * Loads the recipients that have read the request.\n * @private\n * @param {EntityType} loadType The entity type to load.\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDetailComponent.prototype.loadReadByRecipients = function (loadType) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var recipients, response;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n recipients = new DataSet();\n recipients.queryOptions = { expand: 'Recipient' };\n recipients.entityType = loadType;\n recipients.filter = new PropertyFilter(recipients, 'RequestId', FilterOperators.Equals, this.request['Id']);\n // tslint:disable-next-line:no-unused-expression\n new PropertyFilter(recipients, 'RequestIsRead', FilterOperators.Equals, true, FilterOperators.And);\n return [4 /*yield*/, this.notificationsService.getDataSet(recipients)];\n case 1:\n response = _a.sent();\n this.readBy.recipients = [];\n response.results.forEach(function (item) {\n _this.readBy.recipients.push(item['Recipient']);\n });\n return [2 /*return*/];\n }\n });\n });\n };\n return ExchangeDetailComponent;\n}(AbstractView));\nexport { ExchangeDetailComponent };\n","/**\n * @file The AbsenceDetailComponent is used as detail view for the inbox and outbox to display exchange requests.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { NotificationsService } from '../notifications.service';\nimport { DomainService } from '../../domain.service';\nimport { ExchangeDetailComponent } from '../exchange-detail/exchange-detail.component';\nimport { TranslateService } from '@ngx-translate/core';\nimport { UserService } from '../../user.service';\nimport { SettingsService } from '../../settings.service';\n/**\n * The AbsenceDetailComponent is used as detail view for the inbox and outbox to display absence requests.\n * @export\n * @class AbsenceDetailComponent\n * @extends {AbstractView}\n */\nvar AbsenceDetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AbsenceDetailComponent, _super);\n /**\n * Constructs a DetailComponent\n * @param configurationsService Service to get the configuration for this component.\n * @param router The angular router enabling navigation between the different form modes.\n * @param route The active route.\n * @param notificationsService The notifications service.\n * @param dialogService The dialog service.\n */\n function AbsenceDetailComponent(userService, router, route, notificationsService, dialogService, alertsService, domainService, settingsService, translateService) {\n var _this = _super.call(this, userService, router, route, notificationsService, dialogService, alertsService, settingsService, translateService) || this;\n _this.domainService = domainService;\n return _this;\n }\n AbsenceDetailComponent.prototype.canSave = function () {\n return this.request != null && this.subjectFormObject && this.subjectFormObject.item != null;\n };\n return AbsenceDetailComponent;\n}(ExchangeDetailComponent));\nexport { AbsenceDetailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The AbsenceDetailComponent is used as detail view for the inbox and outbox to display exchange requests.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-translate/core\";\nimport * as i2 from \"../../social/comments/comments.component.ngfactory\";\nimport * as i3 from \"../../social/comments/comments.component\";\nimport * as i4 from \"../../user.service\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"../../social/comment.service\";\nimport * as i7 from \"@angular/router\";\nimport * as i8 from \"../../social/files/files.component.ngfactory\";\nimport * as i9 from \"../../social/files/files.component\";\nimport * as i10 from \"../../core/overlay.service\";\nimport * as i11 from \"../../resource.service\";\nimport * as i12 from \"../../base/files.service\";\nimport * as i13 from \"@angular/common\";\nimport * as i14 from \"@angular/forms\";\nimport * as i15 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i16 from \"../../base/instruction/instruction.component\";\nimport * as i17 from \"@angular/common/http\";\nimport * as i18 from \"../../configurations.service\";\nimport * as i19 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i20 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i21 from \"../../domain/form/form.component.ngfactory\";\nimport * as i22 from \"../../domain/form/form.component\";\nimport * as i23 from \"../../domain.service\";\nimport * as i24 from \"../../settings.service\";\nimport * as i25 from \"./absence-detail.component\";\nimport * as i26 from \"../notifications.service\";\nimport * as i27 from \"../../core/dialog.service\";\nvar styles_AbsenceDetailComponent = [];\nvar RenderType_AbsenceDetailComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AbsenceDetailComponent, data: {} });\nexport { RenderType_AbsenceDetailComponent as RenderType_AbsenceDetailComponent };\nfunction View_AbsenceDetailComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 19).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_AbsenceDetailComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 20, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 19, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 18, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.acceptRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.declineRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 4, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.CORE.CANCEL\")); _ck(_v, 8, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.ACCEPT\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 10, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.ACCEPT\")); _ck(_v, 14, 0, currVal_4); var currVal_5 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.DECLINE\")), \"\"); var currVal_6 = !_co.canSave(); _ck(_v, 16, 0, currVal_5, currVal_6); var currVal_7 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.DECLINE\")); _ck(_v, 20, 0, currVal_7); }); }\nfunction View_AbsenceDetailComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.withdrawRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-withdraw\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(13, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 7, 0, i0.ɵnov(_v, 8).transform(\"APP.CORE.CANCEL\")); _ck(_v, 7, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 9, 0, i0.ɵnov(_v, 10).transform(\"APP.NOTIFICATIONS.WITHDRAW\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 9, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"APP.NOTIFICATIONS.WITHDRAW\")); _ck(_v, 13, 0, currVal_4); }); }\nfunction View_AbsenceDetailComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-comments\", [], null, null, null, i2.View_CommentsComponent_0, i2.RenderType_CommentsComponent)), i0.ɵdid(1, 245760, null, 0, i3.CommentsComponent, [i4.UserService, i5.AlertsService, i6.CommentService, i7.ActivatedRoute], { entityKey: [0, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subjectOid; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AbsenceDetailComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-files\", [], null, null, null, i8.View_FilesComponent_0, i8.RenderType_FilesComponent)), i0.ɵdid(1, 114688, null, 0, i9.FilesComponent, [i5.AlertsService, i10.OverlayService, i11.ResourceService, i12.FilesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_AbsenceDetailComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"mt-4\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AbsenceDetailComponent_6)), i0.ɵdid(2, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AbsenceDetailComponent_7)), i0.ɵdid(4, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.hasComments; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasFiles; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AbsenceDetailComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 38, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 31, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i14.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(3, 540672, null, 0, i14.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i14.ControlContainer, null, [i14.FormGroupDirective]), i0.ɵdid(5, 16384, null, 0, i14.NgControlStatusGroup, [[4, i14.ControlContainer]], null, null), (_l()(), i0.ɵeld(6, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(10, 278528, null, 0, i13.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(11, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AbsenceDetailComponent_2)), i0.ɵdid(15, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm \"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i15.View_InstructionComponent_0, i15.RenderType_InstructionComponent)), i0.ɵdid(19, 180224, [[\"instruction\", 4]], 0, i16.InstructionComponent, [i17.HttpClient, i18.ConfigurationsService, i1.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\"\", \"\"])), (_l()(), i0.ɵeld(22, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i19.View_FieldsetContainerComponent_0, i19.RenderType_FieldsetContainerComponent)), i0.ɵdid(24, 49152, null, 0, i20.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 1, \"sym-form\", [], null, null, null, i21.View_FormComponent_0, i21.RenderType_FormComponent)), i0.ɵdid(26, 245760, [[1, 4], [\"subjectFormObject\", 4]], 0, i22.FormComponent, [i4.UserService, i23.DomainService, i7.ActivatedRoute, i7.Router, i1.TranslateService, i5.AlertsService, i24.SettingsService, i11.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], useCache: [2, \"useCache\"], entityKey: [3, \"entityKey\"] }, null), (_l()(), i0.ɵeld(27, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i19.View_FieldsetContainerComponent_0, i19.RenderType_FieldsetContainerComponent)), i0.ɵdid(28, 49152, null, 0, i20.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(29, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i19.View_FieldsetContainerComponent_0, i19.RenderType_FieldsetContainerComponent)), i0.ɵdid(30, 49152, null, 0, i20.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(31, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i19.View_FieldsetContainerComponent_0, i19.RenderType_FieldsetContainerComponent)), i0.ɵdid(32, 49152, null, 0, i20.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AbsenceDetailComponent_3)), i0.ɵdid(34, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AbsenceDetailComponent_4)), i0.ɵdid(36, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AbsenceDetailComponent_5)), i0.ɵdid(38, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 3, 0, currVal_7); var currVal_8 = \"icon\"; var currVal_9 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 10, 0, currVal_8, currVal_9); var currVal_11 = _co.configuration.instruction; _ck(_v, 15, 0, currVal_11); var currVal_12 = _co.configuration.instruction; _ck(_v, 19, 0, currVal_12); var currVal_14 = _co.noteField; var currVal_15 = _co.noteControl; var currVal_16 = _co.request; _ck(_v, 24, 0, currVal_14, currVal_15, currVal_16); var currVal_17 = _co.subjectForm.configuration; var currVal_18 = false; var currVal_19 = false; var currVal_20 = _co.subjectOid; _ck(_v, 26, 0, currVal_17, currVal_18, currVal_19, currVal_20); var currVal_21 = _co.statusField; var currVal_22 = _co.statusControl; var currVal_23 = _co.request; _ck(_v, 28, 0, currVal_21, currVal_22, currVal_23); var currVal_24 = _co.expirationField; var currVal_25 = _co.expireControl; var currVal_26 = _co.request; _ck(_v, 30, 0, currVal_24, currVal_25, currVal_26); var currVal_27 = _co.readByField; var currVal_28 = _co.readByControl; var currVal_29 = _co.readBy; _ck(_v, 32, 0, currVal_27, currVal_28, currVal_29); var currVal_30 = (!_co.isOutbox && !_co.isReadOnly); _ck(_v, 34, 0, currVal_30); var currVal_31 = (_co.isOutbox && !_co.isReadOnly); _ck(_v, 36, 0, currVal_31); var currVal_32 = (_co.hasComments || _co.hasFiles); _ck(_v, 38, 0, currVal_32); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 5).ngClassValid; var currVal_5 = i0.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = i0.ɵunv(_v, 11, 0, i0.ɵnov(_v, 12).transform(_co.configuration.labelKey)); _ck(_v, 11, 0, currVal_10); var currVal_13 = _co.configuration.key; _ck(_v, 21, 0, currVal_13); }); }\nexport function View_AbsenceDetailComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { subjectFormObject: 0 }), i0.ɵqud(402653184, 2, { targetFormObject: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AbsenceDetailComponent_1)), i0.ɵdid(3, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.subjectForm && _co.request); _ck(_v, 3, 0, currVal_0); }, null); }\nexport function View_AbsenceDetailComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-absence-detail\", [], null, null, null, View_AbsenceDetailComponent_0, RenderType_AbsenceDetailComponent)), i0.ɵdid(1, 245760, null, 0, i25.AbsenceDetailComponent, [i4.UserService, i7.Router, i7.ActivatedRoute, i26.NotificationsService, i27.DialogService, i5.AlertsService, i23.DomainService, i24.SettingsService, i1.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AbsenceDetailComponentNgFactory = i0.ɵccf(\"sym-absence-detail\", i25.AbsenceDetailComponent, View_AbsenceDetailComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { AbsenceDetailComponentNgFactory as AbsenceDetailComponentNgFactory };\n","/**\n * @file The component is used to display PlanItems returned by the TaskList endpoint, which needs a start and finish property.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DomainService } from '../../domain.service';\nimport { UserService } from '../../user.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { EventsService } from '../../core/event.service';\nimport { RelationBase } from '../../base/relation/relation.base';\nimport { ActionService } from '../../core/action.service';\n/**\n * Displays relation entities in an inbox or outbox.\n * @export\n * @class NotificationsRelationComponent\n * @extends {RelationBase}\n */\nvar NotificationsRelationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(NotificationsRelationComponent, _super);\n /**\n * Creates an instance of NotificationsRelationComponent.\n * @param {UserService} userService\n * @param {DomainService} domainService This service happens to have a TaskList endpoint as well.\n * @param {DialogService} dialogService\n * @param {AlertsService} alertsService\n * @param {TranslateService} translateService\n * @param {Router} router\n * @param {OverlayService} overlayService\n * @param {LocalStorageService} localStorageService\n * @param {ActivatedRoute} route\n * @param {EventsService} eventsService\n * @memberOf NotificationsRelationComponent\n */\n function NotificationsRelationComponent(userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) {\n var _this = _super.call(this, userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) || this;\n /**\n * Timeout handle of a refresh request in progress.\n * Now we are able to wait for the last query property change.\n * @private\n * @type {number}\n * @memberOf NotificationsRelationComponent\n * */\n _this.refreshInProgress = null;\n /**\n * The field is used as parameter for the TaskList endpoint.\n * @private\n * @type {Date}\n * @memberOf NotificationsRelationComponent\n */\n _this._start = null;\n /**\n * The field is used as parameter for the TaskList endpoint.\n * @private\n * @type {Date}\n * @memberOf NotificationsRelationComponent\n */\n _this._finish = null;\n return _this;\n }\n Object.defineProperty(NotificationsRelationComponent.prototype, \"resourceOid\", {\n /**\n * Gets the OID of the resource.\n * @readonly\n * @type {string}\n * @memberOf NotificationsRelationComponent\n */\n get: function () {\n return this.master ? this.master['Oid'] : '';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NotificationsRelationComponent.prototype, \"start\", {\n /**\n * Gets or sets the start parameter of the TaskList endpoint. Refreshes after set.\n * @type {Date}\n * @memberOf NotificationsRelationComponent\n */\n get: function () {\n return this._start;\n },\n set: function (value) {\n if (value && (!this._start || (this._start.getTime() !== value.getTime()))) {\n this._start = value;\n this.refresh();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NotificationsRelationComponent.prototype, \"finish\", {\n /**\n * Gets or sets the finish parameter of the TaskList endpoint. Refreshes after set.\n * @type {Date}\n * @memberOf NotificationsRelationComponent\n */\n get: function () {\n return this._finish;\n },\n set: function (value) {\n if (value && (!this._finish || (this._finish.getTime() !== value.getTime()))) {\n this._finish = value;\n this.refresh();\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * A property has changed. A refresh is needed only when the last query property has changed.\n * @private\n * @memberOf NotificationsRelationComponent\n */\n NotificationsRelationComponent.prototype.processChange = function () {\n var _this = this;\n // When we need loading indicators.\n this.isDataLoaded = false;\n this.isRefreshing = true;\n if (this.refreshInProgress) {\n // This was not the last query property changed.\n // We cancel the refresh in progress.\n window.clearTimeout(this.refreshInProgress);\n }\n // We will start a refresh soon.\n this.refreshInProgress = window.setTimeout(function () {\n _this.refreshInProgress = null;\n _super.prototype.refresh.call(_this);\n }, 500);\n };\n /**\n * Overrides to make sure refresh doesn't happen when start or finish are not set yet.\n * @returns {Observable}\n * @memberOf NotificationsRelationComponent\n */\n NotificationsRelationComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n if (!this.start || !this.finish) {\n return [2 /*return*/, null];\n }\n this.processChange();\n return [2 /*return*/, null];\n });\n });\n };\n return NotificationsRelationComponent;\n}(RelationBase));\nexport { NotificationsRelationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The component is used to display PlanItems returned by the TaskList endpoint, which needs a start and finish property.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/relation/relation.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i5 from \"../../base/instruction/instruction.component\";\nimport * as i6 from \"@angular/common/http\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i9 from \"../../base/columns/column-container/column-container.component\";\nimport * as i10 from \"../../domain/relation/relation.component.ngfactory\";\nimport * as i11 from \"../../domain/relation/relation.component\";\nimport * as i12 from \"../../user.service\";\nimport * as i13 from \"../../domain.service\";\nimport * as i14 from \"../../core/dialog.service\";\nimport * as i15 from \"../../core/alerts.service\";\nimport * as i16 from \"@angular/router\";\nimport * as i17 from \"../../core/overlay.service\";\nimport * as i18 from \"../../core/local-storage.service\";\nimport * as i19 from \"../../core/event.service\";\nimport * as i20 from \"../../core/action.service\";\nimport * as i21 from \"../../domain/form/form.component.ngfactory\";\nimport * as i22 from \"../../domain/form/form.component\";\nimport * as i23 from \"../../settings.service\";\nimport * as i24 from \"../../resource.service\";\nimport * as i25 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i26 from \"../../base/pagination/pagination.component\";\nimport * as i27 from \"../../domain/form-child/form-child.component.ngfactory\";\nimport * as i28 from \"../../domain/form-child/form-child.component\";\nimport * as i29 from \"../../base/pipes/entity-translate.pipe\";\nimport * as i30 from \"./notifications-relation.component\";\nvar styles_NotificationsRelationComponent = [i0.styles];\nvar RenderType_NotificationsRelationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_NotificationsRelationComponent, data: {} });\nexport { RenderType_NotificationsRelationComponent as RenderType_NotificationsRelationComponent };\nfunction View_NotificationsRelationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 14).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_NotificationsRelationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(6, null, [\" \", \" (\", \")\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_3)), i1.ɵdid(10, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i4.View_InstructionComponent_0, i4.RenderType_InstructionComponent)), i1.ɵdid(14, 180224, [[\"instruction\", 4]], 0, i5.InstructionComponent, [i6.HttpClient, i7.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_4 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_4); var currVal_6 = _co.configuration.instruction; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.configuration.labelKey)); var currVal_3 = _co.inlineCount; _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_5 = _co.configuration.key; _ck(_v, 12, 0, currVal_5); }); }\nfunction View_NotificationsRelationComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_NotificationsRelationComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_7)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.index === 0) && (_v.context.$implicit.editor !== \"hidden\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_NotificationsRelationComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-icon-edit\": 0, \"sym-icon-close\": 1, \"sym-icon-expand\": 2, \"sym-icon-collapse\": 3 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = _ck(_v, 2, 0, (_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (_co.canUpdate && (_v.parent.context.$implicit === _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit === _co.current))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_NotificationsRelationComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteItem(_v.parent.context.$implicit, _v.parent.context.index) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null))], null, null); }\nfunction View_NotificationsRelationComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(3, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit; var currVal_2 = _v.parent.parent.context.$implicit; _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_v.parent.context.$implicit.labelKey)), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_NotificationsRelationComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_11)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (((_v.context.$implicit.editor !== \"notes\") && (_v.context.$implicit.editor !== \"hidden\")) && (_v.context.index > 0)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_NotificationsRelationComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-wrap-extend\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_NotificationsRelationComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_13)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.$implicit.editor === \"notes\") && (_v.parent.context.$implicit[_v.context.$implicit.name] !== \"\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_NotificationsRelationComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"mb-1\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-item\"]], null, null, null, null, null)), i1.ɵdid(6, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(7, { \"sym-active\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_6)), i1.ɵdid(9, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_8)), i1.ɵdid(13, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_9)), i1.ɵdid(15, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"sym-relation-columns-row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_10)), i1.ɵdid(18, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_12)), i1.ɵdid(20, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-wrap-pair d-flex justify-content-between\"; var currVal_1 = _ck(_v, 3, 0, (_co.fields.length === 1)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"sym-item\"; var currVal_3 = _ck(_v, 7, 0, _co.isActive(_v.context.$implicit)); _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_4 = _co.fields; _ck(_v, 9, 0, currVal_4); var currVal_5 = _co.canRead; _ck(_v, 13, 0, currVal_5); var currVal_6 = _co.canDelete; _ck(_v, 15, 0, currVal_6); var currVal_7 = _co.fields; _ck(_v, 18, 0, currVal_7); var currVal_8 = _co.fields; _ck(_v, 20, 0, currVal_8); }, null); }\nfunction View_NotificationsRelationComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-list mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_5)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_NotificationsRelationComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm align-top\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"mb-1\": 0 }), i1.ɵppd(3, 3), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 3)], function (_ck, _v) { var currVal_2 = \"btn btn-secondary btn-sm align-top\"; var currVal_3 = _ck(_v, 2, 0, (i1.ɵnov(_v.parent, 14).totalItems > 0)); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)), \"\"); var currVal_1 = (_co.editMode || _co.current); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)); _ck(_v, 6, 0, currVal_4); }); }\nfunction View_NotificationsRelationComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-relation\", [], null, [[null, \"itemSaved\"], [\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i10.View_RelationComponent_0, i10.RenderType_RelationComponent)), i1.ɵdid(1, 245760, null, 0, i11.RelationComponent, [i12.UserService, i13.DomainService, i14.DialogService, i15.AlertsService, i3.TranslateService, i16.Router, i17.OverlayService, i18.LocalStorageService, i16.ActivatedRoute, i19.EventsService, i20.ActionService], { configuration: [0, \"configuration\"], masterType: [1, \"masterType\"], master: [2, \"master\"] }, { itemSaved: \"itemSaved\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.configuration; var currVal_1 = _co.entityType; var currVal_2 = _co.current; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_NotificationsRelationComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_16)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subRelations; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_NotificationsRelationComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i21.View_FormComponent_0, i21.RenderType_FormComponent)), i1.ɵdid(1, 245760, null, 0, i22.FormComponent, [i12.UserService, i13.DomainService, i16.ActivatedRoute, i16.Router, i3.TranslateService, i15.AlertsService, i23.SettingsService, i24.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.configuration; var currVal_1 = _co.foreignKeyValue; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_NotificationsRelationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 17, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_4)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"row mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"d-flex flex-wrap justify-content-between sym-relations-bottom\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_14)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-pagination\", [], [[8, \"hidden\", 0]], null, null, i25.View_PaginationComponent_0, i25.RenderType_PaginationComponent)), i1.ɵdid(14, 4374528, [[\"pagination\", 4]], 0, i26.PaginationComponent, [i16.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"sym-form-child\", [], [[8, \"hidden\", 0]], [[null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.notifySavement($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_1 = (_co.notifyCanceled($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i27.View_FormChildComponent_0, i27.RenderType_FormChildComponent)), i1.ɵdid(16, 245760, null, 0, i28.FormChildComponent, [i13.DomainService, i3.TranslateService, i15.AlertsService, i24.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"], master: [2, \"master\"] }, { itemSaved: \"itemSaved\", itemCanceled: \"itemCanceled\" }), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"sym-form-child\", [], [[8, \"hidden\", 0]], [[null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.notifySavement($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_1 = (_co.notifyCanceled($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i27.View_FormChildComponent_0, i27.RenderType_FormChildComponent)), i1.ɵdid(18, 245760, null, 0, i28.FormChildComponent, [i13.DomainService, i3.TranslateService, i15.AlertsService, i24.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"], master: [2, \"master\"] }, { itemSaved: \"itemSaved\", itemCanceled: \"itemCanceled\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_15)), i1.ɵdid(20, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_17)), i1.ɵdid(22, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasItems(); _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.canCreate; _ck(_v, 11, 0, currVal_2); var currVal_4 = true; var currVal_5 = _co.configuration.data.listSize; var currVal_6 = _co.dataSet; _ck(_v, 14, 0, currVal_4, currVal_5, currVal_6); var currVal_8 = _co.childForm.configuration; var currVal_9 = _co.currentKey; var currVal_10 = _co.master; _ck(_v, 16, 0, currVal_8, currVal_9, currVal_10); var currVal_12 = _co.createForm.configuration; var currVal_13 = _co.currentKey; var currVal_14 = _co.master; _ck(_v, 18, 0, currVal_12, currVal_13, currVal_14); var currVal_15 = _co.current; _ck(_v, 20, 0, currVal_15); var currVal_16 = _co.subForms; _ck(_v, 22, 0, currVal_16); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = (i1.ɵnov(_v, 14).totalItems === 0); _ck(_v, 13, 0, currVal_3); var currVal_7 = _co.createMode; _ck(_v, 15, 0, currVal_7); var currVal_11 = _co.editMode; _ck(_v, 17, 0, currVal_11); }); }\nexport function View_NotificationsRelationComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i29.EntityTranslatePipe, [i3.TranslateService]), i1.ɵqud(671088640, 1, { relationLists: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NotificationsRelationComponent_1)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canShowComponent(); _ck(_v, 3, 0, currVal_0); }, null); }\nexport function View_NotificationsRelationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-notifications-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_NotificationsRelationComponent_0, RenderType_NotificationsRelationComponent)), i1.ɵdid(1, 245760, null, 0, i30.NotificationsRelationComponent, [i12.UserService, i13.DomainService, i14.DialogService, i15.AlertsService, i3.TranslateService, i16.Router, i17.OverlayService, i18.LocalStorageService, i16.ActivatedRoute, i19.EventsService, i20.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar NotificationsRelationComponentNgFactory = i1.ɵccf(\"sym-notifications-relation\", i30.NotificationsRelationComponent, View_NotificationsRelationComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\", masterType: \"masterType\", master: \"master\", start: \"start\", finish: \"finish\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { NotificationsRelationComponentNgFactory as NotificationsRelationComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Component that summarizes a request.\n * @author Maarten Lensink\n */\nimport { OnDestroy, EventEmitter } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityQuery } from 'breeze-client';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { ResourceService } from '../../resource.service';\nimport { addZero } from '../../base/helpers/addZero';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { Request } from '../request';\n/**\n * Displays a summary of a request.\n */\nvar RequestSummaryComponent = /** @class */ (function (_super) {\n tslib_1.__extends(RequestSummaryComponent, _super);\n /**\n * Creates an instance of RequestSummaryComponent.\n * @param {DomainService} domainService The domain service.\n * @param {TranslateService} translateService The translation service.\n * @param {LocalisationService} localisationService The localisation service.\n * @memberOf RequestSummaryComponent\n */\n function RequestSummaryComponent(domainService, translateService, resourceService, localisationService) {\n var _this = _super.call(this) || this;\n _this.domainService = domainService;\n _this.translateService = translateService;\n _this.resourceService = resourceService;\n _this.localisationService = localisationService;\n /**\n * Subscription on request changes.\n * @private\n * @type {number}\n */\n _this.requestSubscription = undefined;\n /**\n * Gets, sets the receiver entity of the request.\n * @private\n * @type {Entity}\n */\n _this.receiver = undefined;\n /**\n * Gets, sets the subject entity of the request.\n * @private\n * @type {Entity}\n */\n _this.subject = undefined;\n /**\n * Gets, sets the target entity of the request.\n * @private\n * @type {Entity}\n */\n _this.target = undefined;\n /** The name of the given task. */\n _this.subjectDescription = '';\n /** The time the given task takes. */\n _this.subjectEffort = '';\n /** The time the given task spans. */\n _this.subjectTimespan = '';\n /** The plan items on the subject day. */\n _this.subjectItems = [];\n /** The name of the receiver. */\n _this.receiverName = '';\n /** The name of the received task. */\n _this.targetDescription = '';\n /** The time the received tasks takes. */\n _this.targetEffort = '';\n /** The time the received tasks spans. */\n _this.targetTimespan = '';\n /** The plan items on the target day. */\n _this.targetItems = [];\n /** Send targetItems to the parent */\n _this.targetItemsChange = new EventEmitter();\n return _this;\n }\n Object.defineProperty(RequestSummaryComponent.prototype, \"request\", {\n /**\n * Gets or sets the request that is summarized.\n * @type {Request}\n * @memberOf RequestSummaryComponent\n */\n get: function () {\n return this._request;\n },\n set: function (request) {\n var _this = this;\n if (this._request === request) {\n return;\n }\n if (this._request && this.requestSubscription) {\n this._request.entityAspect.propertyChanged.unsubscribe(this.requestSubscription);\n }\n this._request = request;\n this.subjectDescription = '';\n this.subjectEffort = '';\n this.subjectTimespan = '';\n this.receiverName = '';\n this.targetDescription = '';\n this.targetEffort = '';\n this.targetTimespan = '';\n if (this._request) {\n this.requestSubscription = this._request.entityAspect.propertyChanged.subscribe(function () {\n _this.getEntities();\n });\n }\n this.getEntities();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RequestSummaryComponent.prototype, \"targetConfiguration\", {\n /**\n * Gets or sets the configuration for the relation component displaying the PlanItems on the target day.\n * @readonly\n * @type {ComponentConfiguration}\n * @memberOf RequestSummaryComponent\n */\n get: function () {\n return this._targetConfiguration;\n },\n set: function (value) {\n if (value !== this._targetConfiguration) {\n this._targetConfiguration = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RequestSummaryComponent.prototype, \"requestType\", {\n /**\n * Returns the request type, used in a switch case in the template.\n * @readonly\n * @type {string}\n * @memberOf RequestSummaryComponent\n */\n get: function () {\n if (!this.request) {\n return '';\n }\n switch (this.request.Type) {\n case 'REASSIGN-ASSIGNMENT':\n case 'REASSIGN-ATTENDANT':\n case 'REASSIGN-DAY':\n return 'REASSIGN';\n case 'EXCHANGE-ASSIGNMENT':\n case 'EXCHANGE-ATTENDANT':\n case 'EXCHANGE-DAY':\n return 'EXCHANGE';\n default:\n return this.request.Type;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Destroys the request property changed subscription.\n * @memberOf RequestSummaryComponent\n */\n RequestSummaryComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n if (this._request && this.requestSubscription) {\n this._request.entityAspect.propertyChanged.unsubscribe(this.requestSubscription);\n }\n };\n /**\n * Returns a datetime on the given date at the end of the day.\n * @param {Date} date The date, which should be at start of day.\n * @returns {Date} The date at the end of the day.\n * @memberOf RequestSummaryComponent\n */\n RequestSummaryComponent.prototype.endOf = function (date) {\n if (!date) {\n return null;\n }\n var result = new Date(date.valueOf());\n result.setDate(date.getDate() + 1);\n return result;\n };\n /**\n * Retrieves the entities needed to write the summary.\n * @private\n * @memberOf RequestSummaryComponent\n */\n RequestSummaryComponent.prototype.getEntities = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var entityType, _a, subjectQuery, response, targetQuery, response, subjectType, _b, _c;\n var _this = this;\n return tslib_1.__generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n if (!this.request) {\n this.receiver = null;\n this.subject = null;\n this.target = null;\n this.subjectItems.length = 0;\n this.targetItems.length = 0;\n return [2 /*return*/];\n }\n if (!!this.request.ReceiverOid) return [3 /*break*/, 1];\n this.receiver = null;\n return [3 /*break*/, 3];\n case 1:\n if (!(!this.receiver || this.receiver['Oid'] !== this.request.ReceiverOid)) return [3 /*break*/, 3];\n entityType = this.domainService.getEntityType('Resource');\n _a = this;\n return [4 /*yield*/, this.domainService.getEntityByKey(entityType, this.request.ReceiverOid, true).toPromise()];\n case 2:\n _a.receiver = (_d.sent());\n _d.label = 3;\n case 3:\n if (!(this.request.SubjectType === 'Day')) return [3 /*break*/, 10];\n this.subject = null;\n this.target = null;\n if (!!moment.isDate(this.request.SubjectDay)) return [3 /*break*/, 4];\n this.subjectItems.length = 0;\n return [3 /*break*/, 6];\n case 4:\n subjectQuery = new EntityQuery('TaskList');\n subjectQuery.parameters = {\n className: 'Resource',\n oid: this.resourceService.getResourceOid(),\n start: this.request.SubjectDay,\n finish: moment(this.request.SubjectDay).clone().endOf('day').toDate(),\n include: 'Attendants Assignments'\n };\n subjectQuery = subjectQuery.expand('Item');\n return [4 /*yield*/, this.domainService.entityManager.executeQuery(subjectQuery)];\n case 5:\n response = _d.sent();\n this.subjectItems.length = 0;\n response.results.forEach(function (item) {\n _this.subjectItems.push(item['Item']);\n });\n _d.label = 6;\n case 6:\n if (!!moment.isDate(this.request.TargetDay)) return [3 /*break*/, 7];\n this.targetItems.length = 0;\n return [3 /*break*/, 9];\n case 7:\n targetQuery = new EntityQuery('TaskList');\n targetQuery.parameters = {\n className: 'Resource',\n oid: this.request.ReceiverOid,\n start: this.request.TargetDay,\n finish: moment(this.request.TargetDay).clone().endOf('day').toDate(),\n include: 'Attendants Assignments'\n };\n targetQuery = targetQuery.expand('Item');\n return [4 /*yield*/, this.domainService.entityManager.executeQuery(targetQuery)];\n case 8:\n response = _d.sent();\n this.targetItems.length = 0;\n response.results.forEach(function (item) {\n _this.targetItems.push(item['Item']);\n });\n this.targetItemsChange.emit(this.targetItems);\n _d.label = 9;\n case 9: return [3 /*break*/, 16];\n case 10:\n this.subjectItems.length = 0;\n this.targetItems.length = 0;\n subjectType = void 0;\n if (!!this.request.SubjectOid) return [3 /*break*/, 11];\n this.subject = null;\n return [3 /*break*/, 13];\n case 11:\n if (!(!this.subject || this.subject['Oid'] !== this.request.SubjectOid)) return [3 /*break*/, 13];\n subjectType = this.domainService.getEntityType(this.request.SubjectType);\n _b = this;\n return [4 /*yield*/, this.domainService.getEntityByKey(subjectType, this.request.SubjectOid, true).toPromise()];\n case 12:\n _b.subject = (_d.sent());\n _d.label = 13;\n case 13:\n if (!!this.request.TargetOid) return [3 /*break*/, 14];\n this.target = null;\n return [3 /*break*/, 16];\n case 14:\n if (!(!this.target || this.target['Oid'] !== this.request.TargetOid)) return [3 /*break*/, 16];\n if (subjectType === undefined) {\n subjectType = this.domainService.getEntityType(this.request.SubjectType);\n }\n _c = this;\n return [4 /*yield*/, this.domainService.getEntityByKey(subjectType, this.request.TargetOid, true).toPromise()];\n case 15:\n _c.target = (_d.sent());\n _d.label = 16;\n case 16:\n this.writeSummary();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Creates the summary.\n * @memberOf RequestSummaryComponent\n */\n RequestSummaryComponent.prototype.writeSummary = function () {\n if (this.request && this.request.SubjectDay) {\n this.subjectDescription = this.getDayDescription(this.request.SubjectDay, this.subjectItems);\n this.subjectEffort = this.getEffortFromEntities(this.subjectItems);\n this.subjectTimespan = this.getTimespanFromEntities(this.subjectItems);\n }\n else if (this.subject) {\n this.subjectDescription = this.subject['Name'];\n this.subjectEffort = this.getEffortFromEntity(this.subject);\n this.subjectTimespan = this.getTimespanFromEntity(this.subject);\n }\n else {\n this.subjectDescription = '';\n this.subjectEffort = '';\n this.subjectTimespan = '';\n }\n this.receiverName = (this.receiver && this.receiver['Name']) ? (this.receiver['FirstName'] + ' ' + this.receiver['Prefix'] + ' ' + this.receiver['Name']) : '';\n if (this.request && this.request.TargetDay) {\n this.targetDescription = this.getDayDescription(this.request.TargetDay, this.targetItems);\n this.targetEffort = this.getEffortFromEntities(this.targetItems);\n this.targetTimespan = this.getTimespanFromEntities(this.targetItems);\n }\n else if (this.target) {\n this.targetDescription = this.target['Name'];\n this.targetEffort = this.getEffortFromEntity(this.target);\n this.targetTimespan = this.getTimespanFromEntity(this.target);\n }\n else {\n this.targetDescription = '';\n this.targetEffort = '';\n this.targetTimespan = '';\n }\n };\n /**\n * Returns a string representing the work load of a particular day.\n * @private\n * @param {moment.Moment} day The day to be re-assigned or exchanged.\n * @param {Entity[]} items The plan items to be re-assigned or exchanged.\n * @returns {string} A description of the workload on the given day.\n * @memberOf RequestSummaryComponent\n */\n RequestSummaryComponent.prototype.getDayDescription = function (day, items) {\n var result = '';\n if (items.length === 0) {\n result += this.translateService.instant('APP.NOTIFICATIONS.NOTHING_PLANNED');\n }\n else {\n var assignmentCount = items.filter(function (item) { return item.entityType.shortName === 'Assignment'; }).length;\n var attendantCount = items.filter(function (item) { return item.entityType.shortName === 'Attendant'; }).length;\n if (assignmentCount > 0) {\n result += assignmentCount + \" \" + this.translateService.instant('APP.MISC.ASSIGNMENT.' + (assignmentCount === 1 ? '#SINGULAR' : '#PLURAL')).toLowerCase();\n }\n if (assignmentCount && attendantCount) {\n result += \" \" + this.translateService.instant('APP.NOTIFICATIONS.AND') + \" \";\n }\n if (attendantCount > 0) {\n result += attendantCount + \" \" + this.translateService.instant('APP.MISC.ATTENDANT.' + (attendantCount === 1 ? '#SINGULAR' : '#PLURAL')).toLowerCase();\n }\n }\n var date = moment(day);\n if (date.isValid()) {\n result += \" \" + this.translateService.instant('APP.NOTIFICATIONS.ON') + \" \" + date.format(this.localisationService.currentLanguage.formats.agenda.day.start);\n }\n return result;\n };\n /**\n * Returns a string representing the total effort of plan items.\n * @private\n * @param {Entity[]} items The sum of efforts is converted to a string.\n * @returns {string} The sum of efforts.\n * @memberOf RequestSummaryComponent\n */\n RequestSummaryComponent.prototype.getEffortFromEntities = function (items) {\n var effort = moment.duration();\n if (Array.isArray(items)) {\n items.forEach(function (item) {\n effort.add(moment.duration(item['Effort']).asHours() * item['SumFactor'], 'hours');\n });\n }\n if (effort.asMilliseconds() < 0) {\n return \"-\" + Math.floor(Math.abs(effort.asHours())) + \":\" + addZero(Math.abs(effort.minutes()));\n }\n return Math.floor(effort.asHours()) + \":\" + addZero(effort.minutes());\n };\n /**\n * Returns a string representing the effort of a plan item.\n * @private\n * @param {Entity} entity The entity's effort and timespan are represented.\n * @returns {string} The effort.\n * @memberOf RequestSummaryComponent\n * */\n RequestSummaryComponent.prototype.getEffortFromEntity = function (entity) {\n return this.getEffortFromEntities([entity]);\n };\n /**\n * Returns a string representing the total time span of plan items.\n * @private\n * @param {Entity[]} items The earliest start and latest finish of the items are searched.\n * @returns {string} The total time span.\n * @memberOf RequestSummaryComponent\n */\n RequestSummaryComponent.prototype.getTimespanFromEntities = function (items) {\n if (!items || items.length === 0) {\n return this.translateService.instant('APP.NOTIFICATIONS.NONE');\n }\n var start = moment(items[0]['Start']);\n var finish = moment(items[0]['Finish']);\n for (var index = 1; index < items.length; index++) {\n if (start.isAfter(items[index]['Start'])) {\n start = moment(items[index]['Start']);\n }\n if (finish.isBefore(items[index]['Finish'])) {\n finish = moment(items[index]['Finish']);\n }\n }\n var format = start.date() === finish.date() ? this.localisationService.time.format : this.localisationService.dateTime.format;\n var result = this.translateService.instant('APP.NOTIFICATIONS.FROM') + \" \" + start.format(format) + \" \";\n result += this.translateService.instant('APP.NOTIFICATIONS.UNTIL') + \" \" + finish.format(format);\n return result;\n };\n /**\n * Returns a string representing the timespan of a plan item.\n * @private\n * @param {Entity} entity The entity's timespan are represented.\n * @returns {string} The timespan.\n * @memberOf RequestSummaryComponent\n * */\n RequestSummaryComponent.prototype.getTimespanFromEntity = function (entity) {\n var start = moment(entity['Start']);\n var finish = moment(entity['Finish']);\n var from = this.translateService.instant('APP.NOTIFICATIONS.FROM');\n var until = this.translateService.instant('APP.NOTIFICATIONS.UNTIL');\n var startDate = start.format(this.localisationService.date.format);\n var startTime = start.format(this.localisationService.time.format);\n var finishTime = finish.format(this.localisationService.time.format);\n if (start.date() === finish.date()) {\n return startDate + \" \" + from + \" \" + startTime + \" \" + until + \" \" + finishTime;\n }\n else {\n var finishDate = finish.format(this.localisationService.date.format);\n return from + \" \" + startDate + \" \" + startTime + \" \" + until + \" \" + finishDate + \" \" + finishTime;\n }\n };\n return RequestSummaryComponent;\n}(AbstractBase));\nexport { RequestSummaryComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./request-summary.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/fieldsets/help/help.component.ngfactory\";\nimport * as i3 from \"../../base/fieldsets/help/help.component\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"../notifications-relation/notifications-relation.component.ngfactory\";\nimport * as i7 from \"../notifications-relation/notifications-relation.component\";\nimport * as i8 from \"../../user.service\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"../../core/dialog.service\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"../../core/overlay.service\";\nimport * as i14 from \"../../core/local-storage.service\";\nimport * as i15 from \"../../core/event.service\";\nimport * as i16 from \"../../core/action.service\";\nimport * as i17 from \"./request-summary.component\";\nimport * as i18 from \"../../resource.service\";\nimport * as i19 from \"../../core/localisation.service\";\nvar styles_RequestSummaryComponent = [i0.styles];\nvar RenderType_RequestSummaryComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_RequestSummaryComponent, data: {} });\nexport { RenderType_RequestSummaryComponent as RenderType_RequestSummaryComponent };\nfunction View_RequestSummaryComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"sym-help\", [], null, null, null, i2.View_HelpComponent_0, i2.RenderType_HelpComponent)), i1.ɵdid(2, 49152, null, 0, i3.HelpComponent, [], { text: [0, \"text\"] }, null), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(undefined)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(undefined)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_RequestSummaryComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"]))], null, null); }\nfunction View_RequestSummaryComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.receiverName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_RequestSummaryComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.NOTIFICATIONS.REASSIGN_PICK_RECEIVER\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_RequestSummaryComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 21, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\" \", \"\"])), (_l()(), i1.ɵeld(7, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\" \", \": \", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\" \", \": \", \" \"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(13, 0, null, null, 8, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_4)), i1.ɵdid(19, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_5)), i1.ɵdid(21, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.receiverName; _ck(_v, 19, 0, currVal_7); var currVal_8 = !_co.receiverName; _ck(_v, 21, 0, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.NOTIFICATIONS.REASSIGN_PROPOSED_TO\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.subjectDescription; _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.NOTIFICATIONS.EFFORT\")); var currVal_3 = _co.subjectEffort; _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"APP.NOTIFICATIONS.TIMESPAN\")); var currVal_5 = _co.subjectTimespan; _ck(_v, 11, 0, currVal_4, currVal_5); var currVal_6 = i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(\"APP.NOTIFICATIONS.REASSIGN_TO\")); _ck(_v, 15, 0, currVal_6); }); }\nfunction View_RequestSummaryComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.receiverName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_RequestSummaryComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.NOTIFICATIONS.EXCHANGE_PICK_RECEIVER\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_RequestSummaryComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\" \", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\" \", \": \", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \": \", \" \"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.targetDescription; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.NOTIFICATIONS.EFFORT\")); var currVal_2 = _co.targetEffort; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_3 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"APP.NOTIFICATIONS.TIMESPAN\")); var currVal_4 = _co.targetTimespan; _ck(_v, 7, 0, currVal_3, currVal_4); }); }\nfunction View_RequestSummaryComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\" \", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.NOTIFICATIONS.EXCHANGE_PICK_DAY\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_RequestSummaryComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\" \", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.NOTIFICATIONS.EXCHANGE_PICK_TASK\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_RequestSummaryComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-notifications-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_NotificationsRelationComponent_0, i6.RenderType_NotificationsRelationComponent)), i1.ɵdid(1, 245760, null, 0, i7.NotificationsRelationComponent, [i8.UserService, i9.DomainService, i10.DialogService, i11.AlertsService, i4.TranslateService, i12.Router, i13.OverlayService, i14.LocalStorageService, i12.ActivatedRoute, i15.EventsService, i16.ActionService], { configuration: [0, \"configuration\"], master: [1, \"master\"], start: [2, \"start\"], finish: [3, \"finish\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.targetConfiguration; var currVal_1 = _co.receiver; var currVal_2 = _co.request.TargetDay; var currVal_3 = _co.endOf(_co.request.TargetDay); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_RequestSummaryComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 32, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\" \", \"\"])), (_l()(), i1.ɵeld(7, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\" \", \": \", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\" \", \": \", \" \"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(13, 0, null, null, 7, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_7)), i1.ɵdid(18, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_8)), i1.ɵdid(20, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(21, 0, null, null, 9, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(23, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_9)), i1.ɵdid(26, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_10)), i1.ɵdid(28, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_11)), i1.ɵdid(30, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_12)), i1.ɵdid(32, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.receiverName; _ck(_v, 18, 0, currVal_7); var currVal_8 = !_co.receiverName; _ck(_v, 20, 0, currVal_8); var currVal_10 = (_co.request && (_co.request.TargetDay || _co.target)); _ck(_v, 26, 0, currVal_10); var currVal_11 = ((_co.request && (_co.request.Type === \"EXCHANGE-DAY\")) && !_co.request.TargetDay); _ck(_v, 28, 0, currVal_11); var currVal_12 = ((_co.request && (_co.request.Type !== \"EXCHANGE-DAY\")) && !_co.target); _ck(_v, 30, 0, currVal_12); var currVal_13 = (((_co.request && _co.request.TargetDay) && _co.receiver) && _co.targetConfiguration); _ck(_v, 32, 0, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.NOTIFICATIONS.EXCHANGE_PROPOSED_TO\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.subjectDescription; _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.NOTIFICATIONS.EFFORT\")); var currVal_3 = _co.subjectEffort; _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"APP.NOTIFICATIONS.TIMESPAN\")); var currVal_5 = _co.subjectTimespan; _ck(_v, 11, 0, currVal_4, currVal_5); var currVal_6 = i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(\"APP.NOTIFICATIONS.EXCHANGE_WITH\")); _ck(_v, 15, 0, currVal_6); var currVal_9 = i1.ɵunv(_v, 23, 0, i1.ɵnov(_v, 24).transform(\"APP.NOTIFICATIONS.EXCHANGE_FOR\")); _ck(_v, 23, 0, currVal_9); }); }\nexport function View_RequestSummaryComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_1)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"sym-label-left text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \":\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 5, null, null, null, null, null, null, null)), i1.ɵdid(12, 16384, null, 0, i5.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_3)), i1.ɵdid(14, 278528, null, 0, i5.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i5.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RequestSummaryComponent_6)), i1.ɵdid(16, 278528, null, 0, i5.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i5.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = undefined; _ck(_v, 3, 0, currVal_0); var currVal_2 = false; _ck(_v, 9, 0, currVal_2); var currVal_3 = _co.requestType; _ck(_v, 12, 0, currVal_3); var currVal_4 = \"REASSIGN\"; _ck(_v, 14, 0, currVal_4); var currVal_5 = \"EXCHANGE\"; _ck(_v, 16, 0, currVal_5); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.NOTIFICATIONS.SUMMARY\")); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_RequestSummaryComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-request-summary\", [], null, null, null, View_RequestSummaryComponent_0, RenderType_RequestSummaryComponent)), i1.ɵdid(1, 180224, null, 0, i17.RequestSummaryComponent, [i9.DomainService, i4.TranslateService, i18.ResourceService, i19.LocalisationService], null, null)], null, null); }\nvar RequestSummaryComponentNgFactory = i1.ɵccf(\"sym-request-summary\", i17.RequestSummaryComponent, View_RequestSummaryComponent_Host_0, { request: \"request\", targetConfiguration: \"targetConfiguration\" }, { targetItemsChange: \"targetItemsChange\" }, []);\nexport { RequestSummaryComponentNgFactory as RequestSummaryComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file The ExchangeListComponent is used to create a exchange request.\n * The form is activated with an action button and displayed in the overlay.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { NotificationsService } from '../notifications.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport { RequestTypes } from '../request-types';\nimport { RequestStatus } from '../request-status';\nimport * as moment from 'moment';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { ListComponent } from '../../domain/list/list.component';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nimport { TranslateService } from '@ngx-translate/core';\n/** Name of query parameter dynamically added to AgendaListComponent. */\nvar TARGET_LIST_RESOURCE_OID = 'resourceOid';\n/**\n * The ExchangeListComponent is used to create a exchange request.\n * The form is activated with an action button and displayed in the overlay.\n * @export\n * @class ExchangeListComponent\n * @implements {OnInit}\n */\nvar ExchangeListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ExchangeListComponent, _super);\n /**\n * Creates an instance of ExchangeListComponent.\n * @param {NotificationsService} notificationsService To communicate with the backend.\n * @param {AlertsService} alertsService To show feedback messages to the user.\n * @param {OverlayService} overlayService The service that manages the overlay of the application.\n * @param {OverlayProvider} overlayProvider To provide the needed create parameters.\n */\n function ExchangeListComponent(notificationsService, alertsService, overlayService, backendSettingsService, overlayProvider, translateService) {\n var _this = _super.call(this) || this;\n _this.notificationsService = notificationsService;\n _this.alertsService = alertsService;\n _this.overlayService = overlayService;\n _this.backendSettingsService = backendSettingsService;\n _this.translateService = translateService;\n /**\n * Gets sets the field to hold the receiver entity.\n * @private\n * @type {Entity}\n */\n _this._receiver = null;\n /**\n * The date is used to search for a target.\n */\n _this._date = moment();\n /**\n * FormControl to bind with the InputDateComponent.\n * This is needed for the angular input validation mechanism.\n * The input provides the query date of the targetList.\n */\n _this.dateControl = new FormControl();\n /**\n * FormControl to bind with the InputEntityComponent.\n * This is needed for the angular input validation mechanism.\n * The input provides the query resource oid, representing the receiver of the request.\n */\n _this.resources = new FormControl();\n /**\n * FormGroup of the template.\n * This is needed for the angular input validation mechanism.\n */\n _this.form = new FormGroup({});\n _this.subjectTask = overlayProvider.entity;\n if (!_this.subjectTask) {\n throw Error('Exchange task missing in ExchangeListComponent.');\n }\n var config = overlayProvider.configuration;\n if (config.components && config.components.length !== 0) {\n _this.listConfiguration = config.components[0].configuration;\n }\n _this.formConfiguration = overlayProvider.configuration;\n if (_this.subjectTask.entityType.shortName === 'PlanItem') {\n _this.subjectTask = _this.subjectTask['Item'];\n }\n _this.form.addControl('resources', _this.resources);\n return _this;\n }\n Object.defineProperty(ExchangeListComponent.prototype, \"receiver\", {\n /**\n * Gets the receiver of the exchange request.\n * @type {Entity}\n */\n get: function () {\n return this._receiver;\n },\n /**\n * Sets the receiver of the exchange request.\n * @type {Entity}\n */\n set: function (value) {\n if (this._receiver === value) {\n return;\n }\n this._receiver = value;\n var receiverOid = '?';\n if (value) {\n receiverOid = value['Oid'];\n }\n if (this.targetList) {\n this.targetList.current = null;\n this.targetList[TARGET_LIST_RESOURCE_OID] = receiverOid;\n // this.targetList.level = detailLevelDay;\n this.targetList.refresh();\n }\n if (this.request) {\n this.request.Title = this.translateService.instant('APP.NOTIFICATIONS.TYPE_EXCHANGE') + \" \" + this.subjectTask['Name'];\n this.request.TargetOid = '';\n this.request.ReceiverOid = receiverOid;\n var same = this.request;\n this.request = null;\n this.request = same;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeListComponent.prototype, \"entityOid\", {\n get: function () {\n return this.subjectTask['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeListComponent.prototype, \"date\", {\n /**\n * Gets the date.\n */\n get: function () {\n return this._date.toDate();\n },\n /**\n * Sets the date and fires dateChanged method if it is different.\n */\n set: function (value) {\n var date = moment(value);\n if (!date.isSame(this._date)) {\n this._date = date;\n this.dateChanged();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeListComponent.prototype, \"requestId\", {\n /**\n * Gets the Id of the current request.\n * @readonly\n * @type {number}\n */\n get: function () {\n if (!this.request) {\n return -1;\n }\n // Breeze.js find het niet leuk als je Id defined.\n // Maar ik heb hem nodig in template en dat find AOT weer niet leuk :(\n return this.request['Id'];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Lifecycle hook that is called after data-bound properties are initialized.\n * The exchange request is created and its properties are initialized.\n */\n ExchangeListComponent.prototype.ngOnInit = function () {\n this.request = this.notificationsService.getEntityType('Request').createEntity();\n if (this.subjectTask.entityType.shortName === 'Assignment') {\n this.request.Type = RequestTypes.ExchangeAssignment;\n }\n else if (this.subjectTask.entityType.shortName === 'Attendant') {\n this.request.Type = RequestTypes.ExchangeAttendant;\n }\n else {\n this.alertsService.createAlert('danger', 'Unknown subject type: ' + this.subjectTask.entityType.shortName);\n }\n this.request.Status = RequestStatus.Request;\n this.request.Title = this.translateService.instant('APP.NOTIFICATIONS.TYPE_EXCHANGE') + \" \" + this.subjectTask['Name'];\n this.request.SubjectOid = this.subjectTask['Oid'];\n this.request.SenderOid = this.subjectTask['Resource_Oid']; // Of moet dit configurationsService.user.resourceOid zijn?\n this.notificationsService.addEntity(this.request);\n // targetList must be there.\n this.targetList[TARGET_LIST_RESOURCE_OID] = '?';\n this.targetList['entityOid'] = this.subjectTask['Oid'];\n this.targetList['senderOid'] = this.subjectTask['Resource_Oid'];\n this.date = moment().add(this.backendSettingsService.daysBeforeExpiration, 'days').toDate();\n };\n /**\n * This method is invoked when the user selects a task from the targetList.\n * The selected task is used as target task of the exchange request.\n * @param {Entity} entity The selected task.\n */\n ExchangeListComponent.prototype.onTargetChanged = function (entity) {\n var targetTask = entity;\n if (targetTask) {\n if (targetTask.entityType.shortName === 'PlanItem') {\n targetTask = targetTask['Item'];\n }\n this.request.Title = this.translateService.instant('APP.NOTIFICATIONS.TYPE_EXCHANGE') + \" \" + this.subjectTask['Name'] + \" \";\n this.request.Title += this.translateService.instant('APP.NOTIFICATIONS.FOR') + \" \" + targetTask['Name'];\n this.request.TargetOid = targetTask['Oid'];\n this.request.ReceiverOid = targetTask['Resource_Oid'];\n }\n };\n /**\n * This method is invoked when the selected date changes.\n */\n ExchangeListComponent.prototype.dateChanged = function () {\n // The list has no selected item.\n this.targetList.current = null;\n // The request title contains only the subject task.\n this.request.Title = this.subjectTask['Name'];\n // Receiver and target are adjusted.\n if (!this.receiver) {\n this.request.ReceiverOid = null;\n }\n this.request.TargetOid = null;\n // Set query parameters and refresh the target list.\n this.targetList['start'] = this._date.clone().startOf('day');\n this.targetList['finish'] = this._date.clone().endOf('day');\n this.targetList.refresh();\n };\n /**\n * Returns a value indicating whether the request is ready to be saved.\n */\n ExchangeListComponent.prototype.canSave = function () {\n return this.targetList && this.targetList.current;\n };\n /**\n * Cancels the request and closes the overlay.\n */\n ExchangeListComponent.prototype.cancelItem = function () {\n this.request.entityAspect.rejectChanges();\n this.overlayService.closeOverlay();\n };\n /**\n * Saves the new created exchange request when valid.\n * @param {any} event The click event that triggered the method.\n * @returns void\n */\n ExchangeListComponent.prototype.saveItem = function (event) {\n if (!this.canSave()) {\n return; // Request is nog niet compleet.\n }\n if (!this.backendSettingsService.isOnTime(this.subjectTask, this.targetList.current)) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.TOO_LATE');\n return;\n }\n var self = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.notificationsService.symptomManagementIssue1319();\n this.notificationsService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished.\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not.\n if (error) {\n self.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.REQUEST_UNSUCCESSFULLY_SENT');\n }\n else {\n self.alertsService.createAlert('success', 'APP.NOTIFICATIONS.REQUEST_SUCCESSFULLY_SENT');\n self.overlayService.closeOverlay();\n }\n });\n };\n return ExchangeListComponent;\n}(AbstractBase));\nexport { ExchangeListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The ExchangeListComponent is used to create a exchange request.\n * The form is activated with an action button and displayed in the overlay.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/forms\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/inputs/input-date/input-date.component.ngfactory\";\nimport * as i4 from \"../../base/inputs/input-date/input-date.component\";\nimport * as i5 from \"../../core/localisation.service\";\nimport * as i6 from \"../../base/inputs/input-entity/input-entity.component.ngfactory\";\nimport * as i7 from \"../../base/inputs/input-entity/input-entity.component\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../core/overlay.service\";\nimport * as i11 from \"../../domain/list/list.component.ngfactory\";\nimport * as i12 from \"../../domain/list/list.component\";\nimport * as i13 from \"../../user.service\";\nimport * as i14 from \"../../core/dialog.service\";\nimport * as i15 from \"@angular/router\";\nimport * as i16 from \"../../core/local-storage.service\";\nimport * as i17 from \"../../core/event.service\";\nimport * as i18 from \"../../core/action.service\";\nimport * as i19 from \"../notifications-form/notifications-form.component.ngfactory\";\nimport * as i20 from \"../notifications-form/notifications-form.component\";\nimport * as i21 from \"../notifications.service\";\nimport * as i22 from \"../../resource.service\";\nimport * as i23 from \"../request-summary/request-summary.component.ngfactory\";\nimport * as i24 from \"../request-summary/request-summary.component\";\nimport * as i25 from \"./exchange-list.component\";\nimport * as i26 from \"../../backend-settings.service\";\nimport * as i27 from \"../../ui/overlay-provider\";\nvar styles_ExchangeListComponent = [];\nvar RenderType_ExchangeListComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ExchangeListComponent, data: {} });\nexport { RenderType_ExchangeListComponent as RenderType_ExchangeListComponent };\nexport function View_ExchangeListComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { targetList: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 48, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 20, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 4).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 4).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(3, 16384, null, 0, i1.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(4, 540672, null, 0, i1.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i1.ControlContainer, null, [i1.FormGroupDirective]), i0.ɵdid(6, 16384, null, 0, i1.NgControlStatusGroup, [[4, i1.ControlContainer]], null, null), (_l()(), i0.ɵeld(7, 0, null, null, 15, \"div\", [[\"class\", \"row mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"div\", [[\"class\", \"col-md-6\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵted(10, null, [\"\", \":\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 1, \"sym-input-date\", [], null, [[null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"valueChange\" === en)) {\n var pd_0 = ((_co.date = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i3.View_InputDateComponent_0, i3.RenderType_InputDateComponent)), i0.ɵdid(13, 180224, null, 0, i4.InputDateComponent, [i5.LocalisationService], { control: [0, \"control\"], value: [1, \"value\"] }, { valueChange: \"valueChange\" }), (_l()(), i0.ɵeld(14, 0, null, null, 8, \"div\", [[\"class\", \"col-md-6\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵted(16, null, [\"\", \":\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 4, \"sym-input-entity\", [], null, [[null, \"valueChange\"], [\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 19).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_co.receiver = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_InputEntityComponent_0, i6.RenderType_InputEntityComponent)), i0.ɵdid(19, 245760, null, 0, i7.InputEntityComponent, [i8.DomainService, i9.AlertsService, i2.TranslateService, i5.LocalisationService, i10.OverlayService], { required: [0, \"required\"], readOnly: [1, \"readOnly\"], control: [2, \"control\"], value: [3, \"value\"], format: [4, \"format\"] }, { valueChange: \"valueChange\" }), i0.ɵpad(20, 3), i0.ɵpod(21, { \"work\": 0 }), i0.ɵpod(22, { dataSource: 0, entity: 1, fields: 2, parameters: 3 }), (_l()(), i0.ɵeld(23, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(24, 0, null, null, 1, \"sym-list\", [], null, [[null, \"selectionChanged\"], [\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 25).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"selectionChanged\" === en)) {\n var pd_1 = (_co.onTargetChanged($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i11.View_ListComponent_0, i11.RenderType_ListComponent)), i0.ɵdid(25, 245760, [[1, 4]], 0, i12.ListComponent, [i13.UserService, i8.DomainService, i14.DialogService, i9.AlertsService, i2.TranslateService, i15.Router, i10.OverlayService, i16.LocalStorageService, i17.EventsService, i18.ActionService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"] }, { selectionChanged: \"selectionChanged\" }), (_l()(), i0.ɵeld(26, 0, null, null, 1, \"sym-notifications-form\", [], null, null, null, i19.View_NotificationsFormComponent_0, i19.RenderType_NotificationsFormComponent)), i0.ɵdid(27, 245760, null, 0, i20.NotificationsFormComponent, [i21.NotificationsService, i15.ActivatedRoute, i15.Router, i9.AlertsService, i22.ResourceService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], entityKey: [2, \"entityKey\"] }, null), (_l()(), i0.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(29, 0, null, null, 1, \"sym-request-summary\", [], null, null, null, i23.View_RequestSummaryComponent_0, i23.RenderType_RequestSummaryComponent)), i0.ɵdid(30, 180224, null, 0, i24.RequestSummaryComponent, [i8.DomainService, i2.TranslateService, i22.ResourceService, i5.LocalisationService], { request: [0, \"request\"] }, null), (_l()(), i0.ɵeld(31, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(32, 0, null, null, 17, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(33, 0, null, null, 16, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(35, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(37, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-send\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(39, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(41, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(43, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(44, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(45, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(47, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(48, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 4, 0, currVal_7); var currVal_9 = _co.dateControl; var currVal_10 = _co.date; _ck(_v, 13, 0, currVal_9, currVal_10); var currVal_12 = true; var currVal_13 = false; var currVal_14 = _co.resources; var currVal_15 = _co.receiver; var currVal_16 = _ck(_v, 22, 0, \"ResourcesForWork\", \"Resource\", _ck(_v, 20, 0, \"FirstName\", \"Prefix\", \"Name\"), _ck(_v, 21, 0, _co.entityOid)); _ck(_v, 19, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_17 = _co.listConfiguration; var currVal_18 = true; _ck(_v, 25, 0, currVal_17, currVal_18); var currVal_19 = _co.formConfiguration; var currVal_20 = true; var currVal_21 = _co.requestId; _ck(_v, 27, 0, currVal_19, currVal_20, currVal_21); var currVal_22 = _co.request; _ck(_v, 30, 0, currVal_22); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 6).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 6).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 6).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 6).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 6).ngClassValid; var currVal_5 = i0.ɵnov(_v, 6).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 6).ngClassPending; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.EXCHANGE_DATE\")); _ck(_v, 10, 0, currVal_8); var currVal_11 = i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.RESOURCE\")); _ck(_v, 16, 0, currVal_11); var currVal_23 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 35, 0, i0.ɵnov(_v, 36).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")), \"\"); var currVal_24 = !_co.canSave(); _ck(_v, 35, 0, currVal_23, currVal_24); var currVal_25 = i0.ɵunv(_v, 39, 0, i0.ɵnov(_v, 40).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")); _ck(_v, 39, 0, currVal_25); var currVal_26 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 41, 0, i0.ɵnov(_v, 42).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")), \"\"); _ck(_v, 41, 0, currVal_26); var currVal_27 = i0.ɵunv(_v, 45, 0, i0.ɵnov(_v, 46).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")); _ck(_v, 45, 0, currVal_27); var currVal_28 = i0.ɵunv(_v, 48, 0, i0.ɵnov(_v, 49).transform(\"APP.NOTIFICATIONS.EXCHANGE_DESCRIPTION\")); _ck(_v, 48, 0, currVal_28); }); }\nexport function View_ExchangeListComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-exchange-list\", [], null, null, null, View_ExchangeListComponent_0, RenderType_ExchangeListComponent)), i0.ɵdid(1, 245760, null, 0, i25.ExchangeListComponent, [i21.NotificationsService, i9.AlertsService, i10.OverlayService, i26.BackendSettingsService, i27.OverlayProvider, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ExchangeListComponentNgFactory = i0.ɵccf(\"sym-exchange-list\", i25.ExchangeListComponent, View_ExchangeListComponent_Host_0, {}, {}, []);\nexport { ExchangeListComponentNgFactory as ExchangeListComponentNgFactory };\n","/**\n * @file The exchange day component allows users to propose exchanging entire days to a colleague.\n * @author Maarten Lensink\n */\nimport { OnInit, OnDestroy } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { NotificationsService } from '../notifications.service';\nimport { RequestTypes } from '../request-types';\nimport { RequestStatus } from '../request-status';\n/**\n * The component allows the user to suggest exchanging a day's work.\n * @export\n * @class ExchangeDayComponent\n * @implements {OnInit}\n */\nvar ExchangeDayComponent = /** @class */ (function () {\n /**\n * Creates an instance of ExchangeDayComponent.\n * @param {NotificationsService} notificationsService\n * @param {AlertsService} alertsService\n * @memberOf ExchangeDayComponent\n */\n function ExchangeDayComponent(notificationsService, alertsService, overlayService, overlayProvider, resourceService, translateService, backendSettingsService, localisationService) {\n this.notificationsService = notificationsService;\n this.alertsService = alertsService;\n this.overlayService = overlayService;\n this.overlayProvider = overlayProvider;\n this.resourceService = resourceService;\n this.translateService = translateService;\n this.backendSettingsService = backendSettingsService;\n this.localisationService = localisationService;\n /** The targetItems that is being received from a child component */\n this.targetItems = [];\n this.formConfiguration = overlayProvider.configuration;\n if (overlayProvider.configuration.components) {\n this.targetConfiguration = overlayProvider.configuration.components[0].configuration;\n }\n }\n Object.defineProperty(ExchangeDayComponent.prototype, \"requestId\", {\n /**\n * Gets the Id of the current request.\n * Breeze.js does not allow an Id to be defined.\n * AOT does not allow it in the template.\n * @readonly\n * @type {number}\n * @memberOf ExchangeDayComponent\n */\n get: function () {\n if (!this.request) {\n return -1;\n }\n return this.request['Id'];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets up the request.\n * @memberOf ExchangeDayComponent\n */\n ExchangeDayComponent.prototype.ngOnInit = function () {\n this.setRequest();\n };\n /**\n * Destroys the subscription on the request.\n * @memberOf ExchangeDayComponent\n */\n ExchangeDayComponent.prototype.ngOnDestroy = function () {\n if (this.request && this.requestSubscription != null) {\n this.request.entityAspect.propertyChanged.unsubscribe(this.requestSubscription);\n }\n };\n /**\n * Returns a value indicating whether the request is ready to be saved.\n * @memberOf ExchangeDayComponent\n */\n ExchangeDayComponent.prototype.canSave = function () {\n if (!this.request) {\n return false;\n }\n if (!this.request.ReceiverOid && !this.request.TargetDay) {\n return false;\n }\n var isExpired = this.backendSettingsService.isExpired(this.request.TargetDay);\n if (isExpired) {\n return false;\n }\n if (this.targetItems.length <= 0) {\n return false;\n }\n return true;\n };\n /**\n * Cancels the request and closes the overlay.\n * @memberOf ExchangeDayComponent\n */\n ExchangeDayComponent.prototype.cancelItem = function () {\n this.request.entityAspect.rejectChanges();\n this.overlayService.closeOverlay();\n };\n /**\n * Saves the new created exchange request when valid.\n * @param {any} event The click event that triggered the method.\n * @memberOf ExchangeDayComponent\n */\n ExchangeDayComponent.prototype.saveItem = function (event) {\n var _this = this;\n // These are extra checks, because the send button ought to be disabled already.\n if (!this.request.ReceiverOid) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.EXCHANGE_PICK_RECEIVER');\n return;\n }\n if (!this.request.TargetDay) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.EXCHANGE_PICK_DAY');\n return;\n }\n if (!this.backendSettingsService.isDayOnTime(moment(this.request.SubjectDay))) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.TOO_LATE');\n return;\n }\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.notificationsService.symptomManagementIssue1319();\n this.notificationsService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished.\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not.\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.REQUEST_UNSUCCESSFULLY_SENT');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.NOTIFICATIONS.REQUEST_SUCCESSFULLY_SENT');\n _this.overlayService.closeOverlay();\n }\n });\n };\n /**\n * Sets up the request.\n * @private\n * @memberOf ExchangeDayComponent\n */\n ExchangeDayComponent.prototype.setRequest = function () {\n var _this = this;\n this.request = this.notificationsService.getEntityType('Request').createEntity();\n this.request.SubjectDay = moment(this.overlayProvider.entity['Start']).startOf('day').toDate();\n this.request.Type = RequestTypes.ExchangeDay;\n this.request.Status = RequestStatus.Request;\n this.request.SenderOid = this.resourceService.getResourceOid();\n this.updateTitle(this.request);\n this.notificationsService.addEntity(this.request);\n this.requestSubscription = this.request.entityAspect.propertyChanged.subscribe(function (args) {\n if (args.propertyName === 'TargetDay') {\n _this.updateTitle(args.entity);\n }\n });\n };\n /**\n * (Pre)sets the title of the request.\n * @private\n * @param {Request} request\n * @memberOf ExchangeDayComponent\n */\n ExchangeDayComponent.prototype.updateTitle = function (request) {\n var title = this.translateService.instant('APP.NOTIFICATIONS.TYPE_EXCHANGE');\n var dateString = moment(this.request.SubjectDay).format(this.localisationService.date.format);\n title += \" \" + dateString;\n if (request.TargetDay) {\n dateString = moment(this.request.TargetDay).format(this.localisationService.date.format);\n title += \" \" + this.translateService.instant('APP.NOTIFICATIONS.FOR') + \" \" + dateString;\n }\n request.Title = title;\n };\n /**\n * Set the targetItems that is received from the child component\n * @param {Entity[]}items\n */\n ExchangeDayComponent.prototype.setTargetItems = function (items) {\n this.targetItems = items;\n };\n return ExchangeDayComponent;\n}());\nexport { ExchangeDayComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The exchange day component allows users to propose exchanging entire days to a colleague.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../notifications-form/notifications-form.component.ngfactory\";\nimport * as i2 from \"../notifications-form/notifications-form.component\";\nimport * as i3 from \"../notifications.service\";\nimport * as i4 from \"@angular/router\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../request-summary/request-summary.component.ngfactory\";\nimport * as i8 from \"../request-summary/request-summary.component\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../core/localisation.service\";\nimport * as i12 from \"./exchange-day.component\";\nimport * as i13 from \"../../core/overlay.service\";\nimport * as i14 from \"../../ui/overlay-provider\";\nimport * as i15 from \"../../backend-settings.service\";\nvar styles_ExchangeDayComponent = [];\nvar RenderType_ExchangeDayComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ExchangeDayComponent, data: {} });\nexport { RenderType_ExchangeDayComponent as RenderType_ExchangeDayComponent };\nexport function View_ExchangeDayComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 24, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-notifications-form\", [], null, null, null, i1.View_NotificationsFormComponent_0, i1.RenderType_NotificationsFormComponent)), i0.ɵdid(2, 245760, null, 0, i2.NotificationsFormComponent, [i3.NotificationsService, i4.ActivatedRoute, i4.Router, i5.AlertsService, i6.ResourceService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], item: [2, \"item\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"sym-request-summary\", [], null, [[null, \"targetItemsChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"targetItemsChange\" === en)) {\n var pd_0 = (_co.setTargetItems($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i7.View_RequestSummaryComponent_0, i7.RenderType_RequestSummaryComponent)), i0.ɵdid(5, 180224, null, 0, i8.RequestSummaryComponent, [i9.DomainService, i10.TranslateService, i6.ResourceService, i11.LocalisationService], { request: [0, \"request\"], targetConfiguration: [1, \"targetConfiguration\"] }, { targetItemsChange: \"targetItemsChange\" }), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 17, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 16, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-send\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(22, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(23, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.formConfiguration; var currVal_1 = true; var currVal_2 = _co.request; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = _co.request; var currVal_4 = _co.targetConfiguration; _ck(_v, 5, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_5 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")), \"\"); var currVal_6 = !_co.canSave(); _ck(_v, 10, 0, currVal_5, currVal_6); var currVal_7 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")); _ck(_v, 14, 0, currVal_7); var currVal_8 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")), \"\"); _ck(_v, 16, 0, currVal_8); var currVal_9 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")); _ck(_v, 20, 0, currVal_9); var currVal_10 = i0.ɵunv(_v, 23, 0, i0.ɵnov(_v, 24).transform(\"APP.NOTIFICATIONS.EXCHANGE_DESCRIPTION\")); _ck(_v, 23, 0, currVal_10); }); }\nexport function View_ExchangeDayComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-exchange-day\", [], null, null, null, View_ExchangeDayComponent_0, RenderType_ExchangeDayComponent)), i0.ɵdid(1, 245760, null, 0, i12.ExchangeDayComponent, [i3.NotificationsService, i5.AlertsService, i13.OverlayService, i14.OverlayProvider, i6.ResourceService, i10.TranslateService, i15.BackendSettingsService, i11.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ExchangeDayComponentNgFactory = i0.ɵccf(\"sym-exchange-day\", i12.ExchangeDayComponent, View_ExchangeDayComponent_Host_0, {}, {}, []);\nexport { ExchangeDayComponentNgFactory as ExchangeDayComponentNgFactory };\n","/**\n * @file The ExchangeDayDetailComponent is used as detail view for the inbox and outbox to display exchange day requests.\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { FormControl } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { DomainService } from '../../domain.service';\nimport { UserService } from '../../user.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { RelationBase } from '../../base/relation/relation.base';\nimport { NotificationsService } from '../notifications.service';\nimport { ExchangeDetailComponent } from '../exchange-detail/exchange-detail.component';\nimport { SettingsService } from '../../settings.service';\n/**\n * The ExchangeDayDetailComponent is used as detail view for the inbox and outbox to display exchange day requests.\n * @export\n * @class ExchangeDayDetailComponent\n * @extends {ExchangeDetailComponent}\n */\nvar ExchangeDayDetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ExchangeDayDetailComponent, _super);\n /**\n * Creates an instance of ExchangeDayDetailComponent.\n * @param {UserService} userService\n * @param {Router} router\n * @param {ActivatedRoute} route\n * @param {NotificationsService} notificationsService\n * @param {DialogService} dialogService\n * @param {AlertsService} alertsService\n * @param {TranslateService} translateService\n * @param {DomainService} domainService The service is used to retrieve the sender and receiver resources.\n * @memberOf ExchangeDayDetailComponent\n */\n function ExchangeDayDetailComponent(userService, router, route, notificationsService, dialogService, alertsService, translateService, domainService, settingsService, localisationService) {\n var _this = _super.call(this, userService, router, route, notificationsService, dialogService, alertsService, settingsService, translateService) || this;\n _this.domainService = domainService;\n _this.localisationService = localisationService;\n /**\n * The field property of the fieldset container for the request's receiver.\n * @type {FieldConfiguration}\n * @memberOf ExchangeDayDetailComponent\n */\n _this.resourceField = {\n name: '@this',\n labelKey: 'APP.MISC.RESOURCE.#SINGULAR',\n readonly: true,\n editor: 'entity',\n format: {\n entity: 'Resource',\n fields: [\n 'FirstName',\n 'Prefix',\n 'Name'\n ]\n }\n };\n /**\n * FormControl to bind with the select fieldset.\n * This is needed for the angular input validation mechanism.\n * The fieldset displays the status of the request.\n * @memberOf ExchangeDetailComponent\n */\n _this.resourceControl = new FormControl();\n return _this;\n }\n Object.defineProperty(ExchangeDayDetailComponent.prototype, \"resource\", {\n /**\n * Returns the opposing resource of the user's resource.\n * @readonly\n * @type {Entity}\n * @memberOf ExchangeDayDetailComponent\n */\n get: function () {\n return this.isOutbox ? this.receiver : this.sender;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDayDetailComponent.prototype, \"subjectResource\", {\n /**\n * Returns the current owner of the subject task list.\n * @readonly\n * @type {Entity}\n * @memberOf ExchangeDayDetailComponent\n */\n get: function () {\n if (!this.request) {\n return;\n }\n return this.request.Status === 'ACCEPT' ? this.receiver : this.sender;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDayDetailComponent.prototype, \"targetResource\", {\n /**\n * Returns the current owner of the target task list.\n * @readonly\n * @type {Entity}\n * @memberOf ExchangeDayDetailComponent\n */\n get: function () {\n if (!this.request) {\n return;\n }\n return this.request.Status === 'ACCEPT' ? this.sender : this.receiver;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ExchangeDayDetailComponent.prototype, \"showDetails\", {\n /**\n * Gets a value indicating whether the details of a day should be shown.\n * @readonly\n * @type {boolean}\n * @memberOf ExchangeDayDetailComponent\n */\n get: function () {\n return this.request && (this.request.Status === 'REQUEST' || this.request.Status === 'ACCEPT');\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the label dependent on inbox or outbox and the request type.\n * @param {string} what subject | resource | target\n * @returns {string} An i18n label.\n * @memberOf ExchangeDayDetailComponent\n */\n ExchangeDayDetailComponent.prototype.getLabel = function (what) {\n if (!this.request) {\n return null;\n }\n var result = 'APP.NOTIFICATIONS.';\n result += this.isOutbox ? 'OUTBOX_' : 'INBOX_';\n result += this.request.TargetDay ? 'EXCHANGE_' : 'REASSIGN_';\n result += what.toUpperCase();\n return result;\n };\n /**\n * Returns a value indicating whether the request has been loaded.\n * @returns {boolean} True if the request has been loaded.\n * @memberOf ExchangeDetailComponent\n */\n ExchangeDayDetailComponent.prototype.canSave = function () {\n return this.request != null && !this.request.IsExpired &&\n this.subjectDayFormObject && this.subjectDayFormObject.items && this.subjectDayFormObject.items.length > 0 &&\n (this.request.TargetDay == null || (this.targetDayFormObject && this.targetDayFormObject.items && this.targetDayFormObject.items.length > 0));\n };\n /**\n * Returns a datetime on the given date at the end of the day.\n * @param {Date} date The date, which should be at start of day.\n * @returns {Date} The date at the end of the day.\n * @memberOf ExchangeDayDetailComponent\n */\n ExchangeDayDetailComponent.prototype.endOf = function (date) {\n if (!date) {\n return null;\n }\n var result = new Date(date.valueOf());\n result.setDate(date.getDate() + 1);\n return result;\n };\n /**\n * Returns a string representing the date.\n * @param {Date} date The date to be displayed.\n * @returns {string} A date in localised format.\n * @memberOf ExchangeDayDetailComponent\n */\n ExchangeDayDetailComponent.prototype.displayDate = function (date) {\n return moment(date).format(this.localisationService.currentLanguage.formats.date.format);\n };\n /**\n * Sets the request, the sender, and the receiver.\n * @protected\n * @param {Request} value\n * @memberOf ExchangeDayDetailComponent\n */\n ExchangeDayDetailComponent.prototype.setRequest = function (value) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var resourceType, _a, _b;\n return tslib_1.__generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n _super.prototype.setRequest.call(this, value);\n if (!this.request) {\n return [2 /*return*/];\n }\n resourceType = this.domainService.getEntityType('Resource');\n _a = this;\n return [4 /*yield*/, this.domainService.getEntityByKey(resourceType, this.request.SenderOid).toPromise()];\n case 1:\n _a.sender = (_c.sent());\n _b = this;\n return [4 /*yield*/, this.domainService.getEntityByKey(resourceType, this.request.ReceiverOid).toPromise()];\n case 2:\n _b.receiver = (_c.sent());\n return [2 /*return*/];\n }\n });\n });\n };\n return ExchangeDayDetailComponent;\n}(ExchangeDetailComponent));\nexport { ExchangeDayDetailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The ExchangeDayDetailComponent is used as detail view for the inbox and outbox to display exchange day requests.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../notifications-relation/notifications-relation.component.ngfactory\";\nimport * as i2 from \"../notifications-relation/notifications-relation.component\";\nimport * as i3 from \"../../user.service\";\nimport * as i4 from \"../../domain.service\";\nimport * as i5 from \"../../core/dialog.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"@ngx-translate/core\";\nimport * as i8 from \"@angular/router\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"../../core/local-storage.service\";\nimport * as i11 from \"../../core/event.service\";\nimport * as i12 from \"../../core/action.service\";\nimport * as i13 from \"@angular/common\";\nimport * as i14 from \"../../social/comments/comments.component.ngfactory\";\nimport * as i15 from \"../../social/comments/comments.component\";\nimport * as i16 from \"../../social/comment.service\";\nimport * as i17 from \"../../social/files/files.component.ngfactory\";\nimport * as i18 from \"../../social/files/files.component\";\nimport * as i19 from \"../../resource.service\";\nimport * as i20 from \"../../base/files.service\";\nimport * as i21 from \"@angular/forms\";\nimport * as i22 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i23 from \"../../base/instruction/instruction.component\";\nimport * as i24 from \"@angular/common/http\";\nimport * as i25 from \"../../configurations.service\";\nimport * as i26 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i27 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i28 from \"./exchange-day-detail.component\";\nimport * as i29 from \"../notifications.service\";\nimport * as i30 from \"../../settings.service\";\nimport * as i31 from \"../../core/localisation.service\";\nvar styles_ExchangeDayDetailComponent = [];\nvar RenderType_ExchangeDayDetailComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ExchangeDayDetailComponent, data: {} });\nexport { RenderType_ExchangeDayDetailComponent as RenderType_ExchangeDayDetailComponent };\nfunction View_ExchangeDayDetailComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 19).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ExchangeDayDetailComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\":\"]))], null, null); }\nfunction View_ExchangeDayDetailComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-notifications-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i1.View_NotificationsRelationComponent_0, i1.RenderType_NotificationsRelationComponent)), i0.ɵdid(1, 245760, [[3, 4], [\"subjectDayFormObject\", 4]], 0, i2.NotificationsRelationComponent, [i3.UserService, i4.DomainService, i5.DialogService, i6.AlertsService, i7.TranslateService, i8.Router, i9.OverlayService, i10.LocalStorageService, i8.ActivatedRoute, i11.EventsService, i12.ActionService], { configuration: [0, \"configuration\"], master: [1, \"master\"], start: [2, \"start\"], finish: [3, \"finish\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subjectForm.configuration; var currVal_1 = _co.subjectResource; var currVal_2 = _co.request.SubjectDay; var currVal_3 = _co.endOf(_co.request.SubjectDay); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_ExchangeDayDetailComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\":\"]))], null, null); }\nfunction View_ExchangeDayDetailComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-notifications-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i1.View_NotificationsRelationComponent_0, i1.RenderType_NotificationsRelationComponent)), i0.ɵdid(1, 245760, [[4, 4], [\"targetDayFormObject\", 4]], 0, i2.NotificationsRelationComponent, [i3.UserService, i4.DomainService, i5.DialogService, i6.AlertsService, i7.TranslateService, i8.Router, i9.OverlayService, i10.LocalStorageService, i8.ActivatedRoute, i11.EventsService, i12.ActionService], { configuration: [0, \"configuration\"], master: [1, \"master\"], start: [2, \"start\"], finish: [3, \"finish\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.targetForm.configuration; var currVal_1 = _co.targetResource; var currVal_2 = _co.request.TargetDay; var currVal_3 = _co.endOf(_co.request.TargetDay); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_ExchangeDayDetailComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, [\"\", \" \", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_6)), i0.ɵdid(6, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_7)), i0.ɵdid(8, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.showDetails; _ck(_v, 6, 0, currVal_2); var currVal_3 = ((_co.targetForm && _co.targetResource) && _co.showDetails); _ck(_v, 8, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(_co.getLabel(\"target\"))); var currVal_1 = _co.displayDate(_co.request.TargetDay); _ck(_v, 3, 0, currVal_0, currVal_1); }); }\nfunction View_ExchangeDayDetailComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 20, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 19, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 18, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.acceptRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.declineRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 4, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.CORE.CANCEL\")); _ck(_v, 8, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.ACCEPT\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 10, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.ACCEPT\")); _ck(_v, 14, 0, currVal_4); var currVal_5 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.DECLINE\")), \"\"); var currVal_6 = !_co.canSave(); _ck(_v, 16, 0, currVal_5, currVal_6); var currVal_7 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.DECLINE\")); _ck(_v, 20, 0, currVal_7); }); }\nfunction View_ExchangeDayDetailComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.withdrawRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-withdraw\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(13, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 7, 0, i0.ɵnov(_v, 8).transform(\"APP.CORE.CANCEL\")); _ck(_v, 7, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 9, 0, i0.ɵnov(_v, 10).transform(\"APP.NOTIFICATIONS.WITHDRAW\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 9, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"APP.NOTIFICATIONS.WITHDRAW\")); _ck(_v, 13, 0, currVal_4); }); }\nfunction View_ExchangeDayDetailComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-comments\", [], null, null, null, i14.View_CommentsComponent_0, i14.RenderType_CommentsComponent)), i0.ɵdid(1, 245760, null, 0, i15.CommentsComponent, [i3.UserService, i6.AlertsService, i16.CommentService, i8.ActivatedRoute], { entityKey: [0, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityKey; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ExchangeDayDetailComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-files\", [], null, null, null, i17.View_FilesComponent_0, i17.RenderType_FilesComponent)), i0.ɵdid(1, 114688, null, 0, i18.FilesComponent, [i6.AlertsService, i9.OverlayService, i19.ResourceService, i20.FilesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_ExchangeDayDetailComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"mt-4\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_11)), i0.ɵdid(2, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_12)), i0.ɵdid(4, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.hasComments; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasFiles; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_ExchangeDayDetailComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 53, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 46, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i21.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(3, 540672, null, 0, i21.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i21.ControlContainer, null, [i21.FormGroupDirective]), i0.ɵdid(5, 16384, null, 0, i21.NgControlStatusGroup, [[4, i21.ControlContainer]], null, null), (_l()(), i0.ɵeld(6, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(10, 278528, null, 0, i13.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(11, null, [\" \", \" \"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_2)), i0.ɵdid(15, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm \"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i22.View_InstructionComponent_0, i22.RenderType_InstructionComponent)), i0.ɵdid(19, 180224, [[\"instruction\", 4]], 0, i23.InstructionComponent, [i24.HttpClient, i25.ConfigurationsService, i7.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\"\", \"\"])), (_l()(), i0.ɵeld(22, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(24, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵted(27, null, [\"\", \" \", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_3)), i0.ɵdid(30, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_4)), i0.ɵdid(32, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(33, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 2, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵted(35, null, [\"\", \":\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(37, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(39, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_5)), i0.ɵdid(41, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(42, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(43, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(44, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(45, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(46, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(47, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_8)), i0.ɵdid(49, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_9)), i0.ɵdid(51, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_10)), i0.ɵdid(53, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 3, 0, currVal_7); var currVal_8 = \"icon\"; var currVal_9 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 10, 0, currVal_8, currVal_9); var currVal_11 = _co.configuration.instruction; _ck(_v, 15, 0, currVal_11); var currVal_12 = _co.configuration.instruction; _ck(_v, 19, 0, currVal_12); var currVal_14 = _co.noteField; var currVal_15 = _co.noteControl; var currVal_16 = _co.request; _ck(_v, 24, 0, currVal_14, currVal_15, currVal_16); var currVal_19 = _co.showDetails; _ck(_v, 30, 0, currVal_19); var currVal_20 = (_co.subjectResource && _co.showDetails); _ck(_v, 32, 0, currVal_20); var currVal_22 = _co.resourceField; var currVal_23 = _co.resourceControl; var currVal_24 = _co.resource; _ck(_v, 39, 0, currVal_22, currVal_23, currVal_24); var currVal_25 = _co.request.TargetDay; _ck(_v, 41, 0, currVal_25); var currVal_26 = _co.statusField; var currVal_27 = _co.statusControl; var currVal_28 = _co.request; _ck(_v, 43, 0, currVal_26, currVal_27, currVal_28); var currVal_29 = _co.expirationField; var currVal_30 = _co.expireControl; var currVal_31 = _co.request; _ck(_v, 45, 0, currVal_29, currVal_30, currVal_31); var currVal_32 = _co.readByField; var currVal_33 = _co.readByControl; var currVal_34 = _co.readBy; _ck(_v, 47, 0, currVal_32, currVal_33, currVal_34); var currVal_35 = (!_co.isOutbox && !_co.isReadOnly); _ck(_v, 49, 0, currVal_35); var currVal_36 = (_co.isOutbox && !_co.isReadOnly); _ck(_v, 51, 0, currVal_36); var currVal_37 = (_co.hasComments || _co.hasFiles); _ck(_v, 53, 0, currVal_37); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 5).ngClassValid; var currVal_5 = i0.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = i0.ɵunv(_v, 11, 0, i0.ɵnov(_v, 12).transform(_co.configuration.labelKey)); _ck(_v, 11, 0, currVal_10); var currVal_13 = _co.configuration.key; _ck(_v, 21, 0, currVal_13); var currVal_17 = i0.ɵunv(_v, 27, 0, i0.ɵnov(_v, 28).transform(_co.getLabel(\"subject\"))); var currVal_18 = _co.displayDate(_co.request.SubjectDay); _ck(_v, 27, 0, currVal_17, currVal_18); var currVal_21 = i0.ɵunv(_v, 35, 0, i0.ɵnov(_v, 36).transform(_co.getLabel(\"resource\"))); _ck(_v, 35, 0, currVal_21); }); }\nexport function View_ExchangeDayDetailComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { subjectFormObject: 0 }), i0.ɵqud(402653184, 2, { targetFormObject: 0 }), i0.ɵqud(671088640, 3, { subjectDayFormObject: 0 }), i0.ɵqud(671088640, 4, { targetDayFormObject: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDayDetailComponent_1)), i0.ɵdid(5, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.subjectForm && _co.request); _ck(_v, 5, 0, currVal_0); }, null); }\nexport function View_ExchangeDayDetailComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-exchange-day-detail\", [], null, null, null, View_ExchangeDayDetailComponent_0, RenderType_ExchangeDayDetailComponent)), i0.ɵdid(1, 245760, null, 0, i28.ExchangeDayDetailComponent, [i3.UserService, i8.Router, i8.ActivatedRoute, i29.NotificationsService, i5.DialogService, i6.AlertsService, i7.TranslateService, i4.DomainService, i30.SettingsService, i31.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ExchangeDayDetailComponentNgFactory = i0.ɵccf(\"sym-exchange-day-detail\", i28.ExchangeDayDetailComponent, View_ExchangeDayDetailComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { ExchangeDayDetailComponentNgFactory as ExchangeDayDetailComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The ExchangeDetailComponent is used as detail view for the inbox and outbox to display exchange requests.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../domain/form/form.component.ngfactory\";\nimport * as i2 from \"../../domain/form/form.component\";\nimport * as i3 from \"../../user.service\";\nimport * as i4 from \"../../domain.service\";\nimport * as i5 from \"@angular/router\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"../../core/alerts.service\";\nimport * as i8 from \"../../settings.service\";\nimport * as i9 from \"../../resource.service\";\nimport * as i10 from \"../../social/comments/comments.component.ngfactory\";\nimport * as i11 from \"../../social/comments/comments.component\";\nimport * as i12 from \"../../social/comment.service\";\nimport * as i13 from \"../../social/files/files.component.ngfactory\";\nimport * as i14 from \"../../social/files/files.component\";\nimport * as i15 from \"../../core/overlay.service\";\nimport * as i16 from \"../../base/files.service\";\nimport * as i17 from \"@angular/common\";\nimport * as i18 from \"@angular/forms\";\nimport * as i19 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i20 from \"../../base/instruction/instruction.component\";\nimport * as i21 from \"@angular/common/http\";\nimport * as i22 from \"../../configurations.service\";\nimport * as i23 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i24 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i25 from \"./exchange-detail.component\";\nimport * as i26 from \"../notifications.service\";\nimport * as i27 from \"../../core/dialog.service\";\nvar styles_ExchangeDetailComponent = [];\nvar RenderType_ExchangeDetailComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ExchangeDetailComponent, data: {} });\nexport { RenderType_ExchangeDetailComponent as RenderType_ExchangeDetailComponent };\nfunction View_ExchangeDetailComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 19).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ExchangeDetailComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-form\", [], null, null, null, i1.View_FormComponent_0, i1.RenderType_FormComponent)), i0.ɵdid(1, 245760, [[2, 4], [\"targetFormObject\", 4]], 0, i2.FormComponent, [i3.UserService, i4.DomainService, i5.ActivatedRoute, i5.Router, i6.TranslateService, i7.AlertsService, i8.SettingsService, i9.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], useCache: [2, \"useCache\"], labelKey: [3, \"labelKey\"], entityKey: [4, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.targetForm.configuration; var currVal_1 = false; var currVal_2 = true; var currVal_3 = _co.targetLabelKey; var currVal_4 = _co.targetOid; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }, null); }\nfunction View_ExchangeDetailComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 20, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 19, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 18, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.acceptRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.declineRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 4, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.CORE.CANCEL\")); _ck(_v, 8, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.ACCEPT\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 10, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.ACCEPT\")); _ck(_v, 14, 0, currVal_4); var currVal_5 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.DECLINE\")), \"\"); var currVal_6 = !_co.canSave(); _ck(_v, 16, 0, currVal_5, currVal_6); var currVal_7 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.DECLINE\")); _ck(_v, 20, 0, currVal_7); }); }\nfunction View_ExchangeDetailComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.withdrawRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-withdraw\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(13, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 7, 0, i0.ɵnov(_v, 8).transform(\"APP.CORE.CANCEL\")); _ck(_v, 7, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 9, 0, i0.ɵnov(_v, 10).transform(\"APP.NOTIFICATIONS.WITHDRAW\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 9, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"APP.NOTIFICATIONS.WITHDRAW\")); _ck(_v, 13, 0, currVal_4); }); }\nfunction View_ExchangeDetailComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-comments\", [], null, null, null, i10.View_CommentsComponent_0, i10.RenderType_CommentsComponent)), i0.ɵdid(1, 245760, null, 0, i11.CommentsComponent, [i3.UserService, i7.AlertsService, i12.CommentService, i5.ActivatedRoute], { entityKey: [0, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityKey; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ExchangeDetailComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-files\", [], null, null, null, i13.View_FilesComponent_0, i13.RenderType_FilesComponent)), i0.ɵdid(1, 114688, null, 0, i14.FilesComponent, [i7.AlertsService, i15.OverlayService, i9.ResourceService, i16.FilesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_ExchangeDetailComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"mt-4\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_7)), i0.ɵdid(2, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_8)), i0.ɵdid(4, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.hasComments; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasFiles; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_ExchangeDetailComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 40, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 33, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i18.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(3, 540672, null, 0, i18.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i18.ControlContainer, null, [i18.FormGroupDirective]), i0.ɵdid(5, 16384, null, 0, i18.NgControlStatusGroup, [[4, i18.ControlContainer]], null, null), (_l()(), i0.ɵeld(6, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(10, 278528, null, 0, i17.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(11, null, [\" \", \" \"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_2)), i0.ɵdid(15, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm \"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i19.View_InstructionComponent_0, i19.RenderType_InstructionComponent)), i0.ɵdid(19, 180224, [[\"instruction\", 4]], 0, i20.InstructionComponent, [i21.HttpClient, i22.ConfigurationsService, i6.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\"\", \"\"])), (_l()(), i0.ɵeld(22, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(24, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 1, \"sym-form\", [], null, null, null, i1.View_FormComponent_0, i1.RenderType_FormComponent)), i0.ɵdid(26, 245760, [[1, 4], [\"subjectFormObject\", 4]], 0, i2.FormComponent, [i3.UserService, i4.DomainService, i5.ActivatedRoute, i5.Router, i6.TranslateService, i7.AlertsService, i8.SettingsService, i9.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], useCache: [2, \"useCache\"], entityKey: [3, \"entityKey\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_3)), i0.ɵdid(28, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(29, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(30, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(31, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(32, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(33, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(34, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_4)), i0.ɵdid(36, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_5)), i0.ɵdid(38, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_6)), i0.ɵdid(40, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 3, 0, currVal_7); var currVal_8 = \"icon\"; var currVal_9 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 10, 0, currVal_8, currVal_9); var currVal_11 = _co.configuration.instruction; _ck(_v, 15, 0, currVal_11); var currVal_12 = _co.configuration.instruction; _ck(_v, 19, 0, currVal_12); var currVal_14 = _co.noteField; var currVal_15 = _co.noteControl; var currVal_16 = _co.request; _ck(_v, 24, 0, currVal_14, currVal_15, currVal_16); var currVal_17 = _co.subjectForm.configuration; var currVal_18 = false; var currVal_19 = false; var currVal_20 = _co.subjectOid; _ck(_v, 26, 0, currVal_17, currVal_18, currVal_19, currVal_20); var currVal_21 = _co.targetForm; _ck(_v, 28, 0, currVal_21); var currVal_22 = _co.statusField; var currVal_23 = _co.statusControl; var currVal_24 = _co.request; _ck(_v, 30, 0, currVal_22, currVal_23, currVal_24); var currVal_25 = _co.expirationField; var currVal_26 = _co.expireControl; var currVal_27 = _co.request; _ck(_v, 32, 0, currVal_25, currVal_26, currVal_27); var currVal_28 = _co.readByField; var currVal_29 = _co.readByControl; var currVal_30 = _co.readBy; _ck(_v, 34, 0, currVal_28, currVal_29, currVal_30); var currVal_31 = (!_co.isOutbox && !_co.isReadOnly); _ck(_v, 36, 0, currVal_31); var currVal_32 = (_co.isOutbox && !_co.isReadOnly); _ck(_v, 38, 0, currVal_32); var currVal_33 = (_co.hasComments || _co.hasFiles); _ck(_v, 40, 0, currVal_33); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 5).ngClassValid; var currVal_5 = i0.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = i0.ɵunv(_v, 11, 0, i0.ɵnov(_v, 12).transform(_co.configuration.labelKey)); _ck(_v, 11, 0, currVal_10); var currVal_13 = _co.configuration.key; _ck(_v, 21, 0, currVal_13); }); }\nexport function View_ExchangeDetailComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { subjectFormObject: 0 }), i0.ɵqud(671088640, 2, { targetFormObject: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ExchangeDetailComponent_1)), i0.ɵdid(3, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.subjectForm && _co.request); _ck(_v, 3, 0, currVal_0); }, null); }\nexport function View_ExchangeDetailComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-exchange-detail\", [], null, null, null, View_ExchangeDetailComponent_0, RenderType_ExchangeDetailComponent)), i0.ɵdid(1, 245760, null, 0, i25.ExchangeDetailComponent, [i3.UserService, i5.Router, i5.ActivatedRoute, i26.NotificationsService, i27.DialogService, i7.AlertsService, i8.SettingsService, i6.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ExchangeDetailComponentNgFactory = i0.ɵccf(\"sym-exchange-detail\", i25.ExchangeDetailComponent, View_ExchangeDetailComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { ExchangeDetailComponentNgFactory as ExchangeDetailComponentNgFactory };\n","/**\n * @file The ReassignFormComponent is used to create a reassign request.\n * The form is activated with an action button and displayed in the overlay.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { NotificationsService } from '../notifications.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { RequestTypes } from '../request-types';\nimport { RequestStatus } from '../request-status';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nimport { TranslateService } from '@ngx-translate/core';\n/**\n * The ReassignFormComponent is used to create a reassign request.\n * The form is activated with an action button and displayed in the overlay.\n * @export\n * @class ReassignFormComponent\n * @implements {OnInit}\n */\nvar ReassignFormComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ReassignFormComponent, _super);\n /**\n * Creates an instance of ReassignFormComponent.\n * @param {NotificationsService} notificationsService To communicate with the backend.\n * @param {AlertsService} alertsService To show feedback messages to the user.\n * @param {OverlayService} overlayService The service that manage the overlay of the application.\n * @param {OverlayProvider} overlayProvider To provide the needed create parameters.\n */\n function ReassignFormComponent(notificationsService, alertsService, overlayService, overlayProvider, backendSettingsService, translateService) {\n var _this = _super.call(this) || this;\n _this.notificationsService = notificationsService;\n _this.alertsService = alertsService;\n _this.overlayService = overlayService;\n _this.backendSettingsService = backendSettingsService;\n _this.translateService = translateService;\n _this.subjectTask = overlayProvider.entity;\n if (!_this.subjectTask) {\n throw Error('Reassign task missing in ReassignFormComponent.');\n }\n if (_this.subjectTask.entityType.shortName === 'PlanItem') {\n _this.subjectTask = _this.subjectTask['Item'];\n }\n _this.formConfiguration = overlayProvider.configuration;\n var data = _this.formConfiguration.data;\n if (data) {\n var resourceField = data.fields.find(function (f) { return f.name === 'Resource'; });\n if (resourceField) {\n var format = resourceField.format;\n if (format) {\n if (format.dataSource === 'ResourcesForWork') {\n format.parameters = {\n work: _this.entityOid\n };\n }\n }\n }\n }\n return _this;\n }\n Object.defineProperty(ReassignFormComponent.prototype, \"requestId\", {\n /**\n * Gets the Id of the current request.\n * @readonly\n * @type {number}\n */\n get: function () {\n if (!this.request) {\n return -1;\n }\n // Breeze.js find het niet leuk als je Id defined.\n // Maar ik heb hem nodig in template en dat find AOT weer niet leuk :(\n return this.request['Id'];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ReassignFormComponent.prototype, \"entityOid\", {\n get: function () {\n return this.subjectTask['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Lifecycle hook that is called after data-bound properties are initialized.\n * The reassign request is created and its properties are initialized.\n */\n ReassignFormComponent.prototype.ngOnInit = function () {\n this.request = this.notificationsService.getEntityType('Request').createEntity();\n if (this.subjectTask.entityType.shortName === 'Assignment') {\n this.request.Type = RequestTypes.ReassignAssignment;\n }\n else if (this.subjectTask.entityType.shortName === 'Attendant') {\n this.request.Type = RequestTypes.ReassignAttendant;\n }\n else {\n this.alertsService.createAlert('danger', 'Unknown subject type: ' + this.subjectTask.entityType.shortName);\n }\n this.request.Status = RequestStatus.Request;\n this.request.Title = this.translateService.instant('APP.NOTIFICATIONS.TYPE_REASSIGN') + \" \" + this.subjectTask['Name'];\n this.request.SubjectOid = this.subjectTask['Oid'];\n this.request.SenderOid = this.subjectTask['Resource_Oid'];\n this.notificationsService.addEntity(this.request);\n };\n /**\n * Returns a value indicating whether the request is ready to be saved.\n */\n ReassignFormComponent.prototype.canSave = function () {\n return this.request && this.request.ReceiverOid;\n };\n /**\n * Cancels the request and closes the overlay.\n */\n ReassignFormComponent.prototype.cancelItem = function () {\n this.request.entityAspect.rejectChanges();\n this.overlayService.closeOverlay();\n };\n /**\n * Saves the new created reassign request when valid.\n * @param {any} event The click event that triggered the method.\n * @returns void\n */\n ReassignFormComponent.prototype.saveItem = function (event) {\n var _this = this;\n // These are extra checks, because the send button ought to be disabled already.\n if (!this.request.ReceiverOid) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.PICK_RECEIVER');\n return;\n }\n if (!this.subjectTask) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.EXCHANGE_PICK_TASK');\n return;\n }\n if (!this.backendSettingsService.isOnTime(this.subjectTask)) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.TOO_LATE');\n return;\n }\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.notificationsService.symptomManagementIssue1319();\n this.notificationsService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished.\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not.\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.REQUEST_UNSUCCESSFULLY_SENT');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.NOTIFICATIONS.REQUEST_SUCCESSFULLY_SENT');\n _this.overlayService.closeOverlay();\n }\n });\n };\n return ReassignFormComponent;\n}(AbstractBase));\nexport { ReassignFormComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The ReassignFormComponent is used to create a reassign request.\n * The form is activated with an action button and displayed in the overlay.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../notifications-form/notifications-form.component.ngfactory\";\nimport * as i2 from \"../notifications-form/notifications-form.component\";\nimport * as i3 from \"../notifications.service\";\nimport * as i4 from \"@angular/router\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../request-summary/request-summary.component.ngfactory\";\nimport * as i8 from \"../request-summary/request-summary.component\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../core/localisation.service\";\nimport * as i12 from \"./reassign-form.component\";\nimport * as i13 from \"../../core/overlay.service\";\nimport * as i14 from \"../../ui/overlay-provider\";\nimport * as i15 from \"../../backend-settings.service\";\nvar styles_ReassignFormComponent = [];\nvar RenderType_ReassignFormComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ReassignFormComponent, data: {} });\nexport { RenderType_ReassignFormComponent as RenderType_ReassignFormComponent };\nexport function View_ReassignFormComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 24, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-notifications-form\", [], null, null, null, i1.View_NotificationsFormComponent_0, i1.RenderType_NotificationsFormComponent)), i0.ɵdid(2, 245760, null, 0, i2.NotificationsFormComponent, [i3.NotificationsService, i4.ActivatedRoute, i4.Router, i5.AlertsService, i6.ResourceService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], item: [2, \"item\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"sym-request-summary\", [], null, null, null, i7.View_RequestSummaryComponent_0, i7.RenderType_RequestSummaryComponent)), i0.ɵdid(5, 180224, null, 0, i8.RequestSummaryComponent, [i9.DomainService, i10.TranslateService, i6.ResourceService, i11.LocalisationService], { request: [0, \"request\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 17, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 16, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-send\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(22, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(23, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.formConfiguration; var currVal_1 = true; var currVal_2 = _co.request; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = _co.request; _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")), \"\"); var currVal_5 = !_co.canSave(); _ck(_v, 10, 0, currVal_4, currVal_5); var currVal_6 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")); _ck(_v, 14, 0, currVal_6); var currVal_7 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")), \"\"); _ck(_v, 16, 0, currVal_7); var currVal_8 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")); _ck(_v, 20, 0, currVal_8); var currVal_9 = i0.ɵunv(_v, 23, 0, i0.ɵnov(_v, 24).transform(\"APP.NOTIFICATIONS.EXCHANGE_DESCRIPTION\")); _ck(_v, 23, 0, currVal_9); }); }\nexport function View_ReassignFormComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-reassign-form\", [], null, null, null, View_ReassignFormComponent_0, RenderType_ReassignFormComponent)), i0.ɵdid(1, 245760, null, 0, i12.ReassignFormComponent, [i3.NotificationsService, i5.AlertsService, i13.OverlayService, i14.OverlayProvider, i15.BackendSettingsService, i10.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ReassignFormComponentNgFactory = i0.ɵccf(\"sym-reassign-form\", i12.ReassignFormComponent, View_ReassignFormComponent_Host_0, {}, {}, []);\nexport { ReassignFormComponentNgFactory as ReassignFormComponentNgFactory };\n","/**\n * @file The reassign day component allows users to propose reassignment of entire days to a colleague.\n * @author Maarten Lensink\n */\nimport { OnInit } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { ResourceService } from '../../resource.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { NotificationsService } from '../notifications.service';\nimport { RequestTypes } from '../request-types';\nimport { RequestStatus } from '../request-status';\n/**\n * The component allows the user to suggest re-assignment of a day's work.\n * @export\n * @class ReassignDayComponent\n * @implements {OnInit}\n */\nvar ReassignDayComponent = /** @class */ (function () {\n /**\n * Creates an instance of ReassignDayComponent.\n * @param {NotificationsService} notificationsService\n * @param {AlertsService} alertsService\n * @memberOf ReassignDayComponent\n */\n function ReassignDayComponent(notificationsService, alertsService, overlayService, overlayProvider, resourceService, translateService, backendSettingsService, localisationService) {\n this.notificationsService = notificationsService;\n this.alertsService = alertsService;\n this.overlayService = overlayService;\n this.overlayProvider = overlayProvider;\n this.resourceService = resourceService;\n this.translateService = translateService;\n this.backendSettingsService = backendSettingsService;\n this.localisationService = localisationService;\n this.formConfiguration = overlayProvider.configuration;\n }\n Object.defineProperty(ReassignDayComponent.prototype, \"requestId\", {\n /**\n * Gets the Id of the current request.\n * Breeze.js does not allow an Id to be defined.\n * AOT does not allow it in the template.\n * @readonly\n * @type {number}\n * @memberOf ReassignDayComponent\n */\n get: function () {\n if (!this.request) {\n return -1;\n }\n return this.request['Id'];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets up the request.\n * @memberOf ReassignDayComponent\n */\n ReassignDayComponent.prototype.ngOnInit = function () {\n this.request = this.notificationsService.getEntityType('Request').createEntity();\n this.request.SubjectDay = moment(this.overlayProvider.entity['Start']).startOf('day').toDate();\n this.request.Type = RequestTypes.ReassignDay;\n this.request.Status = RequestStatus.Request;\n var dateString = moment(this.request.SubjectDay).format(this.localisationService.date.format);\n this.request.Title = this.translateService.instant('APP.NOTIFICATIONS.TYPE_REASSIGN') + \" \" + dateString;\n this.request.SenderOid = this.resourceService.getResourceOid();\n this.notificationsService.addEntity(this.request);\n };\n /**\n * Returns a value indicating whether the request is ready to be saved.\n * @memberOf ReassignDayComponent\n */\n ReassignDayComponent.prototype.canSave = function () {\n return this.request && this.request.ReceiverOid;\n };\n /**\n * Cancels the request and closes the overlay.\n * @memberOf ReassignDayComponent\n */\n ReassignDayComponent.prototype.cancelItem = function () {\n this.request.entityAspect.rejectChanges();\n this.overlayService.closeOverlay();\n };\n /**\n * Saves the new created reassign request when valid.\n * @param {any} event The click event that triggered the method.\n * @memberOf ReassignDayComponent\n */\n ReassignDayComponent.prototype.saveItem = function (event) {\n var _this = this;\n // These are extra checks, because the send button ought to be disabled already.\n if (!this.request.ReceiverOid) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.PICK_RECEIVER');\n return;\n }\n if (!this.backendSettingsService.isDayOnTime(moment(this.request.SubjectDay))) {\n this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.TOO_LATE');\n return;\n }\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.notificationsService.symptomManagementIssue1319();\n this.notificationsService.saveChanges(function (error) {\n // Remove sym-working to show that action is finished.\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not.\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.NOTIFICATIONS.REQUEST_UNSUCCESSFULLY_SENT');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.NOTIFICATIONS.REQUEST_SUCCESSFULLY_SENT');\n _this.overlayService.closeOverlay();\n }\n });\n };\n return ReassignDayComponent;\n}());\nexport { ReassignDayComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../notifications-form/notifications-form.component.ngfactory\";\nimport * as i2 from \"../notifications-form/notifications-form.component\";\nimport * as i3 from \"../notifications.service\";\nimport * as i4 from \"@angular/router\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"../../resource.service\";\nimport * as i7 from \"../request-summary/request-summary.component.ngfactory\";\nimport * as i8 from \"../request-summary/request-summary.component\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../core/localisation.service\";\nimport * as i12 from \"./reassign-day.component\";\nimport * as i13 from \"../../core/overlay.service\";\nimport * as i14 from \"../../ui/overlay-provider\";\nimport * as i15 from \"../../backend-settings.service\";\nvar styles_ReassignDayComponent = [];\nvar RenderType_ReassignDayComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ReassignDayComponent, data: {} });\nexport { RenderType_ReassignDayComponent as RenderType_ReassignDayComponent };\nexport function View_ReassignDayComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 24, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"sym-notifications-form\", [], null, null, null, i1.View_NotificationsFormComponent_0, i1.RenderType_NotificationsFormComponent)), i0.ɵdid(2, 245760, null, 0, i2.NotificationsFormComponent, [i3.NotificationsService, i4.ActivatedRoute, i4.Router, i5.AlertsService, i6.ResourceService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], item: [2, \"item\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"sym-request-summary\", [], null, null, null, i7.View_RequestSummaryComponent_0, i7.RenderType_RequestSummaryComponent)), i0.ɵdid(5, 180224, null, 0, i8.RequestSummaryComponent, [i9.DomainService, i10.TranslateService, i6.ResourceService, i11.LocalisationService], { request: [0, \"request\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 17, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 16, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-send\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(22, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(23, null, [\"\", \"\"])), i0.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.formConfiguration; var currVal_1 = true; var currVal_2 = _co.request; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = _co.request; _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")), \"\"); var currVal_5 = !_co.canSave(); _ck(_v, 10, 0, currVal_4, currVal_5); var currVal_6 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.EXCHANGE_SEND\")); _ck(_v, 14, 0, currVal_6); var currVal_7 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")), \"\"); _ck(_v, 16, 0, currVal_7); var currVal_8 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.EXCHANGE_CANCEL\")); _ck(_v, 20, 0, currVal_8); var currVal_9 = i0.ɵunv(_v, 23, 0, i0.ɵnov(_v, 24).transform(\"APP.NOTIFICATIONS.EXCHANGE_DESCRIPTION\")); _ck(_v, 23, 0, currVal_9); }); }\nexport function View_ReassignDayComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-reassign-day\", [], null, null, null, View_ReassignDayComponent_0, RenderType_ReassignDayComponent)), i0.ɵdid(1, 114688, null, 0, i12.ReassignDayComponent, [i3.NotificationsService, i5.AlertsService, i13.OverlayService, i14.OverlayProvider, i6.ResourceService, i10.TranslateService, i15.BackendSettingsService, i11.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ReassignDayComponentNgFactory = i0.ɵccf(\"sym-reassign-day\", i12.ReassignDayComponent, View_ReassignDayComponent_Host_0, {}, {}, []);\nexport { ReassignDayComponentNgFactory as ReassignDayComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { ExchangeDayDetailComponent } from '../exchange-day-detail/exchange-day-detail.component';\nvar ReassignDayDetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ReassignDayDetailComponent, _super);\n function ReassignDayDetailComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return ReassignDayDetailComponent;\n}(ExchangeDayDetailComponent));\nexport { ReassignDayDetailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../notifications-relation/notifications-relation.component.ngfactory\";\nimport * as i2 from \"../notifications-relation/notifications-relation.component\";\nimport * as i3 from \"../../user.service\";\nimport * as i4 from \"../../domain.service\";\nimport * as i5 from \"../../core/dialog.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"@ngx-translate/core\";\nimport * as i8 from \"@angular/router\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"../../core/local-storage.service\";\nimport * as i11 from \"../../core/event.service\";\nimport * as i12 from \"../../core/action.service\";\nimport * as i13 from \"@angular/common\";\nimport * as i14 from \"../../social/comments/comments.component.ngfactory\";\nimport * as i15 from \"../../social/comments/comments.component\";\nimport * as i16 from \"../../social/comment.service\";\nimport * as i17 from \"../../social/files/files.component.ngfactory\";\nimport * as i18 from \"../../social/files/files.component\";\nimport * as i19 from \"../../resource.service\";\nimport * as i20 from \"../../base/files.service\";\nimport * as i21 from \"@angular/forms\";\nimport * as i22 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i23 from \"../../base/instruction/instruction.component\";\nimport * as i24 from \"@angular/common/http\";\nimport * as i25 from \"../../configurations.service\";\nimport * as i26 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i27 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i28 from \"./reassign-day-detail.component\";\nimport * as i29 from \"../notifications.service\";\nimport * as i30 from \"../../settings.service\";\nimport * as i31 from \"../../core/localisation.service\";\nvar styles_ReassignDayDetailComponent = [];\nvar RenderType_ReassignDayDetailComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ReassignDayDetailComponent, data: {} });\nexport { RenderType_ReassignDayDetailComponent as RenderType_ReassignDayDetailComponent };\nfunction View_ReassignDayDetailComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 19).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ReassignDayDetailComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\":\"]))], null, null); }\nfunction View_ReassignDayDetailComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-notifications-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i1.View_NotificationsRelationComponent_0, i1.RenderType_NotificationsRelationComponent)), i0.ɵdid(1, 245760, [[3, 4], [\"subjectDayFormObject\", 4]], 0, i2.NotificationsRelationComponent, [i3.UserService, i4.DomainService, i5.DialogService, i6.AlertsService, i7.TranslateService, i8.Router, i9.OverlayService, i10.LocalStorageService, i8.ActivatedRoute, i11.EventsService, i12.ActionService], { configuration: [0, \"configuration\"], master: [1, \"master\"], start: [2, \"start\"], finish: [3, \"finish\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subjectForm.configuration; var currVal_1 = _co.subjectResource; var currVal_2 = _co.request.SubjectDay; var currVal_3 = _co.endOf(_co.request.SubjectDay); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_ReassignDayDetailComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\":\"]))], null, null); }\nfunction View_ReassignDayDetailComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-notifications-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i1.View_NotificationsRelationComponent_0, i1.RenderType_NotificationsRelationComponent)), i0.ɵdid(1, 245760, [[4, 4], [\"targetDayFormObject\", 4]], 0, i2.NotificationsRelationComponent, [i3.UserService, i4.DomainService, i5.DialogService, i6.AlertsService, i7.TranslateService, i8.Router, i9.OverlayService, i10.LocalStorageService, i8.ActivatedRoute, i11.EventsService, i12.ActionService], { configuration: [0, \"configuration\"], master: [1, \"master\"], start: [2, \"start\"], finish: [3, \"finish\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.targetForm.configuration; var currVal_1 = _co.targetResource; var currVal_2 = _co.request.TargetDay; var currVal_3 = _co.endOf(_co.request.TargetDay); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_ReassignDayDetailComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, [\"\", \" \", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_6)), i0.ɵdid(6, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_7)), i0.ɵdid(8, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.showDetails; _ck(_v, 6, 0, currVal_2); var currVal_3 = ((_co.targetForm && _co.targetResource) && _co.showDetails); _ck(_v, 8, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(_co.getLabel(\"target\"))); var currVal_1 = _co.displayDate(_co.request.TargetDay); _ck(_v, 3, 0, currVal_0, currVal_1); }); }\nfunction View_ReassignDayDetailComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 20, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 19, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 18, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.acceptRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.declineRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 4, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.CORE.CANCEL\")); _ck(_v, 8, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.ACCEPT\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 10, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.ACCEPT\")); _ck(_v, 14, 0, currVal_4); var currVal_5 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.DECLINE\")), \"\"); var currVal_6 = !_co.canSave(); _ck(_v, 16, 0, currVal_5, currVal_6); var currVal_7 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.DECLINE\")); _ck(_v, 20, 0, currVal_7); }); }\nfunction View_ReassignDayDetailComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.withdrawRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-withdraw\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(13, null, [\"\", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 7, 0, i0.ɵnov(_v, 8).transform(\"APP.CORE.CANCEL\")); _ck(_v, 7, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 9, 0, i0.ɵnov(_v, 10).transform(\"APP.NOTIFICATIONS.WITHDRAW\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 9, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"APP.NOTIFICATIONS.WITHDRAW\")); _ck(_v, 13, 0, currVal_4); }); }\nfunction View_ReassignDayDetailComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-comments\", [], null, null, null, i14.View_CommentsComponent_0, i14.RenderType_CommentsComponent)), i0.ɵdid(1, 245760, null, 0, i15.CommentsComponent, [i3.UserService, i6.AlertsService, i16.CommentService, i8.ActivatedRoute], { entityKey: [0, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityKey; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ReassignDayDetailComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-files\", [], null, null, null, i17.View_FilesComponent_0, i17.RenderType_FilesComponent)), i0.ɵdid(1, 114688, null, 0, i18.FilesComponent, [i6.AlertsService, i9.OverlayService, i19.ResourceService, i20.FilesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_ReassignDayDetailComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"mt-4\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_11)), i0.ɵdid(2, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_12)), i0.ɵdid(4, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.hasComments; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasFiles; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_ReassignDayDetailComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 53, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 46, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i21.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(3, 540672, null, 0, i21.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i21.ControlContainer, null, [i21.FormGroupDirective]), i0.ɵdid(5, 16384, null, 0, i21.NgControlStatusGroup, [[4, i21.ControlContainer]], null, null), (_l()(), i0.ɵeld(6, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(10, 278528, null, 0, i13.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(11, null, [\" \", \" \"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_2)), i0.ɵdid(15, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm \"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i22.View_InstructionComponent_0, i22.RenderType_InstructionComponent)), i0.ɵdid(19, 180224, [[\"instruction\", 4]], 0, i23.InstructionComponent, [i24.HttpClient, i25.ConfigurationsService, i7.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\"\", \"\"])), (_l()(), i0.ɵeld(22, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(24, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵted(27, null, [\"\", \" \", \"\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_3)), i0.ɵdid(30, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_4)), i0.ɵdid(32, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(33, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 2, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵted(35, null, [\"\", \":\"])), i0.ɵpid(131072, i7.TranslatePipe, [i7.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(37, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(39, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_5)), i0.ɵdid(41, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(42, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(43, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(44, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(45, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(46, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i26.View_FieldsetContainerComponent_0, i26.RenderType_FieldsetContainerComponent)), i0.ɵdid(47, 49152, null, 0, i27.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_8)), i0.ɵdid(49, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_9)), i0.ɵdid(51, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_10)), i0.ɵdid(53, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 3, 0, currVal_7); var currVal_8 = \"icon\"; var currVal_9 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 10, 0, currVal_8, currVal_9); var currVal_11 = _co.configuration.instruction; _ck(_v, 15, 0, currVal_11); var currVal_12 = _co.configuration.instruction; _ck(_v, 19, 0, currVal_12); var currVal_14 = _co.noteField; var currVal_15 = _co.noteControl; var currVal_16 = _co.request; _ck(_v, 24, 0, currVal_14, currVal_15, currVal_16); var currVal_19 = _co.showDetails; _ck(_v, 30, 0, currVal_19); var currVal_20 = (_co.subjectResource && _co.showDetails); _ck(_v, 32, 0, currVal_20); var currVal_22 = _co.resourceField; var currVal_23 = _co.resourceControl; var currVal_24 = _co.resource; _ck(_v, 39, 0, currVal_22, currVal_23, currVal_24); var currVal_25 = _co.request.TargetDay; _ck(_v, 41, 0, currVal_25); var currVal_26 = _co.statusField; var currVal_27 = _co.statusControl; var currVal_28 = _co.request; _ck(_v, 43, 0, currVal_26, currVal_27, currVal_28); var currVal_29 = _co.expirationField; var currVal_30 = _co.expireControl; var currVal_31 = _co.request; _ck(_v, 45, 0, currVal_29, currVal_30, currVal_31); var currVal_32 = _co.readByField; var currVal_33 = _co.readByControl; var currVal_34 = _co.readBy; _ck(_v, 47, 0, currVal_32, currVal_33, currVal_34); var currVal_35 = (!_co.isOutbox && !_co.isReadOnly); _ck(_v, 49, 0, currVal_35); var currVal_36 = (_co.isOutbox && !_co.isReadOnly); _ck(_v, 51, 0, currVal_36); var currVal_37 = (_co.hasComments || _co.hasFiles); _ck(_v, 53, 0, currVal_37); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 5).ngClassValid; var currVal_5 = i0.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = i0.ɵunv(_v, 11, 0, i0.ɵnov(_v, 12).transform(_co.configuration.labelKey)); _ck(_v, 11, 0, currVal_10); var currVal_13 = _co.configuration.key; _ck(_v, 21, 0, currVal_13); var currVal_17 = i0.ɵunv(_v, 27, 0, i0.ɵnov(_v, 28).transform(_co.getLabel(\"subject\"))); var currVal_18 = _co.displayDate(_co.request.SubjectDay); _ck(_v, 27, 0, currVal_17, currVal_18); var currVal_21 = i0.ɵunv(_v, 35, 0, i0.ɵnov(_v, 36).transform(_co.getLabel(\"resource\"))); _ck(_v, 35, 0, currVal_21); }); }\nexport function View_ReassignDayDetailComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { subjectFormObject: 0 }), i0.ɵqud(402653184, 2, { targetFormObject: 0 }), i0.ɵqud(671088640, 3, { subjectDayFormObject: 0 }), i0.ɵqud(671088640, 4, { targetDayFormObject: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDayDetailComponent_1)), i0.ɵdid(5, 16384, null, 0, i13.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.subjectForm && _co.request); _ck(_v, 5, 0, currVal_0); }, null); }\nexport function View_ReassignDayDetailComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-reassign-day-detail\", [], null, null, null, View_ReassignDayDetailComponent_0, RenderType_ReassignDayDetailComponent)), i0.ɵdid(1, 245760, null, 0, i28.ReassignDayDetailComponent, [i3.UserService, i8.Router, i8.ActivatedRoute, i29.NotificationsService, i5.DialogService, i6.AlertsService, i7.TranslateService, i4.DomainService, i30.SettingsService, i31.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ReassignDayDetailComponentNgFactory = i0.ɵccf(\"sym-reassign-day-detail\", i28.ReassignDayDetailComponent, View_ReassignDayDetailComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { ReassignDayDetailComponentNgFactory as ReassignDayDetailComponentNgFactory };\n","/**\n * @file The ReassignDetailComponent is used as detail view for the inbox and outbox to display reassign requests.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnDestroy } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DomainService } from '../../domain.service';\nimport { UserService } from '../../user.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { NotificationsService } from '../notifications.service';\nimport { ExchangeDetailComponent } from '../exchange-detail/exchange-detail.component';\nimport { SettingsService } from '../../settings.service';\n/**\n * The ReassignDetailComponent is used as detail view for the inbox and outbox to display reassign requests.\n * @export\n * @class ReassignDetailComponent\n * @extends {ExchangeDetailComponent}\n * @implements {OnDestroy}\n */\nvar ReassignDetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ReassignDetailComponent, _super);\n /**\n * Creates an instance of ReassignDetailComponent.\n * @param {configurationsService} configurationsService Service to get the configuration for this component.\n * @param {Router} router The angular router enabling navigation between the different form modes.\n * @param {ActivatedRoute} route The active route.\n * @param {NotificationsService} notificationsService The notifications service to handle request entities.\n * @param {DialogService} dialogService The dialog service.\n * @param {AlertsService} alertsService The alert service.\n * @param {DomainService} domainService The domain service to handle planned entities.\n */\n function ReassignDetailComponent(userService, router, route, notificationsService, dialogService, alertsService, domainService, settingsService, translateService) {\n var _this = _super.call(this, userService, router, route, notificationsService, dialogService, alertsService, settingsService, translateService) || this;\n _this.domainService = domainService;\n /**\n * Gets, sets the proposal task. The proposal is a copy of the subject task where the resource is changed to the receiver.\n * The created proposal task is for display only. The proposal is not saved.\n * @type {Entity}\n * @memberOf ReassignDetailComponent\n */\n _this.proposal = null;\n return _this;\n }\n Object.defineProperty(ReassignDetailComponent.prototype, \"targetOid\", {\n /**\n * Gets the oid of the target reassign request task.\n * This is for display only. The oid equals with the oid of the temporary created proposal.\n * @readonly\n * @memberOf ReassignDetailComponent\n */\n get: function () {\n if (!this.proposal) {\n return null;\n }\n return this.proposal['Oid'];\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is invoked after the request of the detail is retrieved.\n * The method gathers the planned items of the request from the domainService.\n * @protected\n * @memberOf ReassignDetailComponent\n */\n ReassignDetailComponent.prototype.afterRequestRetrieved = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var subjectType, subject, resourceOid, dummy, resourceType, resource;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.proposal) {\n this.proposal.entityAspect.setDetached();\n this.proposal = null;\n }\n if (!!this.request.SubjectDay) return [3 /*break*/, 4];\n subjectType = this.domainService.getEntityType(this.request.SubjectType);\n return [4 /*yield*/, this.domainService.getEntityByKey(subjectType, this.request.SubjectOid, true).toPromise()];\n case 1:\n subject = _a.sent();\n if (!subject) {\n this.targetFormObject.item = null;\n this.targetFormObject.isLoading = false;\n return [2 /*return*/];\n }\n resourceOid = subject['Resource_Oid'];\n subject['Resource_Oid'] = null;\n dummy = this.domainService.copy(subject);\n subject['Resource_Oid'] = resourceOid;\n subject.entityAspect.setUnchanged();\n dummy['Resource'] = null;\n dummy['Resource_Oid'] = this.request.ReceiverOid;\n if (!(dummy['Resource'] === null)) return [3 /*break*/, 3];\n resourceType = this.domainService.getEntityType('Resource');\n return [4 /*yield*/, this.domainService.getEntityByKey(resourceType, this.request.ReceiverOid, true).toPromise()];\n case 2:\n resource = _a.sent();\n dummy['Resource'] = resource;\n _a.label = 3;\n case 3:\n dummy.entityAspect.setUnchanged();\n this.proposal = dummy;\n _a.label = 4;\n case 4:\n this.checkIsRead();\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Returns a value indicating whether the reassignment can be saved.\n * @memberOf ReassignDetailComponent\n */\n ReassignDetailComponent.prototype.canSave = function () {\n return this.request != null && this.subjectFormObject && this.subjectFormObject.item != null;\n };\n /**\n * Lifecycle hook that is called when the ReassignDetailComponent is destroyed.\n * The method detached the temporary created proposal to avoid that it is commited to the database.\n * @memberOf ReassignDetailComponent\n */\n ReassignDetailComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n if (this.proposal) {\n this.proposal.entityAspect.setDetached();\n }\n };\n return ReassignDetailComponent;\n}(ExchangeDetailComponent));\nexport { ReassignDetailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The ReassignDetailComponent is used as detail view for the inbox and outbox to display reassign requests.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../domain/form/form.component.ngfactory\";\nimport * as i2 from \"../../domain/form/form.component\";\nimport * as i3 from \"../../user.service\";\nimport * as i4 from \"../../domain.service\";\nimport * as i5 from \"@angular/router\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"../../core/alerts.service\";\nimport * as i8 from \"../../settings.service\";\nimport * as i9 from \"../../resource.service\";\nimport * as i10 from \"../../social/comments/comments.component.ngfactory\";\nimport * as i11 from \"../../social/comments/comments.component\";\nimport * as i12 from \"../../social/comment.service\";\nimport * as i13 from \"../../social/files/files.component.ngfactory\";\nimport * as i14 from \"../../social/files/files.component\";\nimport * as i15 from \"../../core/overlay.service\";\nimport * as i16 from \"../../base/files.service\";\nimport * as i17 from \"@angular/common\";\nimport * as i18 from \"@angular/forms\";\nimport * as i19 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i20 from \"../../base/instruction/instruction.component\";\nimport * as i21 from \"@angular/common/http\";\nimport * as i22 from \"../../configurations.service\";\nimport * as i23 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i24 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i25 from \"./reassign-detail.component\";\nimport * as i26 from \"../notifications.service\";\nimport * as i27 from \"../../core/dialog.service\";\nvar styles_ReassignDetailComponent = [];\nvar RenderType_ReassignDetailComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ReassignDetailComponent, data: {} });\nexport { RenderType_ReassignDetailComponent as RenderType_ReassignDetailComponent };\nfunction View_ReassignDetailComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 19).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_ReassignDetailComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-form\", [], null, null, null, i1.View_FormComponent_0, i1.RenderType_FormComponent)), i0.ɵdid(1, 245760, [[2, 4], [\"targetFormObject\", 4]], 0, i2.FormComponent, [i3.UserService, i4.DomainService, i5.ActivatedRoute, i5.Router, i6.TranslateService, i7.AlertsService, i8.SettingsService, i9.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], useCache: [2, \"useCache\"], labelKey: [3, \"labelKey\"], entityKey: [4, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.targetForm.configuration; var currVal_1 = false; var currVal_2 = true; var currVal_3 = _co.targetLabelKey; var currVal_4 = _co.targetOid; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }, null); }\nfunction View_ReassignDetailComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 20, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 19, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 18, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(6, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.acceptRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.declineRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 4, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.CORE.CANCEL\")); _ck(_v, 8, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.NOTIFICATIONS.ACCEPT\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 10, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.NOTIFICATIONS.ACCEPT\")); _ck(_v, 14, 0, currVal_4); var currVal_5 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.NOTIFICATIONS.DECLINE\")), \"\"); var currVal_6 = !_co.canSave(); _ck(_v, 16, 0, currVal_5, currVal_6); var currVal_7 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.NOTIFICATIONS.DECLINE\")); _ck(_v, 20, 0, currVal_7); }); }\nfunction View_ReassignDetailComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.withdrawRequest($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-withdraw\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(13, null, [\"\", \"\"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 7, 0, i0.ɵnov(_v, 8).transform(\"APP.CORE.CANCEL\")); _ck(_v, 7, 0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 9, 0, i0.ɵnov(_v, 10).transform(\"APP.NOTIFICATIONS.WITHDRAW\")), \"\"); var currVal_3 = !_co.canSave(); _ck(_v, 9, 0, currVal_2, currVal_3); var currVal_4 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"APP.NOTIFICATIONS.WITHDRAW\")); _ck(_v, 13, 0, currVal_4); }); }\nfunction View_ReassignDetailComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-comments\", [], null, null, null, i10.View_CommentsComponent_0, i10.RenderType_CommentsComponent)), i0.ɵdid(1, 245760, null, 0, i11.CommentsComponent, [i3.UserService, i7.AlertsService, i12.CommentService, i5.ActivatedRoute], { entityKey: [0, \"entityKey\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityKey; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ReassignDetailComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-files\", [], null, null, null, i13.View_FilesComponent_0, i13.RenderType_FilesComponent)), i0.ɵdid(1, 114688, null, 0, i14.FilesComponent, [i7.AlertsService, i15.OverlayService, i9.ResourceService, i16.FilesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_ReassignDetailComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"mt-4\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_7)), i0.ɵdid(2, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_8)), i0.ɵdid(4, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.hasComments; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasFiles; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_ReassignDetailComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 40, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 33, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i18.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(3, 540672, null, 0, i18.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i18.ControlContainer, null, [i18.FormGroupDirective]), i0.ɵdid(5, 16384, null, 0, i18.NgControlStatusGroup, [[4, i18.ControlContainer]], null, null), (_l()(), i0.ɵeld(6, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(10, 278528, null, 0, i17.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(11, null, [\" \", \" \"])), i0.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_2)), i0.ɵdid(15, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm \"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i19.View_InstructionComponent_0, i19.RenderType_InstructionComponent)), i0.ɵdid(19, 180224, [[\"instruction\", 4]], 0, i20.InstructionComponent, [i21.HttpClient, i22.ConfigurationsService, i6.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\"\", \"\"])), (_l()(), i0.ɵeld(22, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(24, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 1, \"sym-form\", [], null, null, null, i1.View_FormComponent_0, i1.RenderType_FormComponent)), i0.ɵdid(26, 245760, [[1, 4], [\"subjectFormObject\", 4]], 0, i2.FormComponent, [i3.UserService, i4.DomainService, i5.ActivatedRoute, i5.Router, i6.TranslateService, i7.AlertsService, i8.SettingsService, i9.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], useCache: [2, \"useCache\"], entityKey: [3, \"entityKey\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_3)), i0.ɵdid(28, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(29, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(30, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(31, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(32, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵeld(33, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i23.View_FieldsetContainerComponent_0, i23.RenderType_FieldsetContainerComponent)), i0.ɵdid(34, 49152, null, 0, i24.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_4)), i0.ɵdid(36, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_5)), i0.ɵdid(38, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_6)), i0.ɵdid(40, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 3, 0, currVal_7); var currVal_8 = \"icon\"; var currVal_9 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 10, 0, currVal_8, currVal_9); var currVal_11 = _co.configuration.instruction; _ck(_v, 15, 0, currVal_11); var currVal_12 = _co.configuration.instruction; _ck(_v, 19, 0, currVal_12); var currVal_14 = _co.noteField; var currVal_15 = _co.noteControl; var currVal_16 = _co.request; _ck(_v, 24, 0, currVal_14, currVal_15, currVal_16); var currVal_17 = _co.subjectForm.configuration; var currVal_18 = false; var currVal_19 = false; var currVal_20 = _co.subjectOid; _ck(_v, 26, 0, currVal_17, currVal_18, currVal_19, currVal_20); var currVal_21 = _co.targetForm; _ck(_v, 28, 0, currVal_21); var currVal_22 = _co.statusField; var currVal_23 = _co.statusControl; var currVal_24 = _co.request; _ck(_v, 30, 0, currVal_22, currVal_23, currVal_24); var currVal_25 = _co.expirationField; var currVal_26 = _co.expireControl; var currVal_27 = _co.request; _ck(_v, 32, 0, currVal_25, currVal_26, currVal_27); var currVal_28 = _co.readByField; var currVal_29 = _co.readByControl; var currVal_30 = _co.readBy; _ck(_v, 34, 0, currVal_28, currVal_29, currVal_30); var currVal_31 = (!_co.isOutbox && !_co.isReadOnly); _ck(_v, 36, 0, currVal_31); var currVal_32 = (_co.isOutbox && !_co.isReadOnly); _ck(_v, 38, 0, currVal_32); var currVal_33 = (_co.hasComments || _co.hasFiles); _ck(_v, 40, 0, currVal_33); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 5).ngClassValid; var currVal_5 = i0.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = i0.ɵunv(_v, 11, 0, i0.ɵnov(_v, 12).transform(_co.configuration.labelKey)); _ck(_v, 11, 0, currVal_10); var currVal_13 = _co.configuration.key; _ck(_v, 21, 0, currVal_13); }); }\nexport function View_ReassignDetailComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { subjectFormObject: 0 }), i0.ɵqud(671088640, 2, { targetFormObject: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ReassignDetailComponent_1)), i0.ɵdid(3, 16384, null, 0, i17.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.subjectForm && _co.request); _ck(_v, 3, 0, currVal_0); }, null); }\nexport function View_ReassignDetailComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-reassign-detail\", [], null, null, null, View_ReassignDetailComponent_0, RenderType_ReassignDetailComponent)), i0.ɵdid(1, 245760, null, 0, i25.ReassignDetailComponent, [i3.UserService, i5.Router, i5.ActivatedRoute, i26.NotificationsService, i27.DialogService, i7.AlertsService, i4.DomainService, i8.SettingsService, i6.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ReassignDetailComponentNgFactory = i0.ɵccf(\"sym-reassign-detail\", i25.ReassignDetailComponent, View_ReassignDetailComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { ReassignDetailComponentNgFactory as ReassignDetailComponentNgFactory };\n","/**\n * @file The Branding service\n * @author Heino Lenting\n */\nimport { SettingsService } from '../settings.service';\n/**\n * Class for the branding service\n */\nvar BrandingService = /** @class */ (function () {\n /**\n * Constructs a BrandingService\n * @param settingsService Service for the settings\n */\n function BrandingService(settingsService) {\n this.imageCollection = {};\n this.imageCollection['icon'] = require('../../branding/standaard-icon-90x60.png');\n this.imageCollection['logo'] = require('../../branding/standaard-logo-220x60.png');\n // This is a temporary solution. If in the future more custom-specific branding is needed\n // we need to rewrite the build process and copy, for given customer, the assets. Now all the\n // assets are shared between customers.\n this.imageCollection['workslip'] = (settingsService.settings['customer'] !== 'vanmeeuwen') ? require('../../branding/standaard-workslip-220x60.png') : require('../../branding/vanmeeuwen-workslip-220x60.png');\n }\n /**\n * Get the custom image for given customer\n * @parm type The type of the custom image\n * @returns The message of the branding\n */\n BrandingService.prototype.getImage = function (type) {\n return (this.imageCollection[type]) ? (this.imageCollection[type]) : '';\n };\n return BrandingService;\n}());\nexport { BrandingService };\n","/**\n * @file Work slip head\n * @author Heino Lenting\n */\nimport { BrandingService } from '../../core/branding.service';\nimport { SettingsService } from '../../settings.service';\nvar WorkSlipHeadComponent = /** @class */ (function () {\n /**\n * Constructs a HeaderComponent\n * @param brandingService Customer specific branding\n */\n function WorkSlipHeadComponent(brandingService, settingsService) {\n this.brandingService = brandingService;\n this.addressLines = [];\n // Load address from settings\n if (settingsService.settings.frontend.workslip && settingsService.settings.frontend.workslip.address) {\n this.addressLines = settingsService.settings.frontend.workslip.address;\n }\n }\n return WorkSlipHeadComponent;\n}());\nexport { WorkSlipHeadComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Work slip head\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./workslip-head.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./workslip-head.component\";\nimport * as i4 from \"../../core/branding.service\";\nimport * as i5 from \"../../settings.service\";\nvar styles_WorkSlipHeadComponent = [i0.styles];\nvar RenderType_WorkSlipHeadComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_WorkSlipHeadComponent, data: {} });\nexport { RenderType_WorkSlipHeadComponent as RenderType_WorkSlipHeadComponent };\nfunction View_WorkSlipHeadComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipHeadComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipHeadComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipHeadComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipHeadComponent_3)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.context.index === 0); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_v.context.index !== 0); _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_WorkSlipHeadComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"label\", [[\"class\", \"col-8\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipHeadComponent_1)), i1.ɵdid(4, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"col-4\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"img\", [[\"alt\", \"Symagic\"], [\"class\", \"img-fluid\"]], [[8, \"src\", 4]], null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.addressLines; _ck(_v, 4, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.brandingService.getImage(\"workslip\"); _ck(_v, 6, 0, currVal_1); }); }\nexport function View_WorkSlipHeadComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-workslip-head\", [], null, null, null, View_WorkSlipHeadComponent_0, RenderType_WorkSlipHeadComponent)), i1.ɵdid(1, 49152, null, 0, i3.WorkSlipHeadComponent, [i4.BrandingService, i5.SettingsService], null, null)], null, null); }\nvar WorkSlipHeadComponentNgFactory = i1.ɵccf(\"sym-workslip-head\", i3.WorkSlipHeadComponent, View_WorkSlipHeadComponent_Host_0, {}, {}, []);\nexport { WorkSlipHeadComponentNgFactory as WorkSlipHeadComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Work slip head\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","import * as moment from 'moment';\nvar WorkSlip = /** @class */ (function () {\n function WorkSlip() {\n }\n Object.defineProperty(WorkSlip.prototype, \"CustomAddress\", {\n /**\n * Gets the full address of the customer.\n *\n * @type {string}\n */\n get: function () {\n var street = this['CustomerAddress'] || '';\n var postalCode = this['CustomerPostalCode'] || '';\n var place = this['CustomerPlace'] || '';\n var country = this['CustomerCountry'] || '';\n var address = street + '\\n\\n' + postalCode + ' ' + place;\n if (country) {\n address += '\\n\\n' + country;\n }\n return address;\n },\n /**\n * Sets nothing, only needed for angular binding.\n */\n set: function (value) {\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WorkSlip.prototype, \"TotalSpend\", {\n /**\n * Gets the sum of the efforts on this assignment.\n * @type {string}\n */\n get: function () {\n return this.getTotalOf('Effort');\n },\n /**\n * Sets nothing, only needed for angular binding.\n */\n set: function (value) {\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WorkSlip.prototype, \"TotalTravelTime\", {\n /**\n * Gets the sum of the travel time booked on this assignment.\n * @type {string}\n */\n get: function () {\n return this.getTotalOf('TravelTime');\n },\n /**\n * Sets nothing, only needed for angular binding.\n */\n set: function (value) {\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the sum of the time of the input\n * @param {string }inputTime\n */\n WorkSlip.prototype.getTotalOf = function (inputTime) {\n var spendTimeItems = this['SpendTimeItems'];\n var PT05 = 'PT05';\n if (!spendTimeItems || spendTimeItems.length === 0) {\n return PT05;\n }\n var result = moment.duration(PT05);\n spendTimeItems.forEach(function (item) {\n result.add(item[inputTime]);\n });\n return result.toISOString();\n };\n return WorkSlip;\n}());\nexport { WorkSlip };\n","/**\n * The Symagic Server SpendTime entity.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as moment from 'moment';\n/**\n * The Symagic Server SpendTime entity.\n */\nvar WorkSlipSpendTime = /** @class */ (function () {\n function WorkSlipSpendTime() {\n }\n Object.defineProperty(WorkSlipSpendTime.prototype, \"Effort\", {\n get: function () {\n return moment.duration(this.hoursEffort, 'hours').toISOString();\n },\n set: function (value) {\n this.hoursEffort = moment.duration(value).asHours();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WorkSlipSpendTime.prototype, \"TravelTime\", {\n get: function () {\n return moment.duration(this.hoursTravelTime, 'hours').toISOString();\n },\n set: function (value) {\n this.hoursTravelTime = moment.duration(value).asHours();\n },\n enumerable: true,\n configurable: true\n });\n return WorkSlipSpendTime;\n}());\nexport { WorkSlipSpendTime };\n","import * as tslib_1 from \"tslib\";\nimport { EntityType, DataProperty, DataType, Validator } from 'breeze-client';\nimport { BreezeService } from '../core/breeze.service';\nimport { AlertsService } from '../core/alerts.service';\nimport { WorkSlip } from './workslip';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityManagerService } from '../entity-manager.service';\nimport { WorkSlipSpendTime } from '../workslips/helpers/spend-time';\nvar WorkSlipsService = /** @class */ (function (_super) {\n tslib_1.__extends(WorkSlipsService, _super);\n /**\n * Creates an instance of WorkSlipsService.\n * @param {AlertsService} alertsService The service is used to display alerts.\n * @param {TranslateService} translateService The translation service.\n * @memberOf WorkSlipsService\n */\n function WorkSlipsService(alertsService, translateService, entityManagerService) {\n var _this = _super.call(this, alertsService, translateService, entityManagerService) || this;\n /**\n * Supported notifications entity types.\n * @private\n * @type {{ [key: string]: Function }\n */\n _this.registerEntityTypes = {\n WorkSlip: WorkSlip,\n SpendTime: WorkSlipSpendTime\n };\n _this.initialize('workslips');\n WorkSlipsService.entityTypes = _this.entityManager.metadataStore.getEntityTypes();\n Object.keys(_this.registerEntityTypes).forEach(function (entityType) {\n _this.metadataStore.registerEntityTypeCtor(entityType, _this.registerEntityTypes[entityType]);\n });\n _this.registerValidator('WorkSlip', 'ReceiverEmail', Validator.emailAddress());\n _this.registerValidator('WorkSlip', 'CustomerEmail', Validator.emailAddress());\n var spendTimeType = _this.metadataStore.getEntityType('SpendTime');\n spendTimeType.addProperty(new DataProperty({\n dataType: DataType.String,\n isNullable: false,\n name: 'Effort',\n nameOnServer: 'Effort'\n }));\n spendTimeType.addProperty(new DataProperty({\n dataType: DataType.String,\n isNullable: false,\n name: 'TravelTime',\n nameOnServer: 'TravelTime'\n }));\n return _this;\n }\n return WorkSlipsService;\n}(BreezeService));\nexport { WorkSlipsService };\n","/**\n * @file Work slip form component\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { WorkSlipsService } from '../workslips.service';\nimport { FormBase } from '../../base/form/form.base';\nimport { ResourceService } from '../../resource.service';\nvar WorkSlipFormComponent = /** @class */ (function (_super) {\n tslib_1.__extends(WorkSlipFormComponent, _super);\n /**\n * Constructs a FormComponent instance.\n * @param configurationsService The configuration service.\n * @param notificationsService The notifications service\n * @param route The activated route.\n * @param alertsService The alerts service.\n */\n function WorkSlipFormComponent(workSlipsService, route, router, translateService, alertsService, resourceService) {\n return _super.call(this, workSlipsService, route, router, translateService, alertsService, resourceService) || this;\n }\n return WorkSlipFormComponent;\n}(FormBase));\nexport { WorkSlipFormComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Work slip form component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i4 from \"../../base/instruction/instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nimport * as i7 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i8 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i9 from \"@angular/forms\";\nimport * as i10 from \"./workslip-form.component\";\nimport * as i11 from \"../workslips.service\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"../../core/alerts.service\";\nimport * as i14 from \"../../resource.service\";\nvar styles_WorkSlipFormComponent = [];\nvar RenderType_WorkSlipFormComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_WorkSlipFormComponent, data: {} });\nexport { RenderType_WorkSlipFormComponent as RenderType_WorkSlipFormComponent };\nfunction View_WorkSlipFormComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_WorkSlipFormComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-sm btn-link\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.insights.toggle() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { active: 0 }), (_l()(), i0.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-insight\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(5, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"btn btn-sm btn-link\"; var currVal_1 = _ck(_v, 2, 0, _co.insights.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.insights.isOpen(); _ck(_v, 4, 0, currVal_2); var currVal_3 = i0.ɵunv(_v, 5, 0, i0.ɵnov(_v, 6).transform(\"APP.INSIGHTS.SHOW_INSIGHT\")); _ck(_v, 5, 0, currVal_3); var currVal_4 = _co.insights.isClosed(); _ck(_v, 7, 0, currVal_4); var currVal_5 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.INSIGHTS.HIDE_INSIGHT\")); _ck(_v, 8, 0, currVal_5); }); }\nfunction View_WorkSlipFormComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 22).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipFormComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.editMode; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_WorkSlipFormComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.editMode; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_WorkSlipFormComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipFormComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 22, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 17, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_3)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_4)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_5)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_6)), i0.ɵdid(14, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_7)), i0.ɵdid(16, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_8)), i0.ɵdid(18, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), (_l()(), i0.ɵeld(21, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i3.View_InstructionComponent_0, i3.RenderType_InstructionComponent)), i0.ɵdid(22, 180224, [[\"instruction\", 4]], 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.data.icon; _ck(_v, 5, 0, currVal_0); var currVal_2 = _co.insights; _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.configuration.instruction; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.canCreate; _ck(_v, 14, 0, currVal_4); var currVal_5 = _co.canUpdate; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.hasCloseButton; _ck(_v, 18, 0, currVal_6); var currVal_8 = _co.configuration.instruction; _ck(_v, 22, 0, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(_co.labelKey)); _ck(_v, 6, 0, currVal_1); var currVal_7 = _co.configuration.key; _ck(_v, 20, 0, currVal_7); }); }\nfunction View_WorkSlipFormComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipFormComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.CANNOT_DISPLAY_ITEM\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipFormComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_10)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_11)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isLoading; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.isLoading; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_WorkSlipFormComponent_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i7.View_FieldsetContainerComponent_0, i7.RenderType_FieldsetContainerComponent)), i0.ɵdid(2, 49152, null, 0, i8.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.form.controls[_v.context.$implicit.name]; var currVal_2 = _co.item; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_WorkSlipFormComponent_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.MARKED_FIELDS_ARE_REQUIRED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipFormComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_13)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_14)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.data.fields; _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.hasRequiredFields() && !_co.isReadOnly); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_WorkSlipFormComponent_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipFormComponent_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mb-3 sym-errors\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_16)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.validationErrors; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipFormComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i9.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(2, 540672, null, 0, i9.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i9.ControlContainer, null, [i9.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i9.NgControlStatusGroup, [[4, i9.ControlContainer]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_2)), i0.ɵdid(6, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_9)), i0.ɵdid(8, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_12)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_15)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 6, 0, currVal_8); var currVal_9 = !_co.item; _ck(_v, 8, 0, currVal_9); var currVal_10 = _co.item; _ck(_v, 10, 0, currVal_10); var currVal_11 = (_co.validationErrors.length > 0); _ck(_v, 12, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_WorkSlipFormComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormComponent_1)), i0.ɵdid(1, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.form && _co.configuration); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_WorkSlipFormComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-workslip-form\", [], null, null, null, View_WorkSlipFormComponent_0, RenderType_WorkSlipFormComponent)), i0.ɵdid(1, 245760, null, 0, i10.WorkSlipFormComponent, [i11.WorkSlipsService, i12.ActivatedRoute, i12.Router, i2.TranslateService, i13.AlertsService, i14.ResourceService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar WorkSlipFormComponentNgFactory = i0.ɵccf(\"sym-workslip-form\", i10.WorkSlipFormComponent, View_WorkSlipFormComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", hasCloseButton: \"hasCloseButton\", useCache: \"useCache\", labelKey: \"labelKey\", item: \"item\", entityKey: \"entityKey\" }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }, []);\nexport { WorkSlipFormComponentNgFactory as WorkSlipFormComponentNgFactory };\n","/**\n * @file Workslip form child component\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { FormChildBase } from '../../base/form-child/form-child.base';\nimport { AlertsService } from '../../core/alerts.service';\nimport { WorkSlipsService } from '../workslips.service';\nimport { ResourceService } from '../../resource.service';\nvar WorkSlipFormChildComponent = /** @class */ (function (_super) {\n tslib_1.__extends(WorkSlipFormChildComponent, _super);\n /**\n * Creates an instance of WorkSlipFormChildComponent.\n * @param {WorkSlipsService} workSlipsService\n * @param {TranslateService} translateService\n * @param {AlertsService} alertsService\n * @memberof WorkSlipFormChildComponent\n */\n function WorkSlipFormChildComponent(workSlipsService, translateService, alertsService, resourceService) {\n return _super.call(this, workSlipsService, translateService, alertsService, resourceService) || this;\n }\n return WorkSlipFormChildComponent;\n}(FormChildBase));\nexport { WorkSlipFormChildComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Workslip form child component\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i4 from \"../../base/instruction/instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nimport * as i7 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i8 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i9 from \"@angular/forms\";\nimport * as i10 from \"./workslip-form-child.component\";\nimport * as i11 from \"../workslips.service\";\nimport * as i12 from \"../../core/alerts.service\";\nimport * as i13 from \"../../resource.service\";\nvar styles_WorkSlipFormChildComponent = [];\nvar RenderType_WorkSlipFormChildComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_WorkSlipFormChildComponent, data: {} });\nexport { RenderType_WorkSlipFormChildComponent as RenderType_WorkSlipFormChildComponent };\nfunction View_WorkSlipFormChildComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 20).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipFormChildComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 20, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(5, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormChildComponent_3)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm \"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save-all\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(18, null, [\"\", \"\"])), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i3.View_InstructionComponent_0, i3.RenderType_InstructionComponent)), i0.ɵdid(20, 180224, [[\"instruction\", 4]], 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_3 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_3); var currVal_7 = _co.configuration.instruction; _ck(_v, 20, 0, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(_co.configuration.data.labelKey)); _ck(_v, 6, 0, currVal_2); var currVal_4 = (_co.editMode || _co.isReadOnly); _ck(_v, 11, 0, currVal_4); var currVal_5 = (!_co.editMode || _co.isReadOnly); _ck(_v, 13, 0, currVal_5); var currVal_6 = _co.configuration.key; _ck(_v, 18, 0, currVal_6); }); }\nfunction View_WorkSlipFormChildComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i7.View_FieldsetContainerComponent_0, i7.RenderType_FieldsetContainerComponent)), i0.ɵdid(2, 49152, null, 0, i8.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.form.controls[_v.context.$implicit.name]; var currVal_2 = _co.item; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_WorkSlipFormChildComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.MARKED_FIELDS_ARE_REQUIRED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipFormChildComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipFormChildComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mb-3 sym-errors\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormChildComponent_7)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.validationErrors; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipFormChildComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i9.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(2, 540672, null, 0, i9.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i9.ControlContainer, null, [i9.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i9.NgControlStatusGroup, [[4, i9.ControlContainer]], null, null), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-line mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormChildComponent_2)), i0.ɵdid(7, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormChildComponent_4)), i0.ɵdid(10, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormChildComponent_5)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormChildComponent_6)), i0.ɵdid(14, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 7, 0, currVal_8); var currVal_9 = _co.configuration.data.fields; _ck(_v, 10, 0, currVal_9); var currVal_10 = (_co.hasRequiredFields() && !_co.isReadOnly); _ck(_v, 12, 0, currVal_10); var currVal_11 = (_co.validationErrors.length > 0); _ck(_v, 14, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_WorkSlipFormChildComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipFormChildComponent_1)), i0.ɵdid(1, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.form && _co.configuration) && _co.item); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_WorkSlipFormChildComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-workslip-form-child\", [], null, null, null, View_WorkSlipFormChildComponent_0, RenderType_WorkSlipFormChildComponent)), i0.ɵdid(1, 245760, null, 0, i10.WorkSlipFormChildComponent, [i11.WorkSlipsService, i2.TranslateService, i12.AlertsService, i13.ResourceService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar WorkSlipFormChildComponentNgFactory = i0.ɵccf(\"sym-workslip-form-child\", i10.WorkSlipFormChildComponent, View_WorkSlipFormChildComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", hasCloseButton: \"hasCloseButton\", useCache: \"useCache\", labelKey: \"labelKey\", item: \"item\", entityKey: \"entityKey\", master: \"master\" }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }, []);\nexport { WorkSlipFormChildComponentNgFactory as WorkSlipFormChildComponentNgFactory };\n","/**\n * @file Work slip relation (for SpendTimes)\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { RelationBase } from '../../base/relation/relation.base';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { WorkSlipsService } from '../workslips.service';\nimport { EventsService } from '../../core/event.service';\nimport { UserService } from '../../user.service';\nimport { ActionService } from '../../core/action.service';\nvar WorkSlipRelationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(WorkSlipRelationComponent, _super);\n /**\n * Constructs a work slip relation component.\n * @param configurationsService Service to get the configuration of this component.\n * @param workSlipsService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param route The active route.\n */\n function WorkSlipRelationComponent(userService, workSlipsService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) {\n return _super.call(this, userService, workSlipsService, dialogService, alertsService, translateService, router, overlayService, localStorageService, route, eventsService, actionService) || this;\n }\n /**\n * Method to retrieve the requested entities from the backend api.\n * @returns {Observable} An Observable object that retrieves the requested entities.\n */\n WorkSlipRelationComponent.prototype.refresh = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n if (this.master == null) {\n // Soms heb je dynamische parameter waarden nodig van de master.\n // Daarom stellen we de master nu verplicht\n return [2 /*return*/, null];\n }\n if (this.master.entityAspect.entityState.isAdded()) {\n // Fix issue: Werkbon toont de spendtimes niet (Van Meeuwen) #2594\n return [2 /*return*/, null];\n }\n return [2 /*return*/, _super.prototype.refresh.call(this)];\n });\n });\n };\n return WorkSlipRelationComponent;\n}(RelationBase));\nexport { WorkSlipRelationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Work slip relation (for SpendTimes)\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/relation/relation.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i5 from \"../../base/instruction/instruction.component\";\nimport * as i6 from \"@angular/common/http\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i9 from \"../../base/columns/column-container/column-container.component\";\nimport * as i10 from \"../workslip-form/workslip-form.component.ngfactory\";\nimport * as i11 from \"../workslip-form/workslip-form.component\";\nimport * as i12 from \"../workslips.service\";\nimport * as i13 from \"@angular/router\";\nimport * as i14 from \"../../core/alerts.service\";\nimport * as i15 from \"../../resource.service\";\nimport * as i16 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i17 from \"../../base/pagination/pagination.component\";\nimport * as i18 from \"../workslip-form-child/workslip-form-child.component.ngfactory\";\nimport * as i19 from \"../workslip-form-child/workslip-form-child.component\";\nimport * as i20 from \"../../base/pipes/entity-translate.pipe\";\nimport * as i21 from \"./workslip-relation.component\";\nimport * as i22 from \"../../user.service\";\nimport * as i23 from \"../../core/dialog.service\";\nimport * as i24 from \"../../core/overlay.service\";\nimport * as i25 from \"../../core/local-storage.service\";\nimport * as i26 from \"../../core/event.service\";\nimport * as i27 from \"../../core/action.service\";\nvar styles_WorkSlipRelationComponent = [i0.styles];\nvar RenderType_WorkSlipRelationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_WorkSlipRelationComponent, data: {} });\nexport { RenderType_WorkSlipRelationComponent as RenderType_WorkSlipRelationComponent };\nfunction View_WorkSlipRelationComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 14).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipRelationComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(5, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(6, null, [\" \", \" (\", \")\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_3)), i1.ɵdid(10, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i4.View_InstructionComponent_0, i4.RenderType_InstructionComponent)), i1.ɵdid(14, 180224, [[\"instruction\", 4]], 0, i5.InstructionComponent, [i6.HttpClient, i7.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_4 = _co.configuration.instruction; _ck(_v, 10, 0, currVal_4); var currVal_6 = _co.configuration.instruction; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.configuration.labelKey)); var currVal_3 = _co.inlineCount; _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_5 = _co.configuration.key; _ck(_v, 12, 0, currVal_5); }); }\nfunction View_WorkSlipRelationComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_WorkSlipRelationComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_7)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.index === 0) && (_v.context.$implicit.editor !== \"hidden\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipRelationComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-icon-edit\": 0, \"sym-icon-close\": 1, \"sym-icon-expand\": 2, \"sym-icon-collapse\": 3 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = _ck(_v, 2, 0, (_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (_co.canUpdate && (_v.parent.context.$implicit === _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit !== _co.current)), (!_co.canUpdate && (_v.parent.context.$implicit === _co.current))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_WorkSlipRelationComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteItem(_v.parent.context.$implicit, _v.parent.context.index) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipRelationComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-column\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(3, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit; var currVal_2 = _v.parent.parent.context.$implicit; _ck(_v, 3, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(_v.parent.context.$implicit.labelKey)), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_WorkSlipRelationComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_11)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (((_v.context.$implicit.editor !== \"notes\") && (_v.context.$implicit.editor !== \"hidden\")) && (_v.context.index > 0)); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipRelationComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-wrap-extend\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i8.View_ColumnContainerComponent_0, i8.RenderType_ColumnContainerComponent)), i1.ɵdid(2, 114688, null, 0, i9.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit; var currVal_1 = _v.parent.parent.context.$implicit; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_WorkSlipRelationComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_13)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = ((_v.context.$implicit.editor === \"notes\") && (_v.parent.context.$implicit[_v.context.$implicit.name] !== \"\")); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipRelationComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"mb-1\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"sym-item\"]], null, null, null, null, null)), i1.ɵdid(6, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(7, { \"sym-active\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_6)), i1.ɵdid(9, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.edit(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_8)), i1.ɵdid(13, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_9)), i1.ɵdid(15, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"sym-relation-columns-row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_10)), i1.ɵdid(18, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_12)), i1.ɵdid(20, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-wrap-pair d-flex justify-content-between\"; var currVal_1 = _ck(_v, 3, 0, (_co.fields.length === 1)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"sym-item\"; var currVal_3 = _ck(_v, 7, 0, _co.isActive(_v.context.$implicit)); _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_4 = _co.fields; _ck(_v, 9, 0, currVal_4); var currVal_5 = _co.canRead; _ck(_v, 13, 0, currVal_5); var currVal_6 = _co.canDelete; _ck(_v, 15, 0, currVal_6); var currVal_7 = _co.fields; _ck(_v, 18, 0, currVal_7); var currVal_8 = _co.fields; _ck(_v, 20, 0, currVal_8); }, null); }\nfunction View_WorkSlipRelationComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-list mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_5)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipRelationComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm align-top\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"mb-1\": 0 }), i1.ɵppd(3, 3), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 3)], function (_ck, _v) { var currVal_2 = \"btn btn-secondary btn-sm align-top\"; var currVal_3 = _ck(_v, 2, 0, (i1.ɵnov(_v.parent, 14).totalItems > 0)); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)), \"\"); var currVal_1 = (_co.editMode || _co.current); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent, 0), _co.entityLabel, \"new\", _co.labelDomain)); _ck(_v, 6, 0, currVal_4); }); }\nfunction View_WorkSlipRelationComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-workslip-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i10.View_WorkSlipFormComponent_0, i10.RenderType_WorkSlipFormComponent)), i1.ɵdid(1, 245760, null, 0, i11.WorkSlipFormComponent, [i12.WorkSlipsService, i13.ActivatedRoute, i13.Router, i3.TranslateService, i14.AlertsService, i15.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.configuration; var currVal_1 = _co.foreignKeyValue; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_WorkSlipRelationComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_2)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 13, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_4)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"row mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"d-flex flex-wrap justify-content-between sym-relations-bottom\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_14)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-pagination\", [], [[8, \"hidden\", 0]], null, null, i16.View_PaginationComponent_0, i16.RenderType_PaginationComponent)), i1.ɵdid(14, 4374528, [[\"pagination\", 4]], 0, i17.PaginationComponent, [i13.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"sym-workslip-form-child\", [], null, [[null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemSaved\" === en)) {\n var pd_0 = (_co.notifySavement($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_1 = (_co.notifyCanceled($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i18.View_WorkSlipFormChildComponent_0, i18.RenderType_WorkSlipFormChildComponent)), i1.ɵdid(16, 245760, null, 0, i19.WorkSlipFormChildComponent, [i12.WorkSlipsService, i3.TranslateService, i14.AlertsService, i15.ResourceService], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemCanceled: \"itemCanceled\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_15)), i1.ɵdid(18, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.hasItems(); _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.canCreate; _ck(_v, 11, 0, currVal_2); var currVal_4 = true; var currVal_5 = _co.configuration.data.listSize; var currVal_6 = _co.dataSet; _ck(_v, 14, 0, currVal_4, currVal_5, currVal_6); var currVal_7 = _co.childForm.configuration; var currVal_8 = _co.currentKey; _ck(_v, 16, 0, currVal_7, currVal_8); var currVal_9 = _co.subForms; _ck(_v, 18, 0, currVal_9); }, function (_ck, _v) { var currVal_3 = (i1.ɵnov(_v, 14).totalItems === 0); _ck(_v, 13, 0, currVal_3); }); }\nexport function View_WorkSlipRelationComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i20.EntityTranslatePipe, [i3.TranslateService]), i1.ɵqud(671088640, 1, { relationLists: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipRelationComponent_1)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entityType; _ck(_v, 3, 0, currVal_0); }, null); }\nexport function View_WorkSlipRelationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-workslip-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_WorkSlipRelationComponent_0, RenderType_WorkSlipRelationComponent)), i1.ɵdid(1, 245760, null, 0, i21.WorkSlipRelationComponent, [i22.UserService, i12.WorkSlipsService, i23.DialogService, i14.AlertsService, i3.TranslateService, i13.Router, i24.OverlayService, i25.LocalStorageService, i13.ActivatedRoute, i26.EventsService, i27.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar WorkSlipRelationComponentNgFactory = i1.ɵccf(\"sym-workslip-relation\", i21.WorkSlipRelationComponent, View_WorkSlipRelationComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\", masterType: \"masterType\", master: \"master\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { WorkSlipRelationComponentNgFactory as WorkSlipRelationComponentNgFactory };\n","/**\n * @file Work slip overlay view\n * @author Maarten Lensink\n */\nimport { AfterViewInit, OnDestroy } from '@angular/core';\nimport { EntityQuery, EntityState } from 'breeze-client';\nimport * as moment from 'moment';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DomainService } from '../../domain.service';\nimport { WorkSlipsService } from '../workslips.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { WorkSlipRelationComponent } from '../workslip-relation/workslip-relation.component';\nvar WorkSlipViewComponent = /** @class */ (function () {\n /**\n * Creates an instance of WorkSlipViewComponent.\n * @param {OverlayProvider} overlayProvider Contains the assignment based on which the work slip entity will be constructed.\n * @param {OverlayService} overlayService Can close the overlay from the code.\n * @param {WorkSlipsService} workSlipsService The domain service for work slips.\n * @param {DomainService} domainService The planning domain service.\n * @param {AlertsService} alertsService Can create alerts.\n */\n function WorkSlipViewComponent(overlayProvider, overlayService, workSlipsService, domainService, alertsService) {\n var _this = this;\n this.overlayProvider = overlayProvider;\n this.overlayService = overlayService;\n this.workSlipsService = workSlipsService;\n this.domainService = domainService;\n this.alertsService = alertsService;\n this.requiredFields = [];\n /**\n * The spend time entities within the work slip domain.\n * @type {Entity[]}\n */\n this.spendTimes = [];\n this.viewInitialized = false;\n var config = overlayProvider.configuration;\n if (!config.components || config.components.length !== 4) {\n console.warn('WorkSlipView needs configuration for four components.');\n this.overlayService.closeOverlay();\n return;\n }\n this.assignmentConfiguration = config.components[0].configuration;\n this.realisationConfiguration = config.components[1].configuration;\n this.customerConfiguration = config.components[2].configuration;\n this.signatureConfiguration = config.components[3].configuration;\n var assignment = this.overlayProvider.entity;\n if (assignment['Item']) {\n assignment = assignment['Item'];\n }\n var projectName = '';\n var taskName = '';\n if (assignment['Deployment'] && assignment['Deployment']['Demand'] && assignment['Deployment']['Demand']['Task']) {\n var task = assignment['Deployment']['Demand']['Task'];\n taskName = task['Name'];\n if (task['Project']) {\n projectName = task['Project']['Name'];\n }\n }\n var resourceName = '';\n var resourceOid = '';\n if (assignment['Resource']) {\n var fullName = assignment['Resource']['FirstName'] + ' ' + assignment['Resource']['Prefix'] + ' ' + assignment['Resource']['Name'];\n resourceName = fullName.trim();\n resourceOid = assignment['Resource']['Oid'];\n }\n var type = this.workSlipsService.getEntityType('WorkSlip');\n var date = moment();\n date.startOf('day');\n var workSlip = type.createEntity({\n AssignmentOid: assignment['Oid'],\n Project: projectName,\n Task: taskName,\n Name: assignment['Name'],\n Resource: resourceName,\n Resource_Oid: resourceOid,\n Start: assignment['Start'],\n Finish: assignment['Finish'],\n Closed: assignment['Closed'],\n Status: assignment['WorkStatus'],\n SignatureName: '',\n SignatureDate: date\n });\n this.workSlipsService.expandWith(assignment, 'Customer.City', true, function () {\n var customer = assignment['Customer'];\n if (customer) {\n workSlip['CustomerOid'] = customer['Oid'];\n workSlip['CustomerNumber'] = customer['Number'];\n var fullName = customer['FirstName'] + ' ' + customer['Prefix'] + ' ' + customer['Name'];\n workSlip['CustomerName'] = fullName.trim();\n if (customer['City']) {\n workSlip['CustomerAddress'] = customer['City']['Address'] + ' ' + customer['City']['HouseNumber'];\n workSlip['CustomerPostalCode'] = customer['City']['ZipCode'];\n workSlip['CustomerPlace'] = customer['City']['Name'];\n }\n else {\n workSlip['CustomerAddress'] = '';\n workSlip['CustomerPostalCode'] = '';\n workSlip['CustomerPlace'] = '';\n }\n workSlip['CustomerTelephone'] = customer['Tel'];\n workSlip['CustomerEmail'] = customer['EMailAddress'];\n workSlip['CustomerWebsite'] = customer['Url'];\n }\n });\n this.workSlip = this.workSlipsService.addEntity(workSlip);\n type = this.workSlipsService.getEntityType('SpendTime');\n this.workSlipSpendTimeType = type;\n type = this.domainService.getEntityType('SpendTime');\n this.domainSpendTimeType = type;\n this.getSpendTimes();\n this.requiredFields = [];\n this.signatureConfiguration.data.fields.forEach(function (field) {\n if (field.required) {\n _this.requiredFields.push(field.name);\n }\n });\n }\n /**\n * Sets a boolean indicating that the view is initialized, so that the relation view child can be reached.\n */\n WorkSlipViewComponent.prototype.ngAfterViewInit = function () {\n this.viewInitialized = true;\n this.getSpendTimes();\n };\n /**\n * Creates the spend times belonging to the work slip.\n */\n WorkSlipViewComponent.prototype.getSpendTimes = function () {\n var _this = this;\n if (!this.viewInitialized || !this.workSlip || !this.domainSpendTimeType || !this.workSlipSpendTimeType) {\n return;\n }\n var self = this;\n // const query = EntityQuery.from('SpendTimeItems').where('Account_Oid', '==', self.workSlip['AssignmentOid']);\n // Deze is sneller dan die hier boven.\n var query = EntityQuery.from('SpendTime').withParameters({ className: 'Assignment', oid: self.workSlip['AssignmentOid'] });\n this.domainService.entityManager.executeQuery(query).then(function (data) {\n data.results.forEach(function (domainSpendTime) {\n var spendTime = self.workSlipSpendTimeType.createEntity({\n WorkSlipId: self.workSlip['Id'],\n WorkSlip: self.workSlip,\n Start: domainSpendTime['Start'],\n Finish: domainSpendTime['Finish'],\n Effort: domainSpendTime['Effort'],\n TravelTime: domainSpendTime['TravelTime'],\n Notes: domainSpendTime['Notes']\n });\n self.spendTimes.push(self.workSlipsService.addEntity(spendTime));\n });\n _this.realisationComponent.items = self.spendTimes;\n // inlineCount is a property, but too nested.\n _this.realisationComponent['inlineCount'] = self.spendTimes.length;\n }).catch(function (error) {\n _this.alertsService.createAlert('danger', 'APP.WORKSLIP.FAILED_LOADING_SPENDTIMES');\n });\n };\n /**\n * Returns whether the work slip is signed and ready to be saved.\n * @returns {boolean} A value indicating whether the work slip can be saved.\n */\n WorkSlipViewComponent.prototype.canSave = function () {\n var _this = this;\n var result = true;\n if (!this.workSlip || this.requiredFields.length <= 0) {\n result = false;\n }\n this.requiredFields.forEach(function (field) {\n if (!_this.workSlip[field]) {\n result = false;\n }\n });\n return result;\n };\n /**\n * Saves the new created work slip and its spend times.\n * @param {any} event The click event that triggered the method.\n */\n WorkSlipViewComponent.prototype.saveItem = function (event) {\n var _this = this;\n if (!this.canSave()) {\n this.alertsService.createAlert('warning', 'APP.DOMAIN.VALIDATORS.REQUIRED_FIELD_MISSING');\n return;\n }\n var self = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.workSlipsService.saveChanges(function (errors) {\n // Remove sym-working to show that action is finished.\n if (event) {\n event.target.classList.remove('sym-working');\n }\n // Give correct alert based on whether an error is given or not.\n if (errors) {\n self.alertsService.createAlert('warning', 'APP.WORKSLIP.WORKSLIP_UNSUCCESSFULLY_SIGNED', _this.workSlipsService.entityErrorInfo(errors.entityErrors));\n }\n else {\n self.alertsService.createAlert('success', 'APP.WORKSLIP.WORKSLIP_SUCCESSFULLY_SIGNED');\n self.overlayService.closeOverlay();\n }\n });\n };\n /**\n * Cancels the creation of the work slip entity and its spend times.\n */\n WorkSlipViewComponent.prototype.ngOnDestroy = function () {\n if (this.workSlip && this.workSlip.entityAspect.entityState === EntityState.Added) {\n this.workSlip.entityAspect.rejectChanges();\n }\n this.spendTimes.forEach(function (spendTime) {\n if (spendTime.entityAspect.entityState === EntityState.Added) {\n spendTime.entityAspect.rejectChanges();\n }\n });\n };\n /**\n * Closes the overlay.\n */\n WorkSlipViewComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n return WorkSlipViewComponent;\n}());\nexport { WorkSlipViewComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Work slip overlay view\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./workslip-view.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../workslip-head/workslip-head.component.ngfactory\";\nimport * as i3 from \"../workslip-head/workslip-head.component\";\nimport * as i4 from \"../../core/branding.service\";\nimport * as i5 from \"../../settings.service\";\nimport * as i6 from \"../workslip-form/workslip-form.component.ngfactory\";\nimport * as i7 from \"../workslip-form/workslip-form.component\";\nimport * as i8 from \"../workslips.service\";\nimport * as i9 from \"@angular/router\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../core/alerts.service\";\nimport * as i12 from \"../../resource.service\";\nimport * as i13 from \"../workslip-relation/workslip-relation.component.ngfactory\";\nimport * as i14 from \"../workslip-relation/workslip-relation.component\";\nimport * as i15 from \"../../user.service\";\nimport * as i16 from \"../../core/dialog.service\";\nimport * as i17 from \"../../core/overlay.service\";\nimport * as i18 from \"../../core/local-storage.service\";\nimport * as i19 from \"../../core/event.service\";\nimport * as i20 from \"../../core/action.service\";\nimport * as i21 from \"@angular/common\";\nimport * as i22 from \"./workslip-view.component\";\nimport * as i23 from \"../../ui/overlay-provider\";\nimport * as i24 from \"../../domain.service\";\nvar styles_WorkSlipViewComponent = [i0.styles];\nvar RenderType_WorkSlipViewComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_WorkSlipViewComponent, data: {} });\nexport { RenderType_WorkSlipViewComponent as RenderType_WorkSlipViewComponent };\nfunction View_WorkSlipViewComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 34, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"sym-workslip-head\", [], null, null, null, i2.View_WorkSlipHeadComponent_0, i2.RenderType_WorkSlipHeadComponent)), i1.ɵdid(3, 49152, null, 0, i3.WorkSlipHeadComponent, [i4.BrandingService, i5.SettingsService], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"sym-workslip-form\", [], null, null, null, i6.View_WorkSlipFormComponent_0, i6.RenderType_WorkSlipFormComponent)), i1.ɵdid(6, 245760, null, 0, i7.WorkSlipFormComponent, [i8.WorkSlipsService, i9.ActivatedRoute, i9.Router, i10.TranslateService, i11.AlertsService, i12.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], item: [2, \"item\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"sym-workslip-relation\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 9).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i13.View_WorkSlipRelationComponent_0, i13.RenderType_WorkSlipRelationComponent)), i1.ɵdid(9, 245760, [[1, 4], [\"realisationComponent\", 4]], 0, i14.WorkSlipRelationComponent, [i15.UserService, i8.WorkSlipsService, i16.DialogService, i11.AlertsService, i10.TranslateService, i9.Router, i17.OverlayService, i18.LocalStorageService, i9.ActivatedRoute, i19.EventsService, i20.ActionService], { configuration: [0, \"configuration\"], masterType: [1, \"masterType\"], master: [2, \"master\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-workslip-form\", [], null, null, null, i6.View_WorkSlipFormComponent_0, i6.RenderType_WorkSlipFormComponent)), i1.ɵdid(12, 245760, null, 0, i7.WorkSlipFormComponent, [i8.WorkSlipsService, i9.ActivatedRoute, i9.Router, i10.TranslateService, i11.AlertsService, i12.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], item: [2, \"item\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"sym-workslip-form\", [], null, null, null, i6.View_WorkSlipFormComponent_0, i6.RenderType_WorkSlipFormComponent)), i1.ɵdid(15, 245760, null, 0, i7.WorkSlipFormComponent, [i8.WorkSlipsService, i9.ActivatedRoute, i9.Router, i10.TranslateService, i11.AlertsService, i12.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], item: [2, \"item\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 17, \"div\", [[\"class\", \"d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 3, \"div\", [[\"class\", \"pr-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(20, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(22, 0, null, null, 12, \"div\", [[\"class\", \"text-nowrap\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(25, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-send\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(31, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(33, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.assignmentConfiguration; var currVal_1 = false; var currVal_2 = _co.workSlip; _ck(_v, 6, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = _co.realisationConfiguration; var currVal_4 = \"WorkSlip\"; var currVal_5 = _co.workSlip; _ck(_v, 9, 0, currVal_3, currVal_4, currVal_5); var currVal_6 = _co.customerConfiguration; var currVal_7 = false; var currVal_8 = _co.workSlip; _ck(_v, 12, 0, currVal_6, currVal_7, currVal_8); var currVal_9 = _co.signatureConfiguration; var currVal_10 = false; var currVal_11 = _co.workSlip; _ck(_v, 15, 0, currVal_9, currVal_10, currVal_11); }, function (_ck, _v) { var _co = _v.component; var currVal_12 = i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.WORKSLIP.NO_CHANGE_AFTER_SIGNING\")); _ck(_v, 20, 0, currVal_12); var currVal_13 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 23, 0, i1.ɵnov(_v, 24).transform(\"APP.WORKSLIP.SIGN\")), \"\"); var currVal_14 = !_co.canSave(); _ck(_v, 23, 0, currVal_13, currVal_14); var currVal_15 = i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.WORKSLIP.SIGN\")); _ck(_v, 27, 0, currVal_15); var currVal_16 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 29, 0, i1.ɵnov(_v, 30).transform(\"APP.WORKSLIP.CANCEL\")), \"\"); _ck(_v, 29, 0, currVal_16); var currVal_17 = i1.ɵunv(_v, 33, 0, i1.ɵnov(_v, 34).transform(\"APP.WORKSLIP.CANCEL\")); _ck(_v, 33, 0, currVal_17); }); }\nexport function View_WorkSlipViewComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(671088640, 1, { realisationComponent: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_WorkSlipViewComponent_1)), i1.ɵdid(2, 16384, null, 0, i21.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.workSlip; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_WorkSlipViewComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-workslip-view\", [], null, null, null, View_WorkSlipViewComponent_0, RenderType_WorkSlipViewComponent)), i1.ɵdid(1, 4374528, null, 0, i22.WorkSlipViewComponent, [i23.OverlayProvider, i17.OverlayService, i8.WorkSlipsService, i24.DomainService, i11.AlertsService], null, null)], null, null); }\nvar WorkSlipViewComponentNgFactory = i1.ɵccf(\"sym-workslip-view\", i22.WorkSlipViewComponent, View_WorkSlipViewComponent_Host_0, {}, {}, []);\nexport { WorkSlipViewComponentNgFactory as WorkSlipViewComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Work slip overlay view\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file The Workslip Detail component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { WorkSlipsService } from '../workslips.service';\nimport { DetailBase } from '../../base/detail/detail.base';\nimport { UserService } from '../../user.service';\nimport { RoutesService } from '../../routes.service';\nimport { SettingsService } from '../../settings.service';\nvar WorkSlipDetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(WorkSlipDetailComponent, _super);\n /**\n * Constructs a WorkSlipDetailComponent.\n * @param configurationsService Service to get the configuration for this component.\n * @param router The angular router enabling navigation between the different form modes.\n * @param route The active route.\n * @param dialogService The dialog service.\n * @param alertsService The alerts service.\n * @param translateService The translation service.\n */\n function WorkSlipDetailComponent(userService, router, route, domainService, dialogService, alertsService, settingsService, translateService) {\n return _super.call(this, userService, router, route, domainService, dialogService, alertsService, settingsService, translateService) || this;\n }\n /**\n * Is called after the block name is set and the configuration is loaded.\n * Override this method to process the loaded configuration data.\n */\n WorkSlipDetailComponent.prototype.afterInitialize = function () {\n // Get the components\n var components = Object.create(this.configuration.components);\n if (components.length !== 4) {\n console.warn('WorkSlipDetailComponent needs four components.');\n }\n this.assignmentForm = components[0];\n this.spendTimesForm = components[1];\n this.customerForm = components[2];\n this.signatureForm = components[3];\n };\n WorkSlipDetailComponent.prototype.close = function () {\n // Not forget query params.\n RoutesService.navigateBack(this.router, this.route, this.route.snapshot.queryParams);\n };\n return WorkSlipDetailComponent;\n}(DetailBase));\nexport { WorkSlipDetailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Workslip Detail component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i4 from \"../../base/instruction/instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nimport * as i7 from \"../workslip-head/workslip-head.component.ngfactory\";\nimport * as i8 from \"../workslip-head/workslip-head.component\";\nimport * as i9 from \"../../core/branding.service\";\nimport * as i10 from \"../../settings.service\";\nimport * as i11 from \"../workslip-form/workslip-form.component.ngfactory\";\nimport * as i12 from \"../workslip-form/workslip-form.component\";\nimport * as i13 from \"../workslips.service\";\nimport * as i14 from \"@angular/router\";\nimport * as i15 from \"../../core/alerts.service\";\nimport * as i16 from \"../../resource.service\";\nimport * as i17 from \"../workslip-relation/workslip-relation.component.ngfactory\";\nimport * as i18 from \"../workslip-relation/workslip-relation.component\";\nimport * as i19 from \"../../user.service\";\nimport * as i20 from \"../../core/dialog.service\";\nimport * as i21 from \"../../core/overlay.service\";\nimport * as i22 from \"../../core/local-storage.service\";\nimport * as i23 from \"../../core/event.service\";\nimport * as i24 from \"../../core/action.service\";\nimport * as i25 from \"./workslip-detail.component\";\nvar styles_WorkSlipDetailComponent = [];\nvar RenderType_WorkSlipDetailComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_WorkSlipDetailComponent, data: {} });\nexport { RenderType_WorkSlipDetailComponent as RenderType_WorkSlipDetailComponent };\nfunction View_WorkSlipDetailComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.icon, \"\"); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_WorkSlipDetailComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-sm btn-link\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.insights.toggle() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { active: 0 }), (_l()(), i0.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-insight\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(5, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"btn btn-sm btn-link\"; var currVal_1 = _ck(_v, 2, 0, _co.insights.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.insights.isOpen(); _ck(_v, 4, 0, currVal_2); var currVal_3 = i0.ɵunv(_v, 5, 0, i0.ɵnov(_v, 6).transform(\"APP.INSIGHTS.SHOW_INSIGHT\")); _ck(_v, 5, 0, currVal_3); var currVal_4 = _co.insights.isClosed(); _ck(_v, 7, 0, currVal_4); var currVal_5 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.INSIGHTS.HIDE_INSIGHT\")); _ck(_v, 8, 0, currVal_5); }); }\nfunction View_WorkSlipDetailComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 17).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipDetailComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 17, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_3)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_4)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_5)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i3.View_InstructionComponent_0, i3.RenderType_InstructionComponent)), i0.ɵdid(17, 180224, [[\"instruction\", 4]], 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.icon; _ck(_v, 5, 0, currVal_0); var currVal_2 = _co.insights; _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.configuration.instruction; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 17, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(_co.configuration.labelKey)); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_WorkSlipDetailComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_2)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"sym-workslip-head\", [], null, null, null, i7.View_WorkSlipHeadComponent_0, i7.RenderType_WorkSlipHeadComponent)), i0.ɵdid(4, 49152, null, 0, i8.WorkSlipHeadComponent, [i9.BrandingService, i10.SettingsService], null, null), (_l()(), i0.ɵeld(5, 0, null, null, 1, \"sym-workslip-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i11.View_WorkSlipFormComponent_0, i11.RenderType_WorkSlipFormComponent)), i0.ɵdid(6, 245760, [[1, 4], [\"masterForm\", 4]], 0, i12.WorkSlipFormComponent, [i13.WorkSlipsService, i14.ActivatedRoute, i14.Router, i2.TranslateService, i15.AlertsService, i16.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], entityKey: [2, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }), (_l()(), i0.ɵeld(7, 0, null, null, 1, \"sym-workslip-relation\", [], null, [[null, \"itemSaved\"], [\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keydown\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 8).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i17.View_WorkSlipRelationComponent_0, i17.RenderType_WorkSlipRelationComponent)), i0.ɵdid(8, 245760, null, 0, i18.WorkSlipRelationComponent, [i19.UserService, i13.WorkSlipsService, i20.DialogService, i15.AlertsService, i2.TranslateService, i14.Router, i21.OverlayService, i22.LocalStorageService, i14.ActivatedRoute, i23.EventsService, i24.ActionService], { configuration: [0, \"configuration\"], masterType: [1, \"masterType\"], master: [2, \"master\"] }, { itemSaved: \"itemSaved\" }), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"sym-workslip-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i11.View_WorkSlipFormComponent_0, i11.RenderType_WorkSlipFormComponent)), i0.ɵdid(10, 245760, null, 0, i12.WorkSlipFormComponent, [i13.WorkSlipsService, i14.ActivatedRoute, i14.Router, i2.TranslateService, i15.AlertsService, i16.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], entityKey: [2, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"sym-workslip-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i11.View_WorkSlipFormComponent_0, i11.RenderType_WorkSlipFormComponent)), i0.ɵdid(12, 245760, null, 0, i12.WorkSlipFormComponent, [i13.WorkSlipsService, i14.ActivatedRoute, i14.Router, i2.TranslateService, i15.AlertsService, i16.ResourceService], { configuration: [0, \"configuration\"], hasCloseButton: [1, \"hasCloseButton\"], entityKey: [2, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.icon || _co.configuration.labelKey); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.assignmentForm.configuration; var currVal_2 = false; var currVal_3 = _co.entityKey; _ck(_v, 6, 0, currVal_1, currVal_2, currVal_3); var currVal_4 = _co.spendTimesForm.configuration; var currVal_5 = \"WorkSlip\"; var currVal_6 = i0.ɵnov(_v, 6).item; _ck(_v, 8, 0, currVal_4, currVal_5, currVal_6); var currVal_7 = _co.customerForm.configuration; var currVal_8 = false; var currVal_9 = _co.entityKey; _ck(_v, 10, 0, currVal_7, currVal_8, currVal_9); var currVal_10 = _co.signatureForm.configuration; var currVal_11 = false; var currVal_12 = _co.entityKey; _ck(_v, 12, 0, currVal_10, currVal_11, currVal_12); }, null); }\nfunction View_WorkSlipDetailComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 1).transform(\"APP.CORE.SAVE\")), \"\"); var currVal_1 = !_co.editMode; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.SAVE\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_WorkSlipDetailComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 1).transform(\"APP.CORE.CREATE\")), \"\"); var currVal_1 = _co.editMode; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CREATE\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_WorkSlipDetailComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 1).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")); _ck(_v, 4, 0, currVal_1); }); }\nexport function View_WorkSlipDetailComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { dataForm: 0 }), i0.ɵqud(671088640, 2, { relationLists: 1 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_1)), i0.ɵdid(3, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 6, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_6)), i0.ɵdid(8, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_7)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WorkSlipDetailComponent_8)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.signatureForm; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.canUpdate; _ck(_v, 8, 0, currVal_1); var currVal_2 = (_co.canCreate && (!_co.dataForm || (_co.dataForm.canCreate !== false))); _ck(_v, 10, 0, currVal_2); var currVal_3 = (_co.canCreate || _co.canUpdate); _ck(_v, 12, 0, currVal_3); }, null); }\nexport function View_WorkSlipDetailComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-workslip-detail\", [], null, null, null, View_WorkSlipDetailComponent_0, RenderType_WorkSlipDetailComponent)), i0.ɵdid(1, 245760, null, 0, i25.WorkSlipDetailComponent, [i19.UserService, i14.Router, i14.ActivatedRoute, i13.WorkSlipsService, i20.DialogService, i15.AlertsService, i10.SettingsService, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar WorkSlipDetailComponentNgFactory = i0.ɵccf(\"sym-workslip-detail\", i25.WorkSlipDetailComponent, View_WorkSlipDetailComponent_Host_0, { configuration: \"configuration\", entityKey: \"entityKey\", overlayMode: \"overlayMode\" }, { closing: \"closing\" }, []);\nexport { WorkSlipDetailComponentNgFactory as WorkSlipDetailComponentNgFactory };\n","/**\n * @file The Workslip List component.\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { WorkSlipsService } from '../workslips.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { OverlayService } from '../../core/overlay.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { EventsService } from '../../core/event.service';\nimport { AgendaListComponent } from '../../grids/agenda-list/agenda-list.component';\nimport { Router } from '@angular/router';\nimport { GridService } from '../../grids/grid.service';\nimport { UserService } from '../../user.service';\nimport { ActionService } from '../../core/action.service';\nvar WorkSlipListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(WorkSlipListComponent, _super);\n /**\n * Constructs a WorkSlipListComponent.\n * @param configurationsService Service to get the configuration of this component.\n * @param workSlipsService Service to load and save entity data.\n * @param dialogService Service for displaying dialogs.\n * @param alertsService Service for publish alerts.\n * @param translateService The translation service.\n */\n function WorkSlipListComponent(userService, workSlipsService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, gridService, actionService) {\n return _super.call(this, userService, workSlipsService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, gridService, actionService) || this;\n }\n return WorkSlipListComponent;\n}(AgendaListComponent));\nexport { WorkSlipListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Workslip List component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"../../grids/agenda-list/agenda-list.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/forms\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i7 from \"../../base/columns/column-container/column-container.component\";\nimport * as i8 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i9 from \"../../base/instruction/instruction.component\";\nimport * as i10 from \"@angular/common/http\";\nimport * as i11 from \"../../configurations.service\";\nimport * as i12 from \"../../grids/horizon/horizon.component.ngfactory\";\nimport * as i13 from \"../../grids/horizon/horizon.component\";\nimport * as i14 from \"../../core/localisation.service\";\nimport * as i15 from \"../../grids/grid.service\";\nimport * as i16 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i17 from \"../../base/pagination/pagination.component\";\nimport * as i18 from \"@angular/router\";\nimport * as i19 from \"./workslip-list.component\";\nimport * as i20 from \"../../user.service\";\nimport * as i21 from \"../workslips.service\";\nimport * as i22 from \"../../core/dialog.service\";\nimport * as i23 from \"../../core/alerts.service\";\nimport * as i24 from \"../../core/overlay.service\";\nimport * as i25 from \"../../core/local-storage.service\";\nimport * as i26 from \"../../core/event.service\";\nimport * as i27 from \"../../core/action.service\";\nvar styles_WorkSlipListComponent = [i0.styles, i1.styles];\nvar RenderType_WorkSlipListComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_WorkSlipListComponent, data: {} });\nexport { RenderType_WorkSlipListComponent as RenderType_WorkSlipListComponent };\nfunction View_WorkSlipListComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_WorkSlipListComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i2.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_WorkSlipListComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i2.ɵted(5, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_2)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_3)), i2.ɵdid(11, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵunv(_v, 5, 0, i2.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_WorkSlipListComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 1).transform(_co.configuration.data.labelKey)), \"\"); var currVal_1 = _co.isCreating; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.configuration.data.labelKey)); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_WorkSlipListComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i2.ɵdid(2, 16384, null, 0, i5.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.DefaultValueAccessor]), i2.ɵdid(4, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i2.ɵdid(6, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(13, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i2.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i2.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i2.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i2.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i2.ɵnov(_v, 6).ngClassValid; var currVal_6 = i2.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i2.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 9, 0, i2.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i2.ɵunv(_v, 13, 0, i2.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_WorkSlipListComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_5)), i2.ɵdid(3, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i2.ɵdid(7, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(8, { \"icon-spin\": 0 }), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(10, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_6)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canCreate; _ck(_v, 3, 0, currVal_0); var currVal_3 = \"icon sym-icon-refresh\"; var currVal_4 = _ck(_v, 8, 0, _co.isRefreshing); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_6 = _co.canSearch; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_2 = _co.isRefreshing; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_5 = i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 11).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 10, 0, currVal_5); }); }\nfunction View_WorkSlipListComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_WorkSlipListComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_WorkSlipListComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_10)), i2.ɵdid(9, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_WorkSlipListComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_9)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipListComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_WorkSlipListComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i2.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i6.View_ColumnContainerComponent_0, i6.RenderType_ColumnContainerComponent)), i2.ɵdid(4, 114688, null, 0, i7.ColumnContainerComponent, [i2.ViewContainerRef, i2.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_WorkSlipListComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_14)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_WorkSlipListComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_12)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_13)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_WorkSlipListComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_WorkSlipListComponent_16(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_WorkSlipListComponent_17(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-danger btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteSelected($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { disabled: 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i2.ɵted(9, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-danger btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.disableListActions); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.LISTS.DELETE\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(\"APP.LISTS.DELETE\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = !_co.hasSelectedItems(); _ck(_v, 8, 0, currVal_4); var currVal_5 = _co.numberOfSelectedItems(); _ck(_v, 9, 0, currVal_5); }); }\nfunction View_WorkSlipListComponent_19(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 11, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.actionSelected($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { disabled: 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(4, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i2.ɵdid(5, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpad(6, 2), (_l()(), i2.ɵeld(7, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(8, null, [\"\", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(10, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i2.ɵted(11, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm ml-1\"; var currVal_2 = _ck(_v, 2, 0, ((_v.parent.context.$implicit.isSelectionNeeded !== false) && _co.disableListActions)); _ck(_v, 1, 0, currVal_1, currVal_2); var currVal_3 = _ck(_v, 6, 0, \"icon\", _co.getIcon(_v.parent.context.$implicit)); _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(_co.getLabelKey(_v.parent.context.$implicit))), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_4 = i2.ɵunv(_v, 8, 0, i2.ɵnov(_v, 9).transform(_co.getLabelKey(_v.parent.context.$implicit))); _ck(_v, 8, 0, currVal_4); var currVal_5 = !_co.hasSelectedItems(); _ck(_v, 10, 0, currVal_5); var currVal_6 = _co.numberOfSelectedItems(); _ck(_v, 11, 0, currVal_6); }); }\nfunction View_WorkSlipListComponent_18(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_19)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isAllowed(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_WorkSlipListComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 38, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 12, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 11, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_1)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i8.View_InstructionComponent_0, i8.RenderType_InstructionComponent)), i2.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i9.InstructionComponent, [i10.HttpClient, i11.ConfigurationsService, i4.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i2.ɵeld(7, 0, null, null, 1, \"sym-horizon\", [], null, null, null, i12.View_HorizonComponent_0, i12.RenderType_HorizonComponent)), i2.ɵdid(8, 180224, null, 0, i13.HorizonComponent, [i14.LocalisationService, i15.GridService], { mode: [0, \"mode\"] }, null), (_l()(), i2.ɵeld(9, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_4)), i2.ɵdid(11, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(12, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i2.ɵted(13, null, [\"\", \"\"])), (_l()(), i2.ɵeld(14, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(15, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_7)), i2.ɵdid(17, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_8)), i2.ɵdid(19, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(20, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_11)), i2.ɵdid(22, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_15)), i2.ɵdid(24, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_16)), i2.ɵdid(26, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(27, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(28, 0, null, null, 10, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(29, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(30, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(31, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(32, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i16.View_PaginationComponent_0, i16.RenderType_PaginationComponent)), i2.ɵdid(33, 4374528, null, 0, i17.PaginationComponent, [i18.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i2.ɵeld(34, 0, null, null, 4, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_17)), i2.ɵdid(36, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_WorkSlipListComponent_18)), i2.ɵdid(38, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"horizonModeList\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = !_co.overlayMode; _ck(_v, 11, 0, currVal_3); var currVal_5 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 17, 0, currVal_5); var currVal_6 = _co.configuration.data.fields; _ck(_v, 19, 0, currVal_6); var currVal_7 = _co.items; var currVal_8 = _co.trackByItem; _ck(_v, 22, 0, currVal_7, currVal_8); var currVal_9 = !_co.isDataLoaded; _ck(_v, 24, 0, currVal_9); var currVal_10 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 26, 0, currVal_10); var currVal_11 = _co.overlayMode; var currVal_12 = _co.configuration.data.listSize; var currVal_13 = _co.dataSet; _ck(_v, 33, 0, currVal_11, currVal_12, currVal_13); var currVal_14 = _co.canDelete; _ck(_v, 36, 0, currVal_14); var currVal_15 = _co.configuration.actions; _ck(_v, 38, 0, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = _co.configuration.key; _ck(_v, 13, 0, currVal_4); }); }\nexport function View_WorkSlipListComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-workslip-list\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_WorkSlipListComponent_0, RenderType_WorkSlipListComponent)), i2.ɵdid(1, 245760, null, 0, i19.WorkSlipListComponent, [i20.UserService, i21.WorkSlipsService, i22.DialogService, i23.AlertsService, i4.TranslateService, i18.Router, i24.OverlayService, i25.LocalStorageService, i26.EventsService, i15.GridService, i27.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar WorkSlipListComponentNgFactory = i2.ɵccf(\"sym-workslip-list\", i19.WorkSlipListComponent, View_WorkSlipListComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { WorkSlipListComponentNgFactory as WorkSlipListComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Workslip List component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file The MarketplaceListComponent is used for displaying Shifts and Projects with open slots\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { ListBase } from '../../base/list/list.base';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DomainService } from '../../domain.service';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { EventsService } from '../../core/event.service';\nimport { GridService } from '../../grids/grid.service';\nimport { UserService } from '../../user.service';\nimport { ActionService } from '../../core/action.service';\n/**\n * The MarketplaceListComponent is used to show the open slots for Shifts and Projects (Marketplace)\n *\n * @export\n * @class MarketplaceListComponent\n * @extends {ListBase}\n */\nvar MarketplaceListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(MarketplaceListComponent, _super);\n /**\n * Constructs a MarketplaceListComponent\n * @param configurationsService Service to get the configuration of this component\n * @param domainService Service to load and save entity data\n * @param dialogService Service for displaying dialogs\n * @param alertsService Service for publish alerts\n * @param router Service for routing events\n */\n function MarketplaceListComponent(userService, domainService, dialogService, alertsService, translateService, router, overlayService, route, localStorageService, eventsService, gridService, actionService) {\n var _this = \n // TODO: introduceren van marketplace service!\n _super.call(this, userService, domainService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n _this.route = route;\n _this.gridService = gridService;\n /**\n * A value indicating whether the query should exclude tasks whose requirements are not met by the user\n */\n _this._requirements = _this.localStorageService.readProperty('local', 'marketplace-requirements', true, [true, false]);\n /**\n * A value indicating whether the query should exclude tasks for which the the user is unavailable\n */\n _this._availability = _this.localStorageService.readProperty('local', 'marketplace-availability', true, [true, false]);\n /**\n * A value indicating whether the query should exclude tasks without unassigned deployments\n */\n _this._openSlots = _this.localStorageService.readProperty('local', 'marketplace-openslots', true, [true, false]);\n // This subscription will be called every time the user clicks on one of the three checkboxes\n _this.subscriptionPool.add(_this.route.queryParams.subscribe(function (params) {\n var doRefresh = false;\n if (params['requirements'] !== undefined) {\n var value = params['requirements'] === 'true';\n if (_this._requirements !== value) {\n _this._requirements = value;\n _this.localStorageService.updateProperty('local', 'marketplace-requirements', value, [true, false]);\n doRefresh = true;\n }\n }\n if (params['availability'] !== undefined) {\n var value = params['availability'] === 'true';\n if (_this._availability !== value) {\n _this._availability = value;\n _this.localStorageService.updateProperty('local', 'marketplace-availability', value, [true, false]);\n doRefresh = true;\n }\n }\n if (params['openslots'] !== undefined) {\n var value = params['openslots'] === 'true';\n if (_this._openSlots !== value) {\n _this._openSlots = value;\n _this.localStorageService.updateProperty('local', 'marketplace-openslots', value, [true, false]);\n doRefresh = true;\n }\n }\n if (doRefresh) {\n _this.refresh();\n }\n }));\n _this.subscriptionPool.add(_this.gridService.stateChanged.subscribe(function () {\n _this.refresh();\n }));\n return _this;\n }\n Object.defineProperty(MarketplaceListComponent.prototype, \"start\", {\n /**\n * Gets the horizon date\n */\n get: function () {\n return this.gridService.startDate;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MarketplaceListComponent.prototype, \"finish\", {\n /**\n * Gets the horizon date\n */\n get: function () {\n return this.gridService.endDate;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MarketplaceListComponent.prototype, \"requirements\", {\n /**\n * Get the requirements options\n * @type {boolean}\n */\n get: function () {\n return this._requirements;\n },\n /**\n * Sets the requirement boolean value in the URL\n */\n set: function (requirement) {\n this.setQueryParams(requirement, this._availability, this._openSlots);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MarketplaceListComponent.prototype, \"canActions\", {\n get: function () {\n return false; // Used to hide the 'select items' functionality because there are 'column actions', see: #3434\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MarketplaceListComponent.prototype, \"availability\", {\n /**\n * Get the availability options\n * @type {boolean}\n */\n get: function () {\n return this._availability;\n },\n /**\n * Sets the availability boolean value in the URL\n */\n set: function (availability) {\n this.setQueryParams(this._requirements, availability, this._openSlots);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MarketplaceListComponent.prototype, \"openSlots\", {\n /**\n * Get the open slots options\n * @type {boolean}\n */\n get: function () {\n return this._openSlots;\n },\n /**\n * Sets the openslots boolean value in the URL\n */\n set: function (openSlots) {\n this.setQueryParams(this._requirements, this._availability, openSlots);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called after the block name is set and the configuration is loaded.\n */\n MarketplaceListComponent.prototype.afterInitialize = function () {\n var _this = this;\n _super.prototype.afterInitialize.call(this);\n /*\n Fix #3520: De action werd eerst op lijst configuratie niveau meegeven.\n In Angelar niet stabiel: Inject parent compoment in child compoment.\n Wel zo gelaten omdat anders config task ook aangepast zou moeten worden.\n */\n var marketColumns = this.configuration.data.fields.filter(function (fld) { return fld.editor != null && fld.editor.indexOf('marketplace-') !== -1; });\n if (marketColumns.length === 0) {\n return;\n }\n if (this.configuration.actions == null) {\n throw new Error('Marketplace action is missing in list configuration.');\n }\n marketColumns.forEach(function (column) {\n var action = null;\n if (column.format == null) {\n switch (column.editor) {\n case 'marketplace-service':\n action = _this.configuration.actions.find(function (a) { return a.name === 'open-overlay-service'; });\n if (action == null) {\n throw new Error('Marketplace action is missing in list configuration.');\n }\n column.format = action;\n break;\n case 'marketplace-demand':\n action = _this.configuration.actions.find(function (a) { return a.name === 'open-overlay-demand'; });\n if (action == null) {\n throw new Error('Marketplace action is missing in list configuration.');\n }\n column.format = action;\n break;\n default:\n console.log(\"Unknown marketplace editor: \" + column.editor);\n break;\n }\n }\n });\n };\n /**\n * Sets the URL parameters\n */\n MarketplaceListComponent.prototype.setQueryParams = function (requirements, availability, openSlots) {\n var queryParams = {\n requirements: requirements,\n availability: availability,\n openslots: openSlots\n };\n this.router.navigate([], {\n relativeTo: this.route,\n queryParamsHandling: 'merge',\n queryParams: queryParams\n });\n };\n return MarketplaceListComponent;\n}(ListBase));\nexport { MarketplaceListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The MarketplaceListComponent is used for displaying Shifts and Projects with open slots\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"@angular/forms\";\nimport * as i5 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component\";\nimport * as i7 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i8 from \"../../base/instruction/instruction.component\";\nimport * as i9 from \"@angular/common/http\";\nimport * as i10 from \"../../configurations.service\";\nimport * as i11 from \"../../grids/horizon/horizon.component.ngfactory\";\nimport * as i12 from \"../../grids/horizon/horizon.component\";\nimport * as i13 from \"../../core/localisation.service\";\nimport * as i14 from \"../../grids/grid.service\";\nimport * as i15 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i16 from \"../../base/pagination/pagination.component\";\nimport * as i17 from \"@angular/router\";\nimport * as i18 from \"./marketplace-list.component\";\nimport * as i19 from \"../../user.service\";\nimport * as i20 from \"../../domain.service\";\nimport * as i21 from \"../../core/dialog.service\";\nimport * as i22 from \"../../core/alerts.service\";\nimport * as i23 from \"../../core/overlay.service\";\nimport * as i24 from \"../../core/local-storage.service\";\nimport * as i25 from \"../../core/event.service\";\nimport * as i26 from \"../../core/action.service\";\nvar styles_MarketplaceListComponent = [i0.styles];\nvar RenderType_MarketplaceListComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MarketplaceListComponent, data: {} });\nexport { RenderType_MarketplaceListComponent as RenderType_MarketplaceListComponent };\nfunction View_MarketplaceListComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MarketplaceListComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_MarketplaceListComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_2)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_3)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_MarketplaceListComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(4, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(6, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 6).ngClassValid; var currVal_6 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_MarketplaceListComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_MarketplaceListComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_MarketplaceListComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_8)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_MarketplaceListComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_7)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_MarketplaceListComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_MarketplaceListComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i1.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i5.View_ColumnContainerComponent_0, i5.RenderType_ColumnContainerComponent)), i1.ɵdid(4, 114688, null, 0, i6.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_MarketplaceListComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_12)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_MarketplaceListComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_10)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_11)), i1.ɵdid(4, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_MarketplaceListComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_MarketplaceListComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_MarketplaceListComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 75, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 74, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 73, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_1)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i7.View_InstructionComponent_0, i7.RenderType_InstructionComponent)), i1.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i8.InstructionComponent, [i9.HttpClient, i10.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"sym-horizon\", [], null, null, null, i11.View_HorizonComponent_0, i11.RenderType_HorizonComponent)), i1.ɵdid(8, 180224, null, 0, i12.HorizonComponent, [i13.LocalisationService, i14.GridService], { mode: [0, \"mode\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 15, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 11, \"div\", [[\"class\", \"d-flex justify-content-start\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(14, { \"disabled\": 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i1.ɵdid(17, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(18, { \"icon-spin\": 0 }), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(20, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(22, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_4)), i1.ɵdid(24, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(25, 0, null, null, 30, \"div\", [[\"class\", \"sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 28).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 28).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.requirements = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(28, 16384, null, 0, i4.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.CheckboxControlValueAccessor]), i1.ɵdid(30, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(32, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.requirements = !_co.requirements) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(34, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(36, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(37, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 38).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 38).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.availability = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(38, 16384, null, 0, i4.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.CheckboxControlValueAccessor]), i1.ɵdid(40, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(42, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), (_l()(), i1.ɵeld(43, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.availability = !_co.availability) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(44, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(46, 0, null, null, 9, \"div\", [[\"class\", \"form-check form-check-inline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(47, 0, null, null, 5, \"input\", [[\"class\", \"form-check-input\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 48).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 48).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.openSlots = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(48, 16384, null, 0, i4.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.CheckboxControlValueAccessor]), i1.ɵdid(50, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(52, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), (_l()(), i1.ɵeld(53, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.openSlots = !_co.openSlots) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(54, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(56, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i1.ɵted(57, null, [\"\", \"\"])), (_l()(), i1.ɵeld(58, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(59, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_5)), i1.ɵdid(61, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_6)), i1.ɵdid(63, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(64, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_9)), i1.ɵdid(66, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_13)), i1.ɵdid(68, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MarketplaceListComponent_14)), i1.ɵdid(70, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(71, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(72, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(73, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(74, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i15.View_PaginationComponent_0, i15.RenderType_PaginationComponent)), i1.ɵdid(75, 4374528, null, 0, i16.PaginationComponent, [i17.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"horizonModeList\"; _ck(_v, 8, 0, currVal_2); var currVal_4 = \"btn btn-secondary btn-sm\"; var currVal_5 = _ck(_v, 14, 0, _co.isRefreshing); _ck(_v, 13, 0, currVal_4, currVal_5); var currVal_6 = \"icon sym-icon-refresh\"; var currVal_7 = _ck(_v, 18, 0, _co.isRefreshing); _ck(_v, 17, 0, currVal_6, currVal_7); var currVal_9 = _co.canSearch; _ck(_v, 24, 0, currVal_9); var currVal_17 = _co.requirements; _ck(_v, 30, 0, currVal_17); var currVal_26 = _co.availability; _ck(_v, 40, 0, currVal_26); var currVal_35 = _co.openSlots; _ck(_v, 50, 0, currVal_35); var currVal_38 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 61, 0, currVal_38); var currVal_39 = _co.configuration.data.fields; _ck(_v, 63, 0, currVal_39); var currVal_40 = _co.items; var currVal_41 = _co.trackByItem; _ck(_v, 66, 0, currVal_40, currVal_41); var currVal_42 = !_co.isDataLoaded; _ck(_v, 68, 0, currVal_42); var currVal_43 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 70, 0, currVal_43); var currVal_44 = _co.overlayMode; var currVal_45 = _co.configuration.data.listSize; var currVal_46 = _co.dataSet; _ck(_v, 75, 0, currVal_44, currVal_45, currVal_46); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 15).transform(\"APP.LISTS.REFRESH\")), \"\"); _ck(_v, 12, 0, currVal_3); var currVal_8 = i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 20, 0, currVal_8); var currVal_10 = i1.ɵnov(_v, 32).ngClassUntouched; var currVal_11 = i1.ɵnov(_v, 32).ngClassTouched; var currVal_12 = i1.ɵnov(_v, 32).ngClassPristine; var currVal_13 = i1.ɵnov(_v, 32).ngClassDirty; var currVal_14 = i1.ɵnov(_v, 32).ngClassValid; var currVal_15 = i1.ɵnov(_v, 32).ngClassInvalid; var currVal_16 = i1.ɵnov(_v, 32).ngClassPending; _ck(_v, 27, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_18 = i1.ɵunv(_v, 34, 0, i1.ɵnov(_v, 35).transform(\"APP.MARKETPLACE.MATCH_REQUIREMENTS\")); _ck(_v, 34, 0, currVal_18); var currVal_19 = i1.ɵnov(_v, 42).ngClassUntouched; var currVal_20 = i1.ɵnov(_v, 42).ngClassTouched; var currVal_21 = i1.ɵnov(_v, 42).ngClassPristine; var currVal_22 = i1.ɵnov(_v, 42).ngClassDirty; var currVal_23 = i1.ɵnov(_v, 42).ngClassValid; var currVal_24 = i1.ɵnov(_v, 42).ngClassInvalid; var currVal_25 = i1.ɵnov(_v, 42).ngClassPending; _ck(_v, 37, 0, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25); var currVal_27 = i1.ɵunv(_v, 44, 0, i1.ɵnov(_v, 45).transform(\"APP.MARKETPLACE.MATCH_AVAILABILITY\")); _ck(_v, 44, 0, currVal_27); var currVal_28 = i1.ɵnov(_v, 52).ngClassUntouched; var currVal_29 = i1.ɵnov(_v, 52).ngClassTouched; var currVal_30 = i1.ɵnov(_v, 52).ngClassPristine; var currVal_31 = i1.ɵnov(_v, 52).ngClassDirty; var currVal_32 = i1.ɵnov(_v, 52).ngClassValid; var currVal_33 = i1.ɵnov(_v, 52).ngClassInvalid; var currVal_34 = i1.ɵnov(_v, 52).ngClassPending; _ck(_v, 47, 0, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); var currVal_36 = i1.ɵunv(_v, 54, 0, i1.ɵnov(_v, 55).transform(\"APP.MARKETPLACE.SHOW_ONLY_EMPTY_SLOTS\")); _ck(_v, 54, 0, currVal_36); var currVal_37 = _co.configuration.key; _ck(_v, 57, 0, currVal_37); }); }\nexport function View_MarketplaceListComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-marketplace-list\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_MarketplaceListComponent_0, RenderType_MarketplaceListComponent)), i1.ɵdid(1, 245760, null, 0, i18.MarketplaceListComponent, [i19.UserService, i20.DomainService, i21.DialogService, i22.AlertsService, i3.TranslateService, i17.Router, i23.OverlayService, i17.ActivatedRoute, i24.LocalStorageService, i25.EventsService, i14.GridService, i26.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar MarketplaceListComponentNgFactory = i1.ɵccf(\"sym-marketplace-list\", i18.MarketplaceListComponent, View_MarketplaceListComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { MarketplaceListComponentNgFactory as MarketplaceListComponentNgFactory };\n","/**\n * @file The action component allows users, particularly on mobile devices, to accept a demand on the marketplace in the detail view\n * @author Maarten Lensink\n */\nimport * as tslib_1 from \"tslib\";\nimport { Entity, EntityQuery, FetchStrategy, QueryOptions } from 'breeze-client';\nimport * as moment from 'moment';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ResourceService } from '../../resource.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nvar AcceptDemandComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AcceptDemandComponent, _super);\n /**\n * Creates an instance of AcceptDemandComponent.\n * @param {ActivatedRoute} route The route contains the entity key\n * @param {DomainService} domainService The domain service is used to retrieve the entity\n */\n function AcceptDemandComponent(resourceService, overlayProvider, overlayService, localisationService, domainService, alertsService) {\n var _this = _super.call(this) || this;\n _this.resourceService = resourceService;\n _this.overlayService = overlayService;\n _this.localisationService = localisationService;\n _this.domainService = domainService;\n _this.alertsService = alertsService;\n _this.entity = overlayProvider.entity;\n return _this;\n }\n /**\n * Returns a string representation of the date component of the parameter\n * @param {Date} date The date to be displayed\n * @returns The date in localised string format\n */\n AcceptDemandComponent.prototype.dateFormat = function (date) {\n return moment(date).format(this.localisationService.date.format);\n };\n /**\n * Returns a string representation of the time component of the parameter\n * @param {Date} date The date whose time is displayed\n * @returns The time in localised string format\n */\n AcceptDemandComponent.prototype.timeFormat = function (date) {\n return moment(date).format(this.localisationService.time.format);\n };\n /**\n * Converts an ISO 8601 duration string into a readable string\n * @param value The value to be parsed\n * @return An \"h:mm\" formatted string\n */\n AcceptDemandComponent.prototype.durationToString = function (value) {\n if (!value) {\n return '0:00';\n }\n var duration = moment.duration(value);\n return Math.floor(duration.asHours()) + ':' + ('0' + duration.minutes()).slice(-2);\n };\n /**\n * Finds the first available deployment, links the resource and plans it\n * @param {any} event The button that is pressed\n */\n AcceptDemandComponent.prototype.accept = function (event) {\n var _this = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n var effortFreeSlot = this.entity['EffortFreeSlot'];\n var found = false;\n var query = EntityQuery.from('DeploymentsOfDemand').expand('Resource');\n query.parameters = { oid: this.entity['Oid'] };\n query.queryOptions = new QueryOptions({ fetchStrategy: FetchStrategy.FromServer });\n this.domainService.entityManager.executeQuery(query).then(function (response) {\n // Detach deployments that do not exist any more.\n var collection = _this.entity['Deployments'];\n if (collection) {\n var i = collection.length;\n var _loop_1 = function () {\n // Remove deleted deployments from cache.\n i--;\n var item = collection[i];\n if (response.results.find(function (entity) { return item['Oid'] === entity['Oid']; }) == null) {\n collection.splice(i, 1);\n item.entityAspect.setDetached();\n }\n };\n while (i > 0) {\n _loop_1();\n }\n }\n response.results.forEach(function (deployment) {\n if (!deployment['Resource'] && deployment['Effort'] === effortFreeSlot && !found) {\n deployment['Resource_Oid'] = _this.resourceService.getResourceOid();\n deployment.plan(true);\n found = true;\n }\n });\n if (found) {\n _this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.MARKETPLACE.DEMAND.NOT_ACCEPTED');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.MARKETPLACE.DEMAND.ACCEPTED');\n }\n _this.overlayService.closeOverlay();\n });\n }\n else {\n _this.alertsService.createAlert('warning', 'APP.MARKETPLACE.DEMAND.TAKEN');\n _this.overlayService.closeOverlay();\n }\n });\n };\n /**\n * Closes the overlay without saving\n */\n AcceptDemandComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n return AcceptDemandComponent;\n}(AbstractBase));\nexport { AcceptDemandComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The action component allows users, particularly on mobile devices, to accept a demand on the marketplace in the detail view\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-translate/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./accept-demand.component\";\nimport * as i4 from \"../../resource.service\";\nimport * as i5 from \"../../ui/overlay-provider\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../core/localisation.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nvar styles_AcceptDemandComponent = [];\nvar RenderType_AcceptDemandComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AcceptDemandComponent, data: {} });\nexport { RenderType_AcceptDemandComponent as RenderType_AcceptDemandComponent };\nfunction View_AcceptDemandComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 45, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 29, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, [\"\", \":\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 25, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 6, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(8, null, [\" \", \": \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i0.ɵted(12, null, [\"\", \"\"])), (_l()(), i0.ɵeld(13, 0, null, null, 5, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 2, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(15, null, [\" \", \": \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i0.ɵted(18, null, [\" \", \" \", \" \"])), (_l()(), i0.ɵeld(19, 0, null, null, 5, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 2, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(21, null, [\" \", \": \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(23, 0, null, null, 1, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i0.ɵted(24, null, [\" \", \" \", \" \"])), (_l()(), i0.ɵeld(25, 0, null, null, 5, \"div\", [[\"class\", \"form-group row mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 2, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(27, null, [\" \", \": \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(29, 0, null, null, 1, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i0.ɵted(30, null, [\" \", \" \"])), (_l()(), i0.ɵeld(31, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(32, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(33, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.accept($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(36, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(37, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(38, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(40, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(42, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(43, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(44, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.MARKETPLACE.DEMAND.MESSAGE_TOP\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.MARKETPLACE.NAME\")); _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.entity.Name; _ck(_v, 12, 0, currVal_2); var currVal_3 = i0.ɵunv(_v, 15, 0, i0.ɵnov(_v, 16).transform(\"APP.MARKETPLACE.STARTS_ON\")); _ck(_v, 15, 0, currVal_3); var currVal_4 = _co.dateFormat(_co.entity.Start); var currVal_5 = _co.timeFormat(_co.entity.Start); _ck(_v, 18, 0, currVal_4, currVal_5); var currVal_6 = i0.ɵunv(_v, 21, 0, i0.ɵnov(_v, 22).transform(\"APP.MARKETPLACE.AND_ENDS_ON\")); _ck(_v, 21, 0, currVal_6); var currVal_7 = _co.dateFormat(_co.entity.Finish); var currVal_8 = _co.timeFormat(_co.entity.Finish); _ck(_v, 24, 0, currVal_7, currVal_8); var currVal_9 = i0.ɵunv(_v, 27, 0, i0.ɵnov(_v, 28).transform(\"APP.MISC.PLANITEM.EFFORT\")); _ck(_v, 27, 0, currVal_9); var currVal_10 = _co.durationToString(_co.entity.EffortFreeSlot); _ck(_v, 30, 0, currVal_10); var currVal_11 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 34, 0, i0.ɵnov(_v, 35).transform(\"APP.MARKETPLACE.CONFIRM\")), \"\"); _ck(_v, 34, 0, currVal_11); var currVal_12 = i0.ɵunv(_v, 38, 0, i0.ɵnov(_v, 39).transform(\"APP.MARKETPLACE.CONFIRM\")); _ck(_v, 38, 0, currVal_12); var currVal_13 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 40, 0, i0.ɵnov(_v, 41).transform(\"APP.MARKETPLACE.CANCEL\")), \"\"); _ck(_v, 40, 0, currVal_13); var currVal_14 = i0.ɵunv(_v, 44, 0, i0.ɵnov(_v, 45).transform(\"APP.MARKETPLACE.CANCEL\")); _ck(_v, 44, 0, currVal_14); }); }\nexport function View_AcceptDemandComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_AcceptDemandComponent_1)), i0.ɵdid(1, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entity; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_AcceptDemandComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-accept-demand\", [], null, null, null, View_AcceptDemandComponent_0, RenderType_AcceptDemandComponent)), i0.ɵdid(1, 180224, null, 0, i3.AcceptDemandComponent, [i4.ResourceService, i5.OverlayProvider, i6.OverlayService, i7.LocalisationService, i8.DomainService, i9.AlertsService], null, null)], null, null); }\nvar AcceptDemandComponentNgFactory = i0.ɵccf(\"sym-accept-demand\", i3.AcceptDemandComponent, View_AcceptDemandComponent_Host_0, {}, {}, []);\nexport { AcceptDemandComponentNgFactory as AcceptDemandComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\nimport { EntityQuery, FetchStrategy, QueryOptions } from 'breeze-client';\nimport * as moment from 'moment';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { ResourceService } from '../../resource.service';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\nvar AcceptServiceComponent = /** @class */ (function (_super) {\n tslib_1.__extends(AcceptServiceComponent, _super);\n /**\n * Creates an instance of AcceptServiceComponent.\n * @param {ActivatedRoute} route The route contains the entity key\n * @param {DomainService} domainService The domain service is used to retrieve the entity\n */\n function AcceptServiceComponent(overlayProvider, resourceService, overlayService, localisationService, domainService, alertsService) {\n var _this = _super.call(this) || this;\n _this.resourceService = resourceService;\n _this.overlayService = overlayService;\n _this.localisationService = localisationService;\n _this.domainService = domainService;\n _this.alertsService = alertsService;\n /** Indicates whether the attendant's period is shorter than its service */\n _this.deviatingTimes = false;\n _this.entity = overlayProvider.entity;\n var query = EntityQuery.from('AttendantsOfService').expand('Resource');\n query.parameters = { oid: _this.entity['Oid'] };\n query.queryOptions = new QueryOptions({ fetchStrategy: FetchStrategy.FromServer });\n _this.domainService.entityManager.executeQuery(query).then(function (response) {\n // Detach attendants that do not exist any more.\n var attendants = _this.entity['Attendants'];\n if (attendants) {\n var i = attendants.length;\n var _loop_1 = function () {\n // Remove deleted attendants from cache.\n var item = attendants[--i];\n if (!response.results.some(function (entity) { return item['Oid'] === entity['Oid']; })) {\n attendants.splice(i, 1);\n item.entityAspect.setDetached();\n }\n };\n while (i > 0) {\n _loop_1();\n }\n }\n _this.attendant = response.results.find(function (a) { return !a['Resource'] &&\n a['Start'].getTime() === _this.entity['StartBase'].getTime() && a['Finish'].getTime() === _this.entity['FinishBase'].getTime(); });\n // #3951: Eerst meldden we alleen kortere werktijden, maar sinds FIXED/FLOAT services alle afwijkingen\n _this.deviatingTimes = !_this.attendant;\n if (!_this.attendant) {\n _this.attendant = response.results.find(function (a) { return !a['Resource']; });\n }\n if (!_this.attendant) {\n _this.alertsService.createAlert('warning', 'APP.MARKETPLACE.SERVICE.TAKEN');\n _this.overlayService.closeOverlay();\n }\n });\n return _this;\n }\n /**\n * Returns a string representation of the date component of the parameter\n * @param {Date} date The date to be displayed\n * @returns The date in localised string format\n */\n AcceptServiceComponent.prototype.dateFormat = function (date) {\n return moment(date).format(this.localisationService.date.format);\n };\n /**\n * Returns a string representation of the time component of the parameter\n * @param {Date} date The date whose time is displayed\n * @returns The time in localised string format\n */\n AcceptServiceComponent.prototype.timeFormat = function (date) {\n return moment(date).format(this.localisationService.time.format);\n };\n /**\n * Attaches the user's resource to an unassigned attendant\n * @param {any} event The button that is pressed\n */\n AcceptServiceComponent.prototype.accept = function (event) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var attendant;\n var _this = this;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (event) {\n event.target.classList.add('sym-working');\n }\n return [4 /*yield*/, this.domainService.getEntityByKey(this.attendant.entityType, this.attendant['Oid'], false).toPromise()];\n case 1:\n attendant = _a.sent();\n if (!attendant['Resource_Oid']) {\n attendant['Resource_Oid'] = this.resourceService.getResourceOid();\n this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.MARKETPLACE.SERVICE.NOT_ACCEPTED');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.MARKETPLACE.SERVICE.ACCEPTED');\n }\n _this.overlayService.closeOverlay();\n });\n }\n else {\n this.alertsService.createAlert('warning', 'APP.MARKETPLACE.SERVICE.TAKEN');\n this.overlayService.closeOverlay();\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Closes the overlay without saving\n */\n AcceptServiceComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n return AcceptServiceComponent;\n}(AbstractBase));\nexport { AcceptServiceComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-translate/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./accept-service.component\";\nimport * as i4 from \"../../ui/overlay-provider\";\nimport * as i5 from \"../../resource.service\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../core/localisation.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nvar styles_AcceptServiceComponent = [];\nvar RenderType_AcceptServiceComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AcceptServiceComponent, data: {} });\nexport { RenderType_AcceptServiceComponent as RenderType_AcceptServiceComponent };\nfunction View_AcceptServiceComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"em\", [], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"APP.MARKETPLACE.SERVICE.DEVIATING_TIMES\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_AcceptServiceComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 2, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, [\" \", \": \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"div\", [[\"class\", \"form-group row mb-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 2, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(10, null, [\" \", \": \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i0.ɵted(13, null, [\" \", \" \", \" \"])), (_l()(), i0.ɵeld(14, 0, null, null, 7, \"div\", [[\"class\", \"form-group row mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 2, \"label\", [[\"class\", \"col-12 col-md-4 col-lg-12 col-xl-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(16, null, [\" \", \": \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 3, \"div\", [[\"class\", \"col-12 col-md-8 col-lg-12 col-xl-8\"]], null, null, null, null, null)), (_l()(), i0.ɵted(19, null, [\" \", \" \", \" \"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AcceptServiceComponent_3)), i0.ɵdid(21, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.deviatingTimes; _ck(_v, 21, 0, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.MARKETPLACE.NAME\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.attendant.Name; _ck(_v, 7, 0, currVal_1); var currVal_2 = i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.MARKETPLACE.STARTS_ON\")); _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.dateFormat(_co.attendant.Start); var currVal_4 = _co.timeFormat(_co.attendant.Start); _ck(_v, 13, 0, currVal_3, currVal_4); var currVal_5 = i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.MARKETPLACE.AND_ENDS_ON\")); _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.dateFormat(_co.attendant.Finish); var currVal_7 = _co.timeFormat(_co.attendant.Finish); _ck(_v, 19, 0, currVal_6, currVal_7); }); }\nfunction View_AcceptServiceComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, [\"\", \":\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AcceptServiceComponent_2)), i0.ɵdid(6, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(7, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.accept($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(14, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.attendant; _ck(_v, 6, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.MARKETPLACE.SERVICE.MESSAGE_TOP\")); _ck(_v, 3, 0, currVal_0); var currVal_2 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"APP.MARKETPLACE.CONFIRM\")), \"\"); _ck(_v, 10, 0, currVal_2); var currVal_3 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.MARKETPLACE.CONFIRM\")); _ck(_v, 14, 0, currVal_3); var currVal_4 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"APP.MARKETPLACE.CANCEL\")), \"\"); _ck(_v, 16, 0, currVal_4); var currVal_5 = i0.ɵunv(_v, 20, 0, i0.ɵnov(_v, 21).transform(\"APP.MARKETPLACE.CANCEL\")); _ck(_v, 20, 0, currVal_5); }); }\nexport function View_AcceptServiceComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_AcceptServiceComponent_1)), i0.ɵdid(1, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.entity; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_AcceptServiceComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-accept-service\", [], null, null, null, View_AcceptServiceComponent_0, RenderType_AcceptServiceComponent)), i0.ɵdid(1, 180224, null, 0, i3.AcceptServiceComponent, [i4.OverlayProvider, i5.ResourceService, i6.OverlayService, i7.LocalisationService, i8.DomainService, i9.AlertsService], null, null)], null, null); }\nvar AcceptServiceComponentNgFactory = i0.ɵccf(\"sym-accept-service\", i3.AcceptServiceComponent, View_AcceptServiceComponent_Host_0, {}, {}, []);\nexport { AcceptServiceComponentNgFactory as AcceptServiceComponentNgFactory };\n","/**\n * @file Column component for displaying a marketplace demand column\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, OnDestroy } from '@angular/core';\nimport { EntityQuery, Entity, FetchStrategy, QueryOptions, QueryResult } from 'breeze-client';\nimport { DomainService } from '../../domain.service';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { BackendSettingsService } from '../../backend-settings.service';\n/**\n * Column component for displaying a marektplace demand value\n */\nvar ColumnMarketplaceDemandComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnMarketplaceDemandComponent, _super);\n /**\n * Constructs a ColumnMarketplaceServiceComponent\n * @param provider Provides the configuration information for the column\n * @param changeDetector The parameter is not used\n * @param domainService The domain service\n * @param overlayService The overlay service\n */\n function ColumnMarketplaceDemandComponent(resourceService, provider, changeDetector, domainService, overlayService, backendSettingsService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.resourceService = resourceService;\n _this.domainService = domainService;\n _this.overlayService = overlayService;\n _this.backendSettingsService = backendSettingsService;\n _this.configuration = null;\n /** The priority of the demand on the marketplace */\n _this.priority = 'unknown';\n /** The total number of deployments with a resource attached on this demand */\n _this.filledSlots = 0;\n /** The OID of the user's resource */\n // private resourceOid: string;\n /** A value indicating whether the user's resource is already on one of the demand's deployments */\n _this.taken = false;\n /** A value indicating whether the item is past the publishedTill date */\n _this.published = true;\n /** The deployments are stored in order to (un)subscribe to property changes */\n _this.deployments = [];\n /**\n * The configuration of the marketplace action for this type of column.\n * @private\n * @type {ActionConfiguration}\n * @memberOf ColumnMarketplaceDemandComponent\n */\n _this.action = null;\n if (_this.provider.entity &&\n _this.provider.entity['MarketplacePriority'] >= 0 &&\n ColumnMarketplaceDemandComponent.priorityName.length > _this.provider.entity['MarketplacePriority']) {\n _this.priority = ColumnMarketplaceDemandComponent.priorityName[_this.provider.entity['MarketplacePriority']];\n }\n _this.deploymentQuery = EntityQuery.from('DeploymentsOfDemand').expand('Resource');\n _this.deploymentQuery.parameters = { oid: _this.provider.entity['Oid'] };\n _this.deploymentQuery.queryOptions = new QueryOptions({ fetchStrategy: FetchStrategy.FromServer });\n _this.refresh();\n _this.subscriptionPool.add(_this.domainService.queryFinishedEvent.subscribe(function (result) {\n if (result.query.resourceName === 'MarketDemands') {\n _this.refresh();\n }\n }));\n _this.action = _this.provider.field.format;\n return _this;\n }\n /**\n * Register this column class for the column provider\n */\n ColumnMarketplaceDemandComponent.register = function () {\n ComponentRegistry.register('column', 'marketplace-demand', ColumnMarketplaceDemandComponent);\n };\n /**\n * Unsubscribes the refresh subscription and deployment property changes\n */\n ColumnMarketplaceDemandComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n this.deployments.forEach(function (deployment) {\n deployment.entityAspect.propertyChanged.unsubscribe(deployment['$propertyChangedSubscription']);\n });\n };\n /**\n * Returns a string describing the marketplace status of the service (see the template)\n */\n ColumnMarketplaceDemandComponent.prototype.getStatus = function () {\n if (!this.published) {\n return 'unpublished';\n }\n else if (this.taken) {\n return 'taken';\n }\n else if (this.totalSlots === 0) {\n return 'none';\n }\n else if (this.filledSlots === this.totalSlots) {\n return 'full';\n }\n else if (this.totalSlots != null && this.totalSlots > this.filledSlots) {\n return 'open';\n }\n return 'loading';\n };\n /**\n * Opens a dialog asking the user to confirm if he wants to accept the task\n * @param event The click event\n */\n ColumnMarketplaceDemandComponent.prototype.getOverlay = function (event) {\n event.stopPropagation();\n if (!this.action) {\n return;\n }\n this.overlayService.createOverlay({\n action: this.action,\n entity: this.provider.entity\n });\n };\n /**\n * Does nothing\n */\n ColumnMarketplaceDemandComponent.prototype.startOptimisedChangeDetection = function () {\n // Overriding this method causes the component to refresh by Angular's default rather than by an entity change.\n // The column displays a related entity count and not any of the entity's properties.\n };\n /**\n * Retrieves the deployments\n */\n ColumnMarketplaceDemandComponent.prototype.refresh = function () {\n var _this = this;\n this.totalSlots = null;\n if (!this.provider.entity) {\n return;\n }\n // All deployments are re-queried\n this.deployments.forEach(function (deployment) {\n deployment.entityAspect.propertyChanged.unsubscribe(deployment['$propertyChangedSubscription']);\n });\n this.deployments = [];\n // Fix for #1706\n this.taken = false;\n // Optimistic approach\n this.published = true;\n // Keep track of the published state\n var isPublished = true;\n // First we check if entity is published\n if (this.provider.entity['Start']) {\n isPublished = this.backendSettingsService.publishedTill.isAfter(this.provider.entity['Start']);\n }\n // Only proceed if entity is published (to prevent unnecessary requests)\n if (isPublished) {\n // Make column in published state\n this.published = true;\n // Execute the query and set total slots, filled slots and taken etc.\n this.domainService.entityManager.executeQuery(this.deploymentQuery).then(function (response) {\n _this.totalSlots = response.results.length;\n _this.filledSlots = 0;\n _this.taken = false;\n // Detach deployments that do not exist any more.\n var collection = _this.provider.entity['Deployments'];\n if (collection) {\n var i = collection.length;\n var _loop_1 = function () {\n // Remove deleted deployments from cache.\n i--;\n var item = collection[i];\n if (response.results.find(function (entity) { return item['Oid'] === entity['Oid']; }) == null) {\n collection.splice(i, 1);\n if (item['$propertyChangedSubscription']) {\n item.entityAspect.propertyChanged.unsubscribe(item['$propertyChangedSubscription']);\n }\n item.entityAspect.setDetached();\n }\n };\n while (i > 0) {\n _loop_1();\n }\n }\n response.results.forEach(function (deployment) {\n _this.deployments.push(deployment);\n // This subscription is required in case the user chooses to attend through the accept-demand action\n deployment['$propertyChangedSubscription'] = deployment.entityAspect.propertyChanged.subscribe(function (data) {\n if (data.propertyName === 'Resource_Oid' && data.newValue === _this.resourceService.getResourceOid()) {\n _this.taken = true;\n }\n });\n if (deployment['Resource']) {\n _this.filledSlots++;\n if (deployment['Resource_Oid'] === _this.resourceService.getResourceOid()) {\n _this.taken = true;\n }\n }\n });\n });\n }\n else {\n // Give the column 'a loading state' to indicate that it is working\n setTimeout(function () {\n // Make column in unpublished state\n _this.published = false;\n }, 500);\n }\n };\n /** The string representation of marketplace priorities */\n ColumnMarketplaceDemandComponent.priorityName = ['low', 'normal', 'high'];\n return ColumnMarketplaceDemandComponent;\n}(ColumnBase));\nexport { ColumnMarketplaceDemandComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a marketplace demand column\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-marketplace-demand.component\";\nimport * as i5 from \"../../resource.service\";\nimport * as i6 from \"../../base/column-provider\";\nimport * as i7 from \"../../domain.service\";\nimport * as i8 from \"../../core/overlay.service\";\nimport * as i9 from \"../../backend-settings.service\";\nvar styles_ColumnMarketplaceDemandComponent = [i0.styles];\nvar RenderType_ColumnMarketplaceDemandComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnMarketplaceDemandComponent, data: {} });\nexport { RenderType_ColumnMarketplaceDemandComponent as RenderType_ColumnMarketplaceDemandComponent };\nfunction View_ColumnMarketplaceDemandComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin text-muted\"]], null, null, null, null, null))], null, null); }\nfunction View_ColumnMarketplaceDemandComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted \"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.UNPUBLISHED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceDemandComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.NONE\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceDemandComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.TAKEN\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceDemandComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.FULL\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceDemandComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.getOverlay($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"(\", \"/\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(2, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"APP.LISTS.COLUMN.MARKETPLACE-DEMAND.ATTEND\")), \" - \", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 2).transform(\"APP.ALERTS.DETAILS\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"icon sym-icon-pick sym-priority-\", _co.priority, \"\"); _ck(_v, 3, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.LISTS.COLUMN.MARKETPLACE-DEMAND.ATTEND\")); _ck(_v, 5, 0, currVal_2); var currVal_3 = _co.filledSlots; var currVal_4 = _co.totalSlots; _ck(_v, 8, 0, currVal_3, currVal_4); }); }\nexport function View_ColumnMarketplaceDemandComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-marketplace-demand text-center\"]], null, null, null, null, null)), i1.ɵdid(1, 16384, null, 0, i3.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceDemandComponent_1)), i1.ɵdid(3, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceDemandComponent_2)), i1.ɵdid(5, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceDemandComponent_3)), i1.ɵdid(7, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceDemandComponent_4)), i1.ɵdid(9, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceDemandComponent_5)), i1.ɵdid(11, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceDemandComponent_6)), i1.ɵdid(13, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getStatus(); _ck(_v, 1, 0, currVal_0); var currVal_1 = \"loading\"; _ck(_v, 3, 0, currVal_1); var currVal_2 = \"unpublished\"; _ck(_v, 5, 0, currVal_2); var currVal_3 = \"none\"; _ck(_v, 7, 0, currVal_3); var currVal_4 = \"taken\"; _ck(_v, 9, 0, currVal_4); var currVal_5 = \"full\"; _ck(_v, 11, 0, currVal_5); var currVal_6 = \"open\"; _ck(_v, 13, 0, currVal_6); }, null); }\nexport function View_ColumnMarketplaceDemandComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-marketplace-demand\", [], null, null, null, View_ColumnMarketplaceDemandComponent_0, RenderType_ColumnMarketplaceDemandComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnMarketplaceDemandComponent, [i5.ResourceService, i6.ColumnProvider, i1.ChangeDetectorRef, i7.DomainService, i8.OverlayService, i9.BackendSettingsService], null, null)], null, null); }\nvar ColumnMarketplaceDemandComponentNgFactory = i1.ɵccf(\"sym-column-marketplace-demand\", i4.ColumnMarketplaceDemandComponent, View_ColumnMarketplaceDemandComponent_Host_0, {}, {}, []);\nexport { ColumnMarketplaceDemandComponentNgFactory as ColumnMarketplaceDemandComponentNgFactory };\n","/**\n * @file Column component for displaying a marketplace service column\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef, OnDestroy } from '@angular/core';\nimport { EntityQuery, Entity, FetchStrategy, QueryOptions, QueryResult } from 'breeze-client';\nimport { DomainService } from '../../domain.service';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ResourceService } from '../../resource.service';\nimport { BackendSettingsService } from '../../backend-settings.service';\n/**\n * Column component for displaying a marketplace service value\n */\nvar ColumnMarketplaceServiceComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnMarketplaceServiceComponent, _super);\n /**\n * Constructs a ColumnMarketplaceServiceComponent\n * @param provider Provides the configuration information for the column\n * @param changeDetector The parameter is not used\n * @param domainService The domain service\n * @param dialogService The dialog service\n * @param translateService The translation service\n * @param alertService The alert service\n * @param {LocalisationService} localisationService The localisation service.\n */\n function ColumnMarketplaceServiceComponent(resourceService, provider, changeDetector, domainService, overlayService, backendSettingsService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.resourceService = resourceService;\n _this.domainService = domainService;\n _this.overlayService = overlayService;\n _this.backendSettingsService = backendSettingsService;\n _this.configuration = null;\n /** The priority of the demand on the marketplace */\n _this.priority = 'unknown';\n /** The total number of deployments with a resource attached on this demand */\n _this.filledSlots = 0;\n /** A value indicating whether the user's resource is already on one of the service's attendants */\n _this.taken = false;\n /** A value indicating whether the item is past the publishedTill date */\n _this.published = true;\n /** The attendants are stored in order to (un)subscribe to property changes */\n _this.attendants = [];\n /**\n * The configuration of the marketplace action for this type of column.\n * @private\n * @type {ActionConfiguration}\n * @memberOf ColumnMarketplaceServiceComponent\n */\n _this.action = null;\n if (_this.provider.entity &&\n _this.provider.entity['MarketplacePriority'] >= 0 &&\n ColumnMarketplaceServiceComponent.priorityName.length > _this.provider.entity['MarketplacePriority']) {\n _this.priority = ColumnMarketplaceServiceComponent.priorityName[_this.provider.entity['MarketplacePriority']];\n }\n _this.attendantQuery = EntityQuery.from('AttendantsOfService').expand('Resource');\n _this.attendantQuery.parameters = { oid: _this.provider.entity['Oid'] };\n _this.attendantQuery.queryOptions = new QueryOptions({ fetchStrategy: FetchStrategy.FromServer });\n _this.refresh();\n _this.subscriptionPool.add(_this.domainService.queryFinishedEvent.subscribe(function (result) {\n if (result.query.resourceName === 'MarketServices') {\n _this.refresh();\n }\n }));\n _this.action = _this.provider.field.format;\n return _this;\n }\n /** Register this column class for the column provider */\n ColumnMarketplaceServiceComponent.register = function () {\n ComponentRegistry.register('column', 'marketplace-service', ColumnMarketplaceServiceComponent);\n };\n /**\n * Unsubscribes the refresh subscription and attendant property changes\n */\n ColumnMarketplaceServiceComponent.prototype.ngOnDestroy = function () {\n _super.prototype.ngOnDestroy.call(this);\n this.attendants.forEach(function (attendant) {\n attendant.entityAspect.propertyChanged.unsubscribe(attendant['$propertyChangedSubscription']);\n });\n };\n /**\n * Returns a string describing the marketplace status of the service (see the template)\n */\n ColumnMarketplaceServiceComponent.prototype.getStatus = function () {\n if (!this.published) {\n return 'unpublished';\n }\n else if (this.taken) {\n return 'taken';\n }\n else if (this.totalSlots === 0) {\n return 'none';\n }\n else if (this.filledSlots === this.totalSlots) {\n return 'full';\n }\n else if (this.totalSlots != null && this.totalSlots > this.filledSlots) {\n return 'open';\n }\n return 'loading';\n };\n /**\n * Opens a dialog asking the user to confirm if he wants to accept the task\n * @param event The click event\n */\n ColumnMarketplaceServiceComponent.prototype.getOverlay = function (event) {\n event.stopPropagation();\n if (!this.action) {\n return;\n }\n this.overlayService.createOverlay({\n action: this.action,\n entity: this.provider.entity\n });\n };\n /**\n * Does nothing\n */\n ColumnMarketplaceServiceComponent.prototype.startOptimisedChangeDetection = function () {\n // Overriding this method causes the component to refresh by Angular's default rather than by an entity change.\n // The column displays a related entity count and not any of the entity's properties.\n };\n /**\n * Retrieves the deployments\n */\n ColumnMarketplaceServiceComponent.prototype.refresh = function () {\n var _this = this;\n this.totalSlots = null;\n if (!this.provider.entity) {\n return;\n }\n // All deployments are re-queried\n this.attendants.forEach(function (attendant) {\n attendant.entityAspect.propertyChanged.unsubscribe(attendant['$propertyChangedSubscription']);\n });\n this.attendants = [];\n // Fix for #1706\n this.taken = false;\n // Optimistic approach\n this.published = true;\n // Keep track of the published state\n var isPublished = true;\n // First we check if entity is published\n if (this.provider.entity['Start']) {\n isPublished = this.backendSettingsService.publishedTill.isAfter(this.provider.entity['Start']);\n }\n // Only proceed if entity is published (to prevent unnecessary requests)\n if (isPublished) {\n // Make column in published state\n this.published = true;\n // Execute the query and set total slots, filled slots and taken etc.\n this.domainService.entityManager.executeQuery(this.attendantQuery).then(function (response) {\n _this.totalSlots = response.results.length;\n _this.filledSlots = 0;\n _this.taken = false;\n _this.attendant = null;\n // Detach attendants that do not exist any more.\n var collection = _this.provider.entity['Attendants'];\n if (collection) {\n var i = collection.length;\n var _loop_1 = function () {\n // Remove deleted attendants from cache.\n i--;\n var item = collection[i];\n if (response.results.find(function (entity) { return item['Oid'] === entity['Oid']; }) == null) {\n collection.splice(i, 1);\n if (item['$propertyChangedSubscription']) {\n item.entityAspect.propertyChanged.unsubscribe(item['$propertyChangedSubscription']);\n }\n item.entityAspect.setDetached();\n }\n };\n while (i > 0) {\n _loop_1();\n }\n }\n response.results.forEach(function (attendant) {\n _this.attendants.push(attendant);\n // This subscription is required in case the user chooses to attend through the accept-service action\n attendant['$propertyChangedSubscription'] = attendant.entityAspect.propertyChanged.subscribe(function (data) {\n if (data.propertyName === 'Resource_Oid' && data.newValue === _this.resourceService.getResourceOid()) {\n _this.taken = true;\n }\n });\n if (attendant['Resource']) {\n _this.filledSlots++;\n if (attendant['Resource_Oid'] === _this.resourceService.getResourceOid()) {\n _this.taken = true;\n }\n }\n else if (!_this.attendant) {\n _this.attendant = attendant;\n }\n });\n });\n }\n else {\n // Give the column 'a loading state' to indicate that it is working\n setTimeout(function () {\n // Make column in unpublished state\n _this.published = false;\n }, 500);\n }\n };\n /** The string representation of marketplace priorities */\n ColumnMarketplaceServiceComponent.priorityName = ['low', 'normal', 'high'];\n return ColumnMarketplaceServiceComponent;\n}(ColumnBase));\nexport { ColumnMarketplaceServiceComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying a marketplace service column\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-marketplace-service.component\";\nimport * as i5 from \"../../resource.service\";\nimport * as i6 from \"../../base/column-provider\";\nimport * as i7 from \"../../domain.service\";\nimport * as i8 from \"../../core/overlay.service\";\nimport * as i9 from \"../../backend-settings.service\";\nvar styles_ColumnMarketplaceServiceComponent = [i0.styles];\nvar RenderType_ColumnMarketplaceServiceComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnMarketplaceServiceComponent, data: {} });\nexport { RenderType_ColumnMarketplaceServiceComponent as RenderType_ColumnMarketplaceServiceComponent };\nfunction View_ColumnMarketplaceServiceComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin text-muted\"]], null, null, null, null, null))], null, null); }\nfunction View_ColumnMarketplaceServiceComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted \"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.UNPUBLISHED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceServiceComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted \"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.NONE\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceServiceComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.TAKEN\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceServiceComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.LISTS.COLUMN.MARKETPLACE.FULL\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ColumnMarketplaceServiceComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.getOverlay($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"(\", \"/\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(2, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"APP.LISTS.COLUMN.MARKETPLACE-SERVICE.ATTEND\")), \" - \", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 2).transform(\"APP.ALERTS.DETAILS\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"icon sym-icon-pick sym-priority-\", _co.priority, \"\"); _ck(_v, 3, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.LISTS.COLUMN.MARKETPLACE-SERVICE.ATTEND\")); _ck(_v, 5, 0, currVal_2); var currVal_3 = _co.filledSlots; var currVal_4 = _co.totalSlots; _ck(_v, 8, 0, currVal_3, currVal_4); }); }\nexport function View_ColumnMarketplaceServiceComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-marketplace-service text-center\"]], null, null, null, null, null)), i1.ɵdid(1, 16384, null, 0, i3.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceServiceComponent_1)), i1.ɵdid(3, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceServiceComponent_2)), i1.ɵdid(5, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceServiceComponent_3)), i1.ɵdid(7, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceServiceComponent_4)), i1.ɵdid(9, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceServiceComponent_5)), i1.ɵdid(11, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnMarketplaceServiceComponent_6)), i1.ɵdid(13, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getStatus(); _ck(_v, 1, 0, currVal_0); var currVal_1 = \"loading\"; _ck(_v, 3, 0, currVal_1); var currVal_2 = \"unpublished\"; _ck(_v, 5, 0, currVal_2); var currVal_3 = \"none\"; _ck(_v, 7, 0, currVal_3); var currVal_4 = \"taken\"; _ck(_v, 9, 0, currVal_4); var currVal_5 = \"full\"; _ck(_v, 11, 0, currVal_5); var currVal_6 = \"open\"; _ck(_v, 13, 0, currVal_6); }, null); }\nexport function View_ColumnMarketplaceServiceComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-marketplace-service\", [], null, null, null, View_ColumnMarketplaceServiceComponent_0, RenderType_ColumnMarketplaceServiceComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnMarketplaceServiceComponent, [i5.ResourceService, i6.ColumnProvider, i1.ChangeDetectorRef, i7.DomainService, i8.OverlayService, i9.BackendSettingsService], null, null)], null, null); }\nvar ColumnMarketplaceServiceComponentNgFactory = i1.ɵccf(\"sym-column-marketplace-service\", i4.ColumnMarketplaceServiceComponent, View_ColumnMarketplaceServiceComponent_Host_0, {}, {}, []);\nexport { ColumnMarketplaceServiceComponentNgFactory as ColumnMarketplaceServiceComponentNgFactory };\n","/**\n * @file The WithdrawAssignmentComponent is used to retract an assignment and put it back to the marketplace\n * The component is activated with an action button and displayed in the overlay\n * @author Maarten Lensink\n */\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { RoutesService } from '../../routes.service';\n/**\n * Allows the user to confirm or cancel withdraw the marketplace assignment\n * @export\n * @class WithdrawAssignmentComponent\n */\nvar WithdrawAssignmentComponent = /** @class */ (function () {\n /**\n * Creates an instance of WithdrawAssignmentComponent\n * @param {DomainService} domainService The domain service\n * @param {OverlayService} overlayService The overlay service\n * @param {AlertsService} alertsService The alert service\n * @param {OverlayProvider} overlayProvider The overlay provider contains the entity\n */\n function WithdrawAssignmentComponent(domainService, overlayService, alertsService, route, router, overlayProvider) {\n this.domainService = domainService;\n this.overlayService = overlayService;\n this.alertsService = alertsService;\n this.route = route;\n this.router = router;\n if (overlayProvider.entity['Item']) {\n this.entity = overlayProvider.entity['Item'];\n }\n else {\n this.entity = overlayProvider.entity;\n }\n }\n /**\n * Deletes the assignment, removes the resource from the deployment and closes the overlay\n * @param {any} event The click event that triggered this method\n */\n WithdrawAssignmentComponent.prototype.confirm = function (event) {\n var _this = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.entity['Deployment']['Resource_Oid'] = '';\n this.domainService.setDeleted(this.entity);\n this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.MARKETPLACE.ITEM_UNSUCCESSFULLY_WITHDRAWN');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.MARKETPLACE.ITEM_SUCCESSFULLY_WITHDRAWN');\n _this.navigateToClose();\n }\n _this.overlayService.closeOverlay();\n });\n };\n /**\n * Closes the overlay\n */\n WithdrawAssignmentComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n WithdrawAssignmentComponent.prototype.navigateToClose = function () {\n var _this = this;\n var queryParams = {};\n Object.keys(this.route.snapshot.queryParams).forEach(function (key) {\n queryParams[key] = _this.route.snapshot.queryParams[key];\n });\n queryParams['delete-result'] = this.entity['Oid'];\n RoutesService.navigateBack(this.router, this.route, queryParams);\n };\n return WithdrawAssignmentComponent;\n}());\nexport { WithdrawAssignmentComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The WithdrawAssignmentComponent is used to retract an assignment and put it back to the marketplace\n * The component is activated with an action button and displayed in the overlay\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-translate/core\";\nimport * as i2 from \"./withdraw-assignment.component\";\nimport * as i3 from \"../../domain.service\";\nimport * as i4 from \"../../core/overlay.service\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"@angular/router\";\nimport * as i7 from \"../../ui/overlay-provider\";\nvar styles_WithdrawAssignmentComponent = [];\nvar RenderType_WithdrawAssignmentComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_WithdrawAssignmentComponent, data: {} });\nexport { RenderType_WithdrawAssignmentComponent as RenderType_WithdrawAssignmentComponent };\nexport function View_WithdrawAssignmentComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 19, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.confirm($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(12, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(14, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(18, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.MARKETPLACE.WITHDRAW_ASSIGNMENT\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.MARKETPLACE.CONFIRM\")), \"\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = i0.ɵunv(_v, 12, 0, i0.ɵnov(_v, 13).transform(\"APP.MARKETPLACE.CONFIRM\")); _ck(_v, 12, 0, currVal_2); var currVal_3 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.MARKETPLACE.CANCEL\")), \"\"); _ck(_v, 14, 0, currVal_3); var currVal_4 = i0.ɵunv(_v, 18, 0, i0.ɵnov(_v, 19).transform(\"APP.MARKETPLACE.CANCEL\")); _ck(_v, 18, 0, currVal_4); }); }\nexport function View_WithdrawAssignmentComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-withdraw-assignment\", [], null, null, null, View_WithdrawAssignmentComponent_0, RenderType_WithdrawAssignmentComponent)), i0.ɵdid(1, 49152, null, 0, i2.WithdrawAssignmentComponent, [i3.DomainService, i4.OverlayService, i5.AlertsService, i6.ActivatedRoute, i6.Router, i7.OverlayProvider], null, null)], null, null); }\nvar WithdrawAssignmentComponentNgFactory = i0.ɵccf(\"sym-withdraw-assignment\", i2.WithdrawAssignmentComponent, View_WithdrawAssignmentComponent_Host_0, {}, {}, []);\nexport { WithdrawAssignmentComponentNgFactory as WithdrawAssignmentComponentNgFactory };\n","/**\n * @file The WithdrawAttendantComponent is used to retract an attendant and put it back to the marketplace\n * The component is activated with an action button and displayed in the overlay\n * @author Maarten Lensink\n */\nimport { Router } from '@angular/router';\nimport { OverlayProvider } from '../../ui/overlay-provider';\nimport { OverlayService } from '../../core/overlay.service';\nimport { DomainService } from '../../domain.service';\nimport { AlertsService } from '../../core/alerts.service';\n/**\n * Allows the user to confirm or cancel withdraw the marketplace attendant.\n * @export\n * @class WithdrawAttendantComponent\n */\nvar WithdrawAttendantComponent = /** @class */ (function () {\n /**\n * Creates an instance of WithdrawAttendantComponent.\n * @param {DomainService} domainService The domain service\n * @param {OverlayService} overlayService The overlay service\n * @param {AlertsService} alertsService The alert service\n * @param {OverlayProvider} overlayProvider The overlay provider contains the entity\n * @memberOf WithdrawAttendantComponent\n */\n function WithdrawAttendantComponent(domainService, overlayService, alertsService, router, overlayProvider) {\n this.domainService = domainService;\n this.overlayService = overlayService;\n this.alertsService = alertsService;\n this.router = router;\n if (overlayProvider.entity['Item']) {\n this.entity = overlayProvider.entity['Item'];\n }\n else {\n this.entity = overlayProvider.entity;\n }\n }\n /**\n * Removes the resource from the attendant and closes the overlay.\n * @param {any} event The click event that triggered this method.\n * @memberOf WithdrawAttendantComponent\n */\n WithdrawAttendantComponent.prototype.confirm = function (event) {\n var _this = this;\n if (event) {\n event.target.classList.add('sym-working');\n }\n this.entity['Resource_Oid'] = '';\n this.domainService.saveChanges(function (error) {\n if (error) {\n _this.alertsService.createAlert('warning', 'APP.MARKETPLACE.ITEM_UNSUCCESSFULLY_WITHDRAWN');\n }\n else {\n _this.alertsService.createAlert('success', 'APP.MARKETPLACE.ITEM_SUCCESSFULLY_WITHDRAWN');\n _this.navigateToClose();\n }\n _this.overlayService.closeOverlay();\n });\n };\n /**\n * Closes the overlay.\n * @memberOf WithdrawAttendantComponent\n */\n WithdrawAttendantComponent.prototype.cancel = function () {\n this.overlayService.closeOverlay();\n };\n /**\n * Closes the detail view.\n * @protected\n * @memberOf WithdrawAttendantComponent\n */\n WithdrawAttendantComponent.prototype.navigateToClose = function () {\n // Find the URL parameters and add the delete result.\n var index = this.router.url.indexOf('?');\n var urlParams = (index !== -1 ? this.router.url.substring(index) + '&' : '?') + 'delete-result=' + this.entity['Oid'];\n // Go up two levels to close the detail view.\n index = this.router.url.lastIndexOf('/');\n index = this.router.url.lastIndexOf('/', index - 1);\n if (index !== -1) {\n var url = this.router.url.substring(0, index) + urlParams;\n this.router.navigateByUrl(url);\n }\n };\n return WithdrawAttendantComponent;\n}());\nexport { WithdrawAttendantComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The WithdrawAttendantComponent is used to retract an attendant and put it back to the marketplace\n * The component is activated with an action button and displayed in the overlay\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-translate/core\";\nimport * as i2 from \"./withdraw-attendant.component\";\nimport * as i3 from \"../../domain.service\";\nimport * as i4 from \"../../core/overlay.service\";\nimport * as i5 from \"../../core/alerts.service\";\nimport * as i6 from \"@angular/router\";\nimport * as i7 from \"../../ui/overlay-provider\";\nvar styles_WithdrawAttendantComponent = [];\nvar RenderType_WithdrawAttendantComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_WithdrawAttendantComponent, data: {} });\nexport { RenderType_WithdrawAttendantComponent as RenderType_WithdrawAttendantComponent };\nexport function View_WithdrawAttendantComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 19, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"mb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i0.ɵted(3, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(5, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 13, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.confirm($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(10, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-accept\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(12, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(14, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-decline\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(18, null, [\"\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 3, 0, i0.ɵnov(_v, 4).transform(\"APP.MARKETPLACE.WITHDRAW_ATTENDANT\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.MARKETPLACE.CONFIRM\")), \"\"); _ck(_v, 8, 0, currVal_1); var currVal_2 = i0.ɵunv(_v, 12, 0, i0.ɵnov(_v, 13).transform(\"APP.MARKETPLACE.CONFIRM\")); _ck(_v, 12, 0, currVal_2); var currVal_3 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"APP.MARKETPLACE.CANCEL\")), \"\"); _ck(_v, 14, 0, currVal_3); var currVal_4 = i0.ɵunv(_v, 18, 0, i0.ɵnov(_v, 19).transform(\"APP.MARKETPLACE.CANCEL\")); _ck(_v, 18, 0, currVal_4); }); }\nexport function View_WithdrawAttendantComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-withdraw-attendant\", [], null, null, null, View_WithdrawAttendantComponent_0, RenderType_WithdrawAttendantComponent)), i0.ɵdid(1, 49152, null, 0, i2.WithdrawAttendantComponent, [i3.DomainService, i4.OverlayService, i5.AlertsService, i6.Router, i7.OverlayProvider], null, null)], null, null); }\nvar WithdrawAttendantComponentNgFactory = i0.ɵccf(\"sym-withdraw-attendant\", i2.WithdrawAttendantComponent, View_WithdrawAttendantComponent_Host_0, {}, {}, []);\nexport { WithdrawAttendantComponentNgFactory as WithdrawAttendantComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-timeline-item[_ngcontent-%COMP%]{margin-bottom:1rem;border:1px solid #dee2e6;padding:0;background-color:#fbfcfc}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%]{display:table;width:100%;table-layout:fixed}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part[_ngcontent-%COMP%]{display:table-cell}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-1-5[_ngcontent-%COMP%]{width:20%}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-2-5[_ngcontent-%COMP%]{width:40%}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-3-5[_ngcontent-%COMP%]{width:60%}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-4-5[_ngcontent-%COMP%]{width:80%}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-5-5[_ngcontent-%COMP%]{width:100%}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-icon[_ngcontent-%COMP%]{text-align:center;vertical-align:middle}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:64px}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-profile-picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:96px;height:96px}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-mind[_ngcontent-%COMP%]{background-color:#72aba9}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-profile[_ngcontent-%COMP%]{background-color:#b2d1d0}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-project[_ngcontent-%COMP%]{background-color:#b2c2d1}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-appointment[_ngcontent-%COMP%]{background-color:#b3d1b2}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-notification[_ngcontent-%COMP%]{background-color:#be9293}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-planning[_ngcontent-%COMP%]{background-color:#d1b2c3}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-realisation[_ngcontent-%COMP%]{background-color:#d1d0b2}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-holidays[_ngcontent-%COMP%]{background-color:#d1c0b2}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-task[_ngcontent-%COMP%]{background-color:#c0b2d1}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-task.sym-timeline-item-part-leftborder[_ngcontent-%COMP%]{border-left:1px solid #a692be}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-start[_ngcontent-%COMP%]{text-align:center}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-start[_ngcontent-%COMP%] .sym-timeline-item-start-title[_ngcontent-%COMP%]{color:#6c757d;font-size:.8rem}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-start[_ngcontent-%COMP%] .sym-timeline-item-start-date[_ngcontent-%COMP%], .sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-start[_ngcontent-%COMP%] .sym-timeline-item-start-time[_ngcontent-%COMP%]{font-size:1.5rem}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-start[_ngcontent-%COMP%] .sym-timeline-item-start-time[_ngcontent-%COMP%]{line-height:1.6rem}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part.sym-timeline-item-part-message[_ngcontent-%COMP%]{padding-top:.5rem;padding-left:.5rem;padding-right:.5rem}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part[_ngcontent-%COMP%] .sym-timeline-item-message[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.3rem!important}.sym-timeline-item[_ngcontent-%COMP%] .sym-timeline-item-content[_ngcontent-%COMP%] .sym-timeline-item-part[_ngcontent-%COMP%] .sym-timeline-item-message[_ngcontent-%COMP%] .sym-timeline-markdown[_ngcontent-%COMP%]{min-height:60px}\"];\nexport { styles as styles };\n","/**\n * @file Emoji Bar component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { AlertsService } from '../../core/alerts.service';\n/**\n * Class for the EmojiBar component that provides an embeddable emoji bar for user reactions.\n */\nvar EmojiBarComponent = /** @class */ (function () {\n /**\n * Constructs an EmojiBar Component\n */\n function EmojiBarComponent(alertsService) {\n this.alertsService = alertsService;\n this.popupVisible = false;\n this.user = 'a';\n this.emojis = ['THUMB-UP', 'THUMB-DOWN', 'LAUGH', 'HOORAY', 'CONFUSED', 'HEART', 'ROCKET', 'EYES'];\n this.imageUrls = {\n 'THUMB-UP': require('../assets/images/thumb-up.png'),\n 'THUMB-DOWN': require('../assets/images/thumb-down.png'),\n 'LAUGH': require('../assets/images/laugh.png'),\n 'HOORAY': require('../assets/images/hooray.png'),\n 'CONFUSED': require('../assets/images/confused.png'),\n 'HEART': require('../assets/images/heart.png'),\n 'ROCKET': require('../assets/images/rocket.png'),\n 'EYES': require('../assets/images/eyes.png')\n };\n /* Contains for each emoji (key) an array of users (value) */\n this.items = undefined;\n this.resetMessage();\n }\n /**\n * An outside click event\n */\n EmojiBarComponent.prototype.clickOutside = function (e) {\n this.popupVisible = false;\n this.resetMessage();\n };\n /**\n * Add emoji reaction\n * @param item Emoji to be added\n */\n EmojiBarComponent.prototype.addReaction = function (item) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // coming: call to backend\n _this.items[item].push(_this.user);\n resolve(item);\n });\n };\n /**\n * Remove emoji reaction\n * @param item Emoji to be removed\n * @param index Index in the emoji array of user to be removed\n */\n EmojiBarComponent.prototype.deleteReaction = function (item, index) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n // coming: call to backend\n _this.items[item].splice(index, 1);\n resolve(item);\n });\n };\n /**\n * Toggle user reaction\n * @param item Emoji to be toggled\n */\n EmojiBarComponent.prototype.toggleReaction = function (item) {\n var _this = this;\n var index = this.items[item].indexOf(this.user, 0);\n if (index < 0) {\n this.addReaction(item).catch(function (error) {\n _this.alertsService.createAlert('warning', 'APP.SOCIAL.EMOJI_UNSUCCESSFULLY_ADDED', error.message);\n });\n }\n else {\n this.deleteReaction(item, index).catch(function (error) {\n _this.alertsService.createAlert('warning', 'APP.SOCIAL.EMOJI_UNSUCCESSFULLY_DELETED', error.message);\n });\n }\n this.popupVisible = false;\n };\n /**\n * Toggles popup visibility\n */\n EmojiBarComponent.prototype.togglePopup = function () {\n this.popupVisible = !this.popupVisible;\n if (this.popupVisible) {\n this.resetMessage();\n }\n };\n /**\n * resetMessage resets message to initial value\n */\n EmojiBarComponent.prototype.resetMessage = function () {\n this.popupText = 'PICK_REACTION';\n };\n /**\n * Set Popup Text\n * @param text Text to be set\n */\n EmojiBarComponent.prototype.setPopupText = function (text) {\n if (!text) {\n this.resetMessage();\n }\n else {\n this.popupText = text;\n }\n };\n /**\n * Is called directly after the creation of this component\n */\n EmojiBarComponent.prototype.ngOnInit = function () {\n var _this = this;\n // Fake loading of items\n var users = ['a', 'b', 'c', 'd', 'e', 'f'];\n setTimeout(function () {\n _this.items = {\n 'THUMB-UP': [],\n 'THUMB-DOWN': [],\n 'LAUGH': [],\n 'HOORAY': [],\n 'CONFUSED': [],\n 'HEART': [],\n 'ROCKET': [],\n 'EYES': []\n };\n // for all 8 emojis in items..\n for (var i = 0, t = 8; i < t; i++) {\n // fill some emoji arrays with a random number of random items\n if (Math.random() >= 0.8) {\n for (var j = 0, s = Math.round(Math.random() * 4); j < s; j++) {\n _this.items[_this.emojis[i]].push(users[Math.floor(Math.random() * t)]);\n }\n }\n }\n }, 2000);\n };\n return EmojiBarComponent;\n}());\nexport { EmojiBarComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./emoji-bar.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"ng-click-outside/lib_commonjs/click-outside.directive\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"./emoji-bar.component\";\nimport * as i6 from \"../../core/alerts.service\";\nvar styles_EmojiBarComponent = [i0.styles];\nvar RenderType_EmojiBarComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_EmojiBarComponent, data: {} });\nexport { RenderType_EmojiBarComponent as RenderType_EmojiBarComponent };\nfunction View_EmojiBarComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-emoji-btn sym-emoji-item sym-clickable\"]], null, [[null, \"mouseenter\"], [null, \"mouseleave\"], [null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = (_co.setPopupText(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } if ((\"mouseleave\" === en)) {\n var pd_1 = (_co.setPopupText() !== false);\n ad = (pd_1 && ad);\n } if ((\"click\" === en)) {\n var pd_2 = (_co.toggleReaction(_v.context.$implicit, $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-emoji-thumb-up\": 0, \"sym-emoji-thumb-down\": 1 }), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], null, null, null, null))], function (_ck, _v) { var currVal_0 = \"sym-emoji-btn sym-emoji-item sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, (_v.context.$implicit == \"THUMB-UP\"), (_v.context.$implicit == \"THUMB-DOWN\")); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.imageUrls[_v.context.$implicit]; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_EmojiBarComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"sym-popover\"]], null, [[null, \"clickOutside\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"clickOutside\" === en)) {\n var pd_0 = (_co.clickOutside($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i3.ClickOutsideDirective, [i1.ElementRef, i1.NgZone, i1.PLATFORM_ID], { delayClickOutsideInit: [0, \"delayClickOutsideInit\"] }, { clickOutside: \"clickOutside\" }), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"sym-popover-textarea\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-popover-text-gray\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"div\", [[\"class\", \"sym-popup-divider\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.popupVisible = false) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"sym-popover-emoji\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"sym-emoji-bar\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_EmojiBarComponent_2)), i1.ɵdid(10, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = true; _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.emojis; _ck(_v, 10, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform((\"APP.SOCIAL.\" + _co.popupText))); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_EmojiBarComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"sym-emoji-btn sym-emoji-item sym-clickable\"]], [[8, \"hidden\", 0], [8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleReaction(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-emoji-thumb-up\": 0, \"sym-emoji-thumb-down\": 1, \"sym-emoji-chosen\": 2 }), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = \"sym-emoji-btn sym-emoji-item sym-clickable\"; var currVal_3 = _ck(_v, 2, 0, (_v.context.$implicit == \"THUMB-UP\"), (_v.context.$implicit == \"THUMB-DOWN\"), (_co.items[_v.context.$implicit].indexOf(_co.user, 0) > (0 - 1))); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.items[_v.context.$implicit].length; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 1, i1.ɵnov(_v, 3).transform((\"APP.SOCIAL.\" + _v.context.$implicit))), \"\"); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = _co.imageUrls[_v.context.$implicit]; _ck(_v, 4, 0, currVal_4); var currVal_5 = _co.items[_v.context.$implicit].length; _ck(_v, 6, 0, currVal_5); }); }\nfunction View_EmojiBarComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_EmojiBarComponent_4)), i1.ɵdid(2, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"sym-emoji-btn sym-emoji-add sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.togglePopup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"is-pressed\": 0 }), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"+\"])), (_l()(), i1.ɵeld(8, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-smile\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.emojis; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"sym-emoji-btn sym-emoji-add sym-clickable\"; var currVal_2 = _ck(_v, 5, 0, _co.popupVisible); _ck(_v, 4, 0, currVal_1, currVal_2); }, null); }\nfunction View_EmojiBarComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"p\", [[\"class\", \"sym-emoji-btn\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.CORE.LOADING\")); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_EmojiBarComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"sym-emoji\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_EmojiBarComponent_1)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"sym-emoji-bar\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_EmojiBarComponent_3)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_EmojiBarComponent_5)), i1.ɵdid(7, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.popupVisible; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.items; _ck(_v, 5, 0, currVal_1); var currVal_2 = !_co.items; _ck(_v, 7, 0, currVal_2); }, null); }\nexport function View_EmojiBarComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, View_EmojiBarComponent_0, RenderType_EmojiBarComponent)), i1.ɵdid(1, 114688, null, 0, i5.EmojiBarComponent, [i6.AlertsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar EmojiBarComponentNgFactory = i1.ɵccf(\"sym-emoji-bar\", i5.EmojiBarComponent, View_EmojiBarComponent_Host_0, {}, {}, []);\nexport { EmojiBarComponentNgFactory as EmojiBarComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-emoji[_ngcontent-%COMP%]{border-top:1px solid #dee2e6;font-size:.875rem;position:relative}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%]{overflow:hidden;height:33px}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:7px 15px;height:19px}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn[_ngcontent-%COMP%]{float:left;position:relative}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-item[_ngcontent-%COMP%]{padding:6px 6px 5px 29px;border-right:1px solid #dee2e6}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px;position:absolute;left:5px;top:7px}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#0366d6;font-size:15px}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-item.sym-emoji-thumb-up[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{top:4px}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-item.sym-emoji-thumb-down[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{top:10px}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-item.sym-emoji-chosen[_ngcontent-%COMP%]{background-color:#f1f8ff}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-add[_ngcontent-%COMP%]{padding:5px 2px 0 6px;color:#adb5bd;font-size:17px}.sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-add.is-pressed[_ngcontent-%COMP%], .sym-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-btn.sym-emoji-add[_ngcontent-%COMP%]:hover{color:#0366d6}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%]{position:absolute;width:282px;bottom:36px;left:2px;background-color:#f8f9fa;border:1px solid #d3d3d3;-webkit-box-shadow:5px 5px 3px -4px rgba(0,0,0,.75);box-shadow:5px 5px 3px -4px rgba(0,0,0,.75)}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%] .sym-popover-textarea[_ngcontent-%COMP%]{padding:10px 8px 11px}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%] .sym-popover-textarea[_ngcontent-%COMP%] .sym-popover-text-gray[_ngcontent-%COMP%]{color:#586069}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%] .sym-popup-divider[_ngcontent-%COMP%]{height:1px;margin:0 1px;background-color:#e1e4e8}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%] .sym-popover-emoji[_ngcontent-%COMP%]{padding:9px 8px;margin:0;background:#fff}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%] .sym-popover-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-item[_ngcontent-%COMP%]{border-right:0;padding:27px 6px 5px 27px}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%] .sym-popover-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-item[_ngcontent-%COMP%]:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.sym-emoji[_ngcontent-%COMP%] .sym-popover[_ngcontent-%COMP%] .sym-popover-emoji[_ngcontent-%COMP%] .sym-emoji-bar[_ngcontent-%COMP%] .sym-emoji-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-webkit-transition:all .15s;transition:all .15s;left:7px}\"];\nexport { styles as styles };\n","/**\n * @file The enumerator TimelineItemType\n * @author Willem Jan Weitering\n */\n/** The enumerator timelineItemType is used to identify the type of timeline-item. */\nexport var TimelineItemType;\n(function (TimelineItemType) {\n TimelineItemType[TimelineItemType[\"project\"] = 0] = \"project\";\n TimelineItemType[TimelineItemType[\"profile\"] = 1] = \"profile\";\n TimelineItemType[TimelineItemType[\"appointment\"] = 2] = \"appointment\";\n TimelineItemType[TimelineItemType[\"task\"] = 3] = \"task\";\n TimelineItemType[TimelineItemType[\"notification\"] = 4] = \"notification\";\n TimelineItemType[TimelineItemType[\"planning\"] = 5] = \"planning\";\n TimelineItemType[TimelineItemType[\"mind\"] = 6] = \"mind\";\n TimelineItemType[TimelineItemType[\"realisation\"] = 7] = \"realisation\";\n TimelineItemType[TimelineItemType[\"holidays\"] = 8] = \"holidays\";\n})(TimelineItemType || (TimelineItemType = {}));\n","/**\n * @file The Timeline service\n * @author Willem Jan Weitering\n */\nimport { AlertsService } from '../core/alerts.service';\nimport { TimelineItemType } from './helpers/timelineItem-type.enum';\nimport { OverlayService } from '../core/overlay.service';\nimport { ResourceService } from '../resource.service';\n/**\n * Class for the timeline service\n */\nvar TimelineService = /** @class */ (function () {\n /**\n * Constructs a TimelineService\n */\n function TimelineService(alertsService, overlayService, resourceService) {\n this.alertsService = alertsService;\n this.overlayService = overlayService;\n this.resourceService = resourceService;\n /* the timeline items */\n this._timelineItems = undefined;\n /* Total available timeline items */\n this.totalItems = undefined;\n /* incrementing id for next timeline item to be created in createTimelineItem */\n this.lastId = 0;\n /* timer for adding new timeline item every now and then */\n this.timelineTimer = undefined;\n /* Data for creating (random) items */\n this.lines = [\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',\n 'Praesent eu nisi id nisl vulputate aliquet id at risus.',\n 'Aliquam nec dolor nec massa luctus tempor.',\n 'Sed et massa ac lacus varius commodo.',\n 'Nullam sit amet sapien a sapien placerat eleifend a eu dui.',\n 'Praesent ultricies est bibendum, varius lacus a, ornare diam.',\n 'Sed eleifend leo pharetra lorem efficitur, ut luctus orci aliquam.',\n 'Nullam ac purus vel metus tempor euismod.',\n 'Vestibulum at elit vitae leo faucibus tempus eget vitae neque.',\n 'Aenean vitae est in felis hendrerit feugiat eget eget sapien.',\n 'Nullam in arcu ut ligula tempus rutrum.',\n 'Sed ut est feugiat, bibendum leo sed, placerat orci.',\n 'Nunc laoreet neque sit amet justo interdum, laoreet tempor enim egestas.',\n 'Phasellus sed lectus non elit efficitur pulvinar.',\n 'Sed laoreet elit vestibulum ullamcorper varius.',\n 'Nullam aliquet purus ac elementum rhoncus.',\n 'Pellentesque venenatis nisi ut nisl venenatis ornare.',\n 'Sed at felis ac orci porttitor vestibulum.',\n 'Pellentesque ut quam et odio feugiat molestie.',\n 'Integer a ex et eros dignissim fringilla in sed ligula.',\n 'Mauris vitae lectus tristique, faucibus ligula at, fringilla tortor.',\n 'Vivamus et nunc eget sapien tristique convallis.',\n 'Pellentesque rutrum est ut purus sollicitudin, id dapibus ligula dapibus.',\n 'Sed eu lorem ultrices, tincidunt ex ut, auctor urna.',\n 'Praesent ac tortor a nisi semper convallis.',\n 'Donec dictum nisi ac diam auctor, lacinia rutrum nisl semper.',\n 'Pellentesque vitae libero vel ante venenatis pellentesque nec at ante.',\n 'Suspendisse faucibus odio et quam pulvinar, vel suscipit risus blandit.',\n 'Sed a urna feugiat, scelerisque metus quis, aliquam sapien.',\n 'Phasellus quis arcu tristique, elementum tellus a, dapibus augue.',\n ];\n this.authors = [\n {\n fullName: 'Albert Kremer',\n imageLink: 'https://randomuser.me/api/portraits/men/1.jpg'\n },\n {\n fullName: 'Gea Stevens-Meekma',\n imageLink: 'https://randomuser.me/api/portraits/women/2.jpg'\n },\n {\n fullName: 'Diederik Kraaikamp',\n imageLink: 'https://randomuser.me/api/portraits/men/2.jpg'\n },\n {\n fullName: 'Hans van der Snoek',\n imageLink: 'https://randomuser.me/api/portraits/men/3.jpg'\n },\n {\n fullName: 'Maarten Lensink',\n imageLink: 'https://randomuser.me/api/portraits/men/4.jpg'\n },\n {\n fullName: 'Heino Lenting',\n imageLink: 'https://randomuser.me/api/portraits/men/5.jpg'\n },\n {\n fullName: 'Simon de Jonge',\n imageLink: 'https://randomuser.me/api/portraits/men/6.jpg'\n },\n {\n fullName: 'Peter Brouwer',\n imageLink: 'https://randomuser.me/api/portraits/men/7.jpg'\n },\n {\n fullName: 'Tjark Mulder',\n imageLink: 'https://randomuser.me/api/portraits/men/8.jpg'\n },\n {\n fullName: 'Mëriam van Veen',\n imageLink: 'https://randomuser.me/api/portraits/women/3.jpg'\n },\n {\n fullName: 'Miranda Derks',\n imageLink: 'https://randomuser.me/api/portraits/women/4.jpg'\n },\n {\n fullName: 'Louise Revens',\n imageLink: 'https://randomuser.me/api/portraits/women/5.jpg'\n }\n ];\n this.randomtypes = [\n {\n type: TimelineItemType.appointment,\n titles: ['Upcoming appointment']\n },\n {\n type: TimelineItemType.mind,\n titles: [' says']\n },\n {\n type: TimelineItemType.notification,\n titles: ['New notification']\n },\n {\n type: TimelineItemType.planning,\n titles: [\n 'Short term change in planning',\n 'Long term change in planning'\n ]\n },\n {\n type: TimelineItemType.profile,\n titles: [\n 'New profile picture',\n 'New profile competences',\n 'New profile info',\n 'New profile locations'\n ],\n },\n {\n type: TimelineItemType.project,\n titles: [\n 'Project started',\n 'Project ended'\n ]\n },\n {\n type: TimelineItemType.task,\n titles: ['Impending task']\n }\n ];\n this.defaultAuthor = {\n fullName: 'Peter Dinklage',\n imageLink: 'https://randomuser.me/api/portraits/men/10.jpg'\n };\n this.longNameAuthor = {\n fullName: 'Tom Verschoore de la Houssaije',\n imageLink: 'https://randomuser.me/api/portraits/men/9.jpg'\n };\n }\n /**\n * Used for generating demo data\n */\n TimelineService.prototype.fillDemoData = function () {\n var _this = this;\n /* fill time values for demo appointment- en task timeline items */\n var appointmentCreated = Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 4) + 15000;\n var appointmentStart = new Date(appointmentCreated + 1000 * 60 * 24);\n appointmentStart.setMinutes(0);\n var taskCreated = Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 4);\n var taskStart = new Date(taskCreated + 1000 * 60 * 60 * 2);\n taskStart.setMinutes(0);\n var taskFinish = new Date(taskStart.getTime() + 1000 * 60 * 60 * 5);\n /* Demo data */\n this._timelineItems = [\n {\n id: 1,\n type: TimelineItemType.profile,\n title: 'New profile picture!',\n text: 'Your colleague [Tom Verschoore de la Houssaije](#) has a new profile picture. Check it out!',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 20) + 15000),\n author: this.defaultAuthor,\n imageLink: this.longNameAuthor.imageLink,\n start: null,\n finish: null\n },\n {\n id: 2,\n type: TimelineItemType.mind,\n title: 'Tom Verschoore de la Houssaye says:',\n text: 'Project \\'Refactoring HTML5\\' is finished in time and budget. Let\\'s celebrate this friday. Drink\\'s on me!!!',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 20) + 15000),\n author: this.longNameAuthor,\n imageLink: null,\n start: null,\n finish: null\n },\n {\n id: 3,\n type: TimelineItemType.project,\n title: 'Project started',\n text: 'Project \\'HTML5\\' for customer \\'Symagic\\' is started! Look at the details of this project.',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 20) + 15000),\n author: this.defaultAuthor,\n imageLink: null,\n start: null,\n finish: null\n },\n {\n id: 4,\n type: TimelineItemType.task,\n title: 'Impending task',\n text: 'The task \\'Start working on HTML5\\' under project \\'HTML 5\\' is starting in the next few hours.',\n created: new Date(taskCreated),\n author: this.defaultAuthor,\n imageLink: null,\n start: taskStart,\n finish: taskFinish\n },\n {\n id: 5,\n type: TimelineItemType.appointment,\n title: 'Upcoming appointment',\n // tslint:disable-next-line:max-line-length\n text: 'You have an upcoming appointment in about an hour with name [\\'Appointment with stakeholders\\'](# \"Appointment with stakeholders at '\n + new Date(appointmentStart).toTimeString().substring(0, 5) + '\") under project \\'HTML5\\'.',\n created: new Date(appointmentCreated),\n author: this.defaultAuthor,\n imageLink: null,\n start: appointmentStart,\n finish: null\n },\n {\n id: 6,\n type: TimelineItemType.notification,\n title: 'New notification',\n text: 'You received a new notification with title \\'Change request for assignment\\' with priority \\'High\\'.',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 20) + 15000),\n author: this.defaultAuthor,\n imageLink: null,\n start: null,\n finish: null\n },\n {\n id: 7,\n type: TimelineItemType.planning,\n title: 'Short-term change in planning',\n text: 'The task \\'Start working on HTML5\\' under project \\'HTML5\\' is changed! Check out the [new details](#) here.',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 20) + 15000),\n author: this.defaultAuthor,\n imageLink: null,\n start: null,\n finish: null\n },\n {\n id: 8,\n type: TimelineItemType.realisation,\n title: 'Realisation missing',\n text: 'In the previous week there are assignments and/or appointments unrealised. Please [correct](#) this.',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 20) + 15000),\n author: this.defaultAuthor,\n imageLink: null,\n start: null,\n finish: null\n },\n {\n id: 9,\n type: TimelineItemType.holidays,\n title: 'Holidays',\n text: 'In this year you have 23.2 days available for holidays. Check here your planned holidays.',\n created: new Date(Date.now() - Math.floor(Math.random() * 1000 * 60 * 24 * 20) + 15000),\n author: this.defaultAuthor,\n imageLink: null,\n start: null,\n finish: null\n }\n ];\n this.lastId = 9;\n // Quick sort\n this._timelineItems.sort(function (a, b) {\n return +b.created - +a.created;\n });\n /* Set inline count */\n this.totalItems = this._timelineItems.length;\n /* start timer for creating random new item in a while */\n this.timelineTimer = setTimeout(function () { _this.addRandomTimelineItem(); }, 30 * 1000);\n };\n /**\n * Create a timeline item and add to timelineitems queue\n * @param type The timeline-item type (project | profile | appointment | task | notification | planning | mind | realisation | holidays)\n * @param title The title of of the timeline-item\n * @param text The message text of the timeline-item\n * @param created The created date-time of the timeline-item\n * @param author The author text of the timeline-item\n * @param start start date-time of the timeline-item\n * @param finish The finish date-time of the timeline-item\n */\n TimelineService.prototype.createTimelineItem = function (type, title, text, created, author, imagelink, start, finish) {\n // Increase lastId\n this.lastId += 1;\n // Store new id\n var id = this.lastId;\n // Create timeline item\n var timelineItem = {\n 'id': id,\n 'type': type,\n 'title': title,\n 'text': text,\n 'created': created,\n 'author': author,\n 'imageLink': imagelink,\n 'start': start,\n 'finish': finish\n };\n // Add to timeline-items\n this._timelineItems.unshift(timelineItem);\n this.totalItems = this._timelineItems.length;\n };\n TimelineService.prototype.addRandomTimelineItem = function () {\n var _this = this;\n /* stop the timer */\n clearTimeout(this.timelineTimer);\n /* pick a type */\n var type = this.randomtypes[Math.floor(Math.random() * this.randomtypes.length)];\n /* pick a title */\n var title = type.titles[Math.floor(Math.random() * type.titles.length)];\n /* pick a text */\n var text = '';\n var max = 1 + Math.floor(Math.random() * 3);\n for (var i = 1; i <= max; i++) {\n text += this.lines[Math.floor(Math.random() * this.lines.length)];\n }\n /* pick an author */\n var author = this.defaultAuthor;\n /* handle type == mind */\n if (type.type === TimelineItemType.mind) {\n author = this.authors[Math.floor(Math.random() * this.authors.length)];\n title = author.fullName + type.titles[0];\n }\n var imagelink = null;\n /* handle type == profile */\n if (type.type === TimelineItemType.profile) {\n imagelink = this.authors[Math.floor(Math.random() * this.authors.length)].imageLink;\n }\n /* set timevalues */\n var created = new Date(Date.now());\n var start = new Date(created.getTime() + 1000 * 60 * 60 * 1);\n start.setMinutes(0);\n var finish = new Date(start.getTime() + 1000 * 60 * 60 * 1 + Math.floor(Math.random() * 8));\n finish.setMinutes(0);\n /* create the timelineItem */\n this.createTimelineItem(type.type, title, text, created, author, imagelink, start, finish);\n /* schedule the next creation in 2 minutes or more */\n this.timelineTimer = setTimeout(function () { _this.addRandomTimelineItem(); }, Math.random() * 2 * 60 * 1000 + 2 * 60 * 1000);\n // this.timelineTimer = setTimeout(() => { this.addRandomTimelineItem(); }, Math.random() * 10 *1000); //just for testing\n };\n /**\n * Gets requested timeline items\n * @param begin begin position in timeline items array of items to deliver\n * @param numberOfItems number of items to deliver\n */\n TimelineService.prototype.getTimelineItems = function (begin, numberOfItems) {\n if (!this._timelineItems) {\n this.fillDemoData();\n }\n return this._timelineItems.slice(begin, begin + numberOfItems);\n };\n /**\n * Delete the timeline-item from the timeline-items queue\n * @param id The id of the timeline-item\n */\n TimelineService.prototype.deleteTimelineItem = function (id) {\n var index = this.findIndex(id);\n // Remove timeline-item from timeline-items\n if (index !== undefined && this._timelineItems.length >= index) {\n this._timelineItems.splice(index, 1);\n // Inform user about deletion\n this.alertsService.createAlert('success', 'Timeline bericht met succes verwijderd');\n this.totalItems = this._timelineItems.length;\n }\n };\n /**\n * Translate a timeline-item id to the position (index) in the queue\n * @param id The id of the timeline-item\n * @returns The position in the queue\n */\n TimelineService.prototype.findIndex = function (id) {\n var index;\n // Find the timeline-item based on id\n this._timelineItems.forEach(function (timelineItem, i) {\n if (timelineItem.id === id) {\n index = i;\n }\n });\n return index;\n };\n return TimelineService;\n}());\nexport { TimelineService };\n","/**\n * @file Timeline Item component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { LocalisationService } from '../../core/localisation.service';\nimport { TimelineService } from '../timeline.service';\nimport { TimelineItemType } from '../helpers/timelineItem-type.enum';\nimport * as moment from 'moment';\n/**\n * This is a base component that shows an item in the timeline.\n */\nvar TimelineItemBaseComponent = /** @class */ (function () {\n /**\n * Constructs a TimelineItem Component\n */\n function TimelineItemBaseComponent(timelineService, localisationService) {\n this.timelineService = timelineService;\n this.localisationService = localisationService;\n /* allows you to use TimelineItemType enum in template */\n this.TimelineItemType = TimelineItemType;\n /* Contains the item data */\n this.item = undefined;\n }\n /** takes a Date and returns a short date string */\n TimelineItemBaseComponent.prototype.valueAsDate = function (time) {\n if (!moment.isDate(time)) {\n return null;\n }\n var format = this.localisationService.dayMonth;\n // return moment(time).format(\"D MMM\").toLowerCase();\n return moment(time).format(format.format).toLowerCase();\n };\n /** takes a Date and returns a short time string */\n TimelineItemBaseComponent.prototype.valueAsTime = function (time) {\n if (!moment.isDate(time)) {\n return null;\n }\n var format = this.localisationService.time;\n // return moment(time).format(\"H:mm\");\n return moment(time).format(format.format);\n };\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemBaseComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemBaseComponent;\n}());\nexport { TimelineItemBaseComponent };\n","/**\n * @file Timeline Mind component\n * @author Willem Jan Weitering\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a 'What's on your mind' message from a user in the timeline.\n */\nvar TimelineItemMindComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemMindComponent, _super);\n /**\n * Constructs a TimelineMind Component\n */\n function TimelineItemMindComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n // Todo: use standard profile picture, this one has another background-color?!\n _this.fallbackProfilePictureUrl = require('../assets/images/resource-60x60-mind.png');\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemMindComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemMindComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemMindComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Timeline Mind component\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/directives/openProfile.directive\";\nimport * as i3 from \"../../core/overlay.service\";\nimport * as i4 from \"../../user.service\";\nimport * as i5 from \"../../domain.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i8 from \"ngx-md\";\nimport * as i9 from \"ngx-moment\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-mind.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemMindComponent = [i0.styles];\nvar RenderType_TimelineItemMindComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemMindComponent, data: {} });\nexport { RenderType_TimelineItemMindComponent as RenderType_TimelineItemMindComponent };\nexport function View_TimelineItemMindComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 31, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 27, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-part-icon sym-timeline-item-part-profile-picture sym-timeline-item-part-mind\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"img\", [[\"class\", \"rounded-circle sym-clickable\"], [\"symViewProfile\", \"\"]], [[8, \"src\", 4]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i2.OpenProfileDirective, [i3.OverlayService, i4.UserService, i5.DomainService, i6.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i7.View_NgxMdComponent_0, i7.RenderType_NgxMdComponent)), i1.ɵdid(11, 4243456, null, 0, i8.NgxMdComponent, [i8.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \" \"])), i1.ɵpid(131072, i9.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(18, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 20).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(20, 16384, null, 0, i2.OpenProfileDirective, [i3.OverlayService, i4.UserService, i5.DomainService, i6.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵeld(22, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(25, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(31, 114688, null, 0, i12.EmojiBarComponent, [i6.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"\"; _ck(_v, 4, 0, currVal_1); var currVal_3 = _co.item.text; _ck(_v, 11, 0, currVal_3); var currVal_5 = \"\"; _ck(_v, 20, 0, currVal_5); _ck(_v, 31, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.item.author.imageLink ? _co.item.author.imageLink : _co.fallbackProfilePictureUrl); _ck(_v, 3, 0, currVal_0); var currVal_2 = _co.item.title; _ck(_v, 8, 0, currVal_2); var currVal_4 = i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform(_co.item.created)); _ck(_v, 16, 0, currVal_4); var currVal_6 = _co.item.author.fullName; _ck(_v, 21, 0, currVal_6); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 23, 0, i1.ɵnov(_v, 24).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 23, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 27, 0, currVal_8); }); }\nexport function View_TimelineItemMindComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-mind\", [], null, null, null, View_TimelineItemMindComponent_0, RenderType_TimelineItemMindComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemMindComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemMindComponentNgFactory = i1.ɵccf(\"sym-timeline-item-mind\", i13.TimelineItemMindComponent, View_TimelineItemMindComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemMindComponentNgFactory as TimelineItemMindComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Timeline Profile component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a message about someone's profile in the timeline.\n */\nvar TimelineItemProfileComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemProfileComponent, _super);\n /**\n * Constructs a TimelineProfile Component\n */\n function TimelineItemProfileComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemProfileComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemProfileComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemProfileComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/directives/openProfile.directive\";\nimport * as i3 from \"../../core/overlay.service\";\nimport * as i4 from \"../../user.service\";\nimport * as i5 from \"../../domain.service\";\nimport * as i6 from \"../../core/alerts.service\";\nimport * as i7 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i8 from \"ngx-md\";\nimport * as i9 from \"ngx-moment\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-profile.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemProfileComponent = [i0.styles];\nvar RenderType_TimelineItemProfileComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemProfileComponent, data: {} });\nexport { RenderType_TimelineItemProfileComponent as RenderType_TimelineItemProfileComponent };\nexport function View_TimelineItemProfileComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 31, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 27, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-part-icon sym-timeline-item-part-profile-picture sym-timeline-item-part-profile\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"img\", [[\"class\", \"rounded-circle sym-clickable\"], [\"symViewProfile\", \"\"]], [[8, \"src\", 4]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i2.OpenProfileDirective, [i3.OverlayService, i4.UserService, i5.DomainService, i6.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i7.View_NgxMdComponent_0, i7.RenderType_NgxMdComponent)), i1.ɵdid(11, 4243456, null, 0, i8.NgxMdComponent, [i8.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \" \"])), i1.ɵpid(131072, i9.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(18, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 20).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(20, 16384, null, 0, i2.OpenProfileDirective, [i3.OverlayService, i4.UserService, i5.DomainService, i6.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵeld(22, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(25, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(31, 114688, null, 0, i12.EmojiBarComponent, [i6.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"\"; _ck(_v, 4, 0, currVal_1); var currVal_3 = _co.item.text; _ck(_v, 11, 0, currVal_3); var currVal_5 = \"\"; _ck(_v, 20, 0, currVal_5); _ck(_v, 31, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.item.imageLink ? _co.item.imageLink : \"assets/ui/images/resource-60x60.png\"); _ck(_v, 3, 0, currVal_0); var currVal_2 = _co.item.title; _ck(_v, 8, 0, currVal_2); var currVal_4 = i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform(_co.item.created)); _ck(_v, 16, 0, currVal_4); var currVal_6 = _co.item.author.fullName; _ck(_v, 21, 0, currVal_6); var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 23, 0, i1.ɵnov(_v, 24).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 23, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 27, 0, currVal_8); }); }\nexport function View_TimelineItemProfileComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-profile\", [], null, null, null, View_TimelineItemProfileComponent_0, RenderType_TimelineItemProfileComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemProfileComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemProfileComponentNgFactory = i1.ɵccf(\"sym-timeline-item-profile\", i13.TimelineItemProfileComponent, View_TimelineItemProfileComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemProfileComponentNgFactory as TimelineItemProfileComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Timeline Project component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a message about a project in the timeline.\n */\nvar TimelineItemProjectComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemProjectComponent, _super);\n /**\n * Constructs a TimelineProject Component\n */\n function TimelineItemProjectComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemProjectComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemProjectComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemProjectComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i3 from \"ngx-md\";\nimport * as i4 from \"ngx-moment\";\nimport * as i5 from \"../../base/directives/openProfile.directive\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-project.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemProjectComponent = [i0.styles];\nvar RenderType_TimelineItemProjectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemProjectComponent, data: {} });\nexport { RenderType_TimelineItemProjectComponent as RenderType_TimelineItemProjectComponent };\nexport function View_TimelineItemProjectComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 26, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i2.View_NgxMdComponent_0, i2.RenderType_NgxMdComponent)), i1.ɵdid(8, 4243456, null, 0, i3.NgxMdComponent, [i3.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \" \"])), i1.ɵpid(131072, i4.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 17).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(17, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), (_l()(), i1.ɵeld(19, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(22, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 1, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-part-icon sym-timeline-item-part-project\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-project\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(30, 114688, null, 0, i12.EmojiBarComponent, [i9.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.item.text; _ck(_v, 8, 0, currVal_1); var currVal_3 = \"\"; _ck(_v, 17, 0, currVal_3); _ck(_v, 30, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item.title; _ck(_v, 5, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(_co.item.created)); _ck(_v, 13, 0, currVal_2); var currVal_4 = _co.item.author.fullName; _ck(_v, 18, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 24, 0, currVal_6); }); }\nexport function View_TimelineItemProjectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-project\", [], null, null, null, View_TimelineItemProjectComponent_0, RenderType_TimelineItemProjectComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemProjectComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemProjectComponentNgFactory = i1.ɵccf(\"sym-timeline-item-project\", i13.TimelineItemProjectComponent, View_TimelineItemProjectComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemProjectComponentNgFactory as TimelineItemProjectComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Timeline Task component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a message about a task in the timeline.\n */\nvar TimelineItemTaskComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemTaskComponent, _super);\n /**\n * Constructs a TimelineTask Component\n */\n function TimelineItemTaskComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemTaskComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemTaskComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemTaskComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i3 from \"ngx-md\";\nimport * as i4 from \"ngx-moment\";\nimport * as i5 from \"../../base/directives/openProfile.directive\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-task.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemTaskComponent = [i0.styles];\nvar RenderType_TimelineItemTaskComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemTaskComponent, data: {} });\nexport { RenderType_TimelineItemTaskComponent as RenderType_TimelineItemTaskComponent };\nexport function View_TimelineItemTaskComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 50, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 46, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-3-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i2.View_NgxMdComponent_0, i2.RenderType_NgxMdComponent)), i1.ɵdid(8, 4243456, null, 0, i3.NgxMdComponent, [i3.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \" \"])), i1.ɵpid(131072, i4.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 17).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(17, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), (_l()(), i1.ɵeld(19, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(22, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 10, \"div\", [[\"class\", \"d-none d-sm-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-start sym-timeline-item-part-task\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 3, \"div\", [[\"class\", \"sym-timeline-item-start-title\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(29, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(31, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-start-date\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(33, null, [\"\", \"\"])), (_l()(), i1.ɵeld(34, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-start-time\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(35, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(36, null, [\"\", \"\"])), (_l()(), i1.ɵeld(37, 0, null, null, 10, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-start sym-timeline-item-part-leftborder sym-timeline-item-part-task\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(38, 0, null, null, 3, \"div\", [[\"class\", \"sym-timeline-item-start-title\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(39, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(40, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(42, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-start-date\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(44, null, [\"\", \"\"])), (_l()(), i1.ɵeld(45, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-start-time\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(46, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(47, null, [\"\", \"\"])), (_l()(), i1.ɵeld(48, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(49, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(50, 114688, null, 0, i12.EmojiBarComponent, [i9.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.item.text; _ck(_v, 8, 0, currVal_1); var currVal_3 = \"\"; _ck(_v, 17, 0, currVal_3); _ck(_v, 50, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item.title; _ck(_v, 5, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(_co.item.created)); _ck(_v, 13, 0, currVal_2); var currVal_4 = _co.item.author.fullName; _ck(_v, 18, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 24, 0, currVal_6); var currVal_7 = i1.ɵunv(_v, 29, 0, i1.ɵnov(_v, 30).transform(\"APP.MISC.AGENDA.START\")); _ck(_v, 29, 0, currVal_7); var currVal_8 = _co.valueAsDate(_co.item.start); _ck(_v, 33, 0, currVal_8); var currVal_9 = _co.valueAsTime(_co.item.start); _ck(_v, 36, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 40, 0, i1.ɵnov(_v, 41).transform(\"APP.MISC.AGENDA.FINISH\")); _ck(_v, 40, 0, currVal_10); var currVal_11 = _co.valueAsDate(_co.item.finish); _ck(_v, 44, 0, currVal_11); var currVal_12 = _co.valueAsTime(_co.item.finish); _ck(_v, 47, 0, currVal_12); }); }\nexport function View_TimelineItemTaskComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-task\", [], null, null, null, View_TimelineItemTaskComponent_0, RenderType_TimelineItemTaskComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemTaskComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemTaskComponentNgFactory = i1.ɵccf(\"sym-timeline-item-task\", i13.TimelineItemTaskComponent, View_TimelineItemTaskComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemTaskComponentNgFactory as TimelineItemTaskComponentNgFactory };\n","/**\n * @file Timeline Appointment component\n * @author Willem Jan Weitering\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a message about an appointment in the timeline.\n */\nvar TimelineItemAppointmentComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemAppointmentComponent, _super);\n /**\n * Constructs a TimelineAppointment Component\n */\n function TimelineItemAppointmentComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemAppointmentComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemAppointmentComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemAppointmentComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Timeline Appointment component\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i4 from \"ngx-md\";\nimport * as i5 from \"ngx-moment\";\nimport * as i6 from \"../../base/directives/openProfile.directive\";\nimport * as i7 from \"../../core/overlay.service\";\nimport * as i8 from \"../../user.service\";\nimport * as i9 from \"../../domain.service\";\nimport * as i10 from \"../../core/alerts.service\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-appointment.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemAppointmentComponent = [i0.styles];\nvar RenderType_TimelineItemAppointmentComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemAppointmentComponent, data: {} });\nexport { RenderType_TimelineItemAppointmentComponent as RenderType_TimelineItemAppointmentComponent };\nexport function View_TimelineItemAppointmentComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 39, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 35, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 10, \"div\", [[\"class\", \"d-none d-sm-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-start sym-timeline-item-part-appointment\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"div\", [[\"class\", \"sym-timeline-item-start-title\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-start-date\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"\", \"\"])), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-start-time\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), (_l()(), i1.ɵeld(13, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i3.View_NgxMdComponent_0, i3.RenderType_NgxMdComponent)), i1.ɵdid(19, 4243456, null, 0, i4.NgxMdComponent, [i4.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \" \"])), i1.ɵpid(131072, i5.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(26, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 28).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(28, 16384, null, 0, i6.OpenProfileDirective, [i7.OverlayService, i8.UserService, i9.DomainService, i10.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(29, null, [\"\", \"\"])), (_l()(), i1.ɵeld(30, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(33, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(35, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(37, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(38, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(39, 114688, null, 0, i12.EmojiBarComponent, [i10.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_4 = _co.item.text; _ck(_v, 19, 0, currVal_4); var currVal_6 = \"\"; _ck(_v, 28, 0, currVal_6); _ck(_v, 39, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.MISC.AGENDA.START\")); _ck(_v, 5, 0, currVal_0); var currVal_1 = _co.valueAsDate(_co.item.start); _ck(_v, 9, 0, currVal_1); var currVal_2 = _co.valueAsTime(_co.item.start); _ck(_v, 12, 0, currVal_2); var currVal_3 = _co.item.title; _ck(_v, 16, 0, currVal_3); var currVal_5 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(_co.item.created)); _ck(_v, 24, 0, currVal_5); var currVal_7 = _co.item.author.fullName; _ck(_v, 29, 0, currVal_7); var currVal_8 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 31, 0, i1.ɵnov(_v, 32).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 31, 0, currVal_8); var currVal_9 = i1.ɵunv(_v, 35, 0, i1.ɵnov(_v, 36).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 35, 0, currVal_9); }); }\nexport function View_TimelineItemAppointmentComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-appointment\", [], null, null, null, View_TimelineItemAppointmentComponent_0, RenderType_TimelineItemAppointmentComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemAppointmentComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemAppointmentComponentNgFactory = i1.ɵccf(\"sym-timeline-item-appointment\", i13.TimelineItemAppointmentComponent, View_TimelineItemAppointmentComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemAppointmentComponentNgFactory as TimelineItemAppointmentComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Timeline Notification component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a notification message in the timeline.\n */\nvar TimelineItemNotificationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemNotificationComponent, _super);\n /**\n * Constructs a TimelineNotification Component\n */\n function TimelineItemNotificationComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemNotificationComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemNotificationComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemNotificationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i3 from \"ngx-md\";\nimport * as i4 from \"ngx-moment\";\nimport * as i5 from \"../../base/directives/openProfile.directive\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-notification.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemNotificationComponent = [i0.styles];\nvar RenderType_TimelineItemNotificationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemNotificationComponent, data: {} });\nexport { RenderType_TimelineItemNotificationComponent as RenderType_TimelineItemNotificationComponent };\nexport function View_TimelineItemNotificationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 26, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-part-icon sym-timeline-item-part-notification\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-notification-open\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i2.View_NgxMdComponent_0, i2.RenderType_NgxMdComponent)), i1.ɵdid(10, 4243456, null, 0, i3.NgxMdComponent, [i3.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \" \"])), i1.ɵpid(131072, i4.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 19).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(19, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(20, null, [\"\", \"\"])), (_l()(), i1.ɵeld(21, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(24, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(26, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(30, 114688, null, 0, i12.EmojiBarComponent, [i9.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.item.text; _ck(_v, 10, 0, currVal_1); var currVal_3 = \"\"; _ck(_v, 19, 0, currVal_3); _ck(_v, 30, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item.title; _ck(_v, 7, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(_co.item.created)); _ck(_v, 15, 0, currVal_2); var currVal_4 = _co.item.author.fullName; _ck(_v, 20, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 23).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 22, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 26, 0, i1.ɵnov(_v, 27).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 26, 0, currVal_6); }); }\nexport function View_TimelineItemNotificationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-notification\", [], null, null, null, View_TimelineItemNotificationComponent_0, RenderType_TimelineItemNotificationComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemNotificationComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemNotificationComponentNgFactory = i1.ɵccf(\"sym-timeline-item-notification\", i13.TimelineItemNotificationComponent, View_TimelineItemNotificationComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemNotificationComponentNgFactory as TimelineItemNotificationComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Timeline Plannning component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a message about a planning change in the timeline.\n */\nvar TimelineItemPlanningComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemPlanningComponent, _super);\n /**\n * Constructs a TimelinePlanning Component\n */\n function TimelineItemPlanningComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemPlanningComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemPlanningComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemPlanningComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i3 from \"ngx-md\";\nimport * as i4 from \"ngx-moment\";\nimport * as i5 from \"../../base/directives/openProfile.directive\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-planning.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemPlanningComponent = [i0.styles];\nvar RenderType_TimelineItemPlanningComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemPlanningComponent, data: {} });\nexport { RenderType_TimelineItemPlanningComponent as RenderType_TimelineItemPlanningComponent };\nexport function View_TimelineItemPlanningComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 26, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i2.View_NgxMdComponent_0, i2.RenderType_NgxMdComponent)), i1.ɵdid(8, 4243456, null, 0, i3.NgxMdComponent, [i3.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \" \"])), i1.ɵpid(131072, i4.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 17).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(17, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), (_l()(), i1.ɵeld(19, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(22, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 1, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-part-icon sym-timeline-item-part-planning\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-planning-change\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(30, 114688, null, 0, i12.EmojiBarComponent, [i9.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.item.text; _ck(_v, 8, 0, currVal_1); var currVal_3 = \"\"; _ck(_v, 17, 0, currVal_3); _ck(_v, 30, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item.title; _ck(_v, 5, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(_co.item.created)); _ck(_v, 13, 0, currVal_2); var currVal_4 = _co.item.author.fullName; _ck(_v, 18, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 24, 0, currVal_6); }); }\nexport function View_TimelineItemPlanningComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-planning\", [], null, null, null, View_TimelineItemPlanningComponent_0, RenderType_TimelineItemPlanningComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemPlanningComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemPlanningComponentNgFactory = i1.ɵccf(\"sym-timeline-item-planning\", i13.TimelineItemPlanningComponent, View_TimelineItemPlanningComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemPlanningComponentNgFactory as TimelineItemPlanningComponentNgFactory };\n","import * as tslib_1 from \"tslib\";\n/**\n * @file Timeline Realisation component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a realisation message in the timeline.\n */\nvar TimelineItemRealisationComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemRealisationComponent, _super);\n /**\n * Constructs a TimelineRealisation Component\n */\n function TimelineItemRealisationComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemRealisationComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemRealisationComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemRealisationComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i3 from \"ngx-md\";\nimport * as i4 from \"ngx-moment\";\nimport * as i5 from \"../../base/directives/openProfile.directive\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-realisation.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemRealisationComponent = [i0.styles];\nvar RenderType_TimelineItemRealisationComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemRealisationComponent, data: {} });\nexport { RenderType_TimelineItemRealisationComponent as RenderType_TimelineItemRealisationComponent };\nexport function View_TimelineItemRealisationComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 26, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-part-icon sym-timeline-item-part-realisation\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-realization\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i2.View_NgxMdComponent_0, i2.RenderType_NgxMdComponent)), i1.ɵdid(10, 4243456, null, 0, i3.NgxMdComponent, [i3.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \" \"])), i1.ɵpid(131072, i4.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 19).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(19, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(20, null, [\"\", \"\"])), (_l()(), i1.ɵeld(21, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(24, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(26, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(30, 114688, null, 0, i12.EmojiBarComponent, [i9.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.item.text; _ck(_v, 10, 0, currVal_1); var currVal_3 = \"\"; _ck(_v, 19, 0, currVal_3); _ck(_v, 30, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item.title; _ck(_v, 7, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(_co.item.created)); _ck(_v, 15, 0, currVal_2); var currVal_4 = _co.item.author.fullName; _ck(_v, 20, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 23).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 22, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 26, 0, i1.ɵnov(_v, 27).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 26, 0, currVal_6); }); }\nexport function View_TimelineItemRealisationComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-realisation\", [], null, null, null, View_TimelineItemRealisationComponent_0, RenderType_TimelineItemRealisationComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemRealisationComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemRealisationComponentNgFactory = i1.ɵccf(\"sym-timeline-item-realisation\", i13.TimelineItemRealisationComponent, View_TimelineItemRealisationComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemRealisationComponentNgFactory as TimelineItemRealisationComponentNgFactory };\n","/**\n * @file Timeline Holidays component\n * @author Willem Jan Weitering\n */\nimport * as tslib_1 from \"tslib\";\nimport { OnInit } from '@angular/core';\nimport { TimelineItemBaseComponent } from '../timeline-item-base/timeline-item-base.component';\nimport { TimelineService } from '../timeline.service';\nimport { LocalisationService } from '../../core/localisation.service';\n/**\n * This is a component that shows a message about holidays in the timeline.\n */\nvar TimelineItemHolidaysComponent = /** @class */ (function (_super) {\n tslib_1.__extends(TimelineItemHolidaysComponent, _super);\n /**\n * Constructs a TimelineHolidays Component\n */\n function TimelineItemHolidaysComponent(timelineService, localisationService) {\n var _this = _super.call(this, timelineService, localisationService) || this;\n _this.timelineService = timelineService;\n _this.localisationService = localisationService;\n return _this;\n }\n /**\n * Is called directly after the creation of this component\n */\n TimelineItemHolidaysComponent.prototype.ngOnInit = function () {\n };\n return TimelineItemHolidaysComponent;\n}(TimelineItemBaseComponent));\nexport { TimelineItemHolidaysComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Timeline Holidays component\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../timeline-item-base/timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i3 from \"ngx-md\";\nimport * as i4 from \"ngx-moment\";\nimport * as i5 from \"../../base/directives/openProfile.directive\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"@ngx-translate/core\";\nimport * as i11 from \"../../social/emoji-bar/emoji-bar.component.ngfactory\";\nimport * as i12 from \"../../social/emoji-bar/emoji-bar.component\";\nimport * as i13 from \"./timeline-item-holidays.component\";\nimport * as i14 from \"../timeline.service\";\nimport * as i15 from \"../../core/localisation.service\";\nvar styles_TimelineItemHolidaysComponent = [i0.styles];\nvar RenderType_TimelineItemHolidaysComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemHolidaysComponent, data: {} });\nexport { RenderType_TimelineItemHolidaysComponent as RenderType_TimelineItemHolidaysComponent };\nexport function View_TimelineItemHolidaysComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"div\", [[\"class\", \"sym-timeline-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 26, \"div\", [[\"class\", \"sym-timeline-item-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 23, \"div\", [[\"class\", \"sym-timeline-item-part sym-timeline-item-part-message sym-timeline-item-part-4-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"sym-timeline-item-message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-markdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"markdown\", [[\"class\", \"sym-markdown-output\"]], null, null, null, i2.View_NgxMdComponent_0, i2.RenderType_NgxMdComponent)), i1.ɵdid(8, 4243456, null, 0, i3.NgxMdComponent, [i3.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 16, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 8, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \" \"])), i1.ɵpid(131072, i4.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"span\", [[\"class\", \"text-muted sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"i\", [[\"class\", \"icon sym-icon-employee\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 17).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(17, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), (_l()(), i1.ɵeld(19, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.timelineService.deleteTimelineItem(_co.item.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(22, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), i1.ɵpid(131072, i10.TranslatePipe, [i10.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 1, \"div\", [[\"class\", \"d-none d-md-table-cell sym-timeline-item-part sym-timeline-item-part-1-5 sym-timeline-item-part-icon sym-timeline-item-part-holidays\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(27, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-holidays\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-item-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"sym-emoji-bar\", [], null, null, null, i11.View_EmojiBarComponent_0, i11.RenderType_EmojiBarComponent)), i1.ɵdid(30, 114688, null, 0, i12.EmojiBarComponent, [i9.AlertsService], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.item.text; _ck(_v, 8, 0, currVal_1); var currVal_3 = \"\"; _ck(_v, 17, 0, currVal_3); _ck(_v, 30, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item.title; _ck(_v, 5, 0, currVal_0); var currVal_2 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(_co.item.created)); _ck(_v, 13, 0, currVal_2); var currVal_4 = _co.item.author.fullName; _ck(_v, 18, 0, currVal_4); var currVal_5 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.TIMELINE.DELETE\")), \"\"); _ck(_v, 20, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.TIMELINE.DELETE\")); _ck(_v, 24, 0, currVal_6); }); }\nexport function View_TimelineItemHolidaysComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-holidays\", [], null, null, null, View_TimelineItemHolidaysComponent_0, RenderType_TimelineItemHolidaysComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemHolidaysComponent, [i14.TimelineService, i15.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemHolidaysComponentNgFactory = i1.ɵccf(\"sym-timeline-item-holidays\", i13.TimelineItemHolidaysComponent, View_TimelineItemHolidaysComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemHolidaysComponentNgFactory as TimelineItemHolidaysComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Timeline Item component\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./timeline-item-base.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../timeline-item-mind/timeline-item-mind.component.ngfactory\";\nimport * as i3 from \"../timeline-item-mind/timeline-item-mind.component\";\nimport * as i4 from \"../timeline.service\";\nimport * as i5 from \"../../core/localisation.service\";\nimport * as i6 from \"../timeline-item-profile/timeline-item-profile.component.ngfactory\";\nimport * as i7 from \"../timeline-item-profile/timeline-item-profile.component\";\nimport * as i8 from \"../timeline-item-project/timeline-item-project.component.ngfactory\";\nimport * as i9 from \"../timeline-item-project/timeline-item-project.component\";\nimport * as i10 from \"../timeline-item-task/timeline-item-task.component.ngfactory\";\nimport * as i11 from \"../timeline-item-task/timeline-item-task.component\";\nimport * as i12 from \"../timeline-item-appointment/timeline-item-appointment.component.ngfactory\";\nimport * as i13 from \"../timeline-item-appointment/timeline-item-appointment.component\";\nimport * as i14 from \"../timeline-item-notification/timeline-item-notification.component.ngfactory\";\nimport * as i15 from \"../timeline-item-notification/timeline-item-notification.component\";\nimport * as i16 from \"../timeline-item-planning/timeline-item-planning.component.ngfactory\";\nimport * as i17 from \"../timeline-item-planning/timeline-item-planning.component\";\nimport * as i18 from \"../timeline-item-realisation/timeline-item-realisation.component.ngfactory\";\nimport * as i19 from \"../timeline-item-realisation/timeline-item-realisation.component\";\nimport * as i20 from \"../timeline-item-holidays/timeline-item-holidays.component.ngfactory\";\nimport * as i21 from \"../timeline-item-holidays/timeline-item-holidays.component\";\nimport * as i22 from \"@angular/common\";\nimport * as i23 from \"./timeline-item-base.component\";\nvar styles_TimelineItemBaseComponent = [i0.styles];\nvar RenderType_TimelineItemBaseComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineItemBaseComponent, data: {} });\nexport { RenderType_TimelineItemBaseComponent as RenderType_TimelineItemBaseComponent };\nfunction View_TimelineItemBaseComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-mind\", [], null, null, null, i2.View_TimelineItemMindComponent_0, i2.RenderType_TimelineItemMindComponent)), i1.ɵdid(1, 114688, null, 0, i3.TimelineItemMindComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-profile\", [], null, null, null, i6.View_TimelineItemProfileComponent_0, i6.RenderType_TimelineItemProfileComponent)), i1.ɵdid(1, 114688, null, 0, i7.TimelineItemProfileComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-project\", [], null, null, null, i8.View_TimelineItemProjectComponent_0, i8.RenderType_TimelineItemProjectComponent)), i1.ɵdid(1, 114688, null, 0, i9.TimelineItemProjectComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-task\", [], null, null, null, i10.View_TimelineItemTaskComponent_0, i10.RenderType_TimelineItemTaskComponent)), i1.ɵdid(1, 114688, null, 0, i11.TimelineItemTaskComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-appointment\", [], null, null, null, i12.View_TimelineItemAppointmentComponent_0, i12.RenderType_TimelineItemAppointmentComponent)), i1.ɵdid(1, 114688, null, 0, i13.TimelineItemAppointmentComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-notification\", [], null, null, null, i14.View_TimelineItemNotificationComponent_0, i14.RenderType_TimelineItemNotificationComponent)), i1.ɵdid(1, 114688, null, 0, i15.TimelineItemNotificationComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-planning\", [], null, null, null, i16.View_TimelineItemPlanningComponent_0, i16.RenderType_TimelineItemPlanningComponent)), i1.ɵdid(1, 114688, null, 0, i17.TimelineItemPlanningComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-realisation\", [], null, null, null, i18.View_TimelineItemRealisationComponent_0, i18.RenderType_TimelineItemRealisationComponent)), i1.ɵdid(1, 114688, null, 0, i19.TimelineItemRealisationComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TimelineItemBaseComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item-holidays\", [], null, null, null, i20.View_TimelineItemHolidaysComponent_0, i20.RenderType_TimelineItemHolidaysComponent)), i1.ɵdid(1, 114688, null, 0, i21.TimelineItemHolidaysComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.item; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_TimelineItemBaseComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_1)), i1.ɵdid(1, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_2)), i1.ɵdid(3, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_3)), i1.ɵdid(5, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_4)), i1.ɵdid(7, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_5)), i1.ɵdid(9, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_6)), i1.ɵdid(11, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_7)), i1.ɵdid(13, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_8)), i1.ɵdid(15, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineItemBaseComponent_9)), i1.ɵdid(17, 16384, null, 0, i22.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.item.type == _co.TimelineItemType.mind); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.item.type == _co.TimelineItemType.profile); _ck(_v, 3, 0, currVal_1); var currVal_2 = (_co.item.type == _co.TimelineItemType.project); _ck(_v, 5, 0, currVal_2); var currVal_3 = (_co.item.type == _co.TimelineItemType.task); _ck(_v, 7, 0, currVal_3); var currVal_4 = (_co.item.type == _co.TimelineItemType.appointment); _ck(_v, 9, 0, currVal_4); var currVal_5 = (_co.item.type == _co.TimelineItemType.notification); _ck(_v, 11, 0, currVal_5); var currVal_6 = (_co.item.type == _co.TimelineItemType.planning); _ck(_v, 13, 0, currVal_6); var currVal_7 = (_co.item.type == _co.TimelineItemType.realisation); _ck(_v, 15, 0, currVal_7); var currVal_8 = (_co.item.type == _co.TimelineItemType.holidays); _ck(_v, 17, 0, currVal_8); }, null); }\nexport function View_TimelineItemBaseComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-item\", [], null, null, null, View_TimelineItemBaseComponent_0, RenderType_TimelineItemBaseComponent)), i1.ɵdid(1, 114688, null, 0, i23.TimelineItemBaseComponent, [i4.TimelineService, i5.LocalisationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineItemBaseComponentNgFactory = i1.ɵccf(\"sym-timeline-item\", i23.TimelineItemBaseComponent, View_TimelineItemBaseComponent_Host_0, { item: \"item\" }, {}, []);\nexport { TimelineItemBaseComponentNgFactory as TimelineItemBaseComponentNgFactory };\n","/**\n * @file This is a timeline component\n * @author Heino Lenting, Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineService } from '../timeline.service';\nimport { FileReaderService } from '../../base/file-reader.service';\nimport { AlertsService } from '../../core/alerts.service';\n/**\n * Class for the timeline functionality\n */\nvar TimelineComponent = /** @class */ (function () {\n /**\n * Constructs a TimelineComponent\n * @param timelineService The timelineService\n */\n function TimelineComponent(timelineService, fileReaderService, alertsService) {\n this.timelineService = timelineService;\n this.fileReaderService = fileReaderService;\n this.alertsService = alertsService;\n // REMOVE: (temporarily for faking config)\n this.configuration = {\n instruction: 'instructions/standaard/timeline/timeline'\n };\n /* Page size of the list */\n this.pageSize = 5;\n /* Current page used for pagination (previous pages are also visible) */\n this.currentPage = 1;\n }\n Object.defineProperty(TimelineComponent.prototype, \"timelineItems\", {\n /** Gets the items w.r.t. currentPage and pageSize */\n get: function () {\n return this.timelineService.getTimelineItems(0, this.currentPage * this.pageSize);\n },\n enumerable: true,\n configurable: true\n });\n /** Checks if there are more items available */\n TimelineComponent.prototype.hasMore = function () {\n return Math.ceil(this.timelineService.totalItems / this.pageSize) > this.currentPage;\n };\n /** Show also the next page of timeline items*/\n TimelineComponent.prototype.showMore = function () {\n if (this.hasMore()) {\n this.currentPage++;\n }\n };\n TimelineComponent.prototype.ngOnInit = function () { };\n return TimelineComponent;\n}());\nexport { TimelineComponent };\n","/**\n * @file Timeline Add component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\nimport { TimelineComponent } from '../timeline/timeline.component';\nimport { TimelineService } from '../timeline.service';\nimport { TimelineItemType } from '../helpers/timelineItem-type.enum';\nimport { ConfigurationsService } from '../../configurations.service';\nimport { UserService } from '../../user.service';\n/**\n * This is a component shown in the timeline to add a message to the timeline\n */\nvar TimelineAddComponent = /** @class */ (function () {\n /**\n * Constructs a TimelineItem Component\n * @param timelineService The timelineService\n */\n function TimelineAddComponent(configurationsService, userService, timelineComponent, timelineService) {\n this.configurationsService = configurationsService;\n this.userService = userService;\n this.timelineComponent = timelineComponent;\n this.timelineService = timelineService;\n /* the text of the message to be, the text of the input */\n this.text = '';\n /* busy because message is being added? */\n this.isBusy = false;\n }\n /**\n * Handles input in input box\n * @param value text of input box\n */\n TimelineAddComponent.prototype.onInput = function (value) {\n this.text = value;\n };\n /**\n * Add user message to timeline\n */\n TimelineAddComponent.prototype.addMessage = function () {\n var _this = this;\n if (!this.text) {\n alert('this should not happen');\n }\n else {\n this.isBusy = true;\n setTimeout(function () {\n _this.timelineService.createTimelineItem(TimelineItemType.mind, _this.user.fullName + ' says:', _this.text, new Date(Date.now()), { fullName: _this.user.fullName, imageLink: 'https://randomuser.me/api/portraits/men/43.jpg' });\n _this.resetText();\n _this.isBusy = false;\n }, 2000);\n }\n };\n /**\n * reset input and do nothing more\n */\n TimelineAddComponent.prototype.cancelMessage = function () {\n this.resetText();\n };\n /**\n * reset text to empty string\n */\n TimelineAddComponent.prototype.resetText = function () {\n this.text = '';\n };\n Object.defineProperty(TimelineAddComponent.prototype, \"user\", {\n /** Gets the user info of the authenticated user. */\n get: function () {\n var user = this.userService.user;\n if (!user) {\n return undefined;\n }\n return user;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Is called directly after the creation of this component\n */\n TimelineAddComponent.prototype.ngOnInit = function () {\n };\n return TimelineAddComponent;\n}());\nexport { TimelineAddComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Timeline Add component\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./timeline-add.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./timeline-add.component\";\nimport * as i5 from \"../../configurations.service\";\nimport * as i6 from \"../../user.service\";\nimport * as i7 from \"../timeline/timeline.component\";\nimport * as i8 from \"../timeline.service\";\nvar styles_TimelineAddComponent = [i0.styles];\nvar RenderType_TimelineAddComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineAddComponent, data: {} });\nexport { RenderType_TimelineAddComponent as RenderType_TimelineAddComponent };\nfunction View_TimelineAddComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_TimelineAddComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null))], null, null); }\nexport function View_TimelineAddComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 26, \"div\", [[\"class\", \"sym-pane\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, [[\"box\", 1]], null, 1, \"input\", [[\"class\", \"form-control form-control-sm\"], [\"type\", \"text\"]], [[8, \"disabled\", 0], [8, \"placeholder\", 0]], [[null, \"input\"], [null, \"keyup.enter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (_co.onInput(i1.ɵnov(_v, 4).value) !== false);\n ad = (pd_0 && ad);\n } if ((\"keyup.enter\" === en)) {\n _co.addMessage();\n var pd_1 = ((i1.ɵnov(_v, 4).value = \"\") !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 20, \"div\", [[\"class\", \"d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"pr-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 15, \"div\", [[\"class\", \"text-nowrap\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n _co.cancelMessage();\n var pd_0 = ((i1.ɵnov(_v, 4).value = \"\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(18, 0, null, null, 8, \"button\", [[\"class\", \"btn btn-sm btn-primary ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n _co.addMessage();\n var pd_0 = ((i1.ɵnov(_v, 4).value = \"\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineAddComponent_1)), i1.ɵdid(21, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineAddComponent_2)), i1.ɵdid(23, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(25, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.isBusy; _ck(_v, 21, 0, currVal_8); var currVal_9 = !_co.isBusy; _ck(_v, 23, 0, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.TIMELINE.ON_YOUR_MIND\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isBusy; var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 1, i1.ɵnov(_v, 5).transform(\"APP.TIMELINE.SHARE_THOUGHTS\")), \"\"); _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_3 = i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.TIMELINE.UPDATE_VISIBLE\")); _ck(_v, 9, 0, currVal_3); var currVal_4 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(\"APP.TIMELINE.CANCEL\")), \"\"); _ck(_v, 12, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform(\"APP.TIMELINE.CANCEL\")); _ck(_v, 16, 0, currVal_5); var currVal_6 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.TIMELINE.SHARE\")), \"\"); var currVal_7 = (i1.ɵnov(_v, 4).value == \"\"); _ck(_v, 18, 0, currVal_6, currVal_7); var currVal_10 = i1.ɵunv(_v, 25, 0, i1.ɵnov(_v, 26).transform(\"APP.TIMELINE.SHARE\")); _ck(_v, 25, 0, currVal_10); }); }\nexport function View_TimelineAddComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline-add\", [], null, null, null, View_TimelineAddComponent_0, RenderType_TimelineAddComponent)), i1.ɵdid(1, 114688, null, 0, i4.TimelineAddComponent, [i5.ConfigurationsService, i6.UserService, i7.TimelineComponent, i8.TimelineService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineAddComponentNgFactory = i1.ɵccf(\"sym-timeline-add\", i4.TimelineAddComponent, View_TimelineAddComponent_Host_0, {}, {}, []);\nexport { TimelineAddComponentNgFactory as TimelineAddComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Timeline Add component\n * @author Willem Jan Weitering\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"input[_ngcontent-%COMP%]{margin-bottom:.25rem}\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./timeline.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../timeline-item-base/timeline-item-base.component.ngfactory\";\nimport * as i3 from \"../timeline-item-base/timeline-item-base.component\";\nimport * as i4 from \"../timeline.service\";\nimport * as i5 from \"../../core/localisation.service\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"@angular/common\";\nimport * as i8 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i9 from \"../../base/instruction/instruction.component\";\nimport * as i10 from \"@angular/common/http\";\nimport * as i11 from \"../../configurations.service\";\nimport * as i12 from \"../timeline-add/timeline-add.component.ngfactory\";\nimport * as i13 from \"../timeline-add/timeline-add.component\";\nimport * as i14 from \"../../user.service\";\nimport * as i15 from \"./timeline.component\";\nimport * as i16 from \"../../base/file-reader.service\";\nimport * as i17 from \"../../core/alerts.service\";\nvar styles_TimelineComponent = [i0.styles];\nvar RenderType_TimelineComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TimelineComponent, data: {} });\nexport { RenderType_TimelineComponent as RenderType_TimelineComponent };\nfunction View_TimelineComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent, 12).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_TimelineComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-timeline-items\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"sym-timeline-item\", [], null, null, null, i2.View_TimelineItemBaseComponent_0, i2.RenderType_TimelineItemBaseComponent)), i1.ɵdid(2, 114688, null, 0, i3.TimelineItemBaseComponent, [i4.TimelineService, i5.LocalisationService], { item: [0, \"item\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_TimelineComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"id\", \"more\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"small\", [[\"class\", \"text-muted sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.showMore() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.TIMELINE.LOAD_MORE\")); _ck(_v, 2, 0, currVal_0); }); }\nexport function View_TimelineComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 24, \"div\", [[\"class\", \"container-fluid mt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-timeline\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineComponent_1)), i1.ɵdid(9, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i8.View_InstructionComponent_0, i8.RenderType_InstructionComponent)), i1.ɵdid(12, 180224, [[\"instruction\", 4]], 0, i9.InstructionComponent, [i10.HttpClient, i11.ConfigurationsService, i6.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 10, \"div\", [[\"class\", \"col-md-10 offset-md-1 col-lg-8 offset-lg-2 col-xl-6 offset-xl-3 mt-1 sym-timeline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"sym-timeline-add\", [], null, null, null, i12.View_TimelineAddComponent_0, i12.RenderType_TimelineAddComponent)), i1.ɵdid(16, 114688, null, 0, i13.TimelineAddComponent, [i11.ConfigurationsService, i14.UserService, i15.TimelineComponent, i4.TimelineService], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"div\", [[\"class\", \"sym-timeline-title\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"h4\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineComponent_2)), i1.ɵdid(22, 278528, null, 0, i7.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TimelineComponent_3)), i1.ɵdid(24, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.configuration.instruction; _ck(_v, 9, 0, currVal_1); var currVal_2 = _co.configuration.instruction; _ck(_v, 12, 0, currVal_2); _ck(_v, 16, 0); var currVal_4 = _co.timelineItems; _ck(_v, 22, 0, currVal_4); var currVal_5 = _co.hasMore(); _ck(_v, 24, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.TIMELINE.TIMELINE\")); _ck(_v, 5, 0, currVal_0); var currVal_3 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"APP.TIMELINE.HAPPENING\")); _ck(_v, 19, 0, currVal_3); }); }\nexport function View_TimelineComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-timeline\", [], null, null, null, View_TimelineComponent_0, RenderType_TimelineComponent)), i1.ɵdid(1, 114688, null, 0, i15.TimelineComponent, [i4.TimelineService, i16.FileReaderService, i17.AlertsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar TimelineComponentNgFactory = i1.ɵccf(\"sym-timeline\", i15.TimelineComponent, View_TimelineComponent_Host_0, {}, {}, []);\nexport { TimelineComponentNgFactory as TimelineComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-timeline[_ngcontent-%COMP%] .sym-timeline-title[_ngcontent-%COMP%]{padding-left:0;padding-right:0;margin-bottom:1rem}.sym-timeline[_ngcontent-%COMP%] #more[_ngcontent-%COMP%]{text-align:center}\"];\nexport { styles as styles };\n","/**\n * @file Form component to show application settings.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport * as moment from 'moment';\nimport { AlertsService } from '../../core/alerts.service';\nimport { FormBase } from '../../base/form/form.base';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { ResourceService } from '../../resource.service';\n/**\n * Form component to show application settings.\n * @export\n * @class SettingsFormComponent\n * @extends {FormBase}\n */\nvar SettingsFormComponent = /** @class */ (function (_super) {\n tslib_1.__extends(SettingsFormComponent, _super);\n /**\n * Creates an instance of SettingsFormComponent.\n * @param {configurationsService} configurationsService\n * @param {BackendSettingsService} settingsService\n * @param {ActivatedRoute} route\n * @param {Router} router\n * @param {TranslateService} translateService\n * @param {AlertsService} alertsService\n * @memberOf SettingsFormComponent\n */\n function SettingsFormComponent(settingsService, route, router, translateService, alertsService, resourceService, backendSettings) {\n var _this = _super.call(this, settingsService, route, router, translateService, alertsService, resourceService) || this;\n _this.alertsService = alertsService;\n _this.backendSettings = backendSettings;\n return _this;\n }\n /**\n * Applies the changes, so that the user does not need to restart the application.\n * @protected\n * @param {boolean} newOrDeleted The parameter is not used.\n * @memberOf SettingsFormComponent\n */\n SettingsFormComponent.prototype.doneSaving = function (newOrDeleted) {\n var value;\n switch (this.item['Id']) {\n case 1:\n value = moment(this.item['Value']);\n if (value.isValid) {\n this.backendSettings.publishedTill = value;\n }\n else {\n this.alertsService.createAlert('danger', 'APP.SETTINGS.RESTART_APPLICATION');\n }\n break;\n case 2:\n value = moment(this.item['Value']);\n if (value.isValid) {\n this.backendSettings.availabilityClosedTill = value;\n }\n else {\n this.alertsService.createAlert('danger', 'APP.SETTINGS.RESTART_APPLICATION');\n }\n break;\n case 3:\n value = parseInt(this.item['Value']);\n if (value > 0) {\n this.backendSettings.daysBeforeExpiration = value;\n }\n else {\n this.alertsService.createAlert('danger', 'APP.SETTINGS.RESTART_APPLICATION');\n }\n break;\n case 4:\n value = parseInt(this.item['Value']);\n if (value > 0) {\n this.backendSettings.daysBeforeResponse = value;\n }\n else {\n this.alertsService.createAlert('danger', 'APP.SETTINGS.RESTART_APPLICATION');\n }\n break;\n default:\n this.alertsService.createAlert('danger', 'APP.SETTINGS.RESTART_APPLICATION');\n break;\n }\n _super.prototype.doneSaving.call(this, newOrDeleted);\n };\n return SettingsFormComponent;\n}(FormBase));\nexport { SettingsFormComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Form component to show application settings.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i4 from \"../../base/instruction/instruction.component\";\nimport * as i5 from \"@angular/common/http\";\nimport * as i6 from \"../../configurations.service\";\nimport * as i7 from \"../../base/fieldsets/fieldset-container/fieldset-container.component.ngfactory\";\nimport * as i8 from \"../../base/fieldsets/fieldset-container/fieldset-container.component\";\nimport * as i9 from \"@angular/forms\";\nimport * as i10 from \"./settings-form.component\";\nimport * as i11 from \"../../backend-settings.service\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"../../core/alerts.service\";\nimport * as i14 from \"../../resource.service\";\nvar styles_SettingsFormComponent = [];\nvar RenderType_SettingsFormComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SettingsFormComponent, data: {} });\nexport { RenderType_SettingsFormComponent as RenderType_SettingsFormComponent };\nfunction View_SettingsFormComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_SettingsFormComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-sm btn-link\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.insights.toggle() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i0.ɵpod(2, { active: 0 }), (_l()(), i0.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-insight\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(5, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i0.ɵted(8, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"btn btn-sm btn-link\"; var currVal_1 = _ck(_v, 2, 0, _co.insights.isOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.insights.isOpen(); _ck(_v, 4, 0, currVal_2); var currVal_3 = i0.ɵunv(_v, 5, 0, i0.ɵnov(_v, 6).transform(\"APP.INSIGHTS.SHOW_INSIGHT\")); _ck(_v, 5, 0, currVal_3); var currVal_4 = _co.insights.isClosed(); _ck(_v, 7, 0, currVal_4); var currVal_5 = i0.ɵunv(_v, 8, 0, i0.ɵnov(_v, 9).transform(\"APP.INSIGHTS.HIDE_INSIGHT\")); _ck(_v, 8, 0, currVal_5); }); }\nfunction View_SettingsFormComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 22).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_SettingsFormComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.editMode; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_SettingsFormComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save\"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.editMode; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_SettingsFormComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null))], null, null); }\nfunction View_SettingsFormComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 22, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 17, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"h4\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_3)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_4)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_5)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_6)), i0.ɵdid(14, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_7)), i0.ɵdid(16, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_8)), i0.ɵdid(18, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i0.ɵted(20, null, [\"\", \"\"])), (_l()(), i0.ɵeld(21, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i3.View_InstructionComponent_0, i3.RenderType_InstructionComponent)), i0.ɵdid(22, 180224, [[\"instruction\", 4]], 0, i4.InstructionComponent, [i5.HttpClient, i6.ConfigurationsService, i2.TranslateService], { subject: [0, \"subject\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.data.icon; _ck(_v, 5, 0, currVal_0); var currVal_2 = _co.insights; _ck(_v, 10, 0, currVal_2); var currVal_3 = _co.configuration.instruction; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.canCreate; _ck(_v, 14, 0, currVal_4); var currVal_5 = _co.canUpdate; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.hasCloseButton; _ck(_v, 18, 0, currVal_6); var currVal_8 = _co.configuration.instruction; _ck(_v, 22, 0, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(_co.labelKey)); _ck(_v, 6, 0, currVal_1); var currVal_7 = _co.configuration.key; _ck(_v, 20, 0, currVal_7); }); }\nfunction View_SettingsFormComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null))], null, null); }\nfunction View_SettingsFormComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.CANNOT_DISPLAY_ITEM\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_SettingsFormComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_10)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_11)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isLoading; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.isLoading; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_SettingsFormComponent_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 1, \"sym-fieldset-container\", [], null, null, null, i7.View_FieldsetContainerComponent_0, i7.RenderType_FieldsetContainerComponent)), i0.ɵdid(2, 49152, null, 0, i8.FieldsetContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { field: [0, \"field\"], control: [1, \"control\"], entity: [2, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit; var currVal_1 = _co.form.controls[_v.context.$implicit.name]; var currVal_2 = _co.item; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_SettingsFormComponent_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"small\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"APP.FORMS.MARKED_FIELDS_ARE_REQUIRED\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_SettingsFormComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_13)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_14)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.data.fields; _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.hasRequiredFields() && !_co.isReadOnly); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_SettingsFormComponent_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_SettingsFormComponent_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mb-3 sym-errors\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_16)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.validationErrors; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_SettingsFormComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i9.ɵangular_packages_forms_forms_bh, [], null, null), i0.ɵdid(2, 540672, null, 0, i9.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i0.ɵprd(2048, null, i9.ControlContainer, null, [i9.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i9.NgControlStatusGroup, [[4, i9.ControlContainer]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_2)), i0.ɵdid(6, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_9)), i0.ɵdid(8, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_12)), i0.ɵdid(10, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_15)), i0.ɵdid(12, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 6, 0, currVal_8); var currVal_9 = !_co.item; _ck(_v, 8, 0, currVal_9); var currVal_10 = _co.item; _ck(_v, 10, 0, currVal_10); var currVal_11 = (_co.validationErrors.length > 0); _ck(_v, 12, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_SettingsFormComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_SettingsFormComponent_1)), i0.ɵdid(1, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.form && _co.configuration); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_SettingsFormComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-settings-form\", [], null, null, null, View_SettingsFormComponent_0, RenderType_SettingsFormComponent)), i0.ɵdid(1, 245760, null, 0, i10.SettingsFormComponent, [i11.BackendSettingsService, i12.ActivatedRoute, i12.Router, i2.TranslateService, i13.AlertsService, i14.ResourceService, i11.BackendSettingsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar SettingsFormComponentNgFactory = i0.ɵccf(\"sym-settings-form\", i10.SettingsFormComponent, View_SettingsFormComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", hasCloseButton: \"hasCloseButton\", useCache: \"useCache\", labelKey: \"labelKey\", item: \"item\", entityKey: \"entityKey\" }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" }, []);\nexport { SettingsFormComponentNgFactory as SettingsFormComponentNgFactory };\n","/**\n * @file Detail view to show application settings.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { DetailBase } from '../../base/detail/detail.base';\nimport { FormBase } from '../../base/form/form.base';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { UserService } from '../../user.service';\nimport { SettingsService } from '../../settings.service';\n/**\n * Detail view to show application settings.\n * @export\n * @class SettingsDetailComponent\n * @extends {DetailComponent}\n */\nvar SettingsDetailComponent = /** @class */ (function (_super) {\n tslib_1.__extends(SettingsDetailComponent, _super);\n /**\n * Creates an instance of SettingsDetailComponent.\n * @param {configurationsService} configurationsService\n * @param {Router} router\n * @param {ActivatedRoute} route\n * @param {BackendSettingsService} breezeService\n * @param {DialogService} dialogService\n * @param {AlertsService} alertsService\n * @param {TranslateService} translateService\n *\n * @memberOf SettingsDetailComponent\n */\n function SettingsDetailComponent(userService, router, route, breezeService, dialogService, alertsService, settingsService, translateService) {\n var _this = _super.call(this, userService, router, route, breezeService, dialogService, alertsService, settingsService, translateService) || this;\n _this.breezeService = breezeService;\n _this.dialogService = dialogService;\n _this.alertsService = alertsService;\n return _this;\n }\n /**\n * After component is initialize and the configuration is known.\n * @protected\n * @memberOf SettingsDetailComponent\n */\n SettingsDetailComponent.prototype.afterInitialize = function () {\n var _this = this;\n // Get the components\n var components = Object.create(this.configuration.components);\n // Check the type of the component to handle specific situations\n components.forEach(function (component) {\n switch (component.component) {\n case 'SettingsFormComponent': {\n _this.details = component;\n break;\n }\n default: {\n throw new Error('Unknown component (' + component.component + ')');\n }\n }\n });\n };\n return SettingsDetailComponent;\n}(DetailBase));\nexport { SettingsDetailComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Detail view to show application settings.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./settings-detail.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../settings-form/settings-form.component.ngfactory\";\nimport * as i3 from \"../settings-form/settings-form.component\";\nimport * as i4 from \"../../backend-settings.service\";\nimport * as i5 from \"@angular/router\";\nimport * as i6 from \"@ngx-translate/core\";\nimport * as i7 from \"../../core/alerts.service\";\nimport * as i8 from \"../../resource.service\";\nimport * as i9 from \"@angular/common\";\nimport * as i10 from \"./settings-detail.component\";\nimport * as i11 from \"../../user.service\";\nimport * as i12 from \"../../core/dialog.service\";\nimport * as i13 from \"../../settings.service\";\nvar styles_SettingsDetailComponent = [i0.styles];\nvar RenderType_SettingsDetailComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SettingsDetailComponent, data: {} });\nexport { RenderType_SettingsDetailComponent as RenderType_SettingsDetailComponent };\nfunction View_SettingsDetailComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"sym-settings-form\", [], null, [[null, \"itemRemoved\"], [null, \"itemSaved\"], [null, \"itemCanceled\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"itemRemoved\" === en)) {\n var pd_0 = (_co.notifyRemoval($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"itemSaved\" === en)) {\n var pd_1 = (_co.notifySavement($event) !== false);\n ad = (pd_1 && ad);\n } if ((\"itemCanceled\" === en)) {\n var pd_2 = (_co.notifyCancellation($event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_SettingsFormComponent_0, i2.RenderType_SettingsFormComponent)), i1.ɵdid(2, 245760, [[1, 4], [\"masterForm\", 4]], 0, i3.SettingsFormComponent, [i4.BackendSettingsService, i5.ActivatedRoute, i5.Router, i6.TranslateService, i7.AlertsService, i8.ResourceService, i4.BackendSettingsService], { configuration: [0, \"configuration\"], overlayMode: [1, \"overlayMode\"], entityKey: [2, \"entityKey\"] }, { itemSaved: \"itemSaved\", itemRemoved: \"itemRemoved\", itemCanceled: \"itemCanceled\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.details.configuration; var currVal_1 = _co.overlayMode; var currVal_2 = _co.entityKey; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_SettingsDetailComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.saveItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-save\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"APP.CORE.SAVE\")), \"\"); var currVal_1 = !_co.editMode; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.CORE.SAVE\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_SettingsDetailComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.createItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"APP.CORE.CREATE\")), \"\"); var currVal_1 = _co.editMode; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.CORE.CREATE\")); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_SettingsDetailComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelItem($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i6.TranslatePipe, [i6.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.CORE.CANCEL\")); _ck(_v, 4, 0, currVal_1); }); }\nexport function View_SettingsDetailComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(671088640, 1, { dataForm: 0 }), i1.ɵqud(671088640, 2, { relationLists: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SettingsDetailComponent_1)), i1.ɵdid(3, 16384, null, 0, i9.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 6, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SettingsDetailComponent_2)), i1.ɵdid(8, 16384, null, 0, i9.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SettingsDetailComponent_3)), i1.ɵdid(10, 16384, null, 0, i9.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SettingsDetailComponent_4)), i1.ɵdid(12, 16384, null, 0, i9.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.details; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.canUpdate; _ck(_v, 8, 0, currVal_1); var currVal_2 = (_co.canCreate && (!_co.dataForm || (_co.dataForm.canCreate !== false))); _ck(_v, 10, 0, currVal_2); var currVal_3 = (_co.canCreate || _co.canUpdate); _ck(_v, 12, 0, currVal_3); }, null); }\nexport function View_SettingsDetailComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-settings-detail\", [], null, null, null, View_SettingsDetailComponent_0, RenderType_SettingsDetailComponent)), i1.ɵdid(1, 245760, null, 0, i10.SettingsDetailComponent, [i11.UserService, i5.Router, i5.ActivatedRoute, i4.BackendSettingsService, i12.DialogService, i7.AlertsService, i13.SettingsService, i6.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar SettingsDetailComponentNgFactory = i1.ɵccf(\"sym-settings-detail\", i10.SettingsDetailComponent, View_SettingsDetailComponent_Host_0, { configuration: \"configuration\", entityKey: \"entityKey\", overlayMode: \"overlayMode\" }, { closing: \"closing\" }, []);\nexport { SettingsDetailComponentNgFactory as SettingsDetailComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Detail view to show application settings.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file List component to show application settings.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { TranslateService } from '@ngx-translate/core';\nimport { ListBase } from '../../base/list/list.base';\nimport { AlertsService } from '../../core/alerts.service';\nimport { DialogService } from '../../core/dialog.service';\nimport { EventsService } from '../../core/event.service';\nimport { LocalStorageService } from '../../core/local-storage.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { BackendSettingsService } from '../../backend-settings.service';\nimport { UserService } from '../../user.service';\nimport { Router } from '@angular/router';\nimport { ActionService } from '../../core/action.service';\n/**\n * List component to show application settings.\n * @export../backend-settings.service\n * @class SettingsListComponent\n * @extends {ListBase}\n */\nvar SettingsListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(SettingsListComponent, _super);\n /**\n * Creates an instance of SettingsListComponent.\n * @param {configurationsService} configurationsService\n * @param {BackendSettingsService} settingsService\n * @param {DialogService} dialogService\n * @param {AlertsService} alertsService\n * @param {TranslateService} translateService\n * @param {RouterService} routerService\n * @param {OverlayService} overlayService\n * @param {LocalStorageService} localStorageService\n * @memberOf SettingsListComponent\n */\n function SettingsListComponent(userService, settingsService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) {\n return _super.call(this, userService, settingsService, dialogService, alertsService, translateService, router, overlayService, localStorageService, eventsService, actionService) || this;\n }\n /**\n * Sorting is not supported for settings\n * @param {FieldConfiguration} field Setting field\n * @returns {boolean} False\n * @memberOf SettingsListComponent\n */\n SettingsListComponent.prototype.isSortable = function (field) {\n return false;\n };\n return SettingsListComponent;\n}(ListBase));\nexport { SettingsListComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file List component to show application settings.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/list/list.base.scss.shim.ngstyle\";\nimport * as i1 from \"./settings-list.component.scss.shim.ngstyle\";\nimport * as i2 from \"@angular/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/forms\";\nimport * as i6 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i7 from \"../../base/columns/column-container/column-container.component\";\nimport * as i8 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i9 from \"../../base/instruction/instruction.component\";\nimport * as i10 from \"@angular/common/http\";\nimport * as i11 from \"../../configurations.service\";\nimport * as i12 from \"../../base/pagination/pagination.component.ngfactory\";\nimport * as i13 from \"../../base/pagination/pagination.component\";\nimport * as i14 from \"@angular/router\";\nimport * as i15 from \"./settings-list.component\";\nimport * as i16 from \"../../user.service\";\nimport * as i17 from \"../../backend-settings.service\";\nimport * as i18 from \"../../core/dialog.service\";\nimport * as i19 from \"../../core/alerts.service\";\nimport * as i20 from \"../../core/overlay.service\";\nimport * as i21 from \"../../core/local-storage.service\";\nimport * as i22 from \"../../core/event.service\";\nimport * as i23 from \"../../core/action.service\";\nvar styles_SettingsListComponent = [i0.styles, i1.styles];\nvar RenderType_SettingsListComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_SettingsListComponent, data: {} });\nexport { RenderType_SettingsListComponent as RenderType_SettingsListComponent };\nfunction View_SettingsListComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"(\", \")\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inlineCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_SettingsListComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i2.ɵnov(_v.parent.parent, 6).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_SettingsListComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 6, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 1, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i2.ɵted(5, null, [\" \", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_2)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_3)), i2.ɵdid(11, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon\"; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", _co.configuration.data.icon, \"\"); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = _co.inlineCount; _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.configuration.instruction; _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i2.ɵunv(_v, 5, 0, i2.ɵnov(_v, 6).transform(_co.configuration.labelKey)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_SettingsListComponent_5(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.create() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-new\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 1).transform(_co.configuration.data.labelKey)), \"\"); var currVal_1 = _co.isCreating; _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(_co.configuration.data.labelKey)); _ck(_v, 4, 0, currVal_2); }); }\nfunction View_SettingsListComponent_6(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"input-group input-group-sm\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"form-control\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"keyup\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i2.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i2.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i2.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.searchValue = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (_co.searchWith($event) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i2.ɵdid(2, 16384, null, 0, i5.DefaultValueAccessor, [i2.Renderer2, i2.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i2.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.DefaultValueAccessor]), i2.ɵdid(4, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i2.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i2.ɵdid(6, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"input-group-append\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(9, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.lookup() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-search\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(13, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.searchValue; _ck(_v, 4, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 1, 0, i2.ɵnov(_v, 7).transform(\"APP.LISTS.SEARCH_FOR\")), \"\"); var currVal_1 = i2.ɵnov(_v, 6).ngClassUntouched; var currVal_2 = i2.ɵnov(_v, 6).ngClassTouched; var currVal_3 = i2.ɵnov(_v, 6).ngClassPristine; var currVal_4 = i2.ɵnov(_v, 6).ngClassDirty; var currVal_5 = i2.ɵnov(_v, 6).ngClassValid; var currVal_6 = i2.ɵnov(_v, 6).ngClassInvalid; var currVal_7 = i2.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 9, 0, i2.ɵnov(_v, 10).transform(\"APP.LISTS.SEARCH\")), \"\"); _ck(_v, 9, 0, currVal_9); var currVal_10 = i2.ɵunv(_v, 13, 0, i2.ɵnov(_v, 14).transform(\"APP.LISTS.SEARCH\")); _ck(_v, 13, 0, currVal_10); }); }\nfunction View_SettingsListComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_5)), i2.ɵdid(3, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(4, 0, null, null, 7, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(6, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-refresh\"]], null, null, null, null, null)), i2.ɵdid(7, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(8, { \"icon-spin\": 0 }), (_l()(), i2.ɵeld(9, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(10, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(12, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_6)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.canCreate; _ck(_v, 3, 0, currVal_0); var currVal_3 = \"icon sym-icon-refresh\"; var currVal_4 = _ck(_v, 8, 0, _co.isRefreshing); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_6 = _co.canSearch; _ck(_v, 14, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.LISTS.REFRESH\")), \"\"); var currVal_2 = _co.isRefreshing; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_5 = i2.ɵunv(_v, 10, 0, i2.ɵnov(_v, 11).transform(\"APP.LISTS.REFRESH\")); _ck(_v, 10, 0, currVal_5); }); }\nfunction View_SettingsListComponent_7(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"sym-header sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleMultiSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i2.ɵdid(2, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(3, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"icon sym-icon-check\"; var currVal_1 = _ck(_v, 3, 0, _co.isMultiSelectChecked()); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_SettingsListComponent_10(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"ml-auto\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-icon-order-none\": 0, \"sym-icon-order-ascending\": 1, \"sym-icon-order-descending\": 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"icon\"; var currVal_2 = _ck(_v, 5, 0, (_co.sortOrderOf(_v.parent.parent.context.$implicit) === 0), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 2), (_co.sortDirectionOf(_v.parent.parent.context.$implicit) === 1)); _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortOrderOf(_v.parent.parent.context.$implicit); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_SettingsListComponent_9(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 9, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSort(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-clickable\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"d-flex\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_10)), i2.ɵdid(9, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-header sym-column sym-column-\", _v.parent.context.$implicit.editor, \"\"); var currVal_1 = _ck(_v, 2, 0, _co.isSortable(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_3 = (_co.isSortable(_v.parent.context.$implicit) && _co.sortOrderOf(_v.parent.context.$implicit)); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_2 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(_v.parent.context.$implicit.labelKey)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_SettingsListComponent_8(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_9)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_SettingsListComponent_12(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-column sym-column-check sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSingleSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-column-active\": 0 }), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"i\", [[\"class\", \"icon sym-icon-check\"]], null, null, null, null, null)), i2.ɵdid(4, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(5, { \"sym-active\": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-column sym-column-check sym-clickable\"; var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = \"icon sym-icon-check\"; var currVal_3 = _ck(_v, 5, 0, _co.isSelected(_v.parent.context.$implicit)); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_SettingsListComponent_14(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.select(_v.parent.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { \"sym-column-active\": 0, \"sym-column-in-bold\": 1 }), (_l()(), i2.ɵeld(3, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i6.View_ColumnContainerComponent_0, i6.RenderType_ColumnContainerComponent)), i2.ɵdid(4, 114688, null, 0, i7.ColumnContainerComponent, [i2.ViewContainerRef, i2.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"sym-column sym-column-\", _v.parent.context.$implicit.editor, \" sym-clickable\"); var currVal_1 = _ck(_v, 2, 0, _co.isActive(_v.parent.parent.context.$implicit), _co.isBold(_v.parent.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit; var currVal_3 = _v.parent.parent.context.$implicit; _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_SettingsListComponent_13(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_14)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.editor !== \"hidden\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_SettingsListComponent_11(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_12)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_13)), i2.ɵdid(4, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.data.fields; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_SettingsListComponent_15(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-loading icon-spin\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵted(4, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 4, 0, i2.ɵnov(_v, 5).transform(\"APP.LISTS.LOADING_ITEMS\")); _ck(_v, 4, 0, currVal_0); }); }\nfunction View_SettingsListComponent_16(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 2, \"p\", [[\"class\", \"font-italic\"]], null, null, null, null, null)), (_l()(), i2.ɵted(2, null, [\"\", \"\"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i2.ɵunv(_v, 2, 0, i2.ɵnov(_v, 3).transform(\"APP.LISTS.NO_ITEMS_AVAILABLE\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_SettingsListComponent_17(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 9, \"button\", [[\"class\", \"btn btn-danger btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteSelected($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { disabled: 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(4, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-delete\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(5, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(6, null, [\"\", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i2.ɵted(9, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-danger btn-sm\"; var currVal_2 = _ck(_v, 2, 0, _co.disableListActions); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(\"APP.LISTS.DELETE\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_3 = i2.ɵunv(_v, 6, 0, i2.ɵnov(_v, 7).transform(\"APP.LISTS.DELETE\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = !_co.hasSelectedItems(); _ck(_v, 8, 0, currVal_4); var currVal_5 = _co.numberOfSelectedItems(); _ck(_v, 9, 0, currVal_5); }); }\nfunction View_SettingsListComponent_19(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 11, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.actionSelected($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i2.ɵdid(1, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i2.ɵpod(2, { disabled: 0 }), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(4, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i2.ɵdid(5, 278528, null, 0, i3.NgClass, [i2.IterableDiffers, i2.KeyValueDiffers, i2.ElementRef, i2.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i2.ɵpad(6, 2), (_l()(), i2.ɵeld(7, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(8, null, [\"\", \" \"])), i2.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i2.ChangeDetectorRef]), (_l()(), i2.ɵeld(10, 0, null, null, 1, \"span\", [], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i2.ɵted(11, null, [\"(\", \")\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"btn btn-secondary btn-sm ml-1\"; var currVal_2 = _ck(_v, 2, 0, ((_v.parent.context.$implicit.isSelectionNeeded !== false) && _co.disableListActions)); _ck(_v, 1, 0, currVal_1, currVal_2); var currVal_3 = _ck(_v, 6, 0, \"icon\", _co.getIcon(_v.parent.context.$implicit)); _ck(_v, 5, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", i2.ɵunv(_v, 0, 0, i2.ɵnov(_v, 3).transform(_co.getLabelKey(_v.parent.context.$implicit))), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_4 = i2.ɵunv(_v, 8, 0, i2.ɵnov(_v, 9).transform(_co.getLabelKey(_v.parent.context.$implicit))); _ck(_v, 8, 0, currVal_4); var currVal_5 = !_co.hasSelectedItems(); _ck(_v, 10, 0, currVal_5); var currVal_6 = _co.numberOfSelectedItems(); _ck(_v, 11, 0, currVal_6); }); }\nfunction View_SettingsListComponent_18(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_19)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isAllowed(_v.context.$implicit); _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_SettingsListComponent_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 35, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_1)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(5, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i8.View_InstructionComponent_0, i8.RenderType_InstructionComponent)), i2.ɵdid(6, 180224, [[\"instruction\", 4]], 0, i9.InstructionComponent, [i10.HttpClient, i11.ConfigurationsService, i4.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_4)), i2.ɵdid(8, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(9, 0, null, null, 1, \"small\", [[\"class\", \"sym-configuration-key\"]], null, null, null, null, null)), (_l()(), i2.ɵted(10, null, [\"\", \"\"])), (_l()(), i2.ɵeld(11, 0, null, null, 8, \"div\", [[\"class\", \"sym-flex-table mb-1\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(12, 0, null, null, 5, \"div\", [[\"class\", \"sym-row d-flex flex-row align-items-start bd-highlight\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_7)), i2.ɵdid(14, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_8)), i2.ɵdid(16, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i2.ɵeld(17, 0, null, null, 0, \"div\", [[\"class\", \"sym-column-row-end\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_11)), i2.ɵdid(19, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_15)), i2.ɵdid(21, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_16)), i2.ɵdid(23, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(24, 0, null, null, 11, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(25, 0, null, null, 10, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(26, 0, null, null, 4, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(27, 0, null, null, 0, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(28, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i2.ɵeld(29, 0, null, null, 1, \"sym-pagination\", [], null, null, null, i12.View_PaginationComponent_0, i12.RenderType_PaginationComponent)), i2.ɵdid(30, 4374528, null, 0, i13.PaginationComponent, [i14.Router], { overlayMode: [0, \"overlayMode\"], pageSize: [1, \"pageSize\"], dataSet: [2, \"dataSet\"] }, null), (_l()(), i2.ɵeld(31, 0, null, null, 4, \"div\", [[\"class\", \"sym-buttons\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_17)), i2.ɵdid(33, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_SettingsListComponent_18)), i2.ɵdid(35, 278528, null, 0, i3.NgForOf, [i2.ViewContainerRef, i2.TemplateRef, i2.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.configuration.data.icon || _co.configuration.labelKey); _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 6, 0, currVal_1); var currVal_2 = !_co.overlayMode; _ck(_v, 8, 0, currVal_2); var currVal_4 = ((_co.canDelete || _co.canCreate) || _co.canActions); _ck(_v, 14, 0, currVal_4); var currVal_5 = _co.configuration.data.fields; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.items; var currVal_7 = _co.trackByItem; _ck(_v, 19, 0, currVal_6, currVal_7); var currVal_8 = !_co.isDataLoaded; _ck(_v, 21, 0, currVal_8); var currVal_9 = (_co.isDataLoaded && !_co.hasItems()); _ck(_v, 23, 0, currVal_9); var currVal_10 = _co.overlayMode; var currVal_11 = _co.configuration.data.listSize; var currVal_12 = _co.dataSet; _ck(_v, 30, 0, currVal_10, currVal_11, currVal_12); var currVal_13 = _co.canDelete; _ck(_v, 33, 0, currVal_13); var currVal_14 = _co.configuration.actions; _ck(_v, 35, 0, currVal_14); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.configuration.key; _ck(_v, 10, 0, currVal_3); }); }\nexport function View_SettingsListComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"sym-settings-list\", [], null, [[\"document\", \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown\" === en)) {\n var pd_0 = (i2.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_SettingsListComponent_0, RenderType_SettingsListComponent)), i2.ɵdid(1, 245760, null, 0, i15.SettingsListComponent, [i16.UserService, i17.BackendSettingsService, i18.DialogService, i19.AlertsService, i4.TranslateService, i14.Router, i20.OverlayService, i21.LocalStorageService, i22.EventsService, i23.ActionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar SettingsListComponentNgFactory = i2.ɵccf(\"sym-settings-list\", i15.SettingsListComponent, View_SettingsListComponent_Host_0, { configuration: \"configuration\", overlayMode: \"overlayMode\", insights: \"insights\" }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\", onRefresh: \"onRefresh\", itemSaved: \"itemSaved\" }, []);\nexport { SettingsListComponentNgFactory as SettingsListComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file List component to show application settings.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file The supported types for setting values\n * @author Tom Verschoore de la Houssaije\n */\n/** The supported types for setting values */\nexport var SettingsValueTypes = {\n integer: 'INTEGER',\n date: 'DATE'\n};\n","/**\n * @file Component to assemble other components to construct a view.\n * The view is about settings data.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { DataViewBase } from '../../base/data-view/data-view.base';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { DialogService } from '../../core/dialog.service';\nimport { AlertsService } from '../../core/alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { SettingsValueTypes } from '../helpers/settings-value-types';\nimport { BackendSettingsService } from '../../backend-settings.service';\n/**\n * Component to assemble other components to construct a view.\n * The view is about settings data.\n * @export\n * @class SettingsViewComponent\n * @extends {DataViewBase}\n */\nvar SettingsViewComponent = /** @class */ (function (_super) {\n tslib_1.__extends(SettingsViewComponent, _super);\n /**\n * Creates an instance of SettingsViewComponent.\n * @param {ConfigurationService} configurationService Service to get the configuration of the view.\n * @param {Router} router The router\n * @param {ActivatedRoute} route The active route.\n * @param {DomainService} domainService Service to get the data displayed.\n * @param {DialogService} dialogService Service to create informative user dialogs.\n * @param {AlertsService} alertsService Service to inform the user of system events.\n * @param {TranslateService} translateService Service to make the application multilanguage.\n * @memberOf SettingsViewComponent\n */\n function SettingsViewComponent(router, route, settingsService, dialogService, alertsService, translateService) {\n return _super.call(this, router, route, settingsService, dialogService, alertsService, translateService) || this;\n }\n /**\n * Checks whether the given route is the detail route for the given item.\n * @param detailRoute The route to check.\n * @param item Checks the route for this item.\n * @returns True when detailRoute matches with the given entity otherwise false.\n */\n SettingsViewComponent.prototype.isDetailRouteForItem = function (detailRoute, item) {\n // Override and use the item parameter in derived classes.\n if (!_super.prototype.isDetailRouteForItem.call(this, detailRoute, item)) {\n return false;\n }\n if (item.entityType.shortName === 'Setting') {\n switch (item['Type']) {\n case SettingsValueTypes.date:\n return detailRoute.path.toLowerCase().indexOf(SettingsValueTypes.date.toLowerCase()) !== -1;\n case SettingsValueTypes.integer:\n return detailRoute.path.toLowerCase().indexOf(SettingsValueTypes.integer.toLowerCase()) !== -1;\n }\n }\n return true;\n };\n return SettingsViewComponent;\n}(DataViewBase));\nexport { SettingsViewComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component to assemble other components to construct a view.\n * The view is about settings data.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../insights/insights/insights.component.ngfactory\";\nimport * as i2 from \"../../insights/insights/insights.component\";\nimport * as i3 from \"../../core/local-storage.service\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"../../base/list-container/list-container.component.ngfactory\";\nimport * as i6 from \"../../base/list-container/list-container.component\";\nimport * as i7 from \"../../base/sidebar-right/sidebar-right.component.ngfactory\";\nimport * as i8 from \"../../base/sidebar-right/sidebar-right.component\";\nimport * as i9 from \"./settings-view.component\";\nimport * as i10 from \"@angular/router\";\nimport * as i11 from \"../../backend-settings.service\";\nimport * as i12 from \"../../core/dialog.service\";\nimport * as i13 from \"../../core/alerts.service\";\nimport * as i14 from \"@ngx-translate/core\";\nvar styles_SettingsViewComponent = [];\nvar RenderType_SettingsViewComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SettingsViewComponent, data: {} });\nexport { RenderType_SettingsViewComponent as RenderType_SettingsViewComponent };\nexport function View_SettingsViewComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { dataList: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"container-fluid mt-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 3, \"div\", [[\"class\", \"row m-t\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"sym-insights\", [], [[8, \"hidden\", 0]], null, null, i1.View_InsightsComponent_0, i1.RenderType_InsightsComponent)), i0.ɵdid(5, 49152, [[\"insightsTop\", 4]], 0, i2.InsightsComponent, [i3.LocalStorageService], { configuration: [0, \"configuration\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 10, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i0.ɵdid(8, 278528, null, 0, i4.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(9, { \"col-lg-8 pr-0\": 0, \"col-lg-12\": 1, \"d-none d-lg-block\": 2 }), (_l()(), i0.ɵeld(10, 16777216, null, null, 1, \"sym-list-container\", [], null, [[null, \"entityCreated\"], [null, \"selectionChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"entityCreated\" === en)) {\n var pd_0 = (_co.navigateToNew($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"selectionChanged\" === en)) {\n var pd_1 = (_co.navigateTo($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i5.View_ListContainerComponent_0, i5.RenderType_ListContainerComponent)), i0.ɵdid(11, 180224, [[1, 4]], 0, i6.ListContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], { insights: [0, \"insights\"], component: [1, \"component\"] }, { selectionChanged: \"selectionChanged\", entityCreated: \"entityCreated\" }), (_l()(), i0.ɵeld(12, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i0.ɵdid(13, 278528, null, 0, i4.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i0.ɵpod(14, { \"col-lg-4\": 0, \"d-none\": 1 }), (_l()(), i0.ɵeld(15, 0, null, null, 1, \"sym-sidebar-right\", [], null, [[null, \"closed\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"closed\" === en)) {\n var pd_0 = (_co.sidebarIsClosing($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i7.View_SidebarRightComponent_0, i7.RenderType_SidebarRightComponent)), i0.ɵdid(16, 245760, [[\"sidebarRight\", 4]], 0, i8.SidebarRightComponent, [], null, { closed: \"closed\" })], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.configurations.insights; _ck(_v, 5, 0, currVal_1); var currVal_2 = _ck(_v, 9, 0, i0.ɵnov(_v, 16).isOpen(), !i0.ɵnov(_v, 16).isOpen(), i0.ɵnov(_v, 16).isOpen()); _ck(_v, 8, 0, currVal_2); var currVal_3 = i0.ɵnov(_v, 5); var currVal_4 = _co.configurations.list; _ck(_v, 11, 0, currVal_3, currVal_4); var currVal_5 = _ck(_v, 14, 0, i0.ɵnov(_v, 16).isOpen(), !i0.ɵnov(_v, 16).isOpen()); _ck(_v, 13, 0, currVal_5); _ck(_v, 16, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.configurations.insights; _ck(_v, 4, 0, currVal_0); }); }\nexport function View_SettingsViewComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"sym-settings-view\", [], null, null, null, View_SettingsViewComponent_0, RenderType_SettingsViewComponent)), i0.ɵdid(1, 245760, null, 0, i9.SettingsViewComponent, [i10.Router, i10.ActivatedRoute, i11.BackendSettingsService, i12.DialogService, i13.AlertsService, i14.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar SettingsViewComponentNgFactory = i0.ɵccf(\"sym-settings-view\", i9.SettingsViewComponent, View_SettingsViewComponent_Host_0, { configuration: \"configuration\" }, {}, []);\nexport { SettingsViewComponentNgFactory as SettingsViewComponentNgFactory };\n","/**\n * @file The Column Settings component.\n * @author Heino Lenting\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { SettingsValueTypes } from '../helpers/settings-value-types';\nvar ColumnSettingsComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnSettingsComponent, _super);\n /**\n * Constructs a ColumnStringComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnSettingsComponent(provider, changeDetector) {\n var _this = _super.call(this, provider, changeDetector) || this;\n /**\n * Possible types that can be used in the ng switch\n */\n _this.entityTypes = SettingsValueTypes;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnSettingsComponent.register = function () {\n ComponentRegistry.register('column', 'settings', ColumnSettingsComponent);\n };\n Object.defineProperty(ColumnSettingsComponent.prototype, \"field\", {\n get: function () {\n var editor = 'string';\n var name = 'Value';\n var entity = this.provider.entity;\n if (entity) {\n switch (entity['Type']) {\n case SettingsValueTypes.date:\n name = 'AsDate';\n editor = 'date';\n break;\n case SettingsValueTypes.integer:\n name = 'AsInteger';\n editor = 'number';\n break;\n }\n }\n return {\n name: name,\n editor: editor\n };\n },\n enumerable: true,\n configurable: true\n });\n return ColumnSettingsComponent;\n}(ColumnBase));\nexport { ColumnSettingsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Column Settings component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../base/columns/column-container/column-container.component.ngfactory\";\nimport * as i3 from \"../../base/columns/column-container/column-container.component\";\nimport * as i4 from \"./column-settings.component\";\nimport * as i5 from \"../../base/column-provider\";\nvar styles_ColumnSettingsComponent = [i0.styles];\nvar RenderType_ColumnSettingsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnSettingsComponent, data: {} });\nexport { RenderType_ColumnSettingsComponent as RenderType_ColumnSettingsComponent };\nexport function View_ColumnSettingsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 1, \"sym-column-container\", [], null, null, null, i2.View_ColumnContainerComponent_0, i2.RenderType_ColumnContainerComponent)), i1.ɵdid(1, 114688, null, 0, i3.ColumnContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { field: [0, \"field\"], entity: [1, \"entity\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.field; var currVal_1 = _co.provider.entity; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nexport function View_ColumnSettingsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-settings\", [], null, null, null, View_ColumnSettingsComponent_0, RenderType_ColumnSettingsComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnSettingsComponent, [i5.ColumnProvider, i1.ChangeDetectorRef], null, null)], null, null); }\nvar ColumnSettingsComponentNgFactory = i1.ɵccf(\"sym-column-settings\", i4.ColumnSettingsComponent, View_ColumnSettingsComponent_Host_0, {}, {}, []);\nexport { ColumnSettingsComponentNgFactory as ColumnSettingsComponentNgFactory };\n","/**\n* @file Column component for displaying report links.\n* @author Maarten Lensink\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectorRef } from '@angular/core';\nimport { AuthenticationService } from '../../authentication.service';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { ColumnProvider } from '../../base/column-provider';\nimport { ColumnBase } from '../../base/columns/column-base/column-base';\nimport { UserService } from '../../user.service';\nimport { SettingsService } from '../../settings.service';\n/**\n * Column component for displaying a report link\n */\nvar ColumnReportLinkComponent = /** @class */ (function (_super) {\n tslib_1.__extends(ColumnReportLinkComponent, _super);\n /**\n * Constructs a ColumnReportLinkComponent.\n * @param provider Provides the configuration information for the column.\n */\n function ColumnReportLinkComponent(provider, changeDetector, authenticationService, userService, settingsService) {\n var _this = _super.call(this, provider, changeDetector) || this;\n _this.authenticationService = authenticationService;\n _this.userService = userService;\n _this.settingsService = settingsService;\n return _this;\n }\n /**\n * Register this column class for the column provider.\n */\n ColumnReportLinkComponent.register = function () {\n ComponentRegistry.register('column', 'report-link', ColumnReportLinkComponent);\n };\n /**\n * Opens the report in a new tab.\n * @param {any} event The click event\n * @memberOf ColumnReportLinkComponent\n */\n ColumnReportLinkComponent.prototype.onClick = function (event) {\n event.stopPropagation();\n if (this.provider.value) {\n // Url is relative? Add backend base url.\n var urlIsRelative = this.provider.value.toLowerCase().indexOf('://') === -1;\n var backendBaseUrl = urlIsRelative ?\n this.settingsService.settings.frontend.versions.uri.toLowerCase().replace('breeze/version/info', '') + 'aspx/DwhReportViewer.aspx?Report=' : '';\n var backendRestUrl = urlIsRelative ?\n '&AccessToken=' + this.authenticationService.getAccessToken() + '&UserId=' + this.userService.user.Name : '';\n // Add Access Token as query parameter named 'AccessToken' and UserId as query parameter named 'UserId'.\n // Max url length = 2000-2048 characters. Auth0 Access Token is usualy shorter than 1KB. Symagic OpenId length is way shorter.\n // So we have about 1KB left for report parameters.\n var reportUrl = backendBaseUrl + this.provider.value + backendRestUrl;\n window.open(reportUrl, '_blank');\n }\n };\n return ColumnReportLinkComponent;\n}(ColumnBase));\nexport { ColumnReportLinkComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Column component for displaying report links.\n * @author Maarten Lensink\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"../../base/columns/column-base/column-base.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./column-report-link.component\";\nimport * as i5 from \"../../base/column-provider\";\nimport * as i6 from \"../../authentication.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../settings.service\";\nvar styles_ColumnReportLinkComponent = [i0.styles];\nvar RenderType_ColumnReportLinkComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ColumnReportLinkComponent, data: {} });\nexport { RenderType_ColumnReportLinkComponent as RenderType_ColumnReportLinkComponent };\nfunction View_ColumnReportLinkComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"sym-column-editor text-truncate sym-column-editor-report-link\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-secondary\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onClick($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-open\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.SETTINGS.OPEN_REPORT\")), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"APP.SETTINGS.OPEN_REPORT\")); _ck(_v, 5, 0, currVal_1); }); }\nexport function View_ColumnReportLinkComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ColumnReportLinkComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.provider.value; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ColumnReportLinkComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-column-report-link\", [], null, null, null, View_ColumnReportLinkComponent_0, RenderType_ColumnReportLinkComponent)), i1.ɵdid(1, 4374528, null, 0, i4.ColumnReportLinkComponent, [i5.ColumnProvider, i1.ChangeDetectorRef, i6.AuthenticationService, i7.UserService, i8.SettingsService], null, null)], null, null); }\nvar ColumnReportLinkComponentNgFactory = i1.ɵccf(\"sym-column-report-link\", i4.ColumnReportLinkComponent, View_ColumnReportLinkComponent_Host_0, {}, {}, []);\nexport { ColumnReportLinkComponentNgFactory as ColumnReportLinkComponentNgFactory };\n","/**\n * @file The Start component.\n * @author Heino Lenting\n*/\nimport { OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { RoutesService } from '../../routes.service';\nvar StartComponent = /** @class */ (function () {\n function StartComponent(router, routesService) {\n this.router = router;\n this.routesService = routesService;\n }\n StartComponent.prototype.ngOnInit = function () {\n this.router.resetConfig(this.routesService.routes);\n // Rewrite deep links to not-so-deep links because this works in case of (non)-existing\n // entities and sharing a 'new entity link (=/new/) is not an expected use case.\n //\n // 'projectsshifts/tasks/E1Z21' -> 'projectsshifts/tasks'\n // 'projectsshifts/tasks/new/K_-1' => 'projectsshifts/tasks'\n var currentUrl = this.router.url.startsWith('/') ? this.router.url.substr(1) : this.router.url;\n var rewritedUrl = currentUrl.split('/').slice(0, 2).join('/');\n this.router.navigateByUrl(rewritedUrl);\n };\n return StartComponent;\n}());\nexport { StartComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Start component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./start.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"./start.component\";\nimport * as i4 from \"@angular/router\";\nimport * as i5 from \"../../routes.service\";\nvar styles_StartComponent = [i0.styles];\nvar RenderType_StartComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_StartComponent, data: {} });\nexport { RenderType_StartComponent as RenderType_StartComponent };\nexport function View_StartComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\\n\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"APP.CORE.REDIRECT\")); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_StartComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-start\", [], null, null, null, View_StartComponent_0, RenderType_StartComponent)), i1.ɵdid(1, 114688, null, 0, i3.StartComponent, [i4.Router, i5.RoutesService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar StartComponentNgFactory = i1.ɵccf(\"sym-start\", i3.StartComponent, View_StartComponent_Host_0, {}, {}, []);\nexport { StartComponentNgFactory as StartComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Start component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * Class for the online service\n */\nvar OnlineService = /** @class */ (function () {\n /**\n * Constructs a OnlineService\n */\n function OnlineService() {\n /** Keeps the online/offline state */\n this._isOnline = true;\n /*\n Observable.fromEvent(window, 'offline').subscribe(() => {\n this._isOnline = false;\n });\n Observable.fromEvent(window, 'online').subscribe(() => {\n this._isOnline = true;\n });*/\n }\n /**\n * Check if application is online\n */\n OnlineService.prototype.isOnline = function () {\n return navigator.onLine;\n };\n return OnlineService;\n}());\nexport { OnlineService };\n","/**\n * @file Component representing the header of the application\n * @author Tom Verschoore de la Houssaije\n */\nimport { EventEmitter } from '@angular/core';\nimport { OnlineService } from '../../core/online.service';\nimport { NotificationsService } from '../../notifications/notifications.service';\nimport { OverlayService } from '../../core/overlay.service';\nimport { BrandingService } from '../../core/branding.service';\nimport { UserService } from '../../user.service';\nimport { AuthenticationService } from '../../authentication.service';\nimport { Router } from '@angular/router';\n/**\n * Component representing the header of the application\n */\nvar HeaderComponent = /** @class */ (function () {\n /**\n * Creates an instance of HeaderComponent.\n * @param {UserService} userService\n * @param {ResourceService} resourceService\n * @param {RouterService} userService\n * @param {OnlineService} onlineService\n * @param {NotificationsService} notificationsService\n * @param {OverlayService} overlayService\n * @param {BrandingService} brandingService\n * @param {AuthenticationService} authenticationService\n * @memberof HeaderComponent\n */\n function HeaderComponent(userService, router, onlineService, notificationsService, overlayService, brandingService, authenticationService) {\n this.userService = userService;\n this.router = router;\n this.onlineService = onlineService;\n this.notificationsService = notificationsService;\n this.overlayService = overlayService;\n this.brandingService = brandingService;\n this.authenticationService = authenticationService;\n /** Event to notify the expanding and collapsing of the main application menu */\n this.menuToggled = new EventEmitter();\n }\n /**\n * Check if application is online\n */\n HeaderComponent.prototype.isOnline = function () {\n return this.onlineService.isOnline();\n };\n Object.defineProperty(HeaderComponent.prototype, \"authenticated\", {\n /** Gets a boolean value indicating whether or not the user is authenticated */\n get: function () {\n return this.authenticationService.hasValidAccessToken();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Perform log out from authentication service\n */\n HeaderComponent.prototype.doLogout = function (event) {\n event.stopPropagation();\n this.authenticationService.logOut();\n return false;\n };\n /**\n * Go to the first page of the webapplication\n */\n HeaderComponent.prototype.goToDefault = function () {\n this.router.navigateByUrl('/');\n };\n /**\n * Go to the the notifications\n */\n HeaderComponent.prototype.goToNotifications = function () {\n this.router.navigate(['notification/inbox']);\n };\n /**\n * Initiates the creation of the account overlay\n */\n HeaderComponent.prototype.openAccount = function () {\n this.overlayService.goToEntity(this.userService.user);\n };\n Object.defineProperty(HeaderComponent.prototype, \"user\", {\n /** Gets the user info of the logged in user */\n get: function () {\n return this.userService.user;\n },\n enumerable: true,\n configurable: true\n });\n /** Translate the HTML5 role into the correct localisation key */\n HeaderComponent.prototype.roleIntoLocalisationKey = function () {\n return 'APP.MISC.ROLES.' + this.user.HTML5Role.toUpperCase();\n };\n /**\n * This method is invoked when the user activates or deactivates the main application menu\n * @param event The HTML event triggered by the user\n */\n HeaderComponent.prototype.invokeMenuToggle = function (event) {\n event.cancelBubble = true;\n this.menuToggled.emit(event);\n // Trying not to reload page when used in a element\n return false;\n };\n return HeaderComponent;\n}());\nexport { HeaderComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing the header of the application\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./header.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"../../base/profile-picture/profile-picture.component.ngfactory\";\nimport * as i5 from \"../../base/directives/openProfile.directive\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../domain.service\";\nimport * as i9 from \"../../core/alerts.service\";\nimport * as i10 from \"../../base/profile-picture/profile-picture.component\";\nimport * as i11 from \"./header.component\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"../../core/online.service\";\nimport * as i14 from \"../../notifications/notifications.service\";\nimport * as i15 from \"../../core/branding.service\";\nimport * as i16 from \"../../authentication.service\";\nvar styles_HeaderComponent = [i0.styles];\nvar RenderType_HeaderComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_HeaderComponent, data: {} });\nexport { RenderType_HeaderComponent as RenderType_HeaderComponent };\nfunction View_HeaderComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"alert alert-danger mb-0\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(4, null, [\" \", \"\\n\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.UI.NOT_CONNECTED\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.UI.NOT_CONNECTED_MESSAGE\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_HeaderComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.notificationsService.totalUnreadNotifications; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_HeaderComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" 10+ \"]))], null, null); }\nfunction View_HeaderComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.invokeMenuToggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-menu sym-clickable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"sym-header-notifications sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goToNotifications() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(5, { \"sym-header-notifications-visible d-flex align-items-center justify-content-center\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_3)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_4)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"sym-profile-picture\", [[\"class\", \"sym-clickable\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 11).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_ProfilePictureComponent_0, i4.RenderType_ProfilePictureComponent)), i1.ɵdid(11, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), i1.ɵdid(12, 49152, null, 0, i10.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-header-notifications sym-clickable\"; var currVal_1 = _ck(_v, 5, 0, (_co.notificationsService.totalUnreadNotifications > 0)); _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_2 = (_co.notificationsService.totalUnreadNotifications < 11); _ck(_v, 7, 0, currVal_2); var currVal_3 = (_co.notificationsService.totalUnreadNotifications > 10); _ck(_v, 9, 0, currVal_3); var currVal_4 = \"\"; _ck(_v, 11, 0, currVal_4); var currVal_5 = _co.userService.fullName; var currVal_6 = 53; _ck(_v, 12, 0, currVal_5, currVal_6); }, null); }\nfunction View_HeaderComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"sym-header-row text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [[\"class\", \"lead sym-clickable\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"sym-header-row text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openAccount() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\" \\u2022 \"])), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.doLogout($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = \"\"; _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.userService.fullName; _ck(_v, 4, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(_co.roleIntoLocalisationKey())); _ck(_v, 7, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"APP.UI.LOGOUT\")); _ck(_v, 11, 0, currVal_3); }); }\nfunction View_HeaderComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.notificationsService.totalUnreadNotifications; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_HeaderComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" 10+ \"]))], null, null); }\nfunction View_HeaderComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"sym-header-image pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"sym-profile-picture\", [[\"class\", \"sym-clickable\"], [\"symViewProfile\", \"\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).openProfile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_ProfilePictureComponent_0, i4.RenderType_ProfilePictureComponent)), i1.ɵdid(2, 16384, null, 0, i5.OpenProfileDirective, [i6.OverlayService, i7.UserService, i8.DomainService, i9.AlertsService], { key: [0, \"key\"] }, null), i1.ɵdid(3, 49152, null, 0, i10.ProfilePictureComponent, [], { fullName: [0, \"fullName\"], size: [1, \"size\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"div\", [[\"class\", \"sym-header-notifications sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goToNotifications() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { \"sym-header-notifications-visible d-flex align-items-center justify-content-center\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_7)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_8)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.userService.fullName; var currVal_2 = 53; _ck(_v, 3, 0, currVal_1, currVal_2); var currVal_3 = \"sym-header-notifications sym-clickable\"; var currVal_4 = _ck(_v, 6, 0, (_co.notificationsService.totalUnreadNotifications > 0)); _ck(_v, 5, 0, currVal_3, currVal_4); var currVal_5 = (_co.notificationsService.totalUnreadNotifications < 11); _ck(_v, 8, 0, currVal_5); var currVal_6 = (_co.notificationsService.totalUnreadNotifications > 10); _ck(_v, 10, 0, currVal_6); }, null); }\nexport function View_HeaderComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 12, \"header\", [[\"class\", \"container-fluid pl-3 pr-3 sym-p-t sym-p-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"sym-header-compact d-lg-none\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"div\", [[\"class\", \"pull-left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"img\", [[\"alt\", \"Symagic\"], [\"class\", \"sym-clickable\"]], [[8, \"src\", 4]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goToDefault() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_2)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"sym-header-normal d-none d-lg-block\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"div\", [[\"class\", \"pull-left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"img\", [[\"alt\", \"Symagic\"], [\"class\", \"sym-clickable\"]], [[8, \"src\", 4]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goToDefault() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_5)), i1.ɵdid(12, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_HeaderComponent_6)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isOnline(); _ck(_v, 1, 0, currVal_0); var currVal_2 = _co.user; _ck(_v, 7, 0, currVal_2); var currVal_4 = _co.user; _ck(_v, 12, 0, currVal_4); var currVal_5 = _co.user; _ck(_v, 14, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.brandingService.getImage(\"icon\"); _ck(_v, 5, 0, currVal_1); var currVal_3 = _co.brandingService.getImage(\"logo\"); _ck(_v, 10, 0, currVal_3); }); }\nexport function View_HeaderComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-header\", [], null, null, null, View_HeaderComponent_0, RenderType_HeaderComponent)), i1.ɵdid(1, 49152, null, 0, i11.HeaderComponent, [i7.UserService, i12.Router, i13.OnlineService, i14.NotificationsService, i6.OverlayService, i15.BrandingService, i16.AuthenticationService], null, null)], null, null); }\nvar HeaderComponentNgFactory = i1.ɵccf(\"sym-header\", i11.HeaderComponent, View_HeaderComponent_Host_0, {}, { menuToggled: \"menuToggled\" }, []);\nexport { HeaderComponentNgFactory as HeaderComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing the header of the application\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"@media (max-width:991.98px){header[_ngcontent-%COMP%]{background-color:#d0dfdf;border-bottom:1px solid #92b7b7;padding-top:8px!important;padding-bottom:8px!important}}header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%]{overflow:hidden}header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%] .sym-header-notifications[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%] .sym-header-notifications[_ngcontent-%COMP%]{background-color:#d55b40;color:#fff;border-radius:50%;border:3px solid #fff}header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%] .sym-profile-picture{float:right}header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:53px;float:right}header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#324b4b;margin-left:2px;font-size:53px;width:53px;line-height:53px}header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%] .sym-header-notifications[_ngcontent-%COMP%]{width:53px;height:53px;float:right;margin-left:5px;font-size:1.3rem;display:none}header[_ngcontent-%COMP%] .sym-header-compact[_ngcontent-%COMP%] .sym-header-notifications.sym-header-notifications-visible[_ngcontent-%COMP%]{display:block}header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%] .sym-header-image[_ngcontent-%COMP%]{position:relative}header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%] .sym-header-image[_ngcontent-%COMP%] .sym-header-notifications[_ngcontent-%COMP%]{font-size:.9rem;width:35px;height:35px;position:absolute;right:-3px;bottom:-3px;line-height:30px;text-align:center;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .5s ease-out;transition:-webkit-transform .5s ease-out;transition:transform .5s ease-out;transition:transform .5s ease-out,-webkit-transform .5s ease-out}header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%] .sym-header-image[_ngcontent-%COMP%] .sym-header-notifications[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%] .sym-header-image[_ngcontent-%COMP%] .sym-header-notifications.sym-header-notifications-visible[_ngcontent-%COMP%]{display:block;-webkit-transform:scale(1);transform:scale(1)}header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%] .sym-header-image[_ngcontent-%COMP%] .sym-header-notifications.sym-header-notifications-visible[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline}header[_ngcontent-%COMP%] .sym-header-normal[_ngcontent-%COMP%] .sym-header-row[_ngcontent-%COMP%]{height:30px;max-width:250px;padding-left:8px}\"];\nexport { styles as styles };\n","/**\n * @file SystemMessagesService Service\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { Router, NavigationEnd } from '@angular/router';\nimport * as moment from 'moment';\nimport { AbstractBase } from '../core/helpers/abstract-base';\n/**\n * SystemMessagesService Service\n */\nvar SystemMessagesService = /** @class */ (function (_super) {\n tslib_1.__extends(SystemMessagesService, _super);\n /**\n * Constructs a SystemMessagesService instance.\n * @param router The router\n */\n function SystemMessagesService(router) {\n var _this = _super.call(this) || this;\n /** Array of system messages */\n _this.systemMessages = [];\n _this.subscriptionPool.add(router.events.subscribe(function (event) {\n if (event instanceof NavigationEnd) {\n _this.cleanUp();\n }\n }));\n return _this;\n }\n /**\n * Add a system message\n * @param id The id of the system message\n * @param variant The variant (success, info, warning, danger)\n * @param subject The subject (visible in bold)\n * @param message The message of the system message\n * @param start Message is visible from start\n * @param finish Message is visible until finish\n */\n SystemMessagesService.prototype.add = function (id, variant, subject, message, start, finish) {\n // Create new system message\n var newSystemMessage = {\n id: id,\n variant: variant,\n subject: subject,\n message: message,\n start: (start) ? start : moment(),\n finish: (finish) ? finish : moment().add(1, 'minute'),\n };\n // Check if new system message already exists\n var result = this.systemMessages.find(function (systemMessage) { return systemMessage.id === newSystemMessage.id; });\n // Only add system message if unique\n if (!result) {\n this.systemMessages.push(newSystemMessage);\n }\n };\n /**\n * Retrieving system messages\n * @returns The system messages\n */\n SystemMessagesService.prototype.get = function () {\n // Prevent flickering in DOM (because next step give always a new reference)\n if (this.systemMessages.length === 0) {\n return this.systemMessages;\n }\n // Search for relevant system messages\n var now = moment();\n var systemMessages = this.systemMessages.filter(function (systemMessage) {\n return (now.isBetween(systemMessage.start, systemMessage.finish));\n });\n return systemMessages;\n };\n /**\n * Clean up the system messages items\n */\n SystemMessagesService.prototype.cleanUp = function () {\n var now = moment();\n this.systemMessages = this.systemMessages.filter(function (systemMessage) {\n return (now.isBefore(systemMessage.finish));\n });\n };\n /**\n * Delete a system message\n * @param id The id of the system message\n */\n SystemMessagesService.prototype.delete = function (id) {\n this.systemMessages = this.systemMessages.filter(function (systemMessage) {\n return (systemMessage.id !== id);\n });\n };\n return SystemMessagesService;\n}(AbstractBase));\nexport { SystemMessagesService };\n","/**\n * @file SystemMessages Component\n * @author Heino Lenting\n */\nimport { SystemMessagesService } from '../system-messages.service';\n/**\n * SystemMessages Component\n */\nvar SystemMessagesComponent = /** @class */ (function () {\n /**\n * Constructs a SystemMessagesComponent instance.\n * @param systemMessagesService The system messages service\n */\n function SystemMessagesComponent(systemMessagesService) {\n this.systemMessagesService = systemMessagesService;\n }\n return SystemMessagesComponent;\n}());\nexport { SystemMessagesComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file SystemMessages Component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./system-messages.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./system-messages.component\";\nimport * as i4 from \"../system-messages.service\";\nvar styles_SystemMessagesComponent = [i0.styles];\nvar RenderType_SystemMessagesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SystemMessagesComponent, data: {} });\nexport { RenderType_SystemMessagesComponent as RenderType_SystemMessagesComponent };\nfunction View_SystemMessagesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"class\", \"close\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.systemMessagesService.delete(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\u00D7\"])), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), (_l()(), i1.ɵted(6, null, [\" \", \" \", \" \", \"\"]))], null, function (_ck, _v) { var currVal_0 = ((\"alert alert-\" + _v.context.$implicit.variant) + \" alert-dismissable pl-1 pr-1 sym-p-t sym-p-b mb-0\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.context.$implicit.subject; _ck(_v, 5, 0, currVal_1); var currVal_2 = _v.context.$implicit.message; var currVal_3 = _v.context.$implicit.start; var currVal_4 = _v.context.$implicit.finish; _ck(_v, 6, 0, currVal_2, currVal_3, currVal_4); }); }\nexport function View_SystemMessagesComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_SystemMessagesComponent_1)), i1.ɵdid(1, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.systemMessagesService.get(); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_SystemMessagesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-system-messages\", [], null, null, null, View_SystemMessagesComponent_0, RenderType_SystemMessagesComponent)), i1.ɵdid(1, 49152, null, 0, i3.SystemMessagesComponent, [i4.SystemMessagesService], null, null)], null, null); }\nvar SystemMessagesComponentNgFactory = i1.ɵccf(\"sym-system-messages\", i3.SystemMessagesComponent, View_SystemMessagesComponent_Host_0, {}, {}, []);\nexport { SystemMessagesComponentNgFactory as SystemMessagesComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file SystemMessages Component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".alert[_ngcontent-%COMP%]{border:0}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{cursor:pointer}\"];\nexport { styles as styles };\n","import { Router } from '@angular/router';\nimport { OverlayService } from '../../core/overlay.service';\nimport { ConfigurationsService } from '../../configurations.service';\nimport { RoutesService } from '../../routes.service';\nimport { AuthenticationService } from '../../authentication.service';\nimport { UserService } from '../../user.service';\n/**\n * This component represents the main menu of the application.\n */\nvar MenuComponent = /** @class */ (function () {\n /**\n * Creates an instance of MenuComponent.\n * @param {AuthenticationService} authenticationService\n * @param {ConfigurationsService} configurationsService\n * @param {Router} router\n * @param {OverlayService} overlayService\n * @param {RoutesService} routesService\n * @memberof MenuComponent\n */\n function MenuComponent(authenticationService, userService, configurationsService, router, overlayService, routesService) {\n this.authenticationService = authenticationService;\n this.userService = userService;\n this.configurationsService = configurationsService;\n this.router = router;\n this.overlayService = overlayService;\n this.routesService = routesService;\n /**\n * Gets or sets a boolean flag indicating whether the menu is open or not.\n * Important to known when the application runs on a small device.\n */\n this.menuOpen = false;\n }\n MenuComponent.prototype.routes = function () {\n return this.configurationsService.configurations.app.routes;\n };\n MenuComponent.prototype.isMenuItemActive = function (menuItem) {\n return this.router.url.startsWith('/' + menuItem.path);\n };\n MenuComponent.prototype.isSubMenuItemActive = function (menuItem) {\n return (this.router.url.startsWith(menuItem.link));\n };\n MenuComponent.prototype.goTo = function (event, menuItem) {\n event.stopPropagation();\n this.router.navigateByUrl(menuItem.link);\n if (this.isMenuOpen()) {\n this.toggleMenu();\n }\n };\n /**\n * To toggle the open state of the menu.\n * Important when the application runs on a small device.\n */\n MenuComponent.prototype.toggleMenu = function () {\n this.menuOpen = !this.menuOpen;\n };\n /**\n * Gets the open state of the menu\n * @returns True when the menu is open otherwise false.\n */\n MenuComponent.prototype.isMenuOpen = function () {\n return this.menuOpen;\n };\n /**\n * Initiates the creation of the account overlay\n */\n MenuComponent.prototype.openAccount = function () {\n console.log('menu-openAccount');\n this.overlayService.goToEntity(this.userService.user);\n };\n /**\n * Initiates the creation of the view profile overlay\n */\n MenuComponent.prototype.viewProfile = function () {\n console.log('menu-viewProfile');\n this.overlayService.goToEntity(this.userService.user.Resource);\n };\n /**\n * Perform log out from authentication service\n */\n MenuComponent.prototype.doLogout = function (event) {\n event.stopPropagation();\n this.authenticationService.logOut();\n };\n return MenuComponent;\n}());\nexport { MenuComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./menu.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"./menu.component\";\nimport * as i5 from \"../../authentication.service\";\nimport * as i6 from \"../../user.service\";\nimport * as i7 from \"../../configurations.service\";\nimport * as i8 from \"@angular/router\";\nimport * as i9 from \"../../core/overlay.service\";\nimport * as i10 from \"../../routes.service\";\nvar styles_MenuComponent = [i0.styles];\nvar RenderType_MenuComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MenuComponent, data: {} });\nexport { RenderType_MenuComponent as RenderType_MenuComponent };\nfunction View_MenuComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goTo($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-submenu-label text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.isMenuItemActive(_v.parent.context.$implicit)); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.MISC.MENU.OVERVIEW\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_MenuComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goTo($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-submenu-label text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.isSubMenuItemActive(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_v.context.$implicit.labelKey)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_MenuComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goTo($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(2, { \"sym-active\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"sym-menu-label text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 4, \"ul\", [[\"class\", \"sym-submenu\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MenuComponent_2)), i1.ɵdid(8, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MenuComponent_3)), i1.ɵdid(10, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.isMenuItemActive(_v.context.$implicit)); _ck(_v, 1, 0, currVal_0); var currVal_2 = (_v.context.$implicit.menuItems.length === 0); _ck(_v, 8, 0, currVal_2); var currVal_3 = _v.context.$implicit.menuItems; _ck(_v, 10, 0, currVal_3); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_v.context.$implicit.labelKey)); _ck(_v, 4, 0, currVal_1); }); }\nexport function View_MenuComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, \"nav\", [[\"class\", \"sym-menu sym-menu-horizontal\"]], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(2, { \"d-none d-lg-block\": 0 }), (_l()(), i1.ɵeld(3, 0, null, null, 15, \"ul\", [[\"class\", \"sym-menu\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MenuComponent_1)), i1.ɵdid(5, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 12, \"li\", [[\"class\", \"d-lg-none\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"sym-menu-label text-truncate\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openAccount() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(10, 0, null, null, 8, \"ul\", [[\"class\", \"sym-submenu\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 3, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openAccount() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"sym-submenu-label text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.doLogout($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"sym-submenu-label text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"sym-menu sym-menu-horizontal\"; var currVal_1 = _ck(_v, 2, 0, !_co.isMenuOpen()); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _co.routesService.menuItems; _ck(_v, 5, 0, currVal_2); }, function (_ck, _v) { var currVal_3 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(\"APP.UI.ACCOUNT\")); _ck(_v, 8, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"APP.UI.ACCOUNT\")); _ck(_v, 13, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(\"APP.UI.LOGOUT\")); _ck(_v, 17, 0, currVal_5); }); }\nexport function View_MenuComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"sym-menu\", [], null, null, null, View_MenuComponent_0, RenderType_MenuComponent)), i1.ɵprd(4608, null, i2.Location, i2.Location, [i2.LocationStrategy]), i1.ɵdid(2, 49152, null, 0, i4.MenuComponent, [i5.AuthenticationService, i6.UserService, i7.ConfigurationsService, i8.Router, i9.OverlayService, i10.RoutesService], null, null)], null, null); }\nvar MenuComponentNgFactory = i1.ɵccf(\"sym-menu\", i4.MenuComponent, View_MenuComponent_Host_0, {}, {}, []);\nexport { MenuComponentNgFactory as MenuComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-menu[_ngcontent-%COMP%]{font-size:.875rem;position:relative}.sym-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.sym-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{min-height:45px;line-height:45px}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .sym-menu-label[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{min-height:35px;line-height:35px;height:35px}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .sym-submenu-label[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li.sym-active[_ngcontent-%COMP%]{color:#fff}@media (min-width:992px){.sym-menu[_ngcontent-%COMP%]{height:80px}.sym-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;max-width:250px}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%]{overflow:hidden;background-color:#253a3a}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background-color:#253a3a;color:#fff;height:46px}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li.sym-active[_ngcontent-%COMP%], .sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#f3a357;color:#fff}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li.sym-active[_ngcontent-%COMP%] .sym-submenu[_ngcontent-%COMP%]{display:block}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%]{display:none;position:absolute;left:0;right:0;background-color:#b2d1d0;top:45px}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background-color:#b2d1d0;color:#253a3a}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li.sym-active[_ngcontent-%COMP%], .sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#9cc4c2}}@media (max-width:991.98px){.sym-menu[_ngcontent-%COMP%]{border-bottom:1px solid #bcd7d6}.sym-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{background-color:#b2d1d0}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{min-height:45px;line-height:45px}.sym-menu[_ngcontent-%COMP%] ul.sym-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .sym-menu-label[_ngcontent-%COMP%]{font-weight:700}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{min-height:35px;line-height:35px}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .sym-submenu-label[_ngcontent-%COMP%]{padding-left:50px}.sym-menu[_ngcontent-%COMP%] ul.sym-submenu[_ngcontent-%COMP%] li.sym-active[_ngcontent-%COMP%]{background-color:#9cc4c2}}\"];\nexport { styles as styles };\n","/**\n * @file ScrollTop component\n * @author Willem Jan Weitering\n */\nimport { OnInit } from '@angular/core';\n/**\n * Class for the ScrollTop component that provides scroll-to-top functionality.\n */\nvar ScrollTopComponent = /** @class */ (function () {\n /**\n * Constructs a ScrollTopComponent\n */\n function ScrollTopComponent() {\n /* Visibility variable used in template */\n this._isVisible = false;\n }\n /**\n * Scroll to top of page\n */\n ScrollTopComponent.prototype.scrollToTop = function () {\n /* cross-browser solution */\n document.body.scrollTop = document.documentElement.scrollTop = 1;\n };\n /**\n * Listen to window scroll event and set visibility variable\n */\n ScrollTopComponent.prototype.onScrollEvent = function () {\n this._isVisible = (window.pageYOffset > 5) ? true : false;\n };\n ScrollTopComponent.prototype.ngOnInit = function () {\n };\n return ScrollTopComponent;\n}());\nexport { ScrollTopComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./scroll-top.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"./scroll-top.component\";\nvar styles_ScrollTopComponent = [i0.styles];\nvar RenderType_ScrollTopComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ScrollTopComponent, data: {} });\nexport { RenderType_ScrollTopComponent as RenderType_ScrollTopComponent };\nfunction View_ScrollTopComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"sym-clickable\"], [\"id\", \"scroll-top\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.scrollToTop() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-scroll-up\"]], null, null, null, null, null))], null, null); }\nexport function View_ScrollTopComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScrollTopComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._isVisible; _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_ScrollTopComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-scroll-top\", [], null, [[\"window\", \"scroll\"]], function (_v, en, $event) { var ad = true; if ((\"window:scroll\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).onScrollEvent($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_ScrollTopComponent_0, RenderType_ScrollTopComponent)), i1.ɵdid(1, 114688, null, 0, i3.ScrollTopComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ScrollTopComponentNgFactory = i1.ɵccf(\"sym-scroll-top\", i3.ScrollTopComponent, View_ScrollTopComponent_Host_0, {}, {}, []);\nexport { ScrollTopComponentNgFactory as ScrollTopComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"#scroll-top[_ngcontent-%COMP%]{position:fixed;width:41px;height:41px;left:0;bottom:0;font-size:13px;line-height:41px;text-align:center;color:#b3b2b2;background:#000;z-index:99999;opacity:.5}\"];\nexport { styles as styles };\n","/**\n * @file Component representing the footer of the application.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { LocalisationService } from '../../core/localisation.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { OverlayService } from '../../core/overlay.service';\nimport { UserService } from '../../user.service';\nimport { ConfigurationsService } from '../../configurations.service';\nimport { RoutesService } from '../../routes.service';\nimport { SettingsService } from '../../settings.service';\nimport { ErrorService } from '../../core/error.service';\nimport { Router } from '@angular/router';\nimport { AlertsService } from '../../core/alerts.service';\n/**\n * Component representing the footer of the application.\n */\nvar FooterComponent = /** @class */ (function () {\n /**\n * Constructs the footer of the application.\n * @param localisationService The localization service to support multi language.\n * @param translateService The translate service to support multi language.\n */\n function FooterComponent(localisationService, overlayService, translateService, userService, configurationsService, routesService, settingsService, errorService, router, alertsService) {\n this.localisationService = localisationService;\n this.overlayService = overlayService;\n this.translateService = translateService;\n this.userService = userService;\n this.configurationsService = configurationsService;\n this.routesService = routesService;\n this.settingsService = settingsService;\n this.errorService = errorService;\n this.router = router;\n this.alertsService = alertsService;\n }\n FooterComponent.prototype.onKeydownHandler = function (event) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.changeRole()];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n FooterComponent.prototype.onVersionClick = function () {\n this.overlayService.createOverlay({\n action: {\n configuration: {\n components: [\n {\n component: 'VersionInfoComponent',\n configuration: { key: 'header/actions/account' }\n }\n ],\n instruction: '',\n labelKey: ''\n },\n labelKey: ''\n }\n });\n };\n Object.defineProperty(FooterComponent.prototype, \"languages\", {\n /** Gets the supported languages. */\n get: function () {\n return this.localisationService.languages;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FooterComponent.prototype, \"currentLanguage\", {\n /** Gets the current language of the application. */\n get: function () {\n return this.translateService.currentLang;\n },\n enumerable: true,\n configurable: true\n });\n FooterComponent.prototype.onLanguageChange = function (locale) {\n this.localisationService.setLanguage(locale);\n };\n Object.defineProperty(FooterComponent.prototype, \"roles\", {\n /** Gets the supported roles. */\n get: function () {\n return this.settingsService.settings.frontend.roles;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FooterComponent.prototype, \"currentRole\", {\n /** Gets the current language of the application. */\n get: function () {\n return this.userService.html5role;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Has the current user a Symagic rol (deep role, not the one used for configuration etc.)\n * https://github.com/Symagic/html5/issues/3545#issuecomment-574148367\n * */\n FooterComponent.prototype.isSymagicRole = function () {\n return (this.userService.user.HTML5Role.toLowerCase() === 'symagic');\n };\n FooterComponent.prototype.changeRole = function (role) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.userService.user.HTML5Role.toLowerCase() !== 'symagic') {\n this.alertsService.createAlert('warning', 'Change of role is not allowed');\n return [2 /*return*/];\n }\n while (!this.settingsService.settings.frontend.roles.includes(role)) {\n role = window.prompt('What is your preferred role?', this.userService.html5role);\n }\n if (!(role !== this.userService.html5role)) return [3 /*break*/, 3];\n this.userService.changeRole(role);\n return [4 /*yield*/, this.configurationsService.bootInit()];\n case 1:\n _a.sent();\n return [4 /*yield*/, this.routesService.bootInit()];\n case 2:\n _a.sent();\n this.router.resetConfig(this.routesService.routes);\n this.router.navigateByUrl('/');\n this.alertsService.createAlert('success', 'Your role is changed');\n return [3 /*break*/, 4];\n case 3:\n this.alertsService.createAlert('warning', 'No change of role needed');\n _a.label = 4;\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return FooterComponent;\n}());\nexport { FooterComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing the footer of the application.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./footer.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"./footer.component\";\nimport * as i5 from \"../../core/localisation.service\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../user.service\";\nimport * as i8 from \"../../configurations.service\";\nimport * as i9 from \"../../routes.service\";\nimport * as i10 from \"../../settings.service\";\nimport * as i11 from \"../../core/error.service\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"../../core/alerts.service\";\nvar styles_FooterComponent = [i0.styles];\nvar RenderType_FooterComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FooterComponent, data: {} });\nexport { RenderType_FooterComponent as RenderType_FooterComponent };\nfunction View_FooterComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"option\", [], [[8, \"value\", 0], [8, \"selected\", 0]], null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit.locale, \"\"); var currVal_1 = (_v.context.$implicit.locale == _co.currentLanguage); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = _v.context.$implicit.title; _ck(_v, 1, 0, currVal_2); }); }\nfunction View_FooterComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"option\", [], [[8, \"value\", 0], [8, \"selected\", 0]], null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); var currVal_1 = (_v.context.$implicit == _co.currentRole); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = _v.context.$implicit; _ck(_v, 1, 0, currVal_2); }); }\nfunction View_FooterComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"container-fluid mb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"row pt-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"for\", \"pickLanguage\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Current language\"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"select\", [[\"class\", \"form-control\"], [\"id\", \"pickLanguage\"]], null, [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.onLanguageChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FooterComponent_2)), i1.ɵdid(8, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 9, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 3, \"label\", [[\"for\", \"pickRole\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Current role \"])), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"span\", [[\"class\", \"text-muted\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"(or SHIFT+ESC)\"])), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"select\", [[\"class\", \"form-control\"], [\"id\", \"pickRole\"]], null, [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.changeRole($event.target.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FooterComponent_3)), i1.ɵdid(18, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.languages; _ck(_v, 8, 0, currVal_0); var currVal_1 = _co.roles; _ck(_v, 18, 0, currVal_1); }, null); }\nexport function View_FooterComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_FooterComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 20, \"footer\", [[\"class\", \"container-fluid\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 19, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 18, \"div\", [[\"class\", \"col-md-12 text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 17, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \" \\u00A9 2020 \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"a\", [[\"href\", \"http://www.symagic.com\"], [\"target\", \"_blank\"]], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\" | \"])), (_l()(), i1.ɵeld(12, 0, null, null, 3, \"span\", [[\"class\", \"sym-clickable\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onVersionClick() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵpod(14, { version: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\" | \"])), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"a\", [[\"href\", \"https://symagic.com/privacy-statement/\"], [\"target\", \"_blank\"]], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"span\", [[\"class\", \"d-none d-sm-inline\"]], null, null, null, null, null)), (_l()(), i1.ɵted(21, null, [\" | \", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isSymagicRole(); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"APP.UI.COPYRIGHT\")); _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"APP.UI.SYMAGIC\")); _ck(_v, 9, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 15).transform(\"APP.UI.VERSION\", _ck(_v, 14, 0, _co.settingsService.settings.frontend.version))); _ck(_v, 13, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"APP.UI.PRIVACY_STATEMENT\")); _ck(_v, 18, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 22).transform(\"APP.UI.ALL_RIGHTS_RESERVED\")); _ck(_v, 21, 0, currVal_5); }); }\nexport function View_FooterComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-footer\", [], null, [[\"document\", \"keydown.shift.esc\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown.shift.esc\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).onKeydownHandler($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_FooterComponent_0, RenderType_FooterComponent)), i1.ɵdid(1, 49152, null, 0, i4.FooterComponent, [i5.LocalisationService, i6.OverlayService, i3.TranslateService, i7.UserService, i8.ConfigurationsService, i9.RoutesService, i10.SettingsService, i11.ErrorService, i12.Router, i13.AlertsService], null, null)], null, null); }\nvar FooterComponentNgFactory = i1.ɵccf(\"sym-footer\", i4.FooterComponent, View_FooterComponent_Host_0, {}, {}, []);\nexport { FooterComponentNgFactory as FooterComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Component representing the footer of the application.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"footer[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;right:0;background-color:#f8f9fa;text-align:center}\"];\nexport { styles as styles };\n","/**\n * @file Alerts component\n * @author Heino Lenting\n */\nimport { AlertsService } from '../alerts.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { SettingsService } from '../../settings.service';\n/**\n * Class for the alerts component\n */\nvar AlertsComponent = /** @class */ (function () {\n /**\n * Constructs an AlertsComponent\n */\n function AlertsComponent(alertsService, translateService, settingsService) {\n this.alertsService = alertsService;\n this.translateService = translateService;\n this.settingsService = settingsService;\n }\n /**\n * Create a custom support link per alert (to add details/errors etc)\n * @param id The id of the alert\n * @returns An url with URL encoded data\n */\n AlertsComponent.prototype.createSupportLink = function (id) {\n // PEFORMANCE: createSupportLink is called four times for rendering of the mailto\n // link. Can be optimized by saving the generate mailto link per alert.\n var alert = this.alertsService.getAlert(id);\n var to = this.settingsService.settings.frontend.support.mail;\n var subject = this.translateService.instant('APP.ALERTS.SUPPORT_HEADER', { variant: alert.variant });\n var body;\n body = this.translateService.instant('APP.ALERTS.DESCRIBE_ISSUE');\n body += '\\n\\n\\n\\n';\n body += '---------- ' + this.translateService.instant('APP.ALERTS.BROWSER_DETAILS') + ': ----------\\n';\n body += this.translateService.instant('APP.ALERTS.BROWSER_CODENAME') + ': ' + navigator.appCodeName + '\\n';\n body += this.translateService.instant('APP.ALERTS.BROWSER_NAME') + ': ' + navigator.appName + '\\n';\n body += this.translateService.instant('APP.ALERTS.BROWSER_VERSION') + ': ' + navigator.appVersion + '\\n';\n body += this.translateService.instant('APP.ALERTS.COOKIES_ENABLED') + ': ' + navigator.cookieEnabled + '\\n';\n body += this.translateService.instant('APP.ALERTS.PLATFORM') + ': ' + navigator.platform + '\\n';\n body += this.translateService.instant('APP.ALERTS.USER_AGENT_HEADER') + ': ' + navigator.userAgent + '\\n';\n body += this.translateService.instant('APP.ALERTS.USER_AGENT_LANGUAGE') + ': ' + navigator.language + '\\n';\n body += '\\n';\n body += '---------- ' + this.translateService.instant('APP.ALERTS.APPLICATION_DETAILS') + ': ----------\\n';\n body += 'URL: ' + window.location + '\\n';\n body += 'Front-end: ' + this.settingsService.settings.frontend.version + '\\n';\n body += '\\n';\n // Only add labelKey if available\n if (alert && alert.labelKey) {\n body += '---------- ' + this.translateService.instant('APP.ALERTS.ALERT_MESSAGE') + ': ----------\\n';\n body += this.translateService.instant(alert.labelKey) + '\\n';\n body += '\\n';\n }\n // Only add details if available\n if (alert && alert.details) {\n body += '---------- ' + this.translateService.instant('APP.ALERTS.ALERT_DETAILS') + ': ----------\\n';\n body += this.getDetailText(alert.details);\n body += '\\n\\n';\n }\n var link = 'mailto:' + to + '?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(body);\n return link;\n };\n /**\n * Converts details object of alert to text.\n * @private\n * @param {*} details Details object of alert.\n * @returns {string} Text representation of detail object.\n */\n AlertsComponent.prototype.getDetailText = function (details) {\n var _this = this;\n if (details == null) {\n return '';\n }\n if (details instanceof Array) {\n var result_1 = '';\n var items = details;\n items.forEach(function (item) {\n if (item) {\n result_1 += _this.translateService.instant(item) + '\\n';\n }\n });\n return result_1;\n }\n if (details instanceof HttpErrorResponse) {\n var response = details;\n if (response.error && response.error['$type'] === 'Symagic.Core.Server.ErrorResponse, Symagic.Core.Server') {\n return this.translateService.instant(response.error['label']);\n }\n return 'Status: ' + response.status + '\\n' + response.message + '\\n' + response.statusText;\n }\n if (details['$type'] === 'Symagic.Core.Server.ErrorResponse, Symagic.Core.Server') {\n return this.translateService.instant(details['label']);\n }\n if (details instanceof Error) {\n var error = details;\n return error.message;\n }\n return details;\n };\n return AlertsComponent;\n}());\nexport { AlertsComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Alerts component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./alerts.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@ngx-translate/core\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"./alerts.component\";\nimport * as i5 from \"../alerts.service\";\nimport * as i6 from \"../../settings.service\";\nvar styles_AlertsComponent = [i0.styles];\nvar RenderType_AlertsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AlertsComponent, data: {} });\nexport { RenderType_AlertsComponent as RenderType_AlertsComponent };\nfunction View_AlertsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"sym-selectable\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \":\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"APP.ALERTS.DETAILS\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.getDetailText(_v.parent.context.$implicit.details); _ck(_v, 5, 0, currVal_1); }); }\nfunction View_AlertsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = ((_v.parent.context.$implicit.open = !_v.parent.context.$implicit.open) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-detail\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"APP.ALERTS.DETAILS\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"APP.ALERTS.DETAILS\")); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AlertsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"a\", [[\"class\", \"btn btn-sm btn-link ml-1\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-support\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.createSupportLink(_v.parent.context.$implicit.id), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"APP.ALERTS.CONTACT_SUPPORT\")); _ck(_v, 3, 0, currVal_1); }); }\nfunction View_AlertsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, \"div\", [], [[8, \"className\", 0]], [[null, \"click\"], [null, \"mouseenter\"], [null, \"mouseleave\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.alertsService.stopAutoDelete(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } if ((\"mouseenter\" === en)) {\n var pd_1 = (_co.alertsService.stopAutoDelete(_v.context.$implicit.id) !== false);\n ad = (pd_1 && ad);\n } if ((\"mouseleave\" === en)) {\n var pd_2 = (_co.alertsService.startAutoDelete(_v.context.$implicit.id, 5000) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 16, \"div\", [[\"class\", \"d-flex justify-content-between\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"align-middle\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AlertsComponent_2)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AlertsComponent_3)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AlertsComponent_4)), i1.ɵdid(12, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 4, \"button\", [[\"class\", \"btn btn-sm btn-secondary ml-1\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.alertsService.deleteAlert(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_2 = _v.context.$implicit.open; _ck(_v, 7, 0, currVal_2); var currVal_3 = _v.context.$implicit.details; _ck(_v, 10, 0, currVal_3); var currVal_4 = (_v.context.$implicit.variant != \"success\"); _ck(_v, 12, 0, currVal_4); }, function (_ck, _v) { var currVal_0 = (\"alert mb-0 alert-\" + _v.context.$implicit.variant); _ck(_v, 0, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(_v.context.$implicit.labelKey)); _ck(_v, 4, 0, currVal_1); var currVal_5 = i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform(\"APP.ALERTS.CLOSE\")); _ck(_v, 16, 0, currVal_5); }); }\nexport function View_AlertsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"id\", \"alerts\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AlertsComponent_1)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.alertsService.alerts; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_AlertsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-alerts\", [], null, null, null, View_AlertsComponent_0, RenderType_AlertsComponent)), i1.ɵdid(1, 49152, null, 0, i4.AlertsComponent, [i5.AlertsService, i2.TranslateService, i6.SettingsService], null, null)], null, null); }\nvar AlertsComponentNgFactory = i1.ɵccf(\"sym-alerts\", i4.AlertsComponent, View_AlertsComponent_Host_0, {}, {}, []);\nexport { AlertsComponentNgFactory as AlertsComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Alerts component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"#alerts[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;z-index:999999}#alerts[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{border-radius:0}\"];\nexport { styles as styles };\n","/**\n * @file The dialog component\n * @author Heino Lenting\n */\nimport { keyCodes } from '../../base/helpers/key-codes';\nimport { DialogService } from '../../core/dialog.service';\n/**\n * Class for the dialog component\n */\nvar DialogComponent = /** @class */ (function () {\n /**\n * Constructs a DialogComponent\n */\n function DialogComponent(dialogService) {\n this.dialogService = dialogService;\n }\n /**\n * Handles the 'ok' action\n */\n DialogComponent.prototype.ok = function () {\n this.dialogService.next(true);\n };\n /**\n * Handles the 'cancel' action\n */\n DialogComponent.prototype.cancel = function () {\n this.dialogService.next(false);\n };\n /**\n * Get access to the subject of the dialog\n * @returns The subject of the dialog\n */\n DialogComponent.prototype.getSubject = function () {\n return this.dialogService.getSubject();\n };\n /**\n * Get access to the message of the dialog\n * @returns The message of the dialog\n */\n DialogComponent.prototype.getMessage = function () {\n return this.dialogService.getMessage();\n };\n /**\n * Get the button text\n * @returns The text of the button\n */\n DialogComponent.prototype.getButtonText = function () {\n return this.dialogService.getButtonText();\n };\n /**\n * Is there a dialog in the service\n * @returns Returns if a dialog exists\n */\n DialogComponent.prototype.hasDialog = function () {\n return this.dialogService.hasDialog();\n };\n /**\n * Listener for global key down events\n * @param $event The event\n */\n DialogComponent.prototype.keyDown = function (event) {\n /**\n * Controleren of we hier out-zone kunnen gebruiken.\n * Eventueel this.changeDetector.detectChanges() erbij implementeren\n * Als het niet werkt toch geen out-zone gebruiken.\n * Jammer maar dan op dit punt geen performance verbetering.\n */\n // Check for enters\n if (event.keyCode === keyCodes['enter']) {\n this.ok();\n }\n };\n return DialogComponent;\n}());\nexport { DialogComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The dialog component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./dialog.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/ngx-md/ngx-md.ngfactory\";\nimport * as i3 from \"ngx-md\";\nimport * as i4 from \"@ngx-translate/core\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"./dialog.component\";\nimport * as i7 from \"../../core/dialog.service\";\nvar styles_DialogComponent = [i0.styles];\nvar RenderType_DialogComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DialogComponent, data: {} });\nexport { RenderType_DialogComponent as RenderType_DialogComponent };\nfunction View_DialogComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 26, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 24, \"div\", [[\"class\", \"modal\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 23, \"div\", [[\"class\", \"modal-dialog\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 22, \"div\", [[\"class\", \"modal-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"button\", [[\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"span\", [[\"aria-hidden\", \"true\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\u00D7\"])), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"markdown\", [], null, null, null, i2.View_NgxMdComponent_0, i2.RenderType_NgxMdComponent)), i1.ɵdid(12, 4243456, null, 0, i3.NgxMdComponent, [i3.NgxMdService, i1.ElementRef, i1.PLATFORM_ID], { data: [0, \"data\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 12, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.ok() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(16, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-ok\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(20, 0, null, null, 5, \"button\", [[\"class\", \"btn btn-secondary btn-sm ml-1\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(22, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(26, 0, null, null, 0, \"div\", [[\"class\", \"modal-backdrop fade show\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.getMessage(); _ck(_v, 12, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getSubject(); _ck(_v, 6, 0, currVal_0); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 14, 0, i1.ɵnov(_v, 15).transform(_co.getButtonText())), \"\"); _ck(_v, 14, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(_co.getButtonText())); _ck(_v, 18, 0, currVal_3); var currVal_4 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 20, 0, i1.ɵnov(_v, 21).transform(\"APP.CORE.CANCEL\")), \"\"); _ck(_v, 20, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 24, 0, i1.ɵnov(_v, 25).transform(\"APP.CORE.CANCEL\")); _ck(_v, 24, 0, currVal_5); }); }\nexport function View_DialogComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_DialogComponent_1)), i1.ɵdid(1, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.hasDialog(); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_DialogComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-dialog\", [], null, [[\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_DialogComponent_0, RenderType_DialogComponent)), i1.ɵdid(1, 49152, null, 0, i6.DialogComponent, [i7.DialogService], null, null)], null, null); }\nvar DialogComponentNgFactory = i1.ɵccf(\"sym-dialog\", i6.DialogComponent, View_DialogComponent_Host_0, {}, {}, []);\nexport { DialogComponentNgFactory as DialogComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The dialog component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".modal[_ngcontent-%COMP%]{display:block}\"];\nexport { styles as styles };\n","/**\n * @file The Overlay Container component.\n * @author Heino Lenting\n */\nimport { OnInit, ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core';\nimport { OverlayService } from '../../core/overlay.service';\nimport { OverlayProvider } from '../overlay-provider';\nimport { ComponentRegistry } from '../../core/component-registry';\nvar OverlayContainerComponent = /** @class */ (function () {\n function OverlayContainerComponent(overlayService, containerRef, factoryResolver) {\n this.overlayService = overlayService;\n this.containerRef = containerRef;\n this.factoryResolver = factoryResolver;\n this.component = null;\n }\n OverlayContainerComponent.prototype.ngOnInit = function () {\n var _this = this;\n var params = this.overlayService.getParams();\n if (params === null || this.component === null) {\n return;\n }\n var component = ComponentRegistry.getComponent('overlay', this.component.component);\n // Nu zonder this.configurationsService.configuration. Zie onder oude code.\n if (this.containerRef.length > 0) {\n this.containerRef.clear();\n }\n var componentFactory = this.factoryResolver.resolveComponentFactory(component);\n // https://stackoverflow.com/questions/45585606/staticinjector-vs-reflectiveinjector-in-angular\n var injector = Injector.create([\n {\n provide: OverlayProvider,\n useFactory: function () {\n return new OverlayProvider(params, _this.component.configuration);\n },\n deps: []\n }\n ]);\n this.containerRef.createComponent(componentFactory, 0, injector, []);\n // ReflectiveInjector is deprecated #3479\n // const providers = ReflectiveInjector.resolve([{\n // provide: OverlayProvider,\n // useFactory: (): OverlayProvider => {\n // return new OverlayProvider(params, this.component.configuration);\n // }\n // }]);\n // const injector = ReflectiveInjector.fromResolvedProviders(providers, this.containerRef.parentInjector);\n // Scroll to top to make overlay always visible in the view port\n window.scrollTo(0, 0);\n };\n /**\n * Handles the 'close' action\n */\n OverlayContainerComponent.prototype.closeOverlay = function () {\n this.overlayService.closeOverlay();\n };\n return OverlayContainerComponent;\n}());\nexport { OverlayContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Overlay Container component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./overlay-container.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./overlay-container.component\";\nimport * as i3 from \"../../core/overlay.service\";\nvar styles_OverlayContainerComponent = [i0.styles];\nvar RenderType_OverlayContainerComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_OverlayContainerComponent, data: {} });\nexport { RenderType_OverlayContainerComponent as RenderType_OverlayContainerComponent };\nexport function View_OverlayContainerComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_OverlayContainerComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 1, \"sym-overlay-container\", [], null, null, null, View_OverlayContainerComponent_0, RenderType_OverlayContainerComponent)), i1.ɵdid(1, 114688, null, 0, i2.OverlayContainerComponent, [i3.OverlayService, i1.ViewContainerRef, i1.ComponentFactoryResolver], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar OverlayContainerComponentNgFactory = i1.ɵccf(\"sym-overlay-container\", i2.OverlayContainerComponent, View_OverlayContainerComponent_Host_0, { component: \"component\" }, {}, []);\nexport { OverlayContainerComponentNgFactory as OverlayContainerComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Overlay Container component.\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @file Container component for dynamically inject detail types in the overlay.\n * @author Tom Verschoore de la Houssaije\n */\nimport * as tslib_1 from \"tslib\";\nimport { ViewContainerRef, ComponentFactoryResolver, EventEmitter } from '@angular/core';\nimport { ComponentRegistry } from '../../core/component-registry';\nimport { AbstractBase } from '../../core/helpers/abstract-base';\n/**\n * Container component for dynamically inject detail types in the overlay.\n * @export\n * @class DetailContainerComponent\n */\nvar DetailContainerComponent = /** @class */ (function (_super) {\n tslib_1.__extends(DetailContainerComponent, _super);\n /**\n * Creates an instance of DetailContainerComponent.\n * @param {ViewContainerRef} containerRef Represents a container where one or more views can be attached to a component.\n * @param {ComponentFactoryResolver} factoryResolver Helper class to resolve and create components.\n * @memberOf DetailContainerComponent\n */\n function DetailContainerComponent(containerRef, factoryResolver) {\n var _this = _super.call(this) || this;\n _this.containerRef = containerRef;\n _this.factoryResolver = factoryResolver;\n /**\n * Gets, sets the reference of the configuration used by de detail component.\n * @private\n * @type {ComponentConfiguration}\n * @memberOf DetailContainerComponent\n */\n _this._configuration = undefined;\n /**\n * Gets, sets the key of the entity shown by this detail.\n */\n _this.entityKey = undefined;\n /**\n * Sets the flag indicating whether or not the component is shown in the overlay.\n */\n _this.overlayMode = true;\n /**\n * Event notifying that the detail is closing. Is used in the overlay.\n * @type {EventEmitter}\n */\n _this.closing = new EventEmitter();\n /** Event triggered when a entity from the list is selected. */\n /** Gets, sets the DetailBase instance of this container. */\n _this.instance = null;\n /** Reference to the component type name to create. */\n _this._component = undefined;\n return _this;\n }\n Object.defineProperty(DetailContainerComponent.prototype, \"configuration\", {\n /**\n * Sets the configuration used by de detail component.\n * @readonly\n * @type {ComponentConfiguration}\n * @memberOf DetailContainerComponent\n */\n get: function () {\n return this._configuration;\n },\n /**\n * Gets the configuration used by de detail component.\n * @memberOf DetailContainerComponent\n */\n set: function (config) {\n this._configuration = config;\n this.createComponent();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DetailContainerComponent.prototype, \"component\", {\n /**\n * Sets the component type to create within this container.\n * @param value The name of component type.\n * @memberOf DetailContainerComponent\n */\n set: function (value) {\n this._component = value;\n this.createComponent();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Create the component within this container and sets the needed properties.\n * @private\n * @memberOf DetailContainerComponent\n */\n DetailContainerComponent.prototype.createComponent = function () {\n var _this = this;\n if (this._component == null) {\n return;\n }\n if (this._configuration == null) {\n return;\n }\n var editor = ComponentRegistry.getComponent('detail', this._component);\n if (this.containerRef.length > 0) {\n this.containerRef.clear();\n }\n var componentFactory = this.factoryResolver.resolveComponentFactory(editor);\n var ref = this.containerRef.createComponent(componentFactory, 0);\n this.instance = ref.instance;\n this.instance.overlayMode = this.overlayMode;\n this.subscriptionPool.add(this.instance.closing.subscribe(function (event) {\n _this.closing.next(event);\n }));\n this.instance.entityKey = this.entityKey;\n this.instance.configuration = this._configuration;\n };\n return DetailContainerComponent;\n}(AbstractBase));\nexport { DetailContainerComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file Container component for dynamically inject detail types in the overlay.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./detail-container.component\";\nvar styles_DetailContainerComponent = [];\nvar RenderType_DetailContainerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_DetailContainerComponent, data: {} });\nexport { RenderType_DetailContainerComponent as RenderType_DetailContainerComponent };\nexport function View_DetailContainerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [], null, null, null, null, null))], null, null); }\nexport function View_DetailContainerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, \"sym-detail-container\", [], null, null, null, View_DetailContainerComponent_0, RenderType_DetailContainerComponent)), i0.ɵdid(1, 180224, null, 0, i1.DetailContainerComponent, [i0.ViewContainerRef, i0.ComponentFactoryResolver], null, null)], null, null); }\nvar DetailContainerComponentNgFactory = i0.ɵccf(\"sym-detail-container\", i1.DetailContainerComponent, View_DetailContainerComponent_Host_0, { configuration: \"configuration\", entityKey: \"entityKey\", overlayMode: \"overlayMode\", component: \"component\" }, { closing: \"closing\" }, []);\nexport { DetailContainerComponentNgFactory as DetailContainerComponentNgFactory };\n","/**\n * @file The Overlay View component\n * @author Heino Lenting\n*/\nimport { OverlayService } from '../../core/overlay.service';\nvar OverlayViewComponent = /** @class */ (function () {\n /**\n * Creates an instance of OverlayViewComponent.\n * @param {OverlayService} overlayService The overlay service.\n */\n function OverlayViewComponent(overlayService) {\n this.overlayService = overlayService;\n }\n Object.defineProperty(OverlayViewComponent.prototype, \"entityKey\", {\n /**\n * Gets the entity key of the current entity.\n * @readonly\n * @type {string}\n */\n get: function () {\n var entity = this.params.entity;\n if (!entity) {\n return '';\n }\n var eKey = entity.entityAspect.getKey();\n var key = '';\n eKey.values.forEach(function (value) { return key += '_' + value; });\n return key.substring(1);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(OverlayViewComponent.prototype, \"params\", {\n /**\n * Gets the overlay parameters of this overlay.\n * @readonly\n * @type {OverlayParameters}\n */\n get: function () {\n return this.overlayService.getParams();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(OverlayViewComponent.prototype, \"configuration\", {\n /**\n * Gets the configuration of the overlay.\n * @readonly\n * @type {ComponentConfiguration}\n */\n get: function () {\n return this.params.configuration;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Handles the 'close' action\n */\n OverlayViewComponent.prototype.closeOverlay = function () {\n this.overlayService.closeOverlay();\n };\n /**\n * Check if overlay is open\n */\n OverlayViewComponent.prototype.isOpen = function () {\n return this.overlayService.isOpen();\n };\n /**\n * Check if overlay is closed\n */\n OverlayViewComponent.prototype.isClosed = function () {\n return !this.overlayService.isOpen();\n };\n OverlayViewComponent.prototype.onOverlayClick = function (event) {\n // Only cancel if clicked on the overlay but outside of the Filter area.\n // In other words: the target (clicked item) equals the currentTarget (item the event is attached to).\n if (event.target === event.currentTarget) {\n event.stopPropagation();\n this.closeOverlay();\n }\n };\n return OverlayViewComponent;\n}());\nexport { OverlayViewComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Overlay View component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./overlay-view.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@ngx-translate/core\";\nimport * as i4 from \"../overlay-container/overlay-container.component.ngfactory\";\nimport * as i5 from \"../overlay-container/overlay-container.component\";\nimport * as i6 from \"../../core/overlay.service\";\nimport * as i7 from \"../../base/instruction/instruction.component.ngfactory\";\nimport * as i8 from \"../../base/instruction/instruction.component\";\nimport * as i9 from \"@angular/common/http\";\nimport * as i10 from \"../../configurations.service\";\nimport * as i11 from \"../../base/detail-container/detail-container.component.ngfactory\";\nimport * as i12 from \"../../base/detail-container/detail-container.component\";\nimport * as i13 from \"./overlay-view.component\";\nvar styles_OverlayViewComponent = [i0.styles];\nvar RenderType_OverlayViewComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_OverlayViewComponent, data: {} });\nexport { RenderType_OverlayViewComponent as RenderType_OverlayViewComponent };\nfunction View_OverlayViewComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"i\", [], null, null, null, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpad(2, 2)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, \"icon\", _co.configuration.icon); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_OverlayViewComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_co.configuration.labelKey)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_OverlayViewComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-link\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v.parent.parent, 4).toggle($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-instruction\"]], null, null, null, null, null))], null, null); }\nfunction View_OverlayViewComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"sym-wrap-pair d-flex justify-content-between sym-m-b\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"text-truncate\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"h4\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_4)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_5)), i1.ɵdid(6, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_6)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-secondary btn-sm\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.closeOverlay() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-cancel\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration.icon; _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.configuration.labelKey; _ck(_v, 6, 0, currVal_1); var currVal_2 = _co.configuration.instruction; _ck(_v, 9, 0, currVal_2); }, null); }\nfunction View_OverlayViewComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"sym-line sym-m-b\"]], null, null, null, null, null))], null, null); }\nfunction View_OverlayViewComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 1, \"sym-overlay-container\", [], null, null, null, i4.View_OverlayContainerComponent_0, i4.RenderType_OverlayContainerComponent)), i1.ɵdid(1, 114688, null, 0, i5.OverlayContainerComponent, [i6.OverlayService, i1.ViewContainerRef, i1.ComponentFactoryResolver], { component: [0, \"component\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_OverlayViewComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"sym-overlay-view pl-3 pr-3 pt-3 pb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_3)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"sym-instruction\", [], null, null, null, i7.View_InstructionComponent_0, i7.RenderType_InstructionComponent)), i1.ɵdid(4, 180224, [[\"instruction\", 4]], 0, i8.InstructionComponent, [i9.HttpClient, i10.ConfigurationsService, i3.TranslateService], { subject: [0, \"subject\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_7)), i1.ɵdid(6, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_8)), i1.ɵdid(8, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.configuration.instruction || _co.configuration.icon) || _co.configuration.labelKey); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.configuration.instruction; _ck(_v, 4, 0, currVal_1); var currVal_2 = ((_co.configuration.instruction || _co.configuration.icon) || _co.configuration.labelKey); _ck(_v, 6, 0, currVal_2); var currVal_3 = _co.configuration.components; _ck(_v, 8, 0, currVal_3); }, null); }\nfunction View_OverlayViewComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"sym-overlay-view pl-3 pr-3 pt-3 pb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, \"sym-detail-container\", [], null, [[null, \"closing\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"closing\" === en)) {\n var pd_0 = (_co.closeOverlay() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i11.View_DetailContainerComponent_0, i11.RenderType_DetailContainerComponent)), i1.ɵdid(2, 180224, null, 0, i12.DetailContainerComponent, [i1.ViewContainerRef, i1.ComponentFactoryResolver], { configuration: [0, \"configuration\"], entityKey: [1, \"entityKey\"], overlayMode: [2, \"overlayMode\"], component: [3, \"component\"] }, { closing: \"closing\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configuration; var currVal_1 = _co.entityKey; var currVal_2 = true; var currVal_3 = \"DetailComponent\"; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_OverlayViewComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"sym-overlay\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onOverlayClick($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"container-fluid\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onOverlayClick($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onOverlayClick($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"col-md-8 offset-md-2 pt-3 pb-3\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onOverlayClick($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_2)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_9)), i1.ɵdid(7, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.params.action.detailView; _ck(_v, 5, 0, currVal_0); var currVal_1 = _co.params.action.detailView; _ck(_v, 7, 0, currVal_1); }, null); }\nexport function View_OverlayViewComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_OverlayViewComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isOpen(); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_OverlayViewComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-overlay-view\", [], null, null, null, View_OverlayViewComponent_0, RenderType_OverlayViewComponent)), i1.ɵdid(1, 49152, null, 0, i13.OverlayViewComponent, [i6.OverlayService], null, null)], null, null); }\nvar OverlayViewComponentNgFactory = i1.ɵccf(\"sym-overlay-view\", i13.OverlayViewComponent, View_OverlayViewComponent_Host_0, {}, {}, []);\nexport { OverlayViewComponentNgFactory as OverlayViewComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The Overlay View component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"@-webkit-keyframes slideIn{0%{top:-400px}to{top:0}}@keyframes slideIn{0%{top:-400px}to{top:0}}.sym-overlay[_ngcontent-%COMP%]{position:absolute;width:100%;min-height:100%;top:0;left:0;right:0;background-color:rgba(0,0,0,.5);z-index:99999}.sym-overlay[_ngcontent-%COMP%] .sym-overlay-view[_ngcontent-%COMP%]{background-color:#fff;position:relative;-webkit-animation:slideIn 1s;animation:slideIn 1s;cursor:default}.sym-overlay[_ngcontent-%COMP%] .sym-overlay-view[_ngcontent-%COMP%] .sym-entity-link{display:none}\"];\nexport { styles as styles };\n","/**\n * @file File reader component\n * @author Heino Lenting\n */\nimport { FileReaderService } from '../file-reader.service';\nvar FileReaderComponent = /** @class */ (function () {\n function FileReaderComponent(fileReaderService) {\n this.fileReaderService = fileReaderService;\n this.fileReaderService.registerComponent(this);\n }\n FileReaderComponent.prototype.openFileWindow = function (allowedExtensions) {\n var _this = this;\n // Dit werkt in Chrome en Firefox. Nog testen/aanpassen voor Edge.\n // The change event of the file-input, triggers the fileSelected handler, only if a file was selected by the user.\n // But if the user cancels the file selection dialog, we have no good way to handle that. Therefore we attach to\n // document.body.onFocus for one single event. If the body gets focus again, the dialog form must have lost it (and\n // must be closed). We can now cancel the file import action. Otherwise we keep getting the\n // APP.LISTS.WAIT_UNTIL_ACTION_IS_FINISHED error after a user cancel, until the browser is refreshed (F5).\n if (document.activeElement) {\n document.activeElement.addEventListener('focus', function () {\n window.setTimeout(function () {\n // We have to wait some seconds here to be sure that the fileSelected event has fired and userSelectedAFile\n // is set (only if the user selected a file). Because this focus event fires before the change event.\n if (!_this.userSelectedAFile) {\n _this.fileReaderService.cancelFile();\n }\n }, 3000);\n }, { once: true, capture: true });\n }\n this.userSelectedAFile = false;\n this.file.nativeElement.accept = allowedExtensions;\n this.file.nativeElement.click();\n };\n FileReaderComponent.prototype.fileSelected = function () {\n this.userSelectedAFile = true;\n this.fileReaderService.readFile(this.file.nativeElement.files[0]);\n // See: https://stackoverflow.com/questions/7179627/files-input-change-event-fires-only-once\n this.file.nativeElement.value = '';\n };\n return FileReaderComponent;\n}());\nexport { FileReaderComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file File reader component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./file-reader.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"./file-reader.component\";\nimport * as i3 from \"../file-reader.service\";\nvar styles_FileReaderComponent = [i0.styles];\nvar RenderType_FileReaderComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FileReaderComponent, data: {} });\nexport { RenderType_FileReaderComponent as RenderType_FileReaderComponent };\nexport function View_FileReaderComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { file: 0 }), (_l()(), i1.ɵeld(1, 0, [[1, 0], [\"file\", 1]], null, 0, \"input\", [[\"style\", \"display: none\"], [\"type\", \"file\"]], null, [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.fileSelected() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, null); }\nexport function View_FileReaderComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-file-reader\", [], null, null, null, View_FileReaderComponent_0, RenderType_FileReaderComponent)), i1.ɵdid(1, 49152, null, 0, i2.FileReaderComponent, [i3.FileReaderService], null, null)], null, null); }\nvar FileReaderComponentNgFactory = i1.ɵccf(\"sym-file-reader\", i2.FileReaderComponent, View_FileReaderComponent_Host_0, {}, {}, []);\nexport { FileReaderComponentNgFactory as FileReaderComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file File reader component\n * @author Heino Lenting\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"\"];\nexport { styles as styles };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The App component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./app.component.scss.shim.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"ngx-moment\";\nimport * as i3 from \"./ui/header/header.component.ngfactory\";\nimport * as i4 from \"./ui/header/header.component\";\nimport * as i5 from \"./user.service\";\nimport * as i6 from \"@angular/router\";\nimport * as i7 from \"./core/online.service\";\nimport * as i8 from \"./notifications/notifications.service\";\nimport * as i9 from \"./core/overlay.service\";\nimport * as i10 from \"./core/branding.service\";\nimport * as i11 from \"./authentication.service\";\nimport * as i12 from \"./core/system-messages/system-messages.component.ngfactory\";\nimport * as i13 from \"./core/system-messages/system-messages.component\";\nimport * as i14 from \"./core/system-messages.service\";\nimport * as i15 from \"./ui/menu/menu.component.ngfactory\";\nimport * as i16 from \"@angular/common\";\nimport * as i17 from \"./ui/menu/menu.component\";\nimport * as i18 from \"./configurations.service\";\nimport * as i19 from \"./routes.service\";\nimport * as i20 from \"./ui/scroll-top/scroll-top.component.ngfactory\";\nimport * as i21 from \"./ui/scroll-top/scroll-top.component\";\nimport * as i22 from \"./ui/footer/footer.component.ngfactory\";\nimport * as i23 from \"./ui/footer/footer.component\";\nimport * as i24 from \"./core/localisation.service\";\nimport * as i25 from \"@ngx-translate/core\";\nimport * as i26 from \"./settings.service\";\nimport * as i27 from \"./core/error.service\";\nimport * as i28 from \"./core/alerts.service\";\nimport * as i29 from \"./core/alerts/alerts.component.ngfactory\";\nimport * as i30 from \"./core/alerts/alerts.component\";\nimport * as i31 from \"./ui/dialog/dialog.component.ngfactory\";\nimport * as i32 from \"./ui/dialog/dialog.component\";\nimport * as i33 from \"./core/dialog.service\";\nimport * as i34 from \"./ui/overlay-view/overlay-view.component.ngfactory\";\nimport * as i35 from \"./ui/overlay-view/overlay-view.component\";\nimport * as i36 from \"./core/error-page/error-page.component.ngfactory\";\nimport * as i37 from \"./core/error-page/error-page.component\";\nimport * as i38 from \"./base/file-reader/file-reader.component.ngfactory\";\nimport * as i39 from \"./base/file-reader/file-reader.component\";\nimport * as i40 from \"./base/file-reader.service\";\nimport * as i41 from \"./app.component\";\nimport * as i42 from \"@angular/platform-browser\";\nvar styles_AppComponent = [i0.styles];\nvar RenderType_AppComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AppComponent, data: {} });\nexport { RenderType_AppComponent as RenderType_AppComponent };\nfunction View_AppComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"sym-pane pb-3\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"h3\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Authentication debug info\"])), (_l()(), i1.ɵted(3, null, [\" getIdTokenExpiration: \", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\" getAccessTokenExpiration: \", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(8, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\" silentRefreshIn: \", \"\"])), i1.ɵpid(131072, i2.TimeAgoPipe, [i1.ChangeDetectorRef, i1.NgZone]), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"button\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.authenticationService.doSilentRefresh(true) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, [\"Do silent refresh\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.authenticationService.getIdTokenExpiration())); _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_co.authenticationService.getAccessTokenExpiration())); _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(_co.authenticationService.silentRefreshIn())); _ck(_v, 9, 0, currVal_2); }); }\nfunction View_AppComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"sym-header\", [], null, [[null, \"menuToggled\"]], function (_v, en, $event) { var ad = true; if ((\"menuToggled\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 7).toggleMenu() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i3.View_HeaderComponent_0, i3.RenderType_HeaderComponent)), i1.ɵdid(2, 49152, null, 0, i4.HeaderComponent, [i5.UserService, i6.Router, i7.OnlineService, i8.NotificationsService, i9.OverlayService, i10.BrandingService, i11.AuthenticationService], null, { menuToggled: \"menuToggled\" }), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"sym-system-messages\", [], null, null, null, i12.View_SystemMessagesComponent_0, i12.RenderType_SystemMessagesComponent)), i1.ɵdid(4, 49152, null, 0, i13.SystemMessagesComponent, [i14.SystemMessagesService], null, null), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"sym-menu\", [], null, null, null, i15.View_MenuComponent_0, i15.RenderType_MenuComponent)), i1.ɵprd(4608, null, i16.Location, i16.Location, [i16.LocationStrategy]), i1.ɵdid(7, 49152, [[\"nav\", 4]], 0, i17.MenuComponent, [i11.AuthenticationService, i5.UserService, i18.ConfigurationsService, i6.Router, i9.OverlayService, i19.RoutesService], null, null), (_l()(), i1.ɵeld(8, 0, null, null, 4, \"div\", [], null, null, null, null, null)), i1.ɵdid(9, 278528, null, 0, i16.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(10, { \"d-none d-md-block\": 0 }), (_l()(), i1.ɵeld(11, 16777216, null, null, 1, \"router-outlet\", [], null, null, null, null, null)), i1.ɵdid(12, 212992, null, 0, i6.RouterOutlet, [i6.ChildrenOutletContexts, i1.ViewContainerRef, i1.ComponentFactoryResolver, [8, null], i1.ChangeDetectorRef], null, null), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"sym-scroll-top\", [], null, [[\"window\", \"scroll\"]], function (_v, en, $event) { var ad = true; if ((\"window:scroll\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 14).onScrollEvent($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i20.View_ScrollTopComponent_0, i20.RenderType_ScrollTopComponent)), i1.ɵdid(14, 114688, null, 0, i21.ScrollTopComponent, [], null, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"sym-footer\", [], null, [[\"document\", \"keydown.shift.esc\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown.shift.esc\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 16).onKeydownHandler($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i22.View_FooterComponent_0, i22.RenderType_FooterComponent)), i1.ɵdid(16, 49152, null, 0, i23.FooterComponent, [i24.LocalisationService, i9.OverlayService, i25.TranslateService, i5.UserService, i18.ConfigurationsService, i19.RoutesService, i26.SettingsService, i27.ErrorService, i6.Router, i28.AlertsService], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"sym-alerts\", [], null, null, null, i29.View_AlertsComponent_0, i29.RenderType_AlertsComponent)), i1.ɵdid(18, 49152, null, 0, i30.AlertsComponent, [i28.AlertsService, i25.TranslateService, i26.SettingsService], null, null), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"sym-dialog\", [], null, [[\"document\", \"keydown.out-zone\"]], function (_v, en, $event) { var ad = true; if ((\"document:keydown.out-zone\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 20).keyDown($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i31.View_DialogComponent_0, i31.RenderType_DialogComponent)), i1.ɵdid(20, 49152, null, 0, i32.DialogComponent, [i33.DialogService], null, null), (_l()(), i1.ɵeld(21, 0, null, null, 1, \"sym-overlay-view\", [], null, null, null, i34.View_OverlayViewComponent_0, i34.RenderType_OverlayViewComponent)), i1.ɵdid(22, 49152, null, 0, i35.OverlayViewComponent, [i9.OverlayService], null, null)], function (_ck, _v) { var currVal_0 = _ck(_v, 10, 0, i1.ɵnov(_v, 7).isMenuOpen()); _ck(_v, 9, 0, currVal_0); _ck(_v, 12, 0); _ck(_v, 14, 0); }, null); }\nfunction View_AppComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-error-page\", [], null, null, null, i36.View_ErrorPageComponent_0, i36.RenderType_ErrorPageComponent)), i1.ɵdid(1, 49152, null, 0, i37.ErrorPageComponent, [i11.AuthenticationService, i27.ErrorService, i26.SettingsService], null, null)], null, null); }\nexport function View_AppComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AppComponent_1)), i1.ɵdid(2, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AppComponent_2)), i1.ɵdid(4, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"sym-file-reader\", [], null, null, null, i38.View_FileReaderComponent_0, i38.RenderType_FileReaderComponent)), i1.ɵdid(6, 49152, null, 0, i39.FileReaderComponent, [i40.FileReaderService], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AppComponent_3)), i1.ɵdid(8, 16384, null, 0, i16.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 10, \"div\", [[\"id\", \"sym-display-breakpoints\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"div\", [[\"class\", \"sym-breakpoint sym-xs\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-responsive-xs\"], [\"title\", \"Breakpoint: XS\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"sym-breakpoint sym-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-responsive-sm\"], [\"title\", \"Breakpoint: SM\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"div\", [[\"class\", \"sym-breakpoint sym-md\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-responsive-md\"], [\"title\", \"Breakpoint: MD\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"div\", [[\"class\", \"sym-breakpoint sym-lg\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-responsive-lg\"], [\"title\", \"Breakpoint: LG\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"div\", [[\"class\", \"sym-breakpoint sym-xl\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 0, \"i\", [[\"class\", \"icon sym-icon-responsive-xl\"], [\"title\", \"Breakpoint: XL\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.authenticationService.debugMode; _ck(_v, 2, 0, currVal_1); var currVal_2 = !_co.errorService.hasErrors(); _ck(_v, 4, 0, currVal_2); var currVal_3 = _co.errorService.hasErrors(); _ck(_v, 8, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"sym-app sym-target-\", _co.settingsService.settings.target, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_AppComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sym-app\", [], null, [[\"window\", \"focus\"]], function (_v, en, $event) { var ad = true; if ((\"window:focus\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).onFocus($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, View_AppComponent_0, RenderType_AppComponent)), i1.ɵdid(1, 180224, null, 0, i41.AppComponent, [i27.ErrorService, i26.SettingsService, i11.AuthenticationService, i42.Title, i42.DOCUMENT], null, null)], null, null); }\nvar AppComponentNgFactory = i1.ɵccf(\"sym-app\", i41.AppComponent, View_AppComponent_Host_0, {}, {}, []);\nexport { AppComponentNgFactory as AppComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @file The App component.\n * @author Tom Verschoore de la Houssaije\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".sym-app[_ngcontent-%COMP%]{min-height:100%;position:relative;padding-bottom:100px}\"];\nexport { styles as styles };\n","/**\n * @file Custom event manager to make event listeners outside zone.js\n * The CostumEventManager overrides the default Angular EventManager to solve performance issue's.\n * @see Providers of the app.module.ts\n * @see https://stackoverflow.com/questions/45227486/hostlistener-slowing-down-application-angular2\n * @author Tom Verschoore de la Houssaije.\n */\nimport * as tslib_1 from \"tslib\";\nimport { NgZone } from '@angular/core';\nimport { EventManager } from '@angular/platform-browser';\n/**\n * Custom event manager to make event listeners outside zone.js\n * @see https://stackoverflow.com/questions/45227486/hostlistener-slowing-down-application-angular2\n * @export\n * @class CustomEventManager\n */\nvar CustomEventManager = /** @class */ (function (_super) {\n tslib_1.__extends(CustomEventManager, _super);\n /**\n * Creates an instance of CustomEventManager.\n * @param {any[]} plugins Angular plugins\n * @param {NgZone} zone Angular zone.js\n */\n function CustomEventManager(plugins, zone) {\n var _this = _super.call(this, plugins, zone) || this;\n _this.zone = zone;\n return _this;\n }\n /**\n * Adds a global event listener. Now with support of out of zone.\n * @param {string} element The html element.\n * @param {string} eventName The name of the event.\n * @param {Function} handler The event handler.\n * @returns {Function} The global event listener.\n * @example\n * @HostListener('document:keydown.out-zone', ['$event']) keyDown(event) {\n * // Use .out-zone' to indicate out zone.js\n * // some logic\n * if ( condition1 && condition2 .... ) {\n * // Refresh component your self.\n * this.cd.detectChanges();\n * }\n * }\n */\n CustomEventManager.prototype.addGlobalEventListener = function (element, eventName, handler) {\n var _this = this;\n if (eventName.endsWith('out-zone')) {\n eventName = eventName.split('.')[0];\n return this.zone.runOutsideAngular(function () {\n return _super.prototype.addGlobalEventListener.call(_this, element, eventName, handler);\n });\n }\n return _super.prototype.addGlobalEventListener.call(this, element, eventName, handler);\n };\n return CustomEventManager;\n}(EventManager));\nexport { CustomEventManager };\n","var NoCacheInterceptor = /** @class */ (function () {\n function NoCacheInterceptor() {\n }\n NoCacheInterceptor.prototype.intercept = function (currentHttpRequest, next) {\n // Headers not allowed for Auth0.\n if (currentHttpRequest.url.includes('login.symagic.com') || currentHttpRequest.url.includes('auth0.com')) {\n return next.handle(currentHttpRequest);\n }\n // Clone the request and add the cache headers\n var newHttpRequest = currentHttpRequest.clone({\n setHeaders: {\n 'Cache-Control': 'no-cache',\n 'Pragma': 'no-cache',\n 'Expires': 'Sat, 01 Jan 2000 00:00:00 GMT'\n }\n });\n return next.handle(newHttpRequest);\n };\n return NoCacheInterceptor;\n}());\nexport { NoCacheInterceptor };\n","import { AuthenticationService } from '../../authentication.service';\nvar AuthorizeInterceptor = /** @class */ (function () {\n function AuthorizeInterceptor(authenticationService) {\n this.authenticationService = authenticationService;\n }\n AuthorizeInterceptor.prototype.intercept = function (currentHttpRequest, next) {\n // No authorisation needed\n if (!currentHttpRequest.url.includes('breeze')) {\n return next.handle(currentHttpRequest);\n }\n // Clone the request and add the cache headers\n var newHttpRequest = currentHttpRequest.clone({\n setHeaders: {\n 'Authorization': 'Bearer ' + this.authenticationService.getAccessToken()\n }\n });\n // And handle the error responses if needed\n return next.handle(newHttpRequest);\n };\n return AuthorizeInterceptor;\n}());\nexport { AuthorizeInterceptor };\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { AuthenticationService } from '../../authentication.service';\nimport { throwError } from 'rxjs';\nimport { catchError } from 'rxjs/operators';\nimport { ErrorService } from '../error.service';\nvar ErrorInterceptor = /** @class */ (function () {\n function ErrorInterceptor(authenticationService, errorService) {\n this.authenticationService = authenticationService;\n this.errorService = errorService;\n }\n ErrorInterceptor.prototype.intercept = function (httpRequest, next) {\n var _this = this;\n // And handle the error responses if needed\n return next.handle(httpRequest).pipe(catchError(function (err) {\n if (err instanceof HttpErrorResponse) {\n if (err.error != null) {\n try {\n var backendError = JSON.parse(err.error);\n if (backendError['$type'] === 'Symagic.Core.Server.ErrorResponse, Symagic.Core.Server') {\n switch (backendError['label']) {\n case 'APP.CORE.UNKNOWN_USER':\n _this.errorService.addError(new Error('APP.CORE.UNKNOWN_USER'));\n return throwError(err);\n case 'APP.CORE.SERVER_OVERLOAD':\n console.warn('Retrying request');\n var retryRequest = httpRequest.clone();\n return next.handle(retryRequest);\n default:\n // Let the breeze adapter handle this error.\n return throwError(err);\n }\n }\n console.warn(\"Error not properly handled by backend: \" + err.error);\n }\n catch (_a) {\n console.warn(\"Failed to parse backend error: \" + err.error);\n }\n }\n switch (err.status) {\n case 401: {\n _this.errorService.addError(new Error('APP.CORE.NOT_AUTHORIZED'));\n break;\n }\n case 500: {\n _this.errorService.addError(new Error('APP.CORE.DEFAULT_HTTPERROR'));\n break;\n }\n }\n // return the error back to the caller\n return throwError(err);\n }\n }));\n };\n return ErrorInterceptor;\n}());\nexport { ErrorInterceptor };\n","/**\n * @file Emotions validator\n * @author Wim Haanstra\n */\nimport { Validator } from 'breeze-client';\nvar NAME_EMOTIONS_VALIDATOR = 'emotion';\nvar MAX_EMOTION_VALUE = 5;\n/**\n * This validator validates the given emotion\n */\nexport function EmotionsValidator() {\n var contxt = {};\n var validator = new Validator(NAME_EMOTIONS_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n if (value === null) {\n return true;\n }\n var integerValue = +value;\n if (integerValue === null) {\n return false;\n }\n else {\n return (integerValue >= 0 && integerValue <= MAX_EMOTION_VALUE);\n }\n }\n}\nValidator.messageTemplates[NAME_EMOTIONS_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.EMOTION';\nValidator.register(EmotionsValidator());\n","/**\n * @file Number validator\n * @author Wim Haanstra\n */\nimport { Validator } from 'breeze-client';\nvar NAME_NUMBER_VALIDATOR = 'number';\n/**\n * This validator validates that the number value is between MIN and MAX\n */\nexport function NumberValidator() {\n var name = NAME_NUMBER_VALIDATOR;\n var contxt = {};\n var validator = new Validator(NAME_NUMBER_VALIDATOR, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n var min = 0;\n var max = 0;\n return (value >= min || value <= max);\n }\n}\nValidator.messageTemplates[NAME_NUMBER_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.NUMBER';\nValidator.register(NumberValidator());\n","/**\n* @file Period validator, to check that start begins before finish.\n* @author Tom Verschoore de la Houssaije\n*/\nimport { Validator } from 'breeze-client';\n// How to make custom validators:\n// http://breeze.github.io/doc-js/validation.html\nvar NAME_PERIOD_VALIDATOR = 'period';\n/**\n * This validator validates that the finish date is greater than start date.\n */\nexport function PeriodValidator() {\n var name = NAME_PERIOD_VALIDATOR;\n var contxt = {};\n var validator = new Validator(name, valFunction, contxt);\n return validator;\n function valFunction(value, context) {\n if (!(value instanceof Date)) {\n // Invalid date is checked by another validator.\n return true;\n }\n var PROPERTY_START = 'Start';\n var PROPERTY_FINISH = 'Finish';\n var PROPERTY_NAME = 'propertyName';\n var ENTIY = 'entity';\n var start = value;\n var finish = value;\n switch (context[PROPERTY_NAME]) {\n case PROPERTY_START:\n finish = context[ENTIY][PROPERTY_FINISH];\n break;\n case PROPERTY_FINISH:\n start = context[ENTIY][PROPERTY_START];\n break;\n default:\n throw new Error('Period validator can only be used with start or finish not with property: '\n + context[PROPERTY_NAME]);\n }\n if (start <= finish) {\n if (context && context.entity) {\n var entity = context.entity;\n var errors = entity.entityAspect.getValidationErrors();\n if (errors) {\n var validatorKey_1 = NAME_PERIOD_VALIDATOR + ':' + PROPERTY_START;\n if (context.propertyName === PROPERTY_START) {\n // I have to remove the other validation error.\n validatorKey_1 = NAME_PERIOD_VALIDATOR + ':' + PROPERTY_FINISH;\n }\n var error = errors.find(function (item) { return item.key === validatorKey_1; });\n if (error) {\n entity.entityAspect.removeValidationError(error);\n }\n }\n }\n return true;\n }\n return false;\n }\n}\n// You must register the validator.\n// TODO: Maak hiervan een label key ter vertaling\nValidator.messageTemplates[NAME_PERIOD_VALIDATOR] = 'APP.DOMAIN.VALIDATORS.PERIOD';\nValidator.register(PeriodValidator());\n","import { Validator } from 'breeze-client';\nimport { ColorValidator } from './validators/color.validator';\nimport { EmotionsValidator } from './validators/emotions.validator';\nimport { FacebookValidator } from './validators/facebook.validator';\nimport { GoogleValidator } from './validators/google.validator';\nimport { LinkedInValidator } from './validators/linkedin.validator';\nimport { NumberValidator } from './validators/number.validator';\nimport { PeriodValidator } from './validators/period.validator';\nimport { SkypeValidator } from './validators/skype.validator';\nimport { TwitterValidator } from './validators/twitter.validator';\nimport { XingValidator } from './validators/xing.validator';\nimport { RangeValidator } from './validators/range.validator';\nimport { CurrencyValidator } from './validators/currency.validator';\nexport var VALIDATORS = [\n ColorValidator,\n CurrencyValidator,\n EmotionsValidator,\n FacebookValidator,\n GoogleValidator,\n LinkedInValidator,\n NumberValidator,\n PeriodValidator,\n SkypeValidator,\n TwitterValidator,\n XingValidator,\n RangeValidator\n];\nvar CoreModule = /** @class */ (function () {\n /**\n * Creates an instance of CoreModule. Sets validator message templates.\n * @memberOf CoreModule\n */\n function CoreModule() {\n Validator.messageTemplates['date'] = 'APP.DOMAIN.VALIDATORS.DATE';\n Validator.messageTemplates['required'] = 'APP.DOMAIN.VALIDATORS.REQUIRED';\n Validator.messageTemplates['phone'] = 'APP.DOMAIN.VALIDATORS.PHONE';\n Validator.messageTemplates['stringLength'] = 'APP.DOMAIN.VALIDATORS.STRINGLENGTH';\n Validator.messageTemplates['duration'] = 'APP.DOMAIN.VALIDATORS.DURATION';\n Validator.messageTemplates['url'] = 'APP.DOMAIN.VALIDATORS.URL';\n Validator.messageTemplates['emailAddress'] = 'APP.DOMAIN.VALIDATORS.EMAILADDRESS';\n }\n return CoreModule;\n}());\nexport { CoreModule };\n","/** Input components */\nimport { InputBirthdayComponent } from './inputs/input-birthday/input-birthday.component';\nimport { InputBooleanComponent } from './inputs/input-boolean/input-boolean.component';\nimport { InputCheckboxesComponent } from './inputs/input-checkboxes/input-checkboxes.component';\nimport { InputDateComponent } from './inputs/input-date/input-date.component';\nimport { InputDateTimeComponent } from './inputs/input-datetime/input-datetime.component';\nimport { InputDurationComponent } from './inputs/input-duration/input-duration.component';\nimport { InputSecondsComponent } from './inputs/input-seconds/input-seconds.component';\nimport { InputEmailComponent } from './inputs/input-email/input-email.component';\nimport { InputEmotionsComponent } from './inputs/input-emotions/input-emotions.component';\nimport { InputEntityComponent } from './inputs/input-entity/input-entity.component';\nimport { InputFacebookComponent } from './inputs/input-facebook/input-facebook.component';\nimport { InputFileComponent } from './inputs/input-file/input-file.component';\nimport { InputGoogleComponent } from './inputs/input-google/input-google.component';\nimport { InputImageComponent } from './inputs/input-image/input-image.component';\nimport { InputLabelComponent } from './inputs/input-label/input-label.component';\nimport { InputLinkedinComponent } from './inputs/input-linkedin/input-linkedin.component';\nimport { InputNumberComponent } from './inputs/input-number/input-number.component';\nimport { InputCurrencyComponent } from './inputs/input-currency/input-currency.component';\nimport { InputPasswordComponent } from './inputs/input-password/input-password.component';\nimport { InputPhoneComponent } from './inputs/input-phone/input-phone.component';\nimport { InputRadioComponent } from './inputs/input-radio/input-radio.component';\nimport { InputSelectComponent } from './inputs/input-select/input-select.component';\nimport { InputReadByComponent } from './inputs/input-readby/input-readby.component';\nimport { InputSkypeComponent } from './inputs/input-skype/input-skype.component';\nimport { InputStringComponent } from './inputs/input-string/input-string.component';\nimport { InputTextComponent } from './inputs/input-text/input-text.component';\nimport { InputTimeComponent } from './inputs/input-time/input-time.component';\nimport { InputTwitterComponent } from './inputs/input-twitter/input-twitter.component';\nimport { InputUrlComponent } from './inputs/input-url/input-url.component';\nimport { InputXingComponent } from './inputs/input-xing/input-xing.component';\nimport { InputListComponent } from './inputs/input-list/input-list.component';\nimport { InputSignatureComponent } from './inputs/input-signature/input-signature.component';\n/** Fieldset components */\nimport { FieldsetBirthdayComponent } from './fieldsets/fieldset-birthday/fieldset-birthday.component';\nimport { FieldsetBooleanComponent } from './fieldsets/fieldset-boolean/fieldset-boolean.component';\nimport { FieldsetCheckboxesComponent } from './fieldsets/fieldset-checkboxes/fieldset-checkboxes.component';\nimport { FieldsetDateComponent } from './fieldsets/fieldset-date/fieldset-date.component';\nimport { FieldsetDatetimeComponent } from './fieldsets/fieldset-datetime/fieldset-datetime.component';\nimport { FieldsetDurationComponent } from './fieldsets/fieldset-duration/fieldset-duration.component';\nimport { FieldsetEmailComponent } from './fieldsets/fieldset-email/fieldset-email.component';\nimport { FieldsetEmotionsComponent } from './fieldsets/fieldset-emotions/fieldset-emotions.component';\nimport { FieldsetEntityComponent } from './fieldsets/fieldset-entity/fieldset-entity.component';\nimport { FieldsetReadByComponent } from './fieldsets/fieldset-readby/fieldset-readby.component';\nimport { FieldsetFacebookComponent } from './fieldsets/fieldset-facebook/fieldset-facebook.component';\nimport { FieldsetFileComponent } from './fieldsets/fieldset-file/fieldset-file.component';\nimport { FieldsetGoogleComponent } from './fieldsets/fieldset-google/fieldset-google.component';\nimport { FieldsetImageComponent } from './fieldsets/fieldset-image/fieldset-image.component';\nimport { FieldsetLabelComponent } from './fieldsets/fieldset-label/fieldset-label.component';\nimport { FieldsetLinkedinComponent } from './fieldsets/fieldset-linkedin/fieldset-linkedin.component';\nimport { FieldsetMessageComponent } from './fieldsets/fieldset-message/fieldset-message.component';\nimport { FieldsetNumberComponent } from './fieldsets/fieldset-number/fieldset-number.component';\nimport { FieldsetCurrencyComponent } from './fieldsets/fieldset-currency/fieldset-currency.component';\nimport { FieldsetPasswordComponent } from './fieldsets/fieldset-password/fieldset-password.component';\nimport { FieldsetPasswordlinkComponent } from './fieldsets/fieldset-passwordlink/fieldset-passwordlink.component';\nimport { FieldsetPhoneComponent } from './fieldsets/fieldset-phone/fieldset-phone.component';\nimport { FieldsetRadioComponent } from './fieldsets/fieldset-radio/fieldset-radio.component';\nimport { FieldsetSelectComponent } from './fieldsets/fieldset-select/fieldset-select.component';\nimport { FieldsetSkypeComponent } from './fieldsets/fieldset-skype/fieldset-skype.component';\nimport { FieldsetStringComponent } from './fieldsets/fieldset-string/fieldset-string.component';\nimport { FieldsetTextComponent } from './fieldsets/fieldset-text/fieldset-text.component';\nimport { FieldsetTimeComponent } from './fieldsets/fieldset-time/fieldset-time.component';\nimport { FieldsetTwitterComponent } from './fieldsets/fieldset-twitter/fieldset-twitter.component';\nimport { FieldsetUrlComponent } from './fieldsets/fieldset-url/fieldset-url.component';\nimport { FieldsetXingComponent } from './fieldsets/fieldset-xing/fieldset-xing.component';\nimport { FieldsetSignatureComponent } from './fieldsets/fieldset-signature/fieldset-signature.component';\nimport { FieldsetRegionComponent } from './fieldsets/fieldset-region/fieldset-region.component';\nimport { FieldsetSecondsComponent } from './fieldsets/fieldset-seconds/fieldset-seconds.component';\nimport { FieldsetsAllComponent } from './fieldsets/fieldsets-all/fieldsets-all.component';\n/** Column components */\nimport { ColumnBooleanComponent } from './columns/column-boolean/column-boolean.component';\nimport { ColumnContactComponent } from './columns/column-contact/column-contact.component';\nimport { ColumnDateComponent } from './columns/column-date/column-date.component';\nimport { ColumnDateRelativeComponent } from './columns/column-date-relative/column-date-relative.component';\nimport { ColumnDatetimeComponent } from './columns/column-datetime/column-datetime.component';\nimport { ColumnDatetimeRelativeComponent } from './columns/column-datetime-relative/column-datetime-relative.component';\nimport { ColumnDurationComponent } from './columns/column-duration/column-duration.component';\nimport { ColumnEmailComponent } from './columns/column-email/column-email.component';\nimport { ColumnEmotionsComponent } from './columns/column-emotions/column-emotions.component';\nimport { ColumnFacebookComponent } from './columns/column-facebook/column-facebook.component';\nimport { ColumnGoogleComponent } from './columns/column-google/column-google.component';\nimport { ColumnImageComponent } from './columns/column-image/column-image.component';\nimport { ColumnLabelComponent } from './columns/column-label/column-label.component';\nimport { ColumnLinkedinComponent } from './columns/column-linkedin/column-linkedin.component';\nimport { ColumnNotesComponent } from './columns/column-notes/column-notes.component';\nimport { ColumnNumberComponent } from './columns/column-number/column-number.component';\nimport { ColumnOpenSlotComponent } from './columns/column-open-slot/column-open-slot.component';\nimport { ColumnPeriodComponent } from './columns/column-period/column-period.component';\nimport { ColumnPhoneComponent } from './columns/column-phone/column-phone.component';\nimport { ColumnSelectComponent } from './columns/column-select/column-select.component';\nimport { ColumnServiceComponent } from './columns/column-service/column-service.component';\nimport { ColumnSkypeComponent } from './columns/column-skype/column-skype.component';\nimport { ColumnSpendtimeComponent } from './columns/column-spendtime/column-spendtime.component';\nimport { ColumnSpendtimeContextComponent } from './columns/column-spendtime-context/column-spendtime-context.component';\nimport { ColumnStartActiveComponent } from './columns/column-start-active/column-start-active.component';\nimport { ColumnStringComponent } from './columns/column-string/column-string.component';\nimport { ColumnTaskComponent } from './columns/column-task/column-task.component';\nimport { ColumnTextComponent } from './columns/column-text/column-text.component';\nimport { ColumnTimeComponent } from './columns/column-time/column-time.component';\nimport { ColumnTimeRelativeComponent } from './columns/column-time-relative/column-time-relative.component';\nimport { ColumnTwitterComponent } from './columns/column-twitter/column-twitter.component';\nimport { ColumnUrlComponent } from './columns/column-url/column-url.component';\nimport { ColumnWeightComponent } from './columns/column-weight/column-weight.component';\nimport { ColumnXingComponent } from './columns/column-xing/column-xing.component';\nimport { ColumnEntityComponent } from './columns/column-entity/column-entity.component';\nimport { ColumnNameComponent } from './columns/column-name/column-name.component';\nimport { ComponentRegistry } from '../core/component-registry';\n/**\n * The supported list columns.\n */\nvar COLUMN_COMPONENTS = [\n ColumnPhoneComponent,\n ColumnNumberComponent,\n ColumnUrlComponent,\n ColumnDatetimeComponent,\n ColumnContactComponent,\n ColumnSpendtimeComponent,\n ColumnSpendtimeContextComponent,\n ColumnStringComponent,\n ColumnNotesComponent,\n ColumnTimeComponent,\n ColumnDateComponent,\n ColumnStartActiveComponent,\n ColumnDurationComponent,\n ColumnPeriodComponent,\n ColumnOpenSlotComponent,\n ColumnTwitterComponent,\n ColumnSelectComponent,\n ColumnSkypeComponent,\n ColumnGoogleComponent,\n ColumnXingComponent,\n ColumnLinkedinComponent,\n ColumnFacebookComponent,\n ColumnTextComponent,\n ColumnImageComponent,\n ColumnEmailComponent,\n ColumnEmotionsComponent,\n ColumnTaskComponent,\n ColumnServiceComponent,\n ColumnDatetimeRelativeComponent,\n ColumnDateRelativeComponent,\n ColumnTimeRelativeComponent,\n ColumnBooleanComponent,\n ColumnWeightComponent,\n ColumnLabelComponent,\n ColumnEntityComponent,\n ColumnNameComponent\n];\n/**\n * The supported fieldset types.\n */\nvar FIELDSET_COMPONENTS = [\n FieldsetMessageComponent,\n FieldsetFileComponent,\n FieldsetImageComponent,\n FieldsetDurationComponent,\n FieldsetBirthdayComponent,\n FieldsetBooleanComponent,\n FieldsetCheckboxesComponent,\n FieldsetDateComponent,\n FieldsetLabelComponent,\n FieldsetDatetimeComponent,\n FieldsetEmailComponent,\n FieldsetNumberComponent,\n FieldsetCurrencyComponent,\n FieldsetSignatureComponent,\n FieldsetPasswordComponent,\n FieldsetPasswordlinkComponent,\n FieldsetPhoneComponent,\n FieldsetRadioComponent,\n FieldsetSelectComponent,\n FieldsetStringComponent,\n FieldsetTextComponent,\n FieldsetTimeComponent,\n FieldsetUrlComponent,\n FieldsetGoogleComponent,\n FieldsetTwitterComponent,\n FieldsetXingComponent,\n FieldsetFacebookComponent,\n FieldsetLinkedinComponent,\n FieldsetSkypeComponent,\n FieldsetEmotionsComponent,\n FieldsetReadByComponent,\n FieldsetRegionComponent,\n FieldsetSecondsComponent,\n FieldsetEntityComponent\n];\n/**\n * The supported fieldset types.\n */\nvar INPUTS_COMPONENTS = [\n InputBirthdayComponent,\n InputListComponent,\n InputBooleanComponent,\n InputCheckboxesComponent,\n InputDateComponent,\n InputDateTimeComponent,\n InputDurationComponent,\n InputSecondsComponent,\n InputEmailComponent,\n InputEmotionsComponent,\n InputReadByComponent,\n InputFacebookComponent,\n InputFileComponent,\n InputGoogleComponent,\n InputImageComponent,\n InputLabelComponent,\n InputLinkedinComponent,\n InputNumberComponent,\n InputCurrencyComponent,\n InputSignatureComponent,\n InputPasswordComponent,\n InputPhoneComponent,\n InputRadioComponent,\n InputSelectComponent,\n InputSkypeComponent,\n InputStringComponent,\n InputTextComponent,\n InputTimeComponent,\n InputTwitterComponent,\n InputUrlComponent,\n InputXingComponent,\n InputEntityComponent\n];\nvar BaseModule = /** @class */ (function () {\n /**\n * Creates an instance of the BaseModule.\n */\n function BaseModule() {\n COLUMN_COMPONENTS.forEach(function (columnClass) {\n columnClass.register();\n });\n FIELDSET_COMPONENTS.forEach(function (fieldSetClass) {\n fieldSetClass.register();\n });\n ComponentRegistry.register('route', 'FieldsetsAllComponent', FieldsetsAllComponent);\n }\n return BaseModule;\n}());\nexport { BaseModule };\n","/**\n * @file Input component for list input\n * @author Heino Lenting\n */\nimport * as tslib_1 from \"tslib\";\nimport { InputBase } from '../input-base/input-base';\n/**\n * Class for the list input component\n */\nvar InputListComponent = /** @class */ (function (_super) {\n tslib_1.__extends(InputListComponent, _super);\n /**\n * Constructs a InputListComponent.\n */\n function InputListComponent() {\n return _super.call(this) || this;\n }\n return InputListComponent;\n}(InputBase));\nexport { InputListComponent };\n","var SocialModule = /** @class */ (function () {\n function SocialModule() {\n }\n return SocialModule;\n}());\nexport { SocialModule };\n","import { InsightExampleTrendComponent } from './insight-example-trend/insight-example-trend.component';\nimport { InsightExampleGaugeComponent } from './insight-example-gauge/insight-example-gauge.component';\nimport { InsightExampleBarComponent } from './insight-example-bar/insight-example-bar.component';\nimport { InsightExampleLineComponent } from './insight-example-line/insight-example-line.component';\nimport { InsightExampleListComponent } from './insight-example-list/insight-example-list.component';\nimport { InsightExamplePieComponent } from './insight-example-pie/insight-example-pie.component';\nimport { InsightExampleTableComponent } from './insight-example-table/insight-example-table.component';\nimport { InsightExampleTextComponent } from './insight-example-text/insight-example-text.component';\nimport { InsightWorkingHoursComponent } from './insight-working-hours/insight-working-hours.component';\nimport { InsightPlannedHoursComponent } from './insight-planned-hours/insight-planned-hours.component';\nimport { InsightBookedHoursComponent } from './insight-booked-hours/insight-booked-hours.component';\nimport { InsightAvailableHoursComponent } from './insight-available-hours/insight-available-hours.component';\nimport { InsightContractPlannedComponent } from './insight-contract-planned/insight-contract-planned.component';\nimport { InsightRealizationComponent } from './insight-realization/insight-realization.component';\nimport { InsightLeaveComponent } from './insight-leave/insight-leave.component';\nimport { InsightBillableHoursComponent } from './insight-billable-hours/insight-billable-hours.component';\nexport var INSIGHTS_COMPONENTS = [\n InsightExampleTrendComponent,\n InsightExampleGaugeComponent,\n InsightExampleBarComponent,\n InsightExampleLineComponent,\n InsightExampleListComponent,\n InsightExamplePieComponent,\n InsightExampleTableComponent,\n InsightExampleTextComponent,\n InsightWorkingHoursComponent,\n InsightPlannedHoursComponent,\n InsightBookedHoursComponent,\n InsightAvailableHoursComponent,\n InsightContractPlannedComponent,\n InsightRealizationComponent,\n InsightLeaveComponent,\n InsightBillableHoursComponent\n];\nvar InsightsModule = /** @class */ (function () {\n /**\n *Creates an instance of InsightsModule.\n */\n function InsightsModule() {\n INSIGHTS_COMPONENTS.forEach(function (insight) {\n insight.register();\n });\n }\n return InsightsModule;\n}());\nexport { InsightsModule };\n","import { ComponentRegistry } from '../core/component-registry';\nimport { ColumnInUseByComponent } from './column-inuseby/column-inuseby.component';\nimport { ColumnRealizationComponent } from './column-realization/column-realization.component';\nimport { ColumnRepeatComponent } from './column-repeat/column-repeat.component';\nimport { CopyShiftComponent } from './copy-shift/copy-shift.component';\nimport { CopyTaskComponent } from './copy-task/copy-task.component';\nimport { BatchPlanmacroComponent } from './batch-planmacro/batch-planmacro.component';\nimport { DataViewComponent } from './data-view/data-view.component';\nimport { DetailComponent } from './detail/detail.component';\nimport { FieldsetAssigneeComponent } from './fieldset-assignee/fieldset-assignee.component';\nimport { FieldsetInUseByComponent } from './fieldset-inuseby/fieldset-inuseby.component';\nimport { FieldsetLocationComponent } from './fieldset-location/fieldset-location.component';\nimport { FieldsetMultiTypeComponent } from './fieldset-multi-type/fieldset-multi-type.component';\nimport { FieldsetParentChildComponent } from './fieldset-parent-child/fieldset-parent-child.component';\nimport { FieldsetRepeatComponent } from './fieldset-repeat/fieldset-repeat.component';\nimport { FormComponent } from './form/form.component';\nimport { ListComponent } from './list/list.component';\nimport { RelationComponent } from './relation/relation.component';\nimport { RepeatSplitFormComponent } from './repeat-split-form/repeat-split-form.component';\nimport { ColumnColorComponent } from './column-color/column-color.component';\nimport { ColumnDatetimeDeviationComponent } from './column-datetime-deviation/column-datetime-deviation.component';\nimport { ColumnDurationDeviationComponent } from './column-duration-deviation/column-duration-deviation.component';\nimport { ColumnRequirementComponent } from './column-requirement/column-requirement.component';\nimport { FieldsetColorComponent } from './fieldset-color/fieldset-color.component';\nimport { ColumnContractHoursComponent } from './column-contract-hours/column-contract-hours.component';\nvar COLUMN_COMPONENTS = [\n ColumnInUseByComponent,\n ColumnRealizationComponent,\n ColumnRepeatComponent,\n ColumnColorComponent,\n ColumnDatetimeDeviationComponent,\n ColumnDurationDeviationComponent,\n ColumnRequirementComponent,\n ColumnContractHoursComponent\n];\nvar FIELDSET_COMPONENTS = [\n FieldsetAssigneeComponent,\n FieldsetInUseByComponent,\n FieldsetLocationComponent,\n FieldsetMultiTypeComponent,\n FieldsetParentChildComponent,\n FieldsetRepeatComponent,\n FieldsetColorComponent\n];\nvar DomainModule = /** @class */ (function () {\n /**\n * Creates an instance of DomainModule.\n */\n function DomainModule() {\n ComponentRegistry.register('detail', 'DetailComponent', DetailComponent);\n ComponentRegistry.register('list', 'ListComponent', ListComponent);\n ComponentRegistry.register('overlay', 'RepeatSplitFormComponent', RepeatSplitFormComponent);\n ComponentRegistry.register('overlay', 'FormComponent', FormComponent);\n ComponentRegistry.register('overlay', 'CopyTaskComponent', CopyTaskComponent);\n ComponentRegistry.register('overlay', 'BatchPlanmacroComponent', BatchPlanmacroComponent);\n ComponentRegistry.register('overlay', 'CopyShiftComponent', CopyShiftComponent);\n ComponentRegistry.register('relation', 'RelationComponent', RelationComponent);\n ComponentRegistry.register('route', 'DataViewComponent', DataViewComponent);\n ComponentRegistry.register('route', 'DetailComponent', DetailComponent);\n COLUMN_COMPONENTS.forEach(function (columnClass) {\n columnClass.register();\n });\n FIELDSET_COMPONENTS.forEach(function (fieldSetClass) {\n fieldSetClass.register();\n });\n }\n return DomainModule;\n}());\nexport { DomainModule };\n","import { VersionInfoComponent } from './version-info/version-info.component';\nimport { AccountComponent } from './account/account.component';\nimport { ProfileComponent } from './profile/profile.component';\nimport { ColumnProfilePictureComponent } from './column-profile-picture/column-profile-picture.component';\nimport { ComponentRegistry } from '../core/component-registry';\nvar UiModule = /** @class */ (function () {\n /**\n *Creates an instance of UiModule.\n */\n function UiModule() {\n ComponentRegistry.register('overlay', 'VersionInfoComponent', VersionInfoComponent);\n ComponentRegistry.register('overlay', 'AccountComponent', AccountComponent);\n ComponentRegistry.register('overlay', 'ProfileComponent', ProfileComponent);\n ColumnProfilePictureComponent.register();\n }\n return UiModule;\n}());\nexport { UiModule };\n","import { ComponentRegistry } from '../core/component-registry';\nimport { ForecastRelationComponent } from './forecast-relation/forecast-relation.component';\nimport { CheckCalendarComponent } from './check-calendar/check-calendar.component';\nimport { ShrinkageComponent } from './shrinkage/shrinkage.component';\nvar ForecastModule = /** @class */ (function () {\n function ForecastModule() {\n ComponentRegistry.register('relation', 'ForecastRelationComponent', ForecastRelationComponent);\n ComponentRegistry.register('overlay', 'CheckCalendarComponent', CheckCalendarComponent);\n ComponentRegistry.register('overlay', 'ShrinkageComponent', ShrinkageComponent);\n }\n return ForecastModule;\n}());\nexport { ForecastModule };\n","/**\n * @file The lists module.\n * @author Tom Verschoore de la Houssaije\n */\nimport { AgendaGridComponent } from './agenda-grid/agenda-grid.component';\nimport { PlanboardGridComponent } from './planboard-grid/planboard-grid.component';\nimport { GridViewComponent } from './grid-view/grid-view.component';\nimport { AgendaListComponent } from './agenda-list/agenda-list.component';\nimport { ComponentRegistry } from '../core/component-registry';\nimport { AdHocComponent } from './ad-hoc/ad-hoc.component';\n/**\n * The module of the lists block.\n */\nvar GridsModule = /** @class */ (function () {\n /**\n * Constructs a ListModule.\n */\n function GridsModule() {\n ComponentRegistry.register('grid', 'PlanboardGridComponent', PlanboardGridComponent);\n ComponentRegistry.register('grid', 'AgendaGridComponent', AgendaGridComponent);\n ComponentRegistry.register('list', 'AgendaListComponent', AgendaListComponent);\n ComponentRegistry.register('overlay', 'AdHocComponent', AdHocComponent);\n ComponentRegistry.register('route', 'GridViewComponent', GridViewComponent);\n }\n return GridsModule;\n}());\nexport { GridsModule };\n","/**\n * @file The notifications module.\n * @author Tom Verschoore de la Houssaije\n */\nimport { ComponentRegistry } from '../core/component-registry';\nimport { NotificationsViewComponent } from './notifications-view/notifications-view.component';\nimport { NotificationsListComponent } from './notifications-list/notifications-list.component';\nimport { AbsenceDetailComponent } from './absence-detail/absence-detail.component';\nimport { ExchangeListComponent } from './exchange-list/exchange-list.component';\nimport { ExchangeDayComponent } from './exchange-day/exchange-day.component';\nimport { ExchangeDayDetailComponent } from './exchange-day-detail/exchange-day-detail.component';\nimport { ExchangeDetailComponent } from './exchange-detail/exchange-detail.component';\nimport { ReassignFormComponent } from './reassign-form/reassign-form.component';\nimport { ReassignDayComponent } from './reassign-day/reassign-day.component';\nimport { ReassignDayDetailComponent } from './reassign-day-detail/reassign-day-detail.component';\nimport { ReassignDetailComponent } from './reassign-detail/reassign-detail.component';\n/**\n * The notifications module.\n * @export\n * @class NotificationsModule\n */\nvar NotificationsModule = /** @class */ (function () {\n /**\n * Creates an instance of NotificationsModule.\n */\n function NotificationsModule() {\n ComponentRegistry.register('list', 'NotificationsListComponent', NotificationsListComponent);\n ComponentRegistry.register('overlay', 'ReassignDayComponent', ReassignDayComponent);\n ComponentRegistry.register('overlay', 'ReassignFormComponent', ReassignFormComponent);\n ComponentRegistry.register('overlay', 'ExchangeDayComponent', ExchangeDayComponent);\n ComponentRegistry.register('overlay', 'ExchangeListComponent', ExchangeListComponent);\n ComponentRegistry.register('route', 'ExchangeDayDetailComponent', ExchangeDayDetailComponent);\n ComponentRegistry.register('route', 'ExchangeDetailComponent', ExchangeDetailComponent);\n ComponentRegistry.register('route', 'ReassignDayDetailComponent', ReassignDayDetailComponent);\n ComponentRegistry.register('route', 'ReassignDetailComponent', ReassignDetailComponent);\n ComponentRegistry.register('route', 'AbsenceDetailComponent', AbsenceDetailComponent);\n ComponentRegistry.register('route', 'NotificationsViewComponent', NotificationsViewComponent);\n }\n return NotificationsModule;\n}());\nexport { NotificationsModule };\n","import { ComponentRegistry } from '../core/component-registry';\nimport { WorkSlipViewComponent } from './workslip-view/workslip-view.component';\nimport { WorkSlipListComponent } from './workslip-list/workslip-list.component';\nimport { WorkSlipDetailComponent } from './workslip-detail/workslip-detail.component';\nvar WorkSlipsModule = /** @class */ (function () {\n /**\n * Creates an instance of WorkSlipsModule.\n */\n function WorkSlipsModule() {\n ComponentRegistry.register('list', 'WorkSlipListComponent', WorkSlipListComponent);\n ComponentRegistry.register('overlay', 'WorkSlipViewComponent', WorkSlipViewComponent);\n ComponentRegistry.register('route', 'WorkSlipViewComponent', WorkSlipViewComponent);\n ComponentRegistry.register('route', 'WorkSlipDetailComponent', WorkSlipDetailComponent);\n }\n return WorkSlipsModule;\n}());\nexport { WorkSlipsModule };\n","import { ComponentRegistry } from '../core/component-registry';\nimport { MarketplaceListComponent } from './marketplace-list/marketplace-list.component';\nimport { AcceptDemandComponent } from './accept-demand/accept-demand.component';\nimport { AcceptServiceComponent } from './accept-service/accept-service.component';\nimport { ColumnMarketplaceDemandComponent } from './column-marketplace-demand/column-marketplace-demand.component';\nimport { ColumnMarketplaceServiceComponent } from './column-marketplace-service/column-marketplace-service.component';\nimport { WithdrawAssignmentComponent } from './withdraw-assignment/withdraw-assignment.component';\nimport { WithdrawAttendantComponent } from './withdraw-attendant/withdraw-attendant.component';\nvar MarketplaceModule = /** @class */ (function () {\n /**\n * Creates an instance of MarketplaceModule.\n */\n function MarketplaceModule() {\n ComponentRegistry.register('list', 'MarketplaceListComponent', MarketplaceListComponent);\n ComponentRegistry.register('overlay', 'AcceptDemandComponent', AcceptDemandComponent);\n ComponentRegistry.register('overlay', 'AcceptServiceComponent', AcceptServiceComponent);\n ComponentRegistry.register('overlay', 'WithdrawAssignmentComponent', WithdrawAssignmentComponent);\n ComponentRegistry.register('overlay', 'WithdrawAttendantComponent', WithdrawAttendantComponent);\n ColumnMarketplaceDemandComponent.register();\n ColumnMarketplaceServiceComponent.register();\n }\n return MarketplaceModule;\n}());\nexport { MarketplaceModule };\n","import { TimelineComponent } from './timeline/timeline.component';\nimport { ComponentRegistry } from '../core/component-registry';\nvar TimelineModule = /** @class */ (function () {\n function TimelineModule() {\n ComponentRegistry.register('route', 'TimelineComponent', TimelineComponent);\n }\n return TimelineModule;\n}());\nexport { TimelineModule };\n","import { ComponentRegistry } from '../core/component-registry';\nimport { SettingsDetailComponent } from './settings-detail/settings-detail.component';\nimport { SettingsListComponent } from './settings-list/settings-list.component';\nimport { SettingsViewComponent } from './settings-view/settings-view.component';\nimport { ColumnSettingsComponent } from './column-settings/column-settings.component';\nimport { ColumnReportLinkComponent } from './column-report-link/column-report-link.component';\nvar SettingsModule = /** @class */ (function () {\n function SettingsModule() {\n ComponentRegistry.register('list', 'SettingsListComponent', SettingsListComponent);\n ComponentRegistry.register('route', 'SettingsDetailComponent', SettingsDetailComponent);\n ComponentRegistry.register('route', 'SettingsViewComponent', SettingsViewComponent);\n ColumnSettingsComponent.register();\n ColumnReportLinkComponent.register();\n }\n return SettingsModule;\n}());\nexport { SettingsModule };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./app.module\";\nimport * as i2 from \"./app.component\";\nimport * as i3 from \"../../node_modules/@angular/router/router.ngfactory\";\nimport * as i4 from \"./core/empty/empty.component.ngfactory\";\nimport * as i5 from \"./core/error-page/error-page.component.ngfactory\";\nimport * as i6 from \"./core/not-found/not-found.component.ngfactory\";\nimport * as i7 from \"./base/columns/column-phone/column-phone.component.ngfactory\";\nimport * as i8 from \"./base/columns/column-number/column-number.component.ngfactory\";\nimport * as i9 from \"./base/columns/column-url/column-url.component.ngfactory\";\nimport * as i10 from \"./base/columns/column-datetime/column-datetime.component.ngfactory\";\nimport * as i11 from \"./base/columns/column-contact/column-contact.component.ngfactory\";\nimport * as i12 from \"./base/columns/column-spendtime/column-spendtime.component.ngfactory\";\nimport * as i13 from \"./base/columns/column-spendtime-context/column-spendtime-context.component.ngfactory\";\nimport * as i14 from \"./base/columns/column-string/column-string.component.ngfactory\";\nimport * as i15 from \"./base/columns/column-notes/column-notes.component.ngfactory\";\nimport * as i16 from \"./base/columns/column-time/column-time.component.ngfactory\";\nimport * as i17 from \"./base/columns/column-date/column-date.component.ngfactory\";\nimport * as i18 from \"./base/columns/column-start-active/column-start-active.component.ngfactory\";\nimport * as i19 from \"./base/columns/column-duration/column-duration.component.ngfactory\";\nimport * as i20 from \"./base/columns/column-period/column-period.component.ngfactory\";\nimport * as i21 from \"./base/columns/column-open-slot/column-open-slot.component.ngfactory\";\nimport * as i22 from \"./base/columns/column-twitter/column-twitter.component.ngfactory\";\nimport * as i23 from \"./base/columns/column-select/column-select.component.ngfactory\";\nimport * as i24 from \"./base/columns/column-skype/column-skype.component.ngfactory\";\nimport * as i25 from \"./base/columns/column-google/column-google.component.ngfactory\";\nimport * as i26 from \"./base/columns/column-xing/column-xing.component.ngfactory\";\nimport * as i27 from \"./base/columns/column-linkedin/column-linkedin.component.ngfactory\";\nimport * as i28 from \"./base/columns/column-facebook/column-facebook.component.ngfactory\";\nimport * as i29 from \"./base/columns/column-text/column-text.component.ngfactory\";\nimport * as i30 from \"./base/columns/column-image/column-image.component.ngfactory\";\nimport * as i31 from \"./base/columns/column-email/column-email.component.ngfactory\";\nimport * as i32 from \"./base/columns/column-emotions/column-emotions.component.ngfactory\";\nimport * as i33 from \"./base/columns/column-task/column-task.component.ngfactory\";\nimport * as i34 from \"./base/columns/column-service/column-service.component.ngfactory\";\nimport * as i35 from \"./base/columns/column-datetime-relative/column-datetime-relative.component.ngfactory\";\nimport * as i36 from \"./base/columns/column-date-relative/column-date-relative.component.ngfactory\";\nimport * as i37 from \"./base/columns/column-time-relative/column-time-relative.component.ngfactory\";\nimport * as i38 from \"./base/columns/column-boolean/column-boolean.component.ngfactory\";\nimport * as i39 from \"./base/columns/column-weight/column-weight.component.ngfactory\";\nimport * as i40 from \"./base/columns/column-label/column-label.component.ngfactory\";\nimport * as i41 from \"./base/columns/column-entity/column-entity.component.ngfactory\";\nimport * as i42 from \"./base/columns/column-name/column-name.component.ngfactory\";\nimport * as i43 from \"./base/fieldsets/fieldset-message/fieldset-message.component.ngfactory\";\nimport * as i44 from \"./base/fieldsets/fieldset-file/fieldset-file.component.ngfactory\";\nimport * as i45 from \"./base/fieldsets/fieldset-image/fieldset-image.component.ngfactory\";\nimport * as i46 from \"./base/fieldsets/fieldset-duration/fieldset-duration.component.ngfactory\";\nimport * as i47 from \"./base/fieldsets/fieldset-birthday/fieldset-birthday.component.ngfactory\";\nimport * as i48 from \"./base/fieldsets/fieldset-boolean/fieldset-boolean.component.ngfactory\";\nimport * as i49 from \"./base/fieldsets/fieldset-checkboxes/fieldset-checkboxes.component.ngfactory\";\nimport * as i50 from \"./base/fieldsets/fieldset-date/fieldset-date.component.ngfactory\";\nimport * as i51 from \"./base/fieldsets/fieldset-label/fieldset-label.component.ngfactory\";\nimport * as i52 from \"./base/fieldsets/fieldset-datetime/fieldset-datetime.component.ngfactory\";\nimport * as i53 from \"./base/fieldsets/fieldset-email/fieldset-email.component.ngfactory\";\nimport * as i54 from \"./base/fieldsets/fieldset-number/fieldset-number.component.ngfactory\";\nimport * as i55 from \"./base/fieldsets/fieldset-currency/fieldset-currency.component.ngfactory\";\nimport * as i56 from \"./base/fieldsets/fieldset-signature/fieldset-signature.component.ngfactory\";\nimport * as i57 from \"./base/fieldsets/fieldset-password/fieldset-password.component.ngfactory\";\nimport * as i58 from \"./base/fieldsets/fieldset-passwordlink/fieldset-passwordlink.component.ngfactory\";\nimport * as i59 from \"./base/fieldsets/fieldset-phone/fieldset-phone.component.ngfactory\";\nimport * as i60 from \"./base/fieldsets/fieldset-radio/fieldset-radio.component.ngfactory\";\nimport * as i61 from \"./base/fieldsets/fieldset-select/fieldset-select.component.ngfactory\";\nimport * as i62 from \"./base/fieldsets/fieldset-string/fieldset-string.component.ngfactory\";\nimport * as i63 from \"./base/fieldsets/fieldset-text/fieldset-text.component.ngfactory\";\nimport * as i64 from \"./base/fieldsets/fieldset-time/fieldset-time.component.ngfactory\";\nimport * as i65 from \"./base/fieldsets/fieldset-url/fieldset-url.component.ngfactory\";\nimport * as i66 from \"./base/fieldsets/fieldset-google/fieldset-google.component.ngfactory\";\nimport * as i67 from \"./base/fieldsets/fieldset-twitter/fieldset-twitter.component.ngfactory\";\nimport * as i68 from \"./base/fieldsets/fieldset-xing/fieldset-xing.component.ngfactory\";\nimport * as i69 from \"./base/fieldsets/fieldset-facebook/fieldset-facebook.component.ngfactory\";\nimport * as i70 from \"./base/fieldsets/fieldset-linkedin/fieldset-linkedin.component.ngfactory\";\nimport * as i71 from \"./base/fieldsets/fieldset-skype/fieldset-skype.component.ngfactory\";\nimport * as i72 from \"./base/fieldsets/fieldset-emotions/fieldset-emotions.component.ngfactory\";\nimport * as i73 from \"./base/fieldsets/fieldset-readby/fieldset-readby.component.ngfactory\";\nimport * as i74 from \"./base/fieldsets/fieldset-region/fieldset-region.component.ngfactory\";\nimport * as i75 from \"./base/fieldsets/fieldset-seconds/fieldset-seconds.component.ngfactory\";\nimport * as i76 from \"./base/fieldsets/fieldset-entity/fieldset-entity.component.ngfactory\";\nimport * as i77 from \"./base/fieldsets/fieldsets-all/fieldsets-all.component.ngfactory\";\nimport * as i78 from \"./insights/insight-example-trend/insight-example-trend.component.ngfactory\";\nimport * as i79 from \"./insights/insight-example-gauge/insight-example-gauge.component.ngfactory\";\nimport * as i80 from \"./insights/insight-example-bar/insight-example-bar.component.ngfactory\";\nimport * as i81 from \"./insights/insight-example-line/insight-example-line.component.ngfactory\";\nimport * as i82 from \"./insights/insight-example-list/insight-example-list.component.ngfactory\";\nimport * as i83 from \"./insights/insight-example-pie/insight-example-pie.component.ngfactory\";\nimport * as i84 from \"./insights/insight-example-table/insight-example-table.component.ngfactory\";\nimport * as i85 from \"./insights/insight-example-text/insight-example-text.component.ngfactory\";\nimport * as i86 from \"./insights/insight-working-hours/insight-working-hours.component.ngfactory\";\nimport * as i87 from \"./insights/insight-planned-hours/insight-planned-hours.component.ngfactory\";\nimport * as i88 from \"./insights/insight-booked-hours/insight-booked-hours.component.ngfactory\";\nimport * as i89 from \"./insights/insight-available-hours/insight-available-hours.component.ngfactory\";\nimport * as i90 from \"./insights/insight-contract-planned/insight-contract-planned.component.ngfactory\";\nimport * as i91 from \"./insights/insight-realization/insight-realization.component.ngfactory\";\nimport * as i92 from \"./insights/insight-leave/insight-leave.component.ngfactory\";\nimport * as i93 from \"./insights/insight-billable-hours/insight-billable-hours.component.ngfactory\";\nimport * as i94 from \"./domain/copy-shift/copy-shift.component.ngfactory\";\nimport * as i95 from \"./domain/copy-task/copy-task.component.ngfactory\";\nimport * as i96 from \"./domain/batch-planmacro/batch-planmacro.component.ngfactory\";\nimport * as i97 from \"./domain/data-view/data-view.component.ngfactory\";\nimport * as i98 from \"./domain/detail/detail.component.ngfactory\";\nimport * as i99 from \"./domain/form/form.component.ngfactory\";\nimport * as i100 from \"./domain/list/list.component.ngfactory\";\nimport * as i101 from \"./domain/relation/relation.component.ngfactory\";\nimport * as i102 from \"./domain/repeat-split-form/repeat-split-form.component.ngfactory\";\nimport * as i103 from \"./domain/fieldset-assignee/fieldset-assignee.component.ngfactory\";\nimport * as i104 from \"./domain/fieldset-inuseby/fieldset-inuseby.component.ngfactory\";\nimport * as i105 from \"./domain/fieldset-location/fieldset-location.component.ngfactory\";\nimport * as i106 from \"./domain/fieldset-multi-type/fieldset-multi-type.component.ngfactory\";\nimport * as i107 from \"./domain/fieldset-parent-child/fieldset-parent-child.component.ngfactory\";\nimport * as i108 from \"./domain/fieldset-repeat/fieldset-repeat.component.ngfactory\";\nimport * as i109 from \"./domain/fieldset-color/fieldset-color.component.ngfactory\";\nimport * as i110 from \"./domain/column-inuseby/column-inuseby.component.ngfactory\";\nimport * as i111 from \"./domain/column-realization/column-realization.component.ngfactory\";\nimport * as i112 from \"./domain/column-repeat/column-repeat.component.ngfactory\";\nimport * as i113 from \"./domain/column-color/column-color.component.ngfactory\";\nimport * as i114 from \"./domain/column-datetime-deviation/column-datetime-deviation.component.ngfactory\";\nimport * as i115 from \"./domain/column-duration-deviation/column-duration-deviation.component.ngfactory\";\nimport * as i116 from \"./domain/column-requirement/column-requirement.component.ngfactory\";\nimport * as i117 from \"./domain/column-contract-hours/column-contract-hours.component.ngfactory\";\nimport * as i118 from \"./ui/profile/profile.component.ngfactory\";\nimport * as i119 from \"./ui/version-info/version-info.component.ngfactory\";\nimport * as i120 from \"./ui/account/account.component.ngfactory\";\nimport * as i121 from \"./ui/column-profile-picture/column-profile-picture.component.ngfactory\";\nimport * as i122 from \"./forecast/check-calendar/check-calendar.component.ngfactory\";\nimport * as i123 from \"./forecast/forecast-relation/forecast-relation.component.ngfactory\";\nimport * as i124 from \"./forecast/shrinkage/shrinkage.component.ngfactory\";\nimport * as i125 from \"./grids/ad-hoc/ad-hoc.component.ngfactory\";\nimport * as i126 from \"./grids/agenda-list/agenda-list.component.ngfactory\";\nimport * as i127 from \"./grids/agenda-grid/agenda-grid.component.ngfactory\";\nimport * as i128 from \"./grids/planboard-grid/planboard-grid.component.ngfactory\";\nimport * as i129 from \"./grids/grid-view/grid-view.component.ngfactory\";\nimport * as i130 from \"./grids/grid-container/grid-container.component.ngfactory\";\nimport * as i131 from \"./grids/agenda-grid-display/agenda-grid-display.component.ngfactory\";\nimport * as i132 from \"./grids/agenda-grid-bar/agenda-grid-bar.component.ngfactory\";\nimport * as i133 from \"./grids/agenda-grid-drag/agenda-grid-drag.component.ngfactory\";\nimport * as i134 from \"./grids/planboard-grid-display/planboard-grid-display.component.ngfactory\";\nimport * as i135 from \"./grids/planboard-grid-bar/planboard-grid-bar.component.ngfactory\";\nimport * as i136 from \"./grids/planboard-grid-drag/planboard-grid-drag.component.ngfactory\";\nimport * as i137 from \"./grids/agenda-drag-source-appointments/agenda-drag-source-appointments.component.ngfactory\";\nimport * as i138 from \"./grids/agenda-drag-source-tasks/agenda-drag-source-tasks.component.ngfactory\";\nimport * as i139 from \"./grids/agenda-drag-source-services/agenda-drag-source-services.component.ngfactory\";\nimport * as i140 from \"./grids/agenda-drag-source-absences/agenda-drag-source-absences.component.ngfactory\";\nimport * as i141 from \"./grids/planboard-drag-source-appointments/planboard-drag-source-appointments.component.ngfactory\";\nimport * as i142 from \"./grids/planboard-drag-source-tasks/planboard-drag-source-tasks.component.ngfactory\";\nimport * as i143 from \"./grids/planboard-drag-source-services/planboard-drag-source-services.component.ngfactory\";\nimport * as i144 from \"./grids/planboard-drag-source-absences/planboard-drag-source-absences.component.ngfactory\";\nimport * as i145 from \"./grids/horizon/horizon.component.ngfactory\";\nimport * as i146 from \"./notifications/notifications-view/notifications-view.component.ngfactory\";\nimport * as i147 from \"./notifications/notifications-list/notifications-list.component.ngfactory\";\nimport * as i148 from \"./notifications/notifications-form/notifications-form.component.ngfactory\";\nimport * as i149 from \"./notifications/absence-detail/absence-detail.component.ngfactory\";\nimport * as i150 from \"./notifications/exchange-list/exchange-list.component.ngfactory\";\nimport * as i151 from \"./notifications/exchange-day/exchange-day.component.ngfactory\";\nimport * as i152 from \"./notifications/exchange-day-detail/exchange-day-detail.component.ngfactory\";\nimport * as i153 from \"./notifications/exchange-detail/exchange-detail.component.ngfactory\";\nimport * as i154 from \"./notifications/reassign-form/reassign-form.component.ngfactory\";\nimport * as i155 from \"./notifications/reassign-day/reassign-day.component.ngfactory\";\nimport * as i156 from \"./notifications/reassign-day-detail/reassign-day-detail.component.ngfactory\";\nimport * as i157 from \"./notifications/reassign-detail/reassign-detail.component.ngfactory\";\nimport * as i158 from \"./notifications/request-summary/request-summary.component.ngfactory\";\nimport * as i159 from \"./workslips/workslip-view/workslip-view.component.ngfactory\";\nimport * as i160 from \"./workslips/workslip-detail/workslip-detail.component.ngfactory\";\nimport * as i161 from \"./workslips/workslip-list/workslip-list.component.ngfactory\";\nimport * as i162 from \"./marketplace/marketplace-list/marketplace-list.component.ngfactory\";\nimport * as i163 from \"./marketplace/accept-demand/accept-demand.component.ngfactory\";\nimport * as i164 from \"./marketplace/accept-service/accept-service.component.ngfactory\";\nimport * as i165 from \"./marketplace/column-marketplace-demand/column-marketplace-demand.component.ngfactory\";\nimport * as i166 from \"./marketplace/column-marketplace-service/column-marketplace-service.component.ngfactory\";\nimport * as i167 from \"./marketplace/withdraw-assignment/withdraw-assignment.component.ngfactory\";\nimport * as i168 from \"./marketplace/withdraw-attendant/withdraw-attendant.component.ngfactory\";\nimport * as i169 from \"./timeline/timeline/timeline.component.ngfactory\";\nimport * as i170 from \"./settings/settings-detail/settings-detail.component.ngfactory\";\nimport * as i171 from \"./settings/settings-form/settings-form.component.ngfactory\";\nimport * as i172 from \"./settings/settings-list/settings-list.component.ngfactory\";\nimport * as i173 from \"./settings/settings-view/settings-view.component.ngfactory\";\nimport * as i174 from \"./settings/column-settings/column-settings.component.ngfactory\";\nimport * as i175 from \"./settings/column-report-link/column-report-link.component.ngfactory\";\nimport * as i176 from \"./core/start/start.component.ngfactory\";\nimport * as i177 from \"./app.component.ngfactory\";\nimport * as i178 from \"@angular/common\";\nimport * as i179 from \"@angular/platform-browser\";\nimport * as i180 from \"./core/custom-event-manager\";\nimport * as i181 from \"@angular/common/http\";\nimport * as i182 from \"angular-oauth2-oidc\";\nimport * as i183 from \"./core/interceptors/no-cache.interceptor\";\nimport * as i184 from \"./core/interceptors/authorize.interceptor\";\nimport * as i185 from \"./core/interceptors/error.interceptor\";\nimport * as i186 from \"./authentication.service\";\nimport * as i187 from \"./core/error.service\";\nimport * as i188 from \"./core/branding.service\";\nimport * as i189 from \"./settings.service\";\nimport * as i190 from \"./core/dialog.service\";\nimport * as i191 from \"./core/event.service\";\nimport * as i192 from \"./core/local-storage.service\";\nimport * as i193 from \"./core/online.service\";\nimport * as i194 from \"./core/overlay.service\";\nimport * as i195 from \"./configurations.service\";\nimport * as i196 from \"./user.service\";\nimport * as i197 from \"./core/system-messages.service\";\nimport * as i198 from \"@angular/router\";\nimport * as i199 from \"./core/guards/needs-user-resource.guard\";\nimport * as i200 from \"./core/guards/can-deactivate.guard\";\nimport * as i201 from \"./base/file-reader.service\";\nimport * as i202 from \"./core/action.service\";\nimport * as i203 from \"./backend-settings.service\";\nimport * as i204 from \"./core/alerts.service\";\nimport * as i205 from \"@ngx-translate/core\";\nimport * as i206 from \"./domain.service\";\nimport * as i207 from \"@angular/forms\";\nimport * as i208 from \"ngx-md\";\nimport * as i209 from \"./base/files.service\";\nimport * as i210 from \"./base/image.service\";\nimport * as i211 from \"./social/comment.service\";\nimport * as i212 from \"./entity-manager.service\";\nimport * as i213 from \"./insights/insight.service\";\nimport * as i214 from \"./forecast/forecast.service\";\nimport * as i215 from \"./grids/plugin-pair.service\";\nimport * as i216 from \"./grids/drop-targets.service\";\nimport * as i217 from \"./grids/executors.service\";\nimport * as i218 from \"./resource.service\";\nimport * as i219 from \"./grids/grid.service\";\nimport * as i220 from \"./core/localisation.service\";\nimport * as i221 from \"./notifications/notifications.service\";\nimport * as i222 from \"./workslips/workslips.service\";\nimport * as i223 from \"./timeline/timeline.service\";\nimport * as i224 from \"./routes.service\";\nimport * as i225 from \"./test.service\";\nimport * as i226 from \"./core/start/start.component\";\nimport * as i227 from \"ng-click-outside/lib_commonjs/click-outside.module\";\nimport * as i228 from \"./core/core.module\";\nimport * as i229 from \"angular2-signaturepad\";\nimport * as i230 from \"angular2-text-mask\";\nimport * as i231 from \"ngx-moment\";\nimport * as i232 from \"./base/base.module\";\nimport * as i233 from \"breeze-bridge2-angular\";\nimport * as i234 from \"./social/social.module\";\nimport * as i235 from \"ng2-charts/charts/charts\";\nimport * as i236 from \"./insights/insights.module\";\nimport * as i237 from \"./domain/domain.module\";\nimport * as i238 from \"./ui/ui.module\";\nimport * as i239 from \"./forecast/forecast.module\";\nimport * as i240 from \"./grids/grids.module\";\nimport * as i241 from \"./notifications/notifications.module\";\nimport * as i242 from \"./workslips/workslips.module\";\nimport * as i243 from \"./marketplace/marketplace.module\";\nimport * as i244 from \"./timeline/timeline.module\";\nimport * as i245 from \"./settings/settings.module\";\nvar AppModuleNgFactory = i0.ɵcmf(i1.AppModule, [i2.AppComponent], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, [i3.ɵEmptyOutletComponentNgFactory, i4.EmptyComponentNgFactory, i5.ErrorPageComponentNgFactory, i6.NotFoundComponentNgFactory, i7.ColumnPhoneComponentNgFactory, i8.ColumnNumberComponentNgFactory, i9.ColumnUrlComponentNgFactory, i10.ColumnDatetimeComponentNgFactory, i11.ColumnContactComponentNgFactory, i12.ColumnSpendtimeComponentNgFactory, i13.ColumnSpendtimeContextComponentNgFactory, i14.ColumnStringComponentNgFactory, i15.ColumnNotesComponentNgFactory, i16.ColumnTimeComponentNgFactory, i17.ColumnDateComponentNgFactory, i18.ColumnStartActiveComponentNgFactory, i19.ColumnDurationComponentNgFactory, i20.ColumnPeriodComponentNgFactory, i21.ColumnOpenSlotComponentNgFactory, i22.ColumnTwitterComponentNgFactory, i23.ColumnSelectComponentNgFactory, i24.ColumnSkypeComponentNgFactory, i25.ColumnGoogleComponentNgFactory, i26.ColumnXingComponentNgFactory, i27.ColumnLinkedinComponentNgFactory, i28.ColumnFacebookComponentNgFactory, i29.ColumnTextComponentNgFactory, i30.ColumnImageComponentNgFactory, i31.ColumnEmailComponentNgFactory, i32.ColumnEmotionsComponentNgFactory, i33.ColumnTaskComponentNgFactory, i34.ColumnServiceComponentNgFactory, i35.ColumnDatetimeRelativeComponentNgFactory, i36.ColumnDateRelativeComponentNgFactory, i37.ColumnTimeRelativeComponentNgFactory, i38.ColumnBooleanComponentNgFactory, i39.ColumnWeightComponentNgFactory, i40.ColumnLabelComponentNgFactory, i41.ColumnEntityComponentNgFactory, i42.ColumnNameComponentNgFactory, i43.FieldsetMessageComponentNgFactory, i44.FieldsetFileComponentNgFactory, i45.FieldsetImageComponentNgFactory, i46.FieldsetDurationComponentNgFactory, i47.FieldsetBirthdayComponentNgFactory, i48.FieldsetBooleanComponentNgFactory, i49.FieldsetCheckboxesComponentNgFactory, i50.FieldsetDateComponentNgFactory, i51.FieldsetLabelComponentNgFactory, i52.FieldsetDatetimeComponentNgFactory, i53.FieldsetEmailComponentNgFactory, i54.FieldsetNumberComponentNgFactory, i55.FieldsetCurrencyComponentNgFactory, i56.FieldsetSignatureComponentNgFactory, i57.FieldsetPasswordComponentNgFactory, i58.FieldsetPasswordlinkComponentNgFactory, i59.FieldsetPhoneComponentNgFactory, i60.FieldsetRadioComponentNgFactory, i61.FieldsetSelectComponentNgFactory, i62.FieldsetStringComponentNgFactory, i63.FieldsetTextComponentNgFactory, i64.FieldsetTimeComponentNgFactory, i65.FieldsetUrlComponentNgFactory, i66.FieldsetGoogleComponentNgFactory, i67.FieldsetTwitterComponentNgFactory, i68.FieldsetXingComponentNgFactory, i69.FieldsetFacebookComponentNgFactory, i70.FieldsetLinkedinComponentNgFactory, i71.FieldsetSkypeComponentNgFactory, i72.FieldsetEmotionsComponentNgFactory, i73.FieldsetReadByComponentNgFactory, i74.FieldsetRegionComponentNgFactory, i75.FieldsetSecondsComponentNgFactory, i76.FieldsetEntityComponentNgFactory, i77.FieldsetsAllComponentNgFactory, i78.InsightExampleTrendComponentNgFactory, i79.InsightExampleGaugeComponentNgFactory, i80.InsightExampleBarComponentNgFactory, i81.InsightExampleLineComponentNgFactory, i82.InsightExampleListComponentNgFactory, i83.InsightExamplePieComponentNgFactory, i84.InsightExampleTableComponentNgFactory, i85.InsightExampleTextComponentNgFactory, i86.InsightWorkingHoursComponentNgFactory, i87.InsightPlannedHoursComponentNgFactory, i88.InsightBookedHoursComponentNgFactory, i89.InsightAvailableHoursComponentNgFactory, i90.InsightContractPlannedComponentNgFactory, i91.InsightRealizationComponentNgFactory, i92.InsightLeaveComponentNgFactory, i93.InsightBillableHoursComponentNgFactory, i94.CopyShiftComponentNgFactory, i95.CopyTaskComponentNgFactory, i96.BatchPlanmacroComponentNgFactory, i97.DataViewComponentNgFactory, i98.DetailComponentNgFactory, i99.FormComponentNgFactory, i100.ListComponentNgFactory, i101.RelationComponentNgFactory, i102.RepeatSplitFormComponentNgFactory, i103.FieldsetAssigneeComponentNgFactory, i104.FieldsetInUseByComponentNgFactory, i105.FieldsetLocationComponentNgFactory, i106.FieldsetMultiTypeComponentNgFactory, i107.FieldsetParentChildComponentNgFactory, i108.FieldsetRepeatComponentNgFactory, i109.FieldsetColorComponentNgFactory, i110.ColumnInUseByComponentNgFactory, i111.ColumnRealizationComponentNgFactory, i112.ColumnRepeatComponentNgFactory, i113.ColumnColorComponentNgFactory, i114.ColumnDatetimeDeviationComponentNgFactory, i115.ColumnDurationDeviationComponentNgFactory, i116.ColumnRequirementComponentNgFactory, i117.ColumnContractHoursComponentNgFactory, i118.ProfileComponentNgFactory, i119.VersionInfoComponentNgFactory, i120.AccountComponentNgFactory, i121.ColumnProfilePictureComponentNgFactory, i122.CheckCalendarComponentNgFactory, i123.ForecastRelationComponentNgFactory, i124.ShrinkageComponentNgFactory, i125.AdHocComponentNgFactory, i126.AgendaListComponentNgFactory, i127.AgendaGridComponentNgFactory, i128.PlanboardGridComponentNgFactory, i129.GridViewComponentNgFactory, i130.GridContainerComponentNgFactory, i131.AgendaGridDisplayComponentNgFactory, i132.AgendaGridBarComponentNgFactory, i133.AgendaGridDragComponentNgFactory, i134.PlanboardGridDisplayComponentNgFactory, i135.PlanboardGridBarComponentNgFactory, i136.PlanboardGridDragComponentNgFactory, i137.AgendaDragSourceAppointmentsComponentNgFactory, i138.AgendaDragSourceTasksComponentNgFactory, i139.AgendaDragSourceServicesComponentNgFactory, i140.AgendaDragSourceAbsencesComponentNgFactory, i141.PlanboardDragSourceAppointmentsComponentNgFactory, i142.PlanboardDragSourceTasksComponentNgFactory, i143.PlanboardDragSourceServicesComponentNgFactory, i144.PlanboardDragSourceAbsencesComponentNgFactory, i145.HorizonComponentNgFactory, i146.NotificationsViewComponentNgFactory, i147.NotificationsListComponentNgFactory, i148.NotificationsFormComponentNgFactory, i149.AbsenceDetailComponentNgFactory, i150.ExchangeListComponentNgFactory, i151.ExchangeDayComponentNgFactory, i152.ExchangeDayDetailComponentNgFactory, i153.ExchangeDetailComponentNgFactory, i154.ReassignFormComponentNgFactory, i155.ReassignDayComponentNgFactory, i156.ReassignDayDetailComponentNgFactory, i157.ReassignDetailComponentNgFactory, i158.RequestSummaryComponentNgFactory, i159.WorkSlipViewComponentNgFactory, i160.WorkSlipDetailComponentNgFactory, i161.WorkSlipListComponentNgFactory, i162.MarketplaceListComponentNgFactory, i163.AcceptDemandComponentNgFactory, i164.AcceptServiceComponentNgFactory, i165.ColumnMarketplaceDemandComponentNgFactory, i166.ColumnMarketplaceServiceComponentNgFactory, i167.WithdrawAssignmentComponentNgFactory, i168.WithdrawAttendantComponentNgFactory, i169.TimelineComponentNgFactory, i170.SettingsDetailComponentNgFactory, i171.SettingsFormComponentNgFactory, i172.SettingsListComponentNgFactory, i173.SettingsViewComponentNgFactory, i174.ColumnSettingsComponentNgFactory, i175.ColumnReportLinkComponentNgFactory, i176.StartComponentNgFactory, i177.AppComponentNgFactory]], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(5120, i0.LOCALE_ID, i0.ɵangular_packages_core_core_s, [[3, i0.LOCALE_ID]]), i0.ɵmpd(4608, i178.NgLocalization, i178.NgLocaleLocalization, [i0.LOCALE_ID, [2, i178.ɵangular_packages_common_common_a]]), i0.ɵmpd(5120, i0.APP_ID, i0.ɵangular_packages_core_core_h, []), i0.ɵmpd(5120, i0.IterableDiffers, i0.ɵangular_packages_core_core_q, []), i0.ɵmpd(5120, i0.KeyValueDiffers, i0.ɵangular_packages_core_core_r, []), i0.ɵmpd(4608, i179.DomSanitizer, i179.ɵDomSanitizerImpl, [i178.DOCUMENT]), i0.ɵmpd(6144, i0.Sanitizer, null, [i179.DomSanitizer]), i0.ɵmpd(4608, i179.HAMMER_GESTURE_CONFIG, i179.HammerGestureConfig, []), i0.ɵmpd(5120, i179.EVENT_MANAGER_PLUGINS, function (p0_0, p0_1, p0_2, p1_0, p2_0, p2_1, p2_2, p2_3) { return [new i179.ɵDomEventsPlugin(p0_0, p0_1, p0_2), new i179.ɵKeyEventsPlugin(p1_0), new i179.ɵHammerGesturesPlugin(p2_0, p2_1, p2_2, p2_3)]; }, [i178.DOCUMENT, i0.NgZone, i0.PLATFORM_ID, i178.DOCUMENT, i178.DOCUMENT, i179.HAMMER_GESTURE_CONFIG, i0.ɵConsole, [2, i179.HAMMER_LOADER]]), i0.ɵmpd(4608, i179.EventManager, i180.CustomEventManager, [i179.EVENT_MANAGER_PLUGINS, i0.NgZone]), i0.ɵmpd(135680, i179.ɵDomSharedStylesHost, i179.ɵDomSharedStylesHost, [i178.DOCUMENT]), i0.ɵmpd(4608, i179.ɵDomRendererFactory2, i179.ɵDomRendererFactory2, [i179.EventManager, i179.ɵDomSharedStylesHost, i0.APP_ID]), i0.ɵmpd(6144, i0.RendererFactory2, null, [i179.ɵDomRendererFactory2]), i0.ɵmpd(6144, i179.ɵSharedStylesHost, null, [i179.ɵDomSharedStylesHost]), i0.ɵmpd(4608, i0.Testability, i0.Testability, [i0.NgZone]), i0.ɵmpd(4608, i181.HttpXsrfTokenExtractor, i181.ɵangular_packages_common_http_http_g, [i178.DOCUMENT, i0.PLATFORM_ID, i181.ɵangular_packages_common_http_http_e]), i0.ɵmpd(4608, i181.ɵangular_packages_common_http_http_h, i181.ɵangular_packages_common_http_http_h, [i181.HttpXsrfTokenExtractor, i181.ɵangular_packages_common_http_http_f]), i0.ɵmpd(4608, i182.OAuthResourceServerErrorHandler, i182.OAuthNoopResourceServerErrorHandler, []), i0.ɵmpd(5120, i181.HTTP_INTERCEPTORS, function (p0_0, p1_0, p1_1, p1_2, p1_3, p3_0, p4_0, p4_1) { return [p0_0, new i182.DefaultOAuthInterceptor(p1_0, p1_1, p1_2, p1_3), new i183.NoCacheInterceptor(), new i184.AuthorizeInterceptor(p3_0), new i185.ErrorInterceptor(p4_0, p4_1)]; }, [i181.ɵangular_packages_common_http_http_h, i182.OAuthStorage, i182.OAuthService, i182.OAuthResourceServerErrorHandler, [2, i182.OAuthModuleConfig], i186.AuthenticationService, i186.AuthenticationService, i187.ErrorService]), i0.ɵmpd(4608, i188.BrandingService, i188.BrandingService, [i189.SettingsService]), i0.ɵmpd(4608, i190.DialogService, i190.DialogService, []), i0.ɵmpd(4608, i191.EventsService, i191.EventsService, []), i0.ɵmpd(4608, i192.LocalStorageService, i192.LocalStorageService, []), i0.ɵmpd(4608, i193.OnlineService, i193.OnlineService, []), i0.ɵmpd(4608, i194.OverlayService, i194.OverlayService, [i195.ConfigurationsService, i196.UserService]), i0.ɵmpd(135680, i197.SystemMessagesService, i197.SystemMessagesService, [i198.Router]), i0.ɵmpd(4608, i199.NeedsUserResourceGuard, i199.NeedsUserResourceGuard, [i196.UserService]), i0.ɵmpd(4608, i200.CanDeactivateGuard, i200.CanDeactivateGuard, []), i0.ɵmpd(4608, i201.FileReaderService, i201.FileReaderService, [i181.HttpClient, i189.SettingsService]), i0.ɵmpd(4608, i202.ActionService, i202.ActionService, [i201.FileReaderService, i196.UserService, i203.BackendSettingsService, i194.OverlayService, i204.AlertsService, i205.TranslateService, i206.DomainService, i191.EventsService]), i0.ɵmpd(4608, i207.ɵangular_packages_forms_forms_j, i207.ɵangular_packages_forms_forms_j, []), i0.ɵmpd(4608, i207.FormBuilder, i207.FormBuilder, []), i0.ɵmpd(4608, i208.NgxMdService, i208.NgxMdService, [i181.HttpClient, i179.DomSanitizer]), i0.ɵmpd(4608, i209.FilesService, i209.FilesService, [i204.AlertsService]), i0.ɵmpd(4608, i210.ImageService, i210.ImageService, [i204.AlertsService]), i0.ɵmpd(135680, i211.CommentService, i211.CommentService, [i204.AlertsService, i205.TranslateService, i212.EntityManagerService, i206.DomainService]), i0.ɵmpd(135680, i213.InsightService, i213.InsightService, [i204.AlertsService, i205.TranslateService, i212.EntityManagerService]), i0.ɵmpd(135680, i214.ForecastService, i214.ForecastService, [i204.AlertsService, i205.TranslateService, i212.EntityManagerService]), i0.ɵmpd(4608, i215.PluginPairService, i215.PluginPairService, [i189.SettingsService]), i0.ɵmpd(135680, i216.DropTargetsService, i216.DropTargetsService, [i206.DomainService, i191.EventsService]), i0.ɵmpd(4608, i217.ExecutorsService, i217.ExecutorsService, [i206.DomainService, i194.OverlayService, i216.DropTargetsService, i190.DialogService, i205.TranslateService, i196.UserService, i218.ResourceService]), i0.ɵmpd(5120, i198.ActivatedRoute, i198.ɵangular_packages_router_router_g, [i198.Router]), i0.ɵmpd(135680, i219.GridService, i219.GridService, [i192.LocalStorageService, i220.LocalisationService, i198.Router, i198.ActivatedRoute, i189.SettingsService]), i0.ɵmpd(135680, i221.NotificationsService, i221.NotificationsService, [i204.AlertsService, i205.TranslateService, i181.HttpClient, i186.AuthenticationService, i189.SettingsService, i195.ConfigurationsService, i212.EntityManagerService]), i0.ɵmpd(135680, i222.WorkSlipsService, i222.WorkSlipsService, [i204.AlertsService, i205.TranslateService, i212.EntityManagerService]), i0.ɵmpd(4608, i223.TimelineService, i223.TimelineService, [i204.AlertsService, i194.OverlayService, i218.ResourceService]), i0.ɵmpd(4608, i198.NoPreloading, i198.NoPreloading, []), i0.ɵmpd(6144, i198.PreloadingStrategy, null, [i198.NoPreloading]), i0.ɵmpd(135680, i198.RouterPreloader, i198.RouterPreloader, [i198.Router, i0.NgModuleFactoryLoader, i0.Compiler, i0.Injector, i198.PreloadingStrategy]), i0.ɵmpd(4608, i198.PreloadAllModules, i198.PreloadAllModules, []), i0.ɵmpd(5120, i198.ɵangular_packages_router_router_n, i198.ɵangular_packages_router_router_c, [i198.Router, i178.ViewportScroller, i198.ROUTER_CONFIGURATION]), i0.ɵmpd(5120, i198.ROUTER_INITIALIZER, i198.ɵangular_packages_router_router_j, [i198.ɵangular_packages_router_router_h]), i0.ɵmpd(5120, i0.APP_BOOTSTRAP_LISTENER, function (p0_0) { return [p0_0]; }, [i198.ROUTER_INITIALIZER]), i0.ɵmpd(1073742336, i178.CommonModule, i178.CommonModule, []), i0.ɵmpd(1024, i0.ErrorHandler, i179.ɵangular_packages_platform_browser_platform_browser_a, []), i0.ɵmpd(1024, i0.NgProbeToken, function () { return [i198.ɵangular_packages_router_router_b()]; }, []), i0.ɵmpd(512, i198.ɵangular_packages_router_router_h, i198.ɵangular_packages_router_router_h, [i0.Injector]), i0.ɵmpd(512, i181.ɵangular_packages_common_http_http_d, i181.ɵangular_packages_common_http_http_d, []), i0.ɵmpd(2048, i181.XhrFactory, null, [i181.ɵangular_packages_common_http_http_d]), i0.ɵmpd(512, i181.HttpXhrBackend, i181.HttpXhrBackend, [i181.XhrFactory]), i0.ɵmpd(2048, i181.HttpBackend, null, [i181.HttpXhrBackend]), i0.ɵmpd(512, i181.HttpHandler, i181.ɵHttpInterceptingHandler, [i181.HttpBackend, i0.Injector]), i0.ɵmpd(512, i181.HttpClient, i181.HttpClient, [i181.HttpHandler]), i0.ɵmpd(512, i189.SettingsService, i189.SettingsService, [i181.HttpClient]), i0.ɵmpd(1024, i182.OAuthStorage, i182.ɵd, []), i0.ɵmpd(512, i182.ValidationHandler, i182.NullValidationHandler, []), i0.ɵmpd(512, i182.UrlHelperService, i182.UrlHelperService, []), i0.ɵmpd(1024, i182.OAuthLogger, i182.ɵc, []), i0.ɵmpd(512, i182.ɵa, i182.ɵb, []), i0.ɵmpd(131584, i182.OAuthService, i182.OAuthService, [i0.NgZone, i181.HttpClient, [2, i182.OAuthStorage], [2, i182.ValidationHandler], [2, i182.AuthConfig], i182.UrlHelperService, i182.OAuthLogger, [2, i182.ɵa], i178.DOCUMENT]), i0.ɵmpd(131584, i186.AuthenticationService, i186.AuthenticationService, [i181.HttpClient, i189.SettingsService, i182.OAuthService]), i0.ɵmpd(512, i187.ErrorService, i187.ErrorService, []), i0.ɵmpd(512, i212.EntityManagerService, i212.EntityManagerService, [i189.SettingsService, i187.ErrorService]), i0.ɵmpd(512, i204.AlertsService, i204.AlertsService, []), i0.ɵmpd(512, i205.TranslateStore, i205.TranslateStore, []), i0.ɵmpd(1024, i205.TranslateLoader, i1.ɵ0, [i181.HttpClient]), i0.ɵmpd(512, i205.TranslateCompiler, i205.TranslateFakeCompiler, []), i0.ɵmpd(512, i205.TranslateParser, i205.TranslateDefaultParser, []), i0.ɵmpd(512, i205.MissingTranslationHandler, i205.FakeMissingTranslationHandler, []), i0.ɵmpd(256, i205.USE_DEFAULT_LANG, undefined, []), i0.ɵmpd(256, i205.USE_STORE, undefined, []), i0.ɵmpd(512, i205.TranslateService, i205.TranslateService, [i205.TranslateStore, i205.TranslateLoader, i205.TranslateCompiler, i205.TranslateParser, i205.MissingTranslationHandler, i205.USE_DEFAULT_LANG, i205.USE_STORE]), i0.ɵmpd(131584, i203.BackendSettingsService, i203.BackendSettingsService, [i204.AlertsService, i205.TranslateService, i212.EntityManagerService]), i0.ɵmpd(131584, i206.DomainService, i206.DomainService, [i189.SettingsService, i203.BackendSettingsService, i204.AlertsService, i205.TranslateService, i212.EntityManagerService]), i0.ɵmpd(131584, i196.UserService, i196.UserService, [i189.SettingsService, i186.AuthenticationService, i206.DomainService, i204.AlertsService, i205.TranslateService, i212.EntityManagerService]), i0.ɵmpd(512, i218.ResourceService, i218.ResourceService, [i186.AuthenticationService, i196.UserService]), i0.ɵmpd(512, i195.ConfigurationsService, i195.ConfigurationsService, [i181.HttpClient, i196.UserService]), i0.ɵmpd(512, i224.RoutesService, i224.RoutesService, [i195.ConfigurationsService]), i0.ɵmpd(512, i225.TestService, i225.TestService, [i181.HttpClient, i189.SettingsService, i186.AuthenticationService, i187.ErrorService]), i0.ɵmpd(512, i220.LocalisationService, i220.LocalisationService, [i205.TranslateService, i189.SettingsService]), i0.ɵmpd(512, i1.Bootflow, i1.Bootflow, [i189.SettingsService, i186.AuthenticationService, i212.EntityManagerService, i206.DomainService, i196.UserService, i218.ResourceService, i195.ConfigurationsService, i224.RoutesService, i203.BackendSettingsService, i225.TestService, i205.TranslateService, i220.LocalisationService, i204.AlertsService]), i0.ɵmpd(1024, i0.APP_INITIALIZER, function (p0_0, p1_0, p2_0, p2_1) { return [i179.ɵangular_packages_platform_browser_platform_browser_j(p0_0), i198.ɵangular_packages_router_router_i(p1_0), i1.ɵ1(p2_0, p2_1)]; }, [[2, i0.NgProbeToken], i198.ɵangular_packages_router_router_h, i1.Bootflow, i187.ErrorService]), i0.ɵmpd(512, i0.ApplicationInitStatus, i0.ApplicationInitStatus, [[2, i0.APP_INITIALIZER]]), i0.ɵmpd(131584, i0.ApplicationRef, i0.ApplicationRef, [i0.NgZone, i0.ɵConsole, i0.Injector, i0.ErrorHandler, i0.ComponentFactoryResolver, i0.ApplicationInitStatus]), i0.ɵmpd(1073742336, i0.ApplicationModule, i0.ApplicationModule, [i0.ApplicationRef]), i0.ɵmpd(1073742336, i179.BrowserModule, i179.BrowserModule, [[3, i179.BrowserModule]]), i0.ɵmpd(1073742336, i181.HttpClientXsrfModule, i181.HttpClientXsrfModule, []), i0.ɵmpd(1073742336, i181.HttpClientModule, i181.HttpClientModule, []), i0.ɵmpd(1024, i198.ɵangular_packages_router_router_a, i198.ɵangular_packages_router_router_e, [[3, i198.Router]]), i0.ɵmpd(512, i198.UrlSerializer, i198.DefaultUrlSerializer, []), i0.ɵmpd(512, i198.ChildrenOutletContexts, i198.ChildrenOutletContexts, []), i0.ɵmpd(256, i198.ROUTER_CONFIGURATION, {}, []), i0.ɵmpd(1024, i178.LocationStrategy, i198.ɵangular_packages_router_router_d, [i178.PlatformLocation, [2, i178.APP_BASE_HREF], i198.ROUTER_CONFIGURATION]), i0.ɵmpd(512, i178.Location, i178.Location, [i178.LocationStrategy]), i0.ɵmpd(512, i0.Compiler, i0.Compiler, []), i0.ɵmpd(512, i0.NgModuleFactoryLoader, i0.SystemJsNgModuleLoader, [i0.Compiler, [2, i0.SystemJsNgModuleLoaderConfig]]), i0.ɵmpd(1024, i198.ROUTES, function () { return [[{ path: \"**\", component: i226.StartComponent }]]; }, []), i0.ɵmpd(1024, i198.Router, i198.ɵangular_packages_router_router_f, [i0.ApplicationRef, i198.UrlSerializer, i198.ChildrenOutletContexts, i178.Location, i0.Injector, i0.NgModuleFactoryLoader, i0.Compiler, i198.ROUTES, i198.ROUTER_CONFIGURATION, [2, i198.UrlHandlingStrategy], [2, i198.RouteReuseStrategy]]), i0.ɵmpd(1073742336, i198.RouterModule, i198.RouterModule, [[2, i198.ɵangular_packages_router_router_a], [2, i198.Router]]), i0.ɵmpd(1073742336, i205.TranslateModule, i205.TranslateModule, []), i0.ɵmpd(1073742336, i227.ClickOutsideModule, i227.ClickOutsideModule, []), i0.ɵmpd(1073742336, i228.CoreModule, i228.CoreModule, []), i0.ɵmpd(1073742336, i207.ɵangular_packages_forms_forms_bc, i207.ɵangular_packages_forms_forms_bc, []), i0.ɵmpd(1073742336, i207.FormsModule, i207.FormsModule, []), i0.ɵmpd(1073742336, i207.ReactiveFormsModule, i207.ReactiveFormsModule, []), i0.ɵmpd(1073742336, i229.SignaturePadModule, i229.SignaturePadModule, []), i0.ɵmpd(1073742336, i230.TextMaskModule, i230.TextMaskModule, []), i0.ɵmpd(1073742336, i208.NgxMdModule, i208.NgxMdModule, []), i0.ɵmpd(1073742336, i231.MomentModule, i231.MomentModule, []), i0.ɵmpd(1073742336, i232.BaseModule, i232.BaseModule, []), i0.ɵmpd(1073742336, i182.OAuthModule, i182.OAuthModule, []), i0.ɵmpd(1073742336, i233.BreezeBridgeHttpClientModule, i233.BreezeBridgeHttpClientModule, [i181.HttpClient]), i0.ɵmpd(1073742336, i234.SocialModule, i234.SocialModule, []), i0.ɵmpd(1073742336, i235.ChartsModule, i235.ChartsModule, []), i0.ɵmpd(1073742336, i236.InsightsModule, i236.InsightsModule, []), i0.ɵmpd(1073742336, i237.DomainModule, i237.DomainModule, []), i0.ɵmpd(1073742336, i238.UiModule, i238.UiModule, []), i0.ɵmpd(1073742336, i239.ForecastModule, i239.ForecastModule, []), i0.ɵmpd(1073742336, i240.GridsModule, i240.GridsModule, []), i0.ɵmpd(1073742336, i241.NotificationsModule, i241.NotificationsModule, []), i0.ɵmpd(1073742336, i242.WorkSlipsModule, i242.WorkSlipsModule, []), i0.ɵmpd(1073742336, i243.MarketplaceModule, i243.MarketplaceModule, []), i0.ɵmpd(1073742336, i244.TimelineModule, i244.TimelineModule, []), i0.ɵmpd(1073742336, i245.SettingsModule, i245.SettingsModule, []), i0.ɵmpd(1073742336, i1.AppModule, i1.AppModule, []), i0.ɵmpd(256, i0.ɵAPP_ROOT, true, []), i0.ɵmpd(256, i181.ɵangular_packages_common_http_http_e, \"XSRF-TOKEN\", []), i0.ɵmpd(256, i181.ɵangular_packages_common_http_http_f, \"X-XSRF-TOKEN\", []), i0.ɵmpd(256, i182.OAuthModuleConfig, null, [])]); });\nexport { AppModuleNgFactory as AppModuleNgFactory };\n","import { enableProdMode } from '@angular/core';\nimport { environment } from './environments/environment';\nimport * as __NgCli_bootstrap_1 from \"./app/app.module.ngfactory\";\nimport * as __NgCli_bootstrap_2 from \"@angular/platform-browser\";\n// See also AutoRefreshMode in index.ejs\nwindow.sessionStorage.setItem('ApplicationIsLoaded', 'true');\n// Support for drag-and-drop for mobile dropped, see: #2878\n// import '../node_modules/drag-drop-touch/DragDropTouch';\nif (environment.production) {\n enableProdMode();\n}\n// Communicate that Angular is started\nif (window['angularStarted']) {\n window['angularStarted']();\n}\n// Tell the user the application is starting\nif (window['bootProgress']) {\n window['bootProgress']('Starting the application', 20);\n}\n// Only bootstrap the app if we are not in an iframe (Fix for 'waiting for OpenId' #2928)\nif (window === window.parent) {\n __NgCli_bootstrap_2.platformBrowser().bootstrapModuleFactory(__NgCli_bootstrap_1.AppModuleNgFactory);\n}\nelse {\n // Callback for silence refresh of tokens\n parent.postMessage(location.hash, location.origin);\n console.warn('Application is in an iframe (for token refresh) and therefore no bootstrap is needed.');\n if (window['bootProgress']) {\n window['bootProgress']('Application not started', 100);\n }\n}\n"],"sourceRoot":"webpack:///"}